Page 1 of 1

i2s_adc_dac to generate .wav file

Posted: Tue Feb 27, 2018 3:06 pm
by joicetm
Hi,

I have just tried the example code and it is working fine. :)
How can i generate the .wav file from the recorded data. is there any documentation on that.

Re: i2s_adc_dac to generate .wav file

Posted: Thu Mar 01, 2018 1:18 am
by ESP_Sprite
Not really, but in theory you could esptool.py to extract the data on the partition where the sound was recorded, then use a program like Sox to convert from raw data to wav. Or you could modify the example itself to write a wav header to the output data; the wav file format is not that hard to generate a header for.