• Create Account

Need scary sound effects or creepy audio loops for your next horror-themed game? Check out Highscore Vol.3 - The Horror Edition in our marketplace. 50 sounds and 10 loops for only \$9.99!

# Identifying noises from my rig.

Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

12 replies to this topic

### #1SuperVGA  Members   -  Reputation: 1070

Posted 06 March 2013 - 03:47 PM

Hi Guys,

I have become aware of ... something emitting a sound from my case, and I wonder what it could be.

Usually when I work with graphics or games, (especially when I have disabled vertical synchronization) I can hear noises from my GPU. I've always heard noises from it when it's working, so I don't think that is a big deal.

There's not a lot of noise in the room, my speakers are turned off and the loudest noise is from my case fans, which create a constant humming sound, The rest of my machine is relatively quiet (No writes to my SSD, GPU is taking a break).

Just ten minutes half an hour ago, I was messing around with SFMT, some code and allocated a lot of memory upon the initialization of a std::vector.

A firm 100ms "chirp" sounds upon allocation. But I'm not sure if it's really my DIMMS that produce the noise...

I have consumed a 50cl caffeine-rich beverage an hour ago, but I'm convinced I would hear the noise either way.

I have stripped my code down to the parts that cause the sound (and i do realize that I'm not even using the SFMT library, but this is apparently still making a difference.)

Goes "Chirp!"

#include <vector>
#include <cstdlib>
#include <SFMT.h>

const unsigned pop_size = 10000000;
const unsigned seed = 12345;

int main(int argc, char* argv[])
{
sfmt_t sfmt;
sfmt_init_gen_rand(&sfmt, seed);

std::vector< unsigned > pop(pop_size, 0 );
return EXIT_SUCCESS;
}


Noise is lower (how would sfmt interfere with the allocation?)

#include <vector>
#include <cstdlib>
const unsigned pop_size = 10000000;
int main(int argc, char* argv[])
{
std::vector< unsigned > pop(pop_size, 0 );
return EXIT_SUCCESS;
}


Does not go "Chirp!" (there is some noise, but it's low and seems to be much shorter).

#include <vector>
#include <cstdlib>
int main(int argc, char* argv[])
{
std::vector< unsigned > pop(10000000, 0 );
return EXIT_SUCCESS;
}


-Removing the allocation silences the unknown noisy component completely during runtime.

I compile with -O3 -msse2 (And using SFMT, i also use -DHAVE_SSE2 -DSFMT_MEXP=607)

Changing to O2 does little to change the sound.

Now as far as I'm aware, there aren't any mechanical parts prone to moving due to executing my program.

I have two things that I'm curious in finding out:

Why removing SFMT changes the sound of my otherwise independent(?!) initialization; and

What component produces the noise and why.

They didn't cover this in either signal processing or CPU architecture at uni, and I'm no hardware expert.

What could be causing this sound?

(And yeah, it's sort of a silly concern, and I have no idea where else to post about it )

Edited by SuperVGA, 06 March 2013 - 03:56 PM.

### #2SuperVGA  Members   -  Reputation: 1070

Posted 06 March 2013 - 03:57 PM

- And when i change pop_size to 100000000 (10^8), it sounds kinda like when you light a match!

### #3Brother Bob  Moderators   -  Reputation: 6402

Posted 06 March 2013 - 04:22 PM

Non-mechanical electrical component can in fact generate physical sounds, and I hear them all the time in various forms from every computer I have ever used. Assuming, of course, that computer fans, the environment and such are silent enough to not mask it. It's a very low-level, higher-frequency noise normally correlating with periods of high computational load. For example, if you start a heavy calculation for some time, the noise is there for the duration of the computation. Sometimes just moving the mouse cursor around causes the noise.

I don't know for sure what the cause of this is, but there are electrical effects that can cause mechanical vibrations in otherwise non-mechanical parts, such as Magnetostriction. You can hear that effect quite well on power-line transformers that emit a humming noise. I find it reasonable that such effects can cause the noise from computers as well. For example, a transformer in an idling computer may not emit much noise, but once a computation starts, requiring the transformer to deliver bursts of higher power, the effect may become noticeable.

I don't know either if this noise is a sign of bad or cheap components, or components on the way of breaking, or if it's even bad in itself, but it is as far as I understand a normal physical effect cause by electric and magnetic fields within the components.

Edited by Brother Bob, 06 March 2013 - 04:24 PM.

### #4Bacterius  Crossbones+   -  Reputation: 5568

Posted 06 March 2013 - 04:53 PM

Coil noise, I guess. I understand it is caused by power fluctuations causing the coils in the PSU, GPU, etc.. to resonate at various frequencies, sometimes into hearing range.

Some wireless devices also sometimes interfere with the speakers, causing strange sounds (this is most noticeable with cheap wireless mice) but you said your speakers were off.

"The best comment is a deleted comment."

### #5TheChubu  Crossbones+   -  Reputation: 2071

Posted 06 March 2013 - 07:00 PM

I find so amusing that you could actually code something that makes your computer "chirp"

### #6SuperVGA  Members   -  Reputation: 1070

Posted 07 March 2013 - 06:54 AM

@Brother Bob, thanks for supplying that link and explaining. I also remember that I've had noises from when moving the cursor, so I actually experienced it before, just didn't think about it.

@Bacterius, it's very likely that my PSU and GPU also produce noises, but I'm certain these particular sounds originated closer to my mobo. I suspected the CPU and RAM first,
but it may be anything. I do remember a friend who put his bluetooth headset by his case, and it produced a low frequent noise, and that wasn't feedback or anything, so I guess you're right about that.

@TheChubu Yes, although it's not like I put much effort into the code, or expected it to produce noises. I would've gotten a lot more work done last night had everything just kept quiet! -I'm just waiting for that youtube video showcasing how music can be synthesized from different kinds of memory allocation/processing, without any speakers.

### #7Paradigm Shifter  Crossbones+   -  Reputation: 3962

Posted 07 March 2013 - 06:58 AM

Slightly related

"Most people think, great God will come from the sky, take away everything, and make everybody feel high" - Bob Marley

### #8Olof Hedman  Crossbones+   -  Reputation: 1658

Posted 07 March 2013 - 07:07 AM

My old GTX295 card had this really loud high pitch wining noise from the memory banks, when fps climbed above 250 or so. (could happen if the devs didn't bother to frame rate cap in menues and such).

Way louder then the fans.

A bit scary, you didn't feel like running your card like that for too long...

### #9Khatharr  Crossbones+   -  Reputation: 2468

Posted 07 March 2013 - 09:12 AM

Isn't that sound the hamsters?

void hurrrrrrrr() {__asm sub [ebp+4],5;}

There are ten kinds of people in this world: those who understand binary and those who don't.

### #10CC Ricers  Members   -  Reputation: 623

Posted 07 March 2013 - 10:21 PM

I know where Olof is coming from. I hear high pitch whirring and chirping noises when running programs where the FPS would be at least in the middle 100's. Also, some noticeable tiny whirring sounds during load time in one of my current projects- when I am inserting many thousands of objects onto a list, which takes a couple of seconds, before the first main loop runs.

But I figure, hey, I have an onboard sound card, so I wouldn't expect one to have all the best shielding in the world to prevent those noises.

My development blog: Electronic Meteor

### #11Servant of the Lord  Crossbones+   -  Reputation: 12431

Posted 07 March 2013 - 10:42 PM

I am not a hardware expert, this is just based off of some experiences I've had:

Have you blown out the dust of your PC with compressed air? (Make sure you don't accidentally blow the dust deeper into crevices)
If enough dust builds up, the heat might not vent properly, causing the fan to turn itself on higher, making the whirring noise.

Also, I bought a videocard a few years back - after about six months, it started getting really noisy. Turns out, the seal around the fan was defective (or something), and the oil/grease around the axis of the fan dehydrated, so the fan was whirring extra loud (and wasn't working as effectively) because of the friction from a lack of oil. So I take apart the card (voids the warranty) and oil it with standard machine oil whenever it starts sounding really loud (every 3-5 months). It's last me several years now, I've probably re-oiled it 10 or more times. I blow out the dust in the case whenever I'm re-oiling the card, just to kill two birds with one stone, though the dust doesn't build up too much in only 5 months.

The overheating videocard (because of dust and the lack of oil) caused computer shutdowns in the middle of online FPS gaming sessions (a safety precaution when the card gets too hot, to prevent it from being damaged).

"Guys, seriously, dust caused my computer to crash!", "yea whatever d00d. way 2 abandon your teamm8ts!

I'd just blow out the dust before proceeding further, and update your graphic driver while you're at it.

It's perfectly fine to abbreviate my username to 'Servant' rather than copy+pasting it all the time.

All glory be to the Man at the right hand... On David's throne the King will reign, and the Government will rest upon His shoulders. All the earth will see the salvation of God.                                                                                                                                                       [Need free cloud storage? I personally like DropBox]

### #12Dragonsoulj  Crossbones+   -  Reputation: 1728

Posted 08 March 2013 - 01:29 AM

What Servant said. I've clean several machines that would run okay (you could hear the fan, but only just) and when the machines would actually do something intensive, the fans went crazy. Just blowing the dust out of the fans eliminated the loud noise from the fans.

### #13SuperVGA  Members   -  Reputation: 1070

Posted 08 March 2013 - 08:03 AM

I am not a hardware expert, this is just based off of some experiences I've had:

Have you blown out the dust of your PC with compressed air? (Make sure you don't accidentally blow the dust deeper into crevices)
If enough dust builds up, the heat might not vent properly, causing the fan to turn itself on higher, making the whirring noise.

Also, I bought a videocard a few years back - after about six months, it started getting really noisy. Turns out, the seal around the fan was defective (or something), and the oil/grease around the axis of the fan dehydrated, so the fan was whirring extra loud (and wasn't working as effectively) because of the friction from a lack of oil. So I take apart the card (voids the warranty) and oil it with standard machine oil whenever it starts sounding really loud (every 3-5 months). It's last me several years now, I've probably re-oiled it 10 or more times. I blow out the dust in the case whenever I'm re-oiling the card, just to kill two birds with one stone, though the dust doesn't build up too much in only 5 months.

The overheating videocard (because of dust and the lack of oil) caused computer shutdowns in the middle of online FPS gaming sessions (a safety precaution when the card gets too hot, to prevent it from being damaged).

"Guys, seriously, dust caused my computer to crash!", "yea whatever d00d. way 2 abandon your teamm8ts!

I'd just blow out the dust before proceeding further, and update your graphic driver while you're at it.

+ Dragonsoulj

Sure, I do that every 4 months or so. All components out. Anti-static wrapping. alcohol, cotton buds and tissues.

And I do grease my fans from time to time, but they still make whirring noises.

(I'm really picky with the internals not getting layers of dust on them)

I do need a qualified method for cleaning the fins on my heatsinks, though. Compressor air doesn't always do the trick.

At least at 90 psi, and I'm a little scared to break my hardware...

The noises were produced by my ICs while the fan produced constant humming and and my Slave HDD slept quietly,

so I'm convinced it's not due to mechanical components. As i stated, I've had the experience(as in I didn't pay attention to other comonents before) with my GPUs earlier,

and recognize CC Ricers and Olof Hedman's noise GPU phenomenon. So I'd say Brother Bob was right with respect to the specific case I wrote about...

Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

PARTNERS