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.
by rebooter23 at 5:26 PM EDT on August 27, 2017
https://hcs64.com/mboard/forum.php?showthread=49662

They compiled an recent audacious plugin. You should be able to compile audacious for arm too.
by derselbst at 3:54 PM EDT on August 29, 2017
I wrote my own player for enjoying video game music: https://github.com/derselbst/ANMP

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.
by froggestspirit at 7:43 PM EDT on August 30, 2017
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.
by derselbst at 5:58 AM EDT on September 1, 2017
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

44100 Hz * 2 channels * (5*60) sec * sizeof(int32) = 100MB

But a Raspberry Pi should cope with this? At least for xSF formats, they are emulated and loop internally. No loop points can be exported here AFAIK.


Go to Page 0

Search this thread

Show all threads

Reply to this thread:

User Name Tags:

bold: [b]bold[/b]
italics: [i]italics[/i]
emphasis: [em]emphasis[/em]
underline: [u]underline[/u]
small: [small]small[/small]
Link: [url=http://www.google.com]Link[/url]

[img=https://www.hcs64.com/images/mm1.png]
Password
Subject
Message

HCS Forum Index
Halley's Comet Software
forum source