Closed enricoDec closed 3 years ago
https://github.com/psambit9791/jDSP/wiki/WAV-File-IO
Wav objWrite = new Wav(); int channels = 2; objWrite.putData(signal, channels, "int", outputFileName);
The second parameter of putData() should be the sampling rate I think.
objWrite.putData(signal, sampleRate, "int", outputFileName);
Thanks for pointing that out. Has been fixed now.
https://github.com/psambit9791/jDSP/wiki/WAV-File-IO
The second parameter of putData() should be the sampling rate I think.