mannbro / PicoDFPlayer

MicroPython Driver for the DFPlayer (and clones) on Raspberry Pi Pico

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is there a way to overlap sounds?

CptAmmogeddon opened this issue · comments

First of all, great module and explanation in your Video. I am a total novice, but I'm trying to build a Lightsaber hilt, and right now I'm working on the sound.
I got as far as getting the Player to play the appropriate sounds on Power On and Off, but between those sounds there is a small pause, which doesn't sound right.

Is there any way to let the player start the next sound while still playing the first one for a few ms? Or at least make the changing of the sound instantaneous?

Or better yet, would you happen to know how I could change the code to quickly reduce the volume of the first sound (incrementally, but fast) while getting the next file to start?

Thanks in advance!