• My Pages
  • Comments
  • Add Link
  • Subscribe
  • Subscribe User
  • Edit (GUI)
  • Edit (Text)
  • Rename Page
  • Copy Page
  • Load Page
  • Save Page
  • Delete Page
  • Attachments
  • Check Spelling
  • Diffs
  • Info
  • Revert to this revision
  • XML
  • Render as Docbook
  • Print View
  • Raw Text
  • Delete Cache
  • Like Pages
  • Local Site Map
  • Remove Spam
  • Package Pages
  • Sync Pages

    Revision 1 as of 2015-09-06 22:16:30

    Clear message

    This feature is available starting in NeatBot 3351T

    !TTSConf.txt is an optional file that can be created and edited using any text editor (like Notepad) and placed in the bot's directory. It is used to give instructions to all bots ran from that directory on what TTS system to use for the Say command. The say command allows the bot to speak custom text outloud using a Text-To-Speech engine. Microsoft has such an engine built into some versions of Windows, but not all. Since the bot cannot rely upon the user having one of those versions of Windows, it uses an external TTS engine in order to talk.

    Prior to version 3351T, the bot uses Google's free public TTS engine. Unfortunately (probably because of us!) Google has put a CAPTCHA on the use of their TTS engine, which renders it pretty useless for the bot. You can now register for, and utilize, other websites that offer TTS services. We are recommending, for now, the VoiceRSS website ( http://www.voicerss.org } TTS engine. It is free for up to 350 messages per day if you register on their website. Once the bot gets a TTS message it saves it, so if it's repeating the same message it won't count against your 350 times that day.

    The bot has built in support for Google and VoiceRSS engines already. An example of how you could use !TTSConf.txt for VoiceRSS would be:

    • voicerss
      -key YOUR_API_KEY_HERE

    You would get the above API key from the VOiceRSS website after you register.

    An example of how to use Google's TTS engine would be:

    • google

    If you find and like another TTS engine, you can still set it up with this file. Here's a sample "tts.conf" contents for custom TTS:

    • http://service_url/and_path
      -text textfield
      -language langfield=default_language
      -requires field1,field2
      -field1 value1
      -field2 value2

    You would get the above information from the website you're using. Please let us know on the forums or Skype if you find any engines that work well with the bot, we can add built-in support for them too!


    CategoryExtras