Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: [1]
  Print  
Author Topic: buzzing sound when running vb?  (Read 2201 times)
slayerpianoman
Community Member
*
Posts: 2


« on: December 27, 2008, 02:25:01 PM »

Hey Guys, when i run most of the TV3d projects in VB6, i get an annoying buxzing noise from my speakers that changes when i move my mouse.  i do have doevents in the code as the tutorials suggests, and the readme said that without doevents it would produce an annoying noise, which i apparently have anyway. (i tried it with doevents removed, same problem.)  This only occurs once i run a project in vb, it doesn't happen when i stop the project.  I'm not sure what to do, and a game that produces annoying noises isn't going to be very good.  please help me out, and thank you very much if you do, happy holidays Smiley
Logged
Hypnotron
Customers
Community Member
*****
Posts: 1046


« Reply #1 on: December 27, 2008, 05:52:18 PM »

hrm... are these usb speakers?  maybe your power supply is underpowered and your speakers arent getting enough good power?  I've never had USB speakers myself but im assuming they draw their power directly from the port?
Logged
CNC
Community Member
*
Posts: 1


« Reply #2 on: March 10, 2009, 05:37:18 PM »

I am hearing that too.
working in C#
I put the file here that is doing this,
http://3space.nl/MaterialWorld.zip

 and noted that it only seems to "whistle" in debug mode
Possibly something that needs to be turned off explicitly in DirectX sound?

 (D flat three octaves above middle C for what that's worth)

Oh and NOT USB speakers, Diamond PCI soundcard,Harmen Karden and Phase Linear Amps ,Makie studio monitors.

Logged
ZaPPZion
Moderator
Community Member
*****
Posts: 555


« Reply #3 on: March 11, 2009, 07:37:51 AM »

I've tried it, i hear a buzzing sound as well, it's a different tone every time i start the program though. Oh and it's not coming from my speakers, since it's still there when i turn them off, so i dunno what it is
Logged

Check out my website: www.bartkuipers.com
WEst
Customers
Community Member
*****
Posts: 945

Daniel Martinek


WWW
« Reply #4 on: March 11, 2009, 07:42:11 AM »

It's funny, I hear this sounds too, although not always when using TV3D alone, but for example also when running tools like Particle Illusion, it always happens when I move my mouse. This is really a strange thing as I don't really know what this could be, does anyone have an idea what this strange sounds could be Huh The truth is out there!
Logged

Greetings

Daniel Martinek
Technical Director
23 Volts
newborn
Customers
Community Member
*****
Posts: 2451


WWW
« Reply #5 on: March 11, 2009, 11:26:17 AM »

I have that sound as well. Could it be the fan on the video card?
Logged

jviper
Community Member
*
Posts: 2130

Discipline in training


« Reply #6 on: March 11, 2009, 02:20:10 PM »

It could be the video card itself processing. I hear mines all the time, and not just when using TV3D.
Logged

JAbstract.....Don't just imagine, make it happen!
SylvainTV
Administrator
Community Member
*****
Posts: 4946


WWW
« Reply #7 on: March 11, 2009, 03:33:50 PM »

Yea I have it too sometimes, in game or in TV, when it's going too fast.
It's the 3d card fan. In other games you listen to the game sound so you don't hear it maybe !
Logged

Regards

Sylvain Dupont
TrueVision3D Developer
sylvain@truevision3d.com

TV3D IRC at http://chat.truevision3d.com or on server irc.truevision3d.com #Truevision3D. Come talk with us !
Dimple
Community Member
*
Posts: 580


« Reply #8 on: June 15, 2009, 03:02:37 PM »

Well , was just browsing thru an old early version of a user manual for (6.1). I think, and I found this!

2.8.1. The message queue
 
I think that everybody knows the DoEvents method of Visual Basic, it's the method that allows
Windows to manage his lots of messages !that are waiting in the "Message Queue" (c++ programmers
know this well). Well even if it slows down just a bit your rendering (something like 1%), you should
always call DoEvents once in your render loop, especially if you are in Windowed Mode.
When you are in Fullscreen mode, it's not so important because no windows of Windows are visible
and usable on the screen.
 
BUT ! If you don't use DoEvents at all, there is a little problem with the InputEngine or any
DirectInput devices. In fact, all the pressed keys are Windows messages and are recognized by
Windows as such. So as there is no treatment of the MessageQueue (no DoEvents), no key pressed
(WM_KEYDOWN and WM_KEYUP mainly) is precessed and the buffer of these messages can
become full. If it happens, you will hear very annoying beeps from the PC speaker when you move the
mouse or press any key. It's not acceptable for a game. So even with the speed drawback, USE
DOEVENTS once per frame

So, could this be the cause of the noise?  Just a thought....
Logged

Using VB.NET, TV3D 6.5, VISTA
~~~~~~~~~~~~~~~~~~~~~~~

"Know how to ask. There is nothing more difficult for some people, nor for others, easier."

- Baltasar Gracian
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks