xmp can play through several output devices including the Open Sound System sequencer (for GUS and AWE cards), linear PCM audio devices (OSS /dev/dsp, Solaris /dev/audio) or mix to a file.
OSS sequencer:
OSS software mixing:
HP-UX and Solaris audio:
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