shithub: rc

ref: deda28504aef3df61fed73bfe89b0db875a46004
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}
}