Hello all,
I've been following adafruit's example on how to play mp3 files from a Raspberry Pi Pico with circuitpython and have had no problem with mono files but can't seem to get stereo audio to work correctly even after I modify the mp3 to reduce sample size. All I get is garbled noise. The audio signal runs through a DAC before hitting the speaker. Anyone have any suggestions?
Anyone have any luck playing stereo MP3 files?
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- Tusabez
- Posts: 9
- Joined: Mon Nov 08, 2021 8:32 am
- tepalia02
- Posts: 104
- Joined: Sun Apr 24, 2022 6:53 am
- Tusabez
- Posts: 9
- Joined: Mon Nov 08, 2021 8:32 am
Re: Anyone have any luck playing stereo MP3 files?
Yes I did something similar with the example code from adafruit. Just can't figure out why I can't play stereo files correctly. I used the sample rates recommended by adafruit.
- danhalbert
- Posts: 4653
- Joined: Tue Aug 08, 2017 12:37 pm
Re: Anyone have any luck playing stereo MP3 files?
There was some discussion here: https://github.com/adafruit/circuitpython/issues/6133. Make sure to use the latest CircuitPython.
Also see the hints in documentation, but maybe you already have: https://docs.circuitpython.org/en/lates ... MP3Decoder
The expert on this is away for several weeks, unfortunately.
Also see the hints in documentation, but maybe you already have: https://docs.circuitpython.org/en/lates ... MP3Decoder
The expert on this is away for several weeks, unfortunately.
- Tusabez
- Posts: 9
- Joined: Mon Nov 08, 2021 8:32 am
Re: Anyone have any luck playing stereo MP3 files?
Ok thanks. I'll keep playing with the sample and bit rates and see if I can get it working properly.
Please be positive and constructive with your questions and comments.