• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [plugin] text to speech

    Discussion in 'Archives' started by anything, Feb 3, 2012.

    1. anything

      anything Member

      Joined:
      May 8, 2011
      Messages:
      203
      Likes Received:
      12
      Trophy Points:
      18
      Text to Speech:

      this was done mostly as a proof of concept.


      This plugin monitors your chat and sends it to an external program to be spoken aloud.
      Now you can prove your lazyness while Microsoft Anna reads your messages for you in that hot smokey smooth ... robotic .. voice

      After hearing about some visually impaired Wow players were struggling with some aspects of the game I realized that an honorbuddy plugin is pretty well placed to be able to help out.
      Thought I'd give a go at making at least a proof of concept.

      Although honorbuddy (HB) is against Wow's terms of service, I don't believe they're soo anal to pick on people using the bot for the sole purpose of tts.
      If you are using HB solely for this plugin its extremely unlikely you'll be discovered anyway.

      Working:
      - monitors say, whisper, party & party leader, guild, and raid - and says it out aloud
      - each chat channel is spoken on a separate voice channel, so there can be multiple playing at the same time (I did this on purpose, see below)

      Planned:
      - chat channel priority - an event in one channel can pause or even cancel the speech that is currently playing for other channels (ie, "raid:get out of the fire" is more important than "guild:can anyone tell me where to buy a paperclip")
      - customization - change voice, pitch & speed. keyword matching, text search & replace. play sounds for detected events instead of reading it out. a gui?
      - end goal is that i'd like to see this eventually made into almost an audible equivalent to deadly boss mods + more

      How to use:
      copy tts_chat.cs to the HB plugins folder
      copy NothingBot.cs to the HB bots folder
      run tts_chat_helper.exe
      start HB
      change bot to NothingBot
      open plugins and enable tts_chat
      start bot.
      you should hear tts say "honor buddy connected"


      I've run a few random dungeon finders with this plugin, conversing with some randoms. Microsoft Anna is starting to sound pretty hot!


      More Info:
      - Honorbuddy plugins cannot use speech synthesis directly, so this plugin communicates with an external application instead, which can.
      - Uses Windows' built in speech synthesis. I believe it comes with .net automatically?, but you may find you need to install it.
      - I grabbed a custom botbase and ripped everything i could out of it, seemed to do the trick - it does nothing. someone may know a better way to do nothing.
      - tts_chat.cs disables click to move (i added it for my benefit). if you're using it with other HB stuff itll case navigation issues, just remove that line. i probably should move that function to nothingbot instead.
       

      Attached Files:

      Last edited: Feb 3, 2012
      Crowley likes this.
    2. zpassenger

      zpassenger New Member

      Joined:
      Dec 20, 2011
      Messages:
      38
      Likes Received:
      0
      Trophy Points:
      0
      Awesome Job!
      Will try it soon in the morning!
      Thanks for the contrib!!!!
       
    3. Kazy

      Kazy New Member

      Joined:
      Nov 21, 2011
      Messages:
      50
      Likes Received:
      0
      Trophy Points:
      0
      I think this is a good idea with a lot of potential. :) It would be neat hearing people having conversations as you walk by. Would be cool if you could designate voices to gender lol. Just wanted to say thanks and great idea. :D
       
    4. Ama

      Ama New Member

      Joined:
      Jun 6, 2011
      Messages:
      1,171
      Likes Received:
      33
      Trophy Points:
      0
      Awesome! Ray Kurzweil would be proud.
       
    5. lil-rmj

      lil-rmj New Member

      Joined:
      Feb 9, 2012
      Messages:
      58
      Likes Received:
      0
      Trophy Points:
      0

      it'd be cool if you could reverse it aswell.. so someone speaks into their mic and it changes it to text? but i know that would be alot more complicated.
       
    6. anything

      anything Member

      Joined:
      May 8, 2011
      Messages:
      203
      Likes Received:
      12
      Trophy Points:
      18
      its possible, i wrote it keeping in mind that people might have multiple voices installed.
      the hardest thing seems to be finding voices tho. windows 7 comes with 1, and so far from my attempts at finding any others seems to be all overpriced shitty un-maintained paid products from big faceless corporations.

      i believe windows has builtin libraries for it now (making it easier). but i dont think its going to be useful for other reasons.
      the delay on voice to text is usually really long and usually very inaccurate. my grandma with 2 fingers types fast and accurate enough to put something like that to shame.
       
    7. AtticusG3

      AtticusG3 New Member

      Joined:
      Aug 27, 2011
      Messages:
      425
      Likes Received:
      11
      Trophy Points:
      0
      As for the do nothing CC, Mastahg already has FatHead on the forums, but I assume it's much the same thing.
       
    8. Crowley

      Crowley Member

      Joined:
      Jan 15, 2010
      Messages:
      967
      Likes Received:
      20
      Trophy Points:
      18
      Just awesome :)

      "
      Although honorbuddy (HB) is against Wow's terms of service, I don't believe they're soo anal to pick on people using the bot for the sole purpose of tts."

      Sadly though they are. Nonetheless, this is NICE work :)
       
    9. Haverdaden

      Haverdaden New Member

      Joined:
      Aug 26, 2010
      Messages:
      13
      Likes Received:
      0
      Trophy Points:
      0
      I'm looking forward to the Alerts for bossmods. Like Twilight Onslaught or Stomp text to speech. Hope we will get it soon :)
       

    Share This Page