shithub: rc

Download patch

ref: 5d803094ebf5bc6f6c0ccd869e3d8a4b783341ca
parent: 5e789f5e474f22957edaec53337a2b11e52b851e
author: qwx <qwx@sciops.net>
date: Thu Aug 24 10:49:01 EDT 2023

tell: use scottish voice and strip irc timestamps

--- a/bin/tell
+++ b/bin/tell
@@ -1,6 +1,6 @@
 #!/bin/rc
 rfork ne
-v=rms
+v=awb
 if(~ $1 -v){
 	v=$2
 	shift 2
@@ -9,4 +9,7 @@
 	echo usage: $0 '[-v voice]' file >[1=2]
 	exit usage
 }
-tail -f $1 | audio/flite -v $v | norm 3 >/dev/audio
+tail -f $1 | \
+	sed -u 's/^[0-9]+:[0-9]+ //' | \
+	audio/flite -v $v \
+	>/dev/audio