C and C++

Moderators: None (Apply to moderate this forum)
Number of threads: 28695
Number of posts: 94715

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Sound frequency in C Language` Posted by aakarsh on 10 Jan 2006 at 7:52 AM
int i;
for(i=1;1<=20000;i++)
{
sound(i);
delay(20);
}

This created continuesly increasing sound. Before the programe could

end,I stopped it by running the program with nosound(); function in

it.

I am not a developer but a student in X Standard (15 yrs old).
I would like to ask, Can the internal speaker create such high

frequency sound waves? If Yes, what's its limit and can it anyway harm

us? I aksed my biology teacher about this, she said that high

frequency sound waves can change the sructure of our DNA. So my main

question are: can a C programe create such sounds? Can the internal

CPU speaker create such sounds? Can these sounds prrove to be harmful

to us?
Report
Re: Sound frequency in C Language` Posted by tom_sw on 10 Jan 2006 at 4:46 PM
: int i;
: for(i=1;1<=20000;i++)
: {
: sound(i);
: delay(20);
: }
:
: This created continuesly increasing sound. Before the programe could
:
: end,I stopped it by running the program with nosound(); function in
:
: it.
:
: I am not a developer but a student in X Standard (15 yrs old).
: I would like to ask, Can the internal speaker create such high
:
: frequency sound waves? If Yes, what's its limit and can it anyway harm
:
: us? I aksed my biology teacher about this, she said that high
:
: frequency sound waves can change the sructure of our DNA. So my main
:
: question are: can a C programe create such sounds? Can the internal
:
: CPU speaker create such sounds? Can these sounds prrove to be harmful
:
: to us?
:
THe internal speaker shoudl be able to work through the audible range (300-20K hz I think) and maybe a bit more or less. I would not be worried about damaging your DNA with anything in that range. It would be no different than listening to music (and your stereo system probably has a lot more range than the PC speaker). If anything, you may cause hearing damage, if the volume is way too loud.

If there is any truth to the idea of changing your DNA with sound, I am guessing it would be with very ultrasonic frequencies, and your PC speaker will not be able to produce those.
Report
Re: Sound frequency in C Language` Posted by smeezekitty on 26 Nov 2008 at 8:35 PM
: : int i;
: : for(i=1;1<=20000;i++)
: : {
: : sound(i);
: : delay(20);
: : }
: :
: : This created continuesly increasing sound. Before the programe could
: :
: : end,I stopped it by running the program with nosound(); function in
: :
: : it.
: :
: : I am not a developer but a student in X Standard (15 yrs old).
: : I would like to ask, Can the internal speaker create such high
: :
: : frequency sound waves? If Yes, what's its limit and can it anyway harm
: :
: : us? I aksed my biology teacher about this, she said that high
: :
: : frequency sound waves can change the sructure of our DNA. So my main
: :
: : question are: can a C programe create such sounds? Can the internal
: :
: : CPU speaker create such sounds? Can these sounds prrove to be harmful
: :
: : to us?
: :
: THe internal speaker shoudl be able to work through the audible
: range (300-20K hz I think) and maybe a bit more or less. I would
: not be worried about damaging your DNA with anything in that range.
: It would be no different than listening to music (and your stereo
: system probably has a lot more range than the PC speaker). If
: anything, you may cause hearing damage, if the volume is way too
: loud.
:
: If there is any truth to the idea of changing your DNA with sound, I
: am guessing it would be with very ultrasonic frequencies, and your
: PC speaker will not be able to produce those.
:
that is very unlikely and i would have to be much much much louder
i ran the pc speaker to 20,000hz (max)
Report
Re: Sound frequency in C Language` Posted by Lundin on 28 Nov 2008 at 3:44 AM
You should realize that every product claiming a CE mark goes through detailed testing against a large number of standards. A PC with a buzzer that would cause hearing damage would be illegal to sell.

We are bombarded with high frequency radio signals continously 24 hours per day. Plain FM radio, TV, mobile phones, radio communication devices etc etc all send out those.

In order to damage DNA, you need an electromagnetic field with high frequency. For example x-rays and ultrasound scans used in medicine.




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.