Helper class to write WAV formated audio files. The class expects audio input data in a byte array with samples represented as floats.
The default compressed code is set to PCM. The class resamples and formats the audio samples according to the class properties. The resampling geared for performance and not quality, for best quality use sampling rates that divide/multiple into the desired output samplingRate
.
For more information about the WAVE file format see: http://ccrma.stanford.edu/courses/422/projects/WaveFormat/