I watched Reformat the Planet on
pitchfork which got me to download some
chiptunes (bitshifter, covox, and aonami).
As soon as I went to work with the audio files, I ran smack right into a bash quoting problem. Most audio files
have spaces in them and my bash functions treated spaces as delimiters.
Fixing them up by quoting every variable (bash rule #1 = quote all variables, David Pashley has a good intro to writing robust shell scripts), we get the following: