shithub: rc

ref: 29631970c9391c35c59f521f3ba8a457b1ffe6d2
dir: /bin/tell/

View raw version
#!/bin/rc
rfork ne
v=rms
if(~ $1 -v){
	v=$2
	shift 2
}
if(! ~ $#* 1 || ~ $#v 0){
	echo usage: $0 '[-v voice]' file >[1=2]
	exit usage
}
tail -f $1 | audio/flite -v $v | norm 3 >/dev/audio