Skip to content

Instantly share code, notes, and snippets.

@miloh
Created July 4, 2015 22:18
Show Gist options
  • Save miloh/3a53223b8e79812a0bb1 to your computer and use it in GitHub Desktop.
Save miloh/3a53223b8e79812a0bb1 to your computer and use it in GitHub Desktop.
sayingthings was a script for irc TTS with festival, used by noisebridgers from 2010-2012
#!/bin/sh
ssh -p 9595 user@persistentserver "tail -1f irc.log.Window1" | perl -lne 'BEGIN{$|++} print "$1 says $2" if m/^[^<]+<.(\S+)> ([^[]+)$/; print "$1 $2" if m/^[^<]+ \* ((\S+) ([^[].+))$/' | while read f; do echo "(SayText \"$f\")"; done | festival
@hzeller
Copy link

hzeller commented Jul 5, 2015

(my thing where I experiment with different speak engines)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment