shithub: rc

ref: 0cdeec2315bd48208f69280aef7881cb26c35da7
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