shithub: rc

ref: f7e9f4873a050552f9d197269cb028f78f8f20d7
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