Today , in computer class , having completed my work , I thought I'd do something trivial and interesting . So I whipped together a simple program to simulate the sound of a siren ( setting the base frequency , variance , delay , and number of repetitions ) .
For the technically oriented ( if you're not interested , skip right to the end ) ( the code is old , I had to make it work on Turbo C++ ) :
Code attached to third post .
So when I ran this thing , with base frequency = 5000 , and variance 5000 , it effectively ran over the frequency range (5000 - 5000 =) 0 to 10000 (= 5000 + 5000) , I could hear a *crrunch* sound at some point .
It seems that the resonance frequency of weither the cabinets or the motherboard of the computer was in this range , and so it was going *crrrunch* when I ran this .
I'd like to ask if this could have damaged the computers seriously , and also if anyone else has such anecdotes to relate .
For the technically oriented ( if you're not interested , skip right to the end ) ( the code is old , I had to make it work on Turbo C++ ) :
Code attached to third post .
So when I ran this thing , with base frequency = 5000 , and variance 5000 , it effectively ran over the frequency range (5000 - 5000 =) 0 to 10000 (= 5000 + 5000) , I could hear a *crrunch* sound at some point .
It seems that the resonance frequency of weither the cabinets or the motherboard of the computer was in this range , and so it was going *crrrunch* when I ran this .
I'd like to ask if this could have damaged the computers seriously , and also if anyone else has such anecdotes to relate .
Comment