Go Down

Topic: Raw file to header file conversion (Read 232 times) previous topic - next topic

AJITnayak

Dear all

i have particular sound i have raw file and use it in arduino uno .

https://www.youtube.com/watch?v=tUapZ_JdHLE

here is link where he converting raw file to header file. Is there any altenate way of doing it.
currently i have raw file for conversion
AMPS

DVDdoug

I didn't watch the video but the easiest way to convert a raw audio file to WAV is by opening the raw file in Audacity and then export it as WAV.   

In order to properly open and "decode" the raw file, you have to know the bit depth, sample rate, number of channels, etc.

If you want to do it "manually", here is the WAV file header format.

Go Up