Go Down

Topic: Please help! How turn wav to binary data!!! (Read 759 times) previous topic - next topic

el_supremo

#15
Jul 16, 2018, 06:38 pm Last Edit: Jul 16, 2018, 06:40 pm by el_supremo
Quote from: MorganS
That will read bytes from the file. But they are meaningless without decompression
Nonsense. It is a standard WAV file, 16-bit PCM sampled at 16kHz. NO compression.
All that is required to read it, is to read two bytes at a time and that will give the 16-bit samples.
Or read the whole thing into a suitably sized buffer of signed 16-bit integers.

Pete
Don't send me technical questions via Private Message.

Go Up