shithub: riscv

ref: 0f890140f25324aa076b10f146840f6d7dc85a3a
dir: /rc/bin/dmus/

View raw version
#!/bin/rc
if(test -f /tmp/genmidi.*)
	c=(games/dmid -i /tmp/genmidi.* '|' 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