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
# sample code and mp3 from https://learn.adafruit.com/mp3-playback-rp2040/pico-i2s-mp3## SPDX-FileCopyrightText: 2021 Kattni Rembor for Adafruit Industries## SPDX-License-Identifier: MIT"""CircuitPython I2S MP3 playback example.Plays a single MP3 once."""importboardimportaudiomp3importaudiobusioaudio=audiobusio.I2SOut(board.GP0, board.GP1, board.GP2)
mp3=audiomp3.MP3Decoder(open("slow.mp3", "rb"))
audio.play(mp3)
whileaudio.playing:
passprint("Done playing!")
Behavior
Audio playback of mp3s are distorted when playing back using a MAX98357A.
Description
Distorted playback also with CircuitPython 9.2.5 on both Pi Pico with rp2040 and Pi Pico 2 rp2350
Additional information
Tried using audiomixer to lower volume since audio sounded like a high gain was applied to it, but that only lowered the volume, the audio was still distorted.
MP3s play fine when using CircuitPython 9.2.4 and earlier.
The text was updated successfully, but these errors were encountered:
CircuitPython version and board name
Code/REPL
Behavior
Audio playback of mp3s are distorted when playing back using a MAX98357A.
Description
Distorted playback also with CircuitPython 9.2.5 on both Pi Pico with rp2040 and Pi Pico 2 rp2350
Additional information
Tried using audiomixer to lower volume since audio sounded like a high gain was applied to it, but that only lowered the volume, the audio was still distorted.
MP3s play fine when using CircuitPython 9.2.4 and earlier.
The text was updated successfully, but these errors were encountered: