Raspberry Pi Music Player by froggestspirit at 11:14 AM EDT on August 27, 2017
I'm looking to make a minimal portable music player with a raspberry pi zero. I'm wondering if there's any port of vgmstream and other sequenced formats to play on this. I don't need internet streaming, just local music from an SD (this rules out chipmachine). I've seen Audacious, although the support didnt seem too good for videogame music. I know this can be done on an android, but I'm looking for a raspberry pi solution.
It was however developed for desktop PCs, i.e. assuming the user has huge amounts of avail. RAM, that can be used for storing the whole decoded file at once. Although you can disable this behaviour (i.e. decoding block by block), it will make seeking impossible. Not sure if that's what you want, but feel free to try it.
One thing that drew me back with audacious, is that with 2SF, it takes a long time to buffer the song (especially with pause and resume, on a raspberry pi zero). ANMP looks like it could be good, as I would love having the option to loop songs infinitely. I'm wondering if either of these can be controlled by gpio buttons, preferrebly from command line, so the raspberry pi could be more minimal, and not have to boot stuff it wont need. It might be a pipe dream, but you never know.
Sure, shouldnt be too hard writing a small CLI prog that reads in gpio btns and sets the overriding loop count for instance.
If ANMP handles loops itself it needs to seek within a song and this requires a bit of RAM. Assuming a stereo song of 5min duration would require (worst case) about