i2s_adc_dac to generate .wav file

joicetm
Posts: 15
Joined: Mon Apr 10, 2017 12:47 pm

i2s_adc_dac to generate .wav file

Postby joicetm » Tue Feb 27, 2018 3:06 pm

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.

ESP_Sprite
Posts: 9766
Joined: Thu Nov 26, 2015 4:08 am

Re: i2s_adc_dac to generate .wav file

Postby ESP_Sprite » Thu Mar 01, 2018 1:18 am

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.

Who is online

Users browsing this forum: Bing [Bot] and 55 guests