shithub: riscv

ref: 6c7d0aeb7d937a3dcf924f1ef2952ee6c7aa9eb3
dir: /rc/bin/dmus/

View raw version
#!/bin/rc
if(test -f /mnt/wad/genmidi)
	c=(games/dmid '|' games/opl3)
if not
	c=(games/midi -c)
if(~ `{file -m $1} audio/mus)
	c=(games/mus '<' $1 '|' $c)
if not
	c=('<' $1 $c)
eval $c