2018-07-12 07:33:33 +00:00
|
|
|
#!/bin/rc
|
2018-10-20 22:11:39 +00:00
|
|
|
if(test -f /tmp/genmidi.*)
|
|
|
|
c=(games/dmid -i /tmp/genmidi.* '|' games/opl3)
|
2018-07-12 07:33:33 +00:00
|
|
|
if not
|
|
|
|
c=(games/midi -c)
|
|
|
|
if(~ `{file -m $1} audio/mus)
|
|
|
|
c=(games/mus '<' $1 '|' $c)
|
|
|
|
if not
|
|
|
|
c=('<' $1 $c)
|
|
|
|
eval $c
|