?

Log in

No account? Create an account
penrose orange

stephenw32768


/var/log/stephen

cat /var/log/stephen >/dev/eyes


Musical coding
penrose orange
stephenw32768
So, I've got a load of chiptunes from various old games, and a plugin for Audacious to play them, but no command-line player. There's a library that can decode them, but no-one seems to have written a command-line app that uses it.

Better do it myself, then...

It's for Linux, but should be portable to any other Unix-like OS that provides the Open Sound System audio API (which is most of them, I think). As well as playing the music, it can dump the music as linear PCM in AU format, suitable for burning to CD, MP3ifying, etc.

Full source code inside!Collapse )

Hmmm, I think this is going to be another of those entries that don't attract any comments...