xmp can play through several output devices including the Open Sound System sequencer, linear and ulaw PCM audio devices or mixing to a file.
OSS sequencer:
OSS software mixing:
HP-UX and Solaris audio:
Interactive mode can be disabled using the --nocmd command line option.
xmp --mute=0-3,6 module.mod.gz
Play modules in /dev/dsp using the default device settings (unsigned 8bit, 8 kHz mono):
xmp -o/dev/dsp -f8000 -m -b8 -u module.lha
Play all XM modules in the /mod directory and all subdirectories in random order, ignoring any configuration set in the xmprc file:
xmp --norc -R `find /mod -name "*.xm*" -print`
/etc/xmprc, $HOME/.xmprc