Provides Text-To-Speech functionality to HexChat using festival
or espeak
(with or without mbrola
). Based on XChat TTS Script v0.1.
For best results, install festival
and a voice package like festvox-kallpc16k
for english
or festvox-rablpc16k
for british_english
:
sudo apt-get install festival festvox-rablpc16k
If you want to use mbrola
instead:
sudo apt-get install mbrola
Download a voice package and install it in /usr/share/mbrola/
Clone this repository to ~/.config/hexchat/addons/tts
(renaming hexchat-tts
to tts
):
git clone https://github.com/caktux/hexchat-tts.git ~/.config/hexchat/addons/tts
Link the tts.pl
script in the addons
folder to load it when HexChat launches:
ln -s ~/.config/hexchat/addons/tts/tts.pl ~/.config/hexchat/addons/tts.pl
/tts info Display some generel informations
/tts [on|off] Turns TTS on/off (default is on)
/tts pm [on|off] Turns TTS on/off for PMs (default is on)
/tts addchan listen to the current channel
/tts delchan stop listening to the current channel
/tts listchans shows all channels on the listening list
/tts addnick <nick> listen to <nick> in the current channel
/tts delnick <nick> stop listening to <nick> in the current channel
/tts listnicks shows all nicks/channels on the listening list
/tts notify [<nick>] lists TTS notify list, add/del <nick>
/tts ignore [<nick>] lists TTS ignore list, add/del <nick>
/tts watch [<nick>] notifies you when <nick> join/parts a chan
/tts use <engine> TTS engine ('espeak', 'mbrola' or 'festival')
/tts lang <language> TTS language (festival->english, mbrola->us1)
/tts say <text> says the text
- The channel list is for speaking all messages in a channel
- The nicknames list is for speaking messages from nicknames per channel
- The
notify
list is for online/offline status - The
watch
list is for joining/leaving a channel - The
ignore
list is for ignoring individual nicknames
- Per nick voices
- Volume control