sinCosGenerator(length, sinAmplitude, cosAmplitude, frequency) → {Object}
Generate a sine and cosine table simultaneously and extremely quickly.The parameters allow you to specify the length, amplitude and frequency of the wave.This generator is fast enough to be used in real-time.Code based on research by Franky of scene.at
Parameters
Name Type Description length number The length of the wave sinAmplitude number The amplitude to apply to the sine table (default 1.0) if you need values b