Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Help > Help with the f...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 15965 of 16566
Post > Topic >>

Help with the function that produces sound

by Ravi <ra.ravi.rav@[EMAIL PROTECTED] > Apr 12, 2008 at 12:27 AM

In the code http://pastebin.com/f53a559c8,
I am unable to understand
the use of the statement
     (byte)( Math.sin( RAD * frequency / sampleRate * i ) * 127.0 );
at line 35.

Another question is that if I want to produce a monotone of frequency
f, what should I replace it with?
 




 3 Posts in Topic:
Help with the function that produces sound
Ravi <ra.ravi.rav@[EMA  2008-04-12 00:27:17 
Re: Help with the function that produces sound
Roedy Green <see_websi  2008-04-12 17:02:18 
Re: Help with the function that produces sound
Andrew Thompson <andre  2008-04-16 01:19:39 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 15:50:46 CST 2008.