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?