shithub: rc

ref: 5e6bd6f2655721469ef462d7bcbb39014b8bb727
dir: rc/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