WAV into binary bits
Show older comments
How to convert a wav file data into binary (0,1) format, so that it can again be converted from binary form to wav?
Accepted Answer
More Answers (2)
Jan
on 19 Mar 2013
0 votes
What exactly are "wav file data"? Are you talking about doubles or integer types?
What is the prupose of converting the data to a binary format, when you consider, that all data are store in a binary format inside the computer. What do you want to achieve?
3 Comments
sangeeta
on 20 Mar 2013
Kushant
on 2 Apr 2014
i also have the same problem...
i want to use generated c code on dsp, but matlab coder do not support wavread function. i am planning to use fopen and fread but for that i need binary files instead of .wav files.
please tell me how to do it?
and how it can be done arithmatically?
Walter Roberson
on 2 Apr 2014
Outside of the dsp, wavread() the .wav files, and fwrite() them to a binary file. In the dsp read the binary file.
Kyaw Yegaung
on 24 Sep 2018
0 votes
I get the problem converting wav file to binary with wave file read command wavread. But i use another command audioread. Authoug it was work i got trouble in another command like dec2bin. It said that deceimal be less than 2 power 52. The point is what actually the data type of wav or other audio source file and how can i convert to decimal before converting binary data. If anyone could help me please contact my mail 'oooooyaungoooo@gmail.com'. Thank you.
Categories
Find more on Data Type Conversion in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!