shithub: rc

ref: deda28504aef3df61fed73bfe89b0db875a46004
dir: /bin/2opus/

View raw version
#!/bin/rc
l=(--bitrate 128)
if(~ $1 -l){
	l=()
	shift
}
play -o /fd/1 >[2]/dev/null |\
	audio/opusenc --music --downmix-stereo $l