[an error occurred while processing this directive]

irssi2fest

The Apology
irssi2fest is a irssi script that glues irc communications to the Festival Speech Synthesis System. This is beta software and should be audited before use.
email me with comments, patches or problems, or better yet stop by #alg on irc.distributed.net.
The Files
Things available here:
irssi2fest.01.tar.gz
Things you also need, available elsewhere:
festival Speech Synthesis System
The Festival::Client Perl module
The Howto
  1. Installation of files: install the file speak.pl in ~/.irssi/scripts.
  2. Install the perl modules Festival::Client.
  3. Install festival and get it running in server mode. This can be on the localhost or another host reachable from the machine running irssi. The script will offer to start festival on the localhost if it's not running there. The script will offer to write a config file if there isn't one. The config file is commented and will allow non-standard host:port setups.
  4. Load the script from within irssi. (/script load speak)
  5. Listen. If no one is talking, an unobtusive way to test it is to /msg yourself.

bx2fest

The Apology
bx2fest is a scheme that allows one to hear IRC conversations rather than just reading them. For people who frequent low-traffic channels this allows leaving the IRC window on a different desktop and just forgetting about it until something interesting happens.
bx2fest uses the Festival Speech Synthesis System, Free software from the University of Edinburgh. If you don't mind buying and installing IBMs Via Voice, I recommend ascii's bxspeak. ascii's app is more featureful (real word?) and Via Voice does some cool stuff that festival doesn't.
Some time ago I cobbled this together so that I could listen to IRC while I wrote a good one. It turns out that this does about what I want, and I can't really decide how this should be done, so I've been using it as-is for some time. I toy with the idea of a gui just to have a mute button sometimes, but then I decide it should have a volume control and checkboxes for what sort of things the user wants to hear, an editor for the translation tables, pictures that show who's talking and maybe a mail user agent. So I leave it alone.
This version works with BitchX, when I decide how I really want to do this I'll probably do it for irssi. If someone takes this idea and runs with it I'd like to hear about it.
This runs under Perl's Taint pragma and has been running on my personal machine for maybe a year with no incident of mass file system erasure, fire or baldness; but I recommend auditing the code for security problems before running. This software is offered "as-is" and you're on your own if something terrible happens.
This system is known to run on a Debian system running Perl 5.8.0, and I don't know why it wouldn't work on about any sane UNIX-ish system.
I'm posting this hoping for some feedback, feel free to email me if I've messed up the instructions, it just doesn't work, you have a patch or a better idea or whatever. I can also be caught on irc.distributed.net #alg .
The Files
Things available here:
bx2fest.01.tar.gz
Local-Irclog-Bitchx-0.02.tar.gz
Things you also need, available elsewhere:
festival Speech Synthesis System
The Festival::Client Perl module
The Howto
  1. Installation of files: make a directory called ".bx2fest" in your home directory. Populate it with the files "trans.def" and "festserv" from the bx2fest tarball. put the executable "bx2fest" somewhere in your $PATH. make sure it's +x.
  2. Install festival and get it running in server mode (this is the tricky part). I start festival thusly:
    festival --server ~/.bx2fest/festserv &
    The file "festserv" is written to make festival listen to the localhost, salt to taste to run festival on a different machine.
  3. Install the perl modules Festival::Client and Local::Irclog::Bitchx. Festival::Client is a CPAN module and Local::Irclog::Bitchx is available here.
  4. move your "~/IrcLog" to "~/IrcLog.real" and make "~/IrcLog" a named pipe.
    $ cd # make sure you are in "~/"
    $ mv IrcLog IrcLog.real
    $ mknod IrcLog p
  5. execute bx2fest.
  6. in BitchX "/set log on"
  7. Listen. If no one is talking, an unobtusive way to test it is with the "/topic" command.
[an error occurred while processing this directive]