Generates a pure sine wave as raw samples in 16-bit signed linear PCM at a specified sample rate. Assumes little endian interleaved audio samples for now.
Generation uses double-precision floating point for phase calculations, so the associated error accumulation will be present in the generated waveform. It is also rather inefficient.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.