Low Orbit Flux Logo 2 F

Raspberry Pi Pico Project - Amplified MP3 Playback

NOTE:

Parts/tools I used:

Here are some links on Amazon and Adafruit. The Amazon links are paid affiliate links.

Steps I took:

Should be working when plugged in now

This is the first example from the Adafruit guide:



# SPDX-FileCopyrightText: 2021 Kattni Rembor for Adafruit Industries
#
# SPDX-License-Identifier: MIT

"""
CircuitPython single MP3 playback example for Raspberry Pi Pico.
Plays a single MP3 once.
"""
import board
import audiomp3
import audiopwmio

audio = audiopwmio.PWMAudioOut(board.GP0)

decoder = audiomp3.MP3Decoder(open("slow.mp3", "rb"))

audio.play(decoder)
while audio.playing:
    pass

print("Done playing!")