ESP-LyraT , sample code : ESP-ADF/recorder/pipeline_wav_sdcard record file with no date and no playable.
Posted: Wed Sep 05, 2018 9:34 am
Compiled and downloaded the code ESP-ADF/recorder/pipeline_wav_sdcard to the ESP-LyraT, v4.3.
Run the programs, the serial monitor shows,
[0;32mI (16537) REC_WAV_SDCARD: [ * ] Recording ... 15[0m
[0;32mI (17557) REC_WAV_SDCARD: [ * ] Recording ... 16[0m
[0;32mI (18627) REC_WAV_SDCARD: [ * ] Recording ... 17[0m
[0;32mI (19677) REC_WAV_SDCARD: [ * ] Recording ... 18[0m
[0;32mI (20737) REC_WAV_SDCARD: [ * ] Recording ... 19[0m
[0;32mI (21807) REC_WAV_SDCARD: [ * ] Recording ... 20[0m
[0;32mI (21807) REC_WAV_SDCARD: [ 7 ] Stop audio_pipeline[0m
[0;33mW (22657) AUDIO_PIPELINE: There are no listener registered[0m
When the 1GB sd card is taken out from the ESP-LyraT and inserted into a laptop to read the file, it shows there is a new file , rec.wav ,size : 211KB. The rec.wav ahve no creation date and time and the file is in the root directory "/". The file is read with VLC player, it shows 1 sec, and nothing is playback. The 1 GB SDCARD format is FAT32.
What did I do wrong ?
Looking forward to your reply.
Regards,
Yee C.K.
Run the programs, the serial monitor shows,
[0;32mI (16537) REC_WAV_SDCARD: [ * ] Recording ... 15[0m
[0;32mI (17557) REC_WAV_SDCARD: [ * ] Recording ... 16[0m
[0;32mI (18627) REC_WAV_SDCARD: [ * ] Recording ... 17[0m
[0;32mI (19677) REC_WAV_SDCARD: [ * ] Recording ... 18[0m
[0;32mI (20737) REC_WAV_SDCARD: [ * ] Recording ... 19[0m
[0;32mI (21807) REC_WAV_SDCARD: [ * ] Recording ... 20[0m
[0;32mI (21807) REC_WAV_SDCARD: [ 7 ] Stop audio_pipeline[0m
[0;33mW (22657) AUDIO_PIPELINE: There are no listener registered[0m
When the 1GB sd card is taken out from the ESP-LyraT and inserted into a laptop to read the file, it shows there is a new file , rec.wav ,size : 211KB. The rec.wav ahve no creation date and time and the file is in the root directory "/". The file is read with VLC player, it shows 1 sec, and nothing is playback. The 1 GB SDCARD format is FAT32.
What did I do wrong ?
Looking forward to your reply.
Regards,
Yee C.K.