shithub: rc

ref: 345449d42d68edc414adaf7c9888bb86d0efd2d8
dir: /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}
}