MIDI files are in MIDI format 1 - whether the first track is actually empty is a little random If you can't play a file with a .midi extension by clicking on it, but .mid usually works, than blame microsoft's brainchild, the 8+3 filename convention, and the concomitant failure of their adulating followers for failing to install a handler for the full four-character extension. Making the OGG version of the wavfile. qual=10 ; oggenc --quality $qual -t 'DreamShifts' -a 'Christopher Alexander North-Keys' -d 1999-03-30 -c 'copyright=DreamShifts (C) 1999 Christopher Alexander North-Keys, all rights reserved' dream-shifts.wav -o dream-shifts.qual-$qual.ogg