JSyn WavFileWriter - Short data type
in
Programming Questions
•
3 years ago
has anyone ever used the JSyn library or the function WavFileWriter? It asks for samples in Short data type which I've never used in processing before, Im a bit perplexed because it doesn't seem to like decimal numbers lol how would i go about reading signal data into this function then?
write
(short[] samples, int channelsPerFrame, int sampleRate)
Write a complete WAV file containing the array of short samples.
Write a complete WAV file containing the array of short samples.
What could I be overlooking?
Big thanks for any help
-Dave
1