Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Miscellaneous > Off-Topic > When your computer gors *crrrunch* . . . . . .
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
20.Sep: FOURTH CHAPTER IN `HISTORY OF...` PUBLISHED
13.Sep: NEWS ON THE FLY
06.Sep: APOLYTON DONATES TO HURRICANE RELIEF

bottom of page
   - CIVILIZATION 3 $9.99 - CIVILIZATION 2 from $6.95 - CIVILIZATION 2 from $4.25 - ALPHA CENTAURI + ALIEN CROSSFIRE (laptop collection) from $19.99 - ALPHA CENTAURI PC $9.99 -->
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
aneeshm is offline aneeshm
Chieftain
Indore , Madhya Pradesh
Jul 2001
time: 10:48
  Old Post 28-04-2005 14:37
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
When your computer goes *crrrunch* . . . . . . Support Apolyton, pre-order Civilization IV

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 .

Last edited by aneeshm on 28-04-2005 at 15:28

aneeshm is offline aneeshm
Chieftain
Indore , Madhya Pradesh
Jul 2001
time: 10:48
  Old Post 28-04-2005 14:39
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Suffering from ads?

The code tags messed up my code ! WTF ?

aneeshm is offline aneeshm
Chieftain
Indore , Madhya Pradesh
Jul 2001
time: 10:48
  Old Post 28-04-2005 14:44
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton, buy Civilization 2

Here is the attached file .

Attachment: siren.txt
This has been downloaded 7 time(s).

Sir Ralph is offline Sir Ralph
Emperor
Long live teh Schwampel!
Dec 2001
time: 06:18
  Old Post 28-04-2005 15:17
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

Resonances can inflict mechanical damage to those parts of your computer, which are able to vibrate with a more or less constant frequency. Whether or not your computer is/was in danger is not readable from the code, as it is not exactly clear what the sound() and nosound() functions do, what device makes the sound and what is the distance from this device to the sensitive parts of the box; mind you the power of such effects tends to lessen with the square of the distance.

By the way, who in the world taught you to make each and every function parameter a reference, even if it's not necessary (and it is not necessary in any part of your code)?

alva is offline alva
Emperor
Republic of Flanders
Sep 2001
time: 06:18
  Old Post 28-04-2005 15:24
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

Sir Ralph sighting!!!!

aneeshm is offline aneeshm
Chieftain
Indore , Madhya Pradesh
Jul 2001
time: 10:48
  Old Post 28-04-2005 15:26
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

sound(k) - produces a sound of frequency k

nosound() - stops sound

delay(k) - pauses for k milliseconds

The sound is produced by the system speaker - onboard , AFAIK . There is no distance between the speaker and the motherboard/cabinet . The speaker is a part of the motherboard , which is physically connected to the cabinet .

And I agree with you about the parameter part - only current should have been a reference , and even that should not have been passed at all , considering it is global . Gotta improve - remember , this is hacked up .

Qilue is offline Qilue
King
Australia
Dec 1999
time: 15:18
  Old Post 28-04-2005 15:28
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Support Apolyton buy from Amazon

While the best I could make of your code is it looked like a script for NWN and My expertise ended at that point. But, something did catch my eye.

quote:
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 .


The part in bold is where the *crrunch* may be coming from. Audible sound for an average human is around 30hz-18000hz. Also, trying to make a sound chip reproduce 0hz may not be terriblely good for it. Did you try setting the variance at 4990 (10-9990). It would sound virtually the same without the sound chip trying to reproduce 0hz.

aneeshm is offline aneeshm
Chieftain
Indore , Madhya Pradesh
Jul 2001
time: 10:48
  Old Post 28-04-2005 15:36
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Support Apolyton, buy Call to Power 2

No , the part where the crunch came was from somewhere in the audible range .

Just makes me wonder . . . . .

Could you hardware-crash a computer just by making the system speaker emit the right frequency ?

Sir Ralph is offline Sir Ralph
Emperor
Long live teh Schwampel!
Dec 2001
time: 06:18
  Old Post 28-04-2005 16:36
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

quote:
Originally posted by aneeshm
sound(k) - produces a sound of frequency k

nosound() - stops sound

delay(k) - pauses for k milliseconds

The sound is produced by the system speaker - onboard , AFAIK . There is no distance between the speaker and the motherboard/cabinet . The speaker is a part of the motherboard , which is physically connected to the cabinet.


The system speaker is of very low power and it is unlikely, that it is able to add up enough energy to break things, before the energy gain is neutralized by friction losses. You can, however, never be sure.

I don't know whether this is an hoax or not, but I heard of programs, that break the mechanical part of a computers harddisk just by letting the head switch tracks with an increasing frequency, to the point of resonance, where the sensible mechanics are endangered to break. I don't know if it is possible, but from a pure physical point of view I can imagine, that it is.

Oh, and hello alva!

Qilue is offline Qilue
King
Australia
Dec 1999
time: 15:18
  Old Post 28-04-2005 19:54
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Help yourself to an AD-FREE life

quote:
Originally posted by aneeshm
No , the part where the crunch came was from somewhere in the audible range .

Just makes me wonder . . . . .

Could you hardware-crash a computer just by making the system speaker emit the right frequency ?


A physics student would have understood.

Note this formula - v/f = Æ´

velocity / frequency = Wavelength

Thus using your data (I'm using a rough estimate of the speed of sound)

345m/s / 0hz = infinite wavelength

However you've decided it's a computer problem.

Q Cubed is offline Q Cubed
Prince
t3h y3ll0w p3ril
Apr 1999
time: 23:18
  Old Post 28-04-2005 22:24 Visit Q Cubed's homepage!
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

Aneeshm, computers are nothing but massive number-crunchers anyway...

You gave it some math, so...?

aneeshm is offline aneeshm
Chieftain
Indore , Madhya Pradesh
Jul 2001
time: 10:48
  Old Post 28-04-2005 22:43
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Full PM-box? Change here!

It seems you misunderstood my post . I AM a physics student , and yes , I know the formula velocity/frequency = wavelength . I will have to look up the velocity of sound in the appropriate metal ( I assume steel / painted iron ) , and calculate the resonance frequency based on that metal's elastic modulus and dimensions of the cabinet/motherboard ( I don't yet know which component exactly caused the sound ) . I rather dislike that remark about a physics student having understood , because I have been studying physics for more than a year now ( mechanics , thermodynamics , and waves and oscillations ) .

When I say hardware-crash , I mean cause mechanical damage capable of destroying the machine .

@ Sir Ralph

Yes , I doubt that the speaker would be powerful enough , but ideally it should not have been powerful enough to make the machine shake ( sort of ) when used .

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:18.
Apolyton Time is 00:18.
    top of page
Rate This Thread:
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0507 seconds (91.88% PHP - 8.12% MySQL) with 30 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net