Programs causing static noise in speakers?

Does anyone know the reason why my programs can cause my speakers to produce some kind of soft static signal? Programs themselves do not have a single element that outputs sound to anything, but when I run several of my programs, I hear static coming from my speakers. It even gets louder when I run certain programs. Moving the speakers does not help, so it must come from inside the computer.

I'm not sure what other details need to be submitted, as this seems very strange. These are OpenGL programs written in C ++ with MS Visual C ++.

Edit: It seems that replacing framebuffers inside an infinite loop is causing noise, because when I stop replacing, I become silence ...

+4
source share
7 answers

Since you say you don’t touch the sound in your programs, I doubt that your code does this. Does this happen if you run other graphics programs? In addition, what happens if you disable various channels in the mixer (sndvol32.exe on 32-bit windows)?

Without knowing anything else, I would venture to suggest that this could be due to the fan on your video card. If your programs cause the fan to turn on and it is either close to your sound card or the fan power line crosses the audio cable, this can cause some static voltage. Try putting any audio cables as far as possible out of the fan and power cables and see what happens.

He could also collect static data from a number of other sources, and I would not say that this is unusual. If this causes other non-graphics applications, it could be access to the hard drive or even certain frequencies of CPU / power use on an audio line such as an antenna. You can also try to reduce the number of loops in your audio lines and see if it helps, but no guarantees.

+2
source

When executing code, computers consume varying amounts of energy. This current fluctuation acts as a radio frequency transmitter and can be picked up by sound equipment, and it will essentially be β€œdecoded” in the same way as an AM-modulated signal. Since the performance usually does not produce a recognizable signal, it sounds like white noise. A good example of audio equipment that collects an RF signal is that you hold a cell phone (GSM) next to the audio amplifier when you receive a call. You will most likely hear the characteristic pumping noise from a cell phone transmitter.

Go here to learn more about electromagnetic compatibility . There are several ways to transmit a signal to your audio signal. Since you mentioned that the power cord is the source, it is most likely a magnetic inductive coupling.

+3
source

:)

You will be surprised to learn that the speaker input raises the static from the hard drive. . When you do something with heavy use of memory / disk (for example, changing framebores) so that the hard disk rotates quickly, a sound will appear.

I had the same problem a few years ago, I also solved it. But I'm sorry that I do not remember how I did it.

I hope that the diagnosis helps in fixing the problem.

UPDATE: I remembered. If you use Windows, go to the volume control and turn off all external inputs / outputs, such as CD input, etc. Just save the two main ones.

+3
source

Crappy audio equipment on motherboards, especially those that get into office PCs. The inside of the PC case is full of electrical noise. If it is connected to audio equipment, you will hear it.

Decision. Get a pair of headphones with volume control on the cord. Turn up the volume on the headphones and turn up the volume on the PC. In most cases, this will increase the signal level relative to the noise level.

0
source

Most electronic devices emit some kind of electromagnetic interference. Your speakers or audio equipment can pick up something as simple as an alarm on your video cable or the video card itself. In my experience, cheap speakers and poorly protected audio devices are usually quite sensitive to this type of radiation.

0
source

There is interference on your sound bus on your motherboard.

This is usually due to the quality of your motherboard or its age. In addition, the arrangement of equipment inside your computer (close to each other, above the lapping) will often create interesting EM fields. My old laptop used it a lot easier since it got older.

So, when it all ends, you will hear it.

Try to see if this is happening on another computer. Try different computers of different ages and different configurations (external sound card or physical sound card, etc.).

Hope this helps.

0
source

All Articles