What\'s the simplest way to generate a sine wave sound at any frequency in Java? A sample size more than 2 bytes would help, but it doesn\'t really matter.
I'd just like to point out that there is a very efficient algorithm for generating sine waves.
DSP Trick: Sinusoidal Tone Generator http://www.dspguru.com/dsp/tricks/sine_tone_generator