You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does your decoder work with the latest i2s libraries? I'm on ESP-IDF v5.3.1 and cannot get it to work. But I did have the same code working on the old (now deprecated) version.
Finally, do I need the additional esp-audio-player component if all I want to do is play an mp3 file?
Thank you,
-T
The text was updated successfully, but these errors were encountered:
The decoder is providing data only. You provide it mp3 bytes and it provides pcm bytes for playback.
esp-audio-player may need an update if the i2s api has changed and backwards compatibility has been dropped. I’ll have to check on that.
Esp-audio-player manages keeping the i2s device filled, keeping track of bytes to decode, managing pausing and playing, codec sample rate adjustment, mono-stereo/stereo to mono, muting etc.
You can of course do this directly yourself using just the decode library but imo it’s enough to do that you’d likely save time using the audio player.
The decoder is providing data only. You provide it mp3 bytes and it provides pcm bytes for playback.
esp-audio-player may need an update if the i2s api has changed and backwards compatibility has been dropped. I’ll have to check on that.
Esp-audio-player manages keeping the i2s device filled, keeping track of bytes to decode, managing pausing and playing, codec sample rate adjustment, mono-stereo/stereo to mono, muting etc.
You can of course do this directly yourself using just the decode library but imo it’s enough to do that you’d likely save time using the audio player.
@chmorgan Thanks for the quick reply. Should I keep this open until you've verified? Otherwise, I'll close it.
Hi,
Does your decoder work with the latest i2s libraries? I'm on ESP-IDF v5.3.1 and cannot get it to work. But I did have the same code working on the old (now deprecated) version.
Finally, do I need the additional
esp-audio-player
component if all I want to do is play an mp3 file?Thank you,
-T
The text was updated successfully, but these errors were encountered: