Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with assigning MP3's to buttons #51

Open
jezasaurus opened this issue Mar 30, 2023 · 1 comment
Open

Issue with assigning MP3's to buttons #51

jezasaurus opened this issue Mar 30, 2023 · 1 comment

Comments

@jezasaurus
Copy link

I wonder if anyone can help

I have a Dy-sv8f

I've wired pins

IO0 to button 1
IO1 to button 2
IO2 to button 3

I would like 6 in total but if I name one mp3 file 0001.mp3 it plays from pin IO0, if I name a file 0002.mp3 it plays from pin IO1, if I name a file 0004.mp3 it plays from pin IO2, meaning if I rename 0004 to 0003 it won't play, and if I add more mp3 files and name them accordingly in numerical order they won't play, only the first 3 buttons will work but files names are 1, 2 and 4

I'm quite new to this so any help would be greatly appreciated as I'd like pin 0 to play mp3 1, and pin 1 to plays mp3 2 and so on

I just want 6 push buttons to play 6 MP3's 🤷‍♂️

@sjernigan
Copy link

I strongly suspect this is the file naming/sorting issue. It can be really hard to get straightened out on some platforms. I've had no luck on osx and chromeos. The Drivesort program for windows works. That said, I don't know why you are using this library at all if you just want 6 push buttons to play 6 MP3s. Put the board into one of the first 4 modes and wire the buttons to the sound module directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants