Hi,
how to play audio file format(mp3,wav) in pi pico?
Play audio file in pi pico
-
- Posts: 51
- Joined: Thu Dec 27, 2018 11:38 pm
- Location: Québec, Canada
Re: Play audio file in pi pico
https://github.com/danjperron/PicoAudioPWM
Works great with wav file . 44.1KHz stereo.
https://www.youtube.com/watch?v=dgIQz5uy2vA
Works great with wav file . 44.1KHz stereo.
https://www.youtube.com/watch?v=dgIQz5uy2vA
Re: Play audio file in pi pico
I followd your Git repo and tried to run the wav file from speaker but no sound was played.
kindly help!
Last edited by nayanagg on Thu Jun 17, 2021 7:03 pm, edited 2 times in total.
Re: Play audio file in pi pico
Your are talking abour a speaker, maybe you can describe your configuration in more detail, it will be easier to help you
Re: Play audio file in pi pico
I've connected 150ohm small speaker to GP2 and GND pin of pico with 2k2 resistor on GP2 and 2200uF capacitor connected to GP2 TO GND.
Re: Play audio file in pi pico
You have to connect the speaker and the capacitor in series between GP2 and GND. Then you may hear some very faint sound. If I see that sample video right, the RP2 was connected to an active speaker with built-in Amplifier. That is the best approach to take.
Re: Play audio file in pi pico
Hi,
I've attached GROVE SPEAKERS WITH BUILTIN AMPLIFIER with Pi Pico VCC : 5V, GND : GND, SIG : GP2
but still getting very low sound.
help!
I've attached GROVE SPEAKERS WITH BUILTIN AMPLIFIER with Pi Pico VCC : 5V, GND : GND, SIG : GP2
but still getting very low sound.
help!
- Attachments
-
- IMG_2108.jpg (166.33 KiB) Viewed 12229 times