|
|
| Author |
Message |
BhanuKrishna Guest
|
Posted: Apr 01, 2004 6:56am Post subject: Production of sound in java applets |
|
|
Hi all,
I have a problem regarding production of sound in java applets. I have produced sound at different frequencies and volume using applets, but i am need of a way to produce sound at different levels of velocites, pressures, frequencies and volume. can any one help me out? Any solutions for this problem from any one is highly appreciated.
thanks and regards
Bhanu Krishna K. |
|
| Back to top |
|
 |
Horizon Lurker

Joined: 10 May 2003 Posts: 145 Location: Regina, Saskatchewan, Canada
|
Posted: Apr 01, 2004 9:25am Post subject: |
|
|
| Sounds more like a school project to me. I'm curious.. what does this have to do with IRC help? |
|
| Back to top |
|
 |
U Eleet

Joined: 18 Jun 2003 Posts: 521 Location: IRC
|
Posted: Apr 01, 2004 5:24pm Post subject: |
|
|
What do you expect? Some guy was on here a few days ago wanting legal advice also.
You'd be surprised, I have people join my help channel and ask how to repair household items. |
|
| Back to top |
|
 |
Guest
|
Posted: Apr 01, 2004 9:44pm Post subject: |
|
|
| Quote: | | but i am need of a way to produce sound at different levels of velocites, pressures, frequencies and volume. |
This doesn't even seem like a programming question, seems more like physics.
But trying to remember from my physics class... doesn't sound have a defined velocity? Meaning, if you were to change the velocity of the wave, then it would no longer be sound? |
|
| Back to top |
|
 |
uchat Idler

Joined: 17 Mar 2004 Posts: 335
|
Posted: Apr 01, 2004 9:56pm Post subject: |
|
|
you are correct, "speed of sound" isn't a phrase coined by some TV commercial  |
|
| Back to top |
|
 |
magpie Idler

Joined: 18 Jan 2004 Posts: 454 Location: Essex, UK
|
Posted: Apr 02, 2004 5:01am Post subject: |
|
|
Sound waves are not defined by their speed, but by the fact they are pressure waves which travel through a medium by means of particle interaction: i.e. one particle exerts a force on adjacent particles, transferring a 'pressure disturbance'.
Sound waves do in fact have varying speeds depending upon the medium through which they are travelling, of which air and water are both examples. You therefore cannot change the velocity of sound produced from a speaker.
With regards to changing pressures, this really comes down to using a larger amplitude/volume. |
|
| Back to top |
|
 |
Guest
|
Posted: Apr 02, 2004 10:59am Post subject: |
|
|
| Quote: | | Sound waves are not defined by their speed, but by the fact they are pressure waves which travel through a medium by means of particle interaction: i.e. one particle exerts a force on adjacent particles, transferring a 'pressure disturbance'. |
Right, but it does have a fixed velocity through a specific medium. So if you somehow altered the velocity of the wave through air, then it would not be a sound wave any longer. |
|
| Back to top |
|
 |
magpie Idler

Joined: 18 Jan 2004 Posts: 454 Location: Essex, UK
|
Posted: Apr 02, 2004 11:27am Post subject: |
|
|
| The fixed velocity is only an average value, as it will most likely vary as it travels through the medium due to slight variations in density, etc. The speed is really irrelevant, there are still longitudinal pressure displacements thus it's still a sound wave (I don't know a way that you could alter its velocity in a medium anyway, without actually changing properties of the medium itself). |
|
| Back to top |
|
 |
|