shithub: rc

ref: d639e19c0499c3cff2822a175eb73e3f563b0591
dir: /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