libopenmpt

Library to decode and play tracked music formats like MOD, S3M, XM, IT.

brewmacoslinux
Try with needOr install directly
Source

About

Software library to decode tracked music files

Commands

openmpt123

Examples

play a mod or xm music file$ openmpt123 song.mod
convert tracked music file to wav audio$ openmpt123 --output song.wav song.it
play music file with specific playback speed$ openmpt123 --tempo 1.5 song.s3m
list information about a tracked music file$ openmpt123 --info song.xm
batch convert multiple mod files to wav format$ for f in *.mod; do openmpt123 --output "${f%.mod}.wav" "$f"; done