Page 1 of 1

LyraT 4.3 records peak noise with rare chance in repeating recording

Posted: Wed May 29, 2019 1:13 pm
by donaldzeng
Hi,

I am testing with a LyraT 4.3 board, and running example pipeline_wav_sdcard. Firstly the origin example was running great and record one .wav file each time I ran it.

Then I wrapped it to record repeatedly with an increasing number as .wav filename. Something strange was discovered that with a small chance, the L or R channel data may be corrupted with pike noise. Say I ran for 1000 recording files, I might get 20 to 25 files with corrupted data, either L or R. I never see L and R corrupted at the same time.

Some investigation has been done. I am pretty sure the whole modification is just for wrapping recording into a separate task, and not relative to pipeline itself. Looking into the .wav data, it seems the corrupted voice data caused by slipping 1 bit, and then LSB of one is regarded as MSB of the next.

Did someone ever see this phenomenon, or even have an answer/solution in place? Thanks a lot.

Re: LyraT 4.3 records peak noise with rare chance in repeating recording

Posted: Wed May 29, 2019 2:44 pm
by donaldzeng
with some corrupted .wav diagrams.

the diagram of L channel data corrupted
L-corrupted.jpeg
L-corrupted.jpeg (287.84 KiB) Viewed 58985 times
the diagram of R channel data corrupted
R-corrupted.jpeg
R-corrupted.jpeg (279.82 KiB) Viewed 58985 times
the diagram of zoom-in detail data corrupted
detail-of-corrupt.jpeg
detail-of-corrupt.jpeg (484.52 KiB) Viewed 58985 times

Re: LyraT 4.3 records peak noise with rare chance in repeating recording

Posted: Thu May 30, 2019 1:27 am
by jason.mao
Hi donaldzeng,

Could you post you wav file at here? Does continuous recording different file can be reproduced?

Re: LyraT 4.3 records peak noise with rare chance in repeating recording

Posted: Thu May 30, 2019 1:51 am
by donaldzeng
Thanks for your quick reply. The problem, yes, can be reproduced in every long-time run, perhaps 1 or 2 time out of 100 times recording. I linked a wav file here: http://120.25.201.118/lotus/files/espbin/1304.wav.

Re: LyraT 4.3 records peak noise with rare chance in repeating recording

Posted: Tue Dec 05, 2023 5:42 pm
by CyprienAmigon
Hi,

I'm facing exactly the same issue. I'm recording audio in several .wav files and some of them are randomly getting corrupted.
Just like the author, in some of my records (like 1 on 50 files) there are plenty of pikes at a maximum amplitude. I'm running a custom software, but the recording task is very similar to the example "pipeline_recording_to_sdcard" of ESP-ADF.
Did you find a solution ?

Re: LyraT 4.3 records peak noise with rare chance in repeating recording

Posted: Mon Jan 08, 2024 3:58 pm
by CyprienAmigon
No news ? :? :(

Re: LyraT 4.3 records peak noise with rare chance in repeating recording

Posted: Tue Jan 09, 2024 4:15 pm
by ESP_Minatel
Hi,
Can you share more details?