shithub: rc

ref: 7314fb6b296824132c3e0adef0377b024990ecc7
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}
}