Please help! How turn wav to binary data！！！
Topic: Please help! How turn wav to binary data！！！
(Read 704 times)
Re: Please help! How turn wav to binary data！！！
Jul 16, 2018, 06:38 pm
: 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.
Don't send me technical questions via Private Message.