Hello! Long time observer of this community, first time poster.
I’ve been working on a project for my band. The thought was to create a custom “iPod” for the release of our album. I am using a Raspberry Pi Zero 2 WH and the Pirate Audio DAC Speaker.
Some info on the functionality of this entire project:
three menu options, “Music” “Photos” “Lyrics”
main menu, music, and lyrics all have custom .gif backgrounds that are playing.
Photos has a custom loading screen, and then a photo slideshow of some artwork.
Lyrics is just a menu selection for our songs, that opens a .txt file.
A button = up
B button = down
X button = return to main menu
Y button = select
I have confirmed that the ALSA configuration is spot on, as I have created numerous test scripts that play all of our .wav songs perfectly fine.
I integrated this test player into the program, and I do not get audio even though console logs that all my songs are playing, and I am able to pause/play them.
Another weird thing I noticed is when I completely unplug the device, and plug it back in, ssh into it, then run “python3 test.py” THATS ONLY TIME I GET AUDIO. after i hit “ctrl c” to cleanly exit the test, and then proceed to run it again, no audio!
Unfortunately, if i try running “python3 main.py” then the program itselfs work great, just no audio lol.
It seems to be a very niche issue I am encountering, and I have literally been stuck on this for over FIVE MONTHS now. Our release is coming up in two weeks…I really need some assistance on this.
If you’d like to reach out to me personally about this project and helping I would be eternally grateful. I am so desperate to get this to work, I am willing to pay out of sheer frustration and time constraints lol. (being serious)
If you would like access to the program code, please reach out to me individually.
Console Logs / Images: