shithub: rc

ref: 72109701c13f34b4cb16b154f793dd9359a705eb
dir: /bin/aconv2/

View raw version
#!/bin/rc
parm=()
if(~ $1 -l){
	parm=(-l)
	shift
}
pref=$1
for(i in $*(2-)){
	echo $i
	audio/flacdec <$i | pcm2opus >`{echo $i | mfmt $pref opus}
}