shithub: rc

ref: 2d6bbef1ba45ceb41742387038400e1358cb7573
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