ESP32-audioI2S icon indicating copy to clipboard operation
ESP32-audioI2S copied to clipboard

Audio-jumps and not detecting the end of songs (mp3)

Open Joe91 opened this issue 6 months ago • 11 comments

As mentioned here: https://forum.espuino.de/t/musiktitel-huepft-waehrend-des-abspielens-vor-spielt-weiter-bis-zum-titelende-und-stoppt-dann/3597/29

Audio issues, that don't happen on rev 567abd2, but on all the alter versions:

Here some error-log created with the latest commit on master (d7b88374d14b5ec4074626c40618a81c7f35b08c):

N [28319] Modus: Spiele alle Tracks (sortiert) des Ordners '/Example! Folder'
I [28329] Sorting files using case-insensitive natural sorting
N [28332] Neue Playlist mit 13 Titel(n) empfangen
D [28342] Free heap: 103448
I [28400] info        : PSRAM found, inputBufferSize: 630773 bytes
I [28402] info        : buffers freed, free Heap: 103448 bytes
I [28411] info        : Reading file: "/Example! Folder/01-test, test, test, test.mp3"
I [28421] info        : MP3Decoder has been initialized, free Heap: 78696 bytes , free stack 3184 DWORDs
N [28422] '/Example! Folder/01-test, test, test, test.mp3' wird abgespielt (1 von 13)
I [28898] info        : Content-Length: 4614719
I [28899] info        : ID3 framesSize: 4096
I [28899] info        : ID3 version: 2.3
I [28900] info        : ID3 normal frames
I [28919] id3data     : Artist: Test
I [28923] id3data     : Album: Test
I [28927] id3data     : Title: test, test, test, test
I [28931] id3data     : Year: 2015
I [28947] id3data     : Track: 1/13
I [28951] id3data     : ContentType: Undefined
I [28955] id3data     : Length (ms): 196200
I [28959] info        : Audio-Length: 4610623
I [28960] info        : stream ready
I [28961] info        : syncword found at pos 0
I [28971] info        : MPEG-2.5, Layer I
I [28972] info        : Channels: 2
I [28973] info        : SampleRate: 44100
I [28973] info        : BitsPerSample: 16
I [28984] info        : BitRate: 128000
D [32059] ws[/ws][1] connect
D [33066] no cover image for SD-card audio
D [60003] RSSI: -43 dBm
I [77756] Neue Lautstärke empfangen via Queue: 1
I [78316] Neue Lautstärke empfangen via Queue: 2
I [82826] info        : MP3 decode error -6 : INVALID_FRAMEHEADER
I [82828] info        : syncword found at pos 238
I [82828] info        : syncword found at pos 0
I [82844] info        : MP3 decode error -9 : INVALID_HUFFCODES
I [82846] info        : syncword found at pos 521
I [82846] info        : syncword found at pos 0
I [82870] info        : MPEG-2.5, Layer I
I [82872] info        : Channels: 2
I [82872] info        : SampleRate: 44100
I [82872] info        : BitsPerSample: 16
I [82884] info        : BitRate: 224000
I [127361] info        : MP3 decode error -6 : INVALID_FRAMEHEADER
I [127362] info        : syncword found at pos 227
I [127363] info        : syncword found at pos 0
I [127382] info        : MPEG-2.5, Layer I
I [127383] info        : Channels: 2
I [127383] info        : SampleRate: 44100
I [127384] info        : BitsPerSample: 16
I [127394] info        : BitRate: 192000

Will stay there forever... Not specific to this file, a lot of files are affected.

Joe91 avatar Apr 14 '25 19:04 Joe91