Announcement

Collapse
No announcement yet.

Change Voices?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Change Voices?

    Hello there!
    Do any of you fine folks know if there is a way to specify which voice is being used for a specific speech event? That is, events that play something to my daughter's room, ideally, should use a different voice that those announcing the doorbell...

  • #2
    Audio File

    Cannot think of anything other than to record an audio file in the voice you want and then make the Event play the audio file rather then run a Speaking action. Problem if there are any variables in what you want the event to say.

    Comment


    • #3
      I'd be happy if I could just get Barbara Feldon (Jeanie)!
      HomeSeer Version: HS3 Pro Edition 3.0.0.500
      Operating System: Microsoft Windows 10 Pro - Work Station

      Enabled Plug-Ins:
      2.1.0.119: AmbientWeather | 3.0.21.0: BLLock | 2.0.24.0: BLUPS | 1.3.6.0: Device History | 3.0.0.56: EasyTrigger | 3.1.0.7: MeiHarmonyHub | 3.0.6681.34300: UltraCID3 | 3.0.6644.26753: UltraLog3 | 3.0.6554.33094: UltraMon3 | 3.0.0.91: weatherXML | 3.0.1.245: Z-Wave | 3.0.51: HS Touch Designer | 3.0.0.40 Z-Seer+

      Comment


      • #4
        If you have more voices installed then you can added this to your speech to switch between the default and another voice .
        Example : <voice required="name = Microsoft Anna">Your text here

        Comment


        • #5
          that's right, to specify which voice is being used in a speech event you can use the voice SAPI tag. (For more info about SAPI tags, see this link: http://msdn.microsoft.com/en-us/libr...=vs.85%29.aspx)

          This works with the default Homeseer TTS engine. Unfortunately it does not work by default with AirplaySpeak because AirplaySpeak use a newer API that doesn't support SAPI. But you can force the AirplaySpeak plugin to use the same API that HS by adding the following lines in AirplaySpeak.ini in the [TTS] section:

          Code:
          [TTS]
          use_sapi=True
          I have just tested the following event and it works as expected:

          Click image for larger version

Name:	sapi_voice.jpg
Views:	1
Size:	37.5 KB
ID:	1176048

          Comment


          • #6
            Originally posted by spud View Post
            that's right, to specify which voice is being used in a speech event you can use the voice SAPI tag. (For more info about SAPI tags, see this link: http://msdn.microsoft.com/en-us/libr...=vs.85%29.aspx)

            This works with the default Homeseer TTS engine. Unfortunately it does not work by default with AirplaySpeak because AirplaySpeak use a newer API that doesn't support SAPI. But you can force the AirplaySpeak plugin to use the same API that HS by adding the following lines in AirplaySpeak.ini in the [TTS] section:

            Code:
            [TTS]
            use_sapi=True
            That sounds great! I will definitely try that. Spud, since I am making changes to the ini file, that means I have to do this after every update of AirplaySpeak, right?

            Comment


            • #7
              Originally posted by VirtualPanther View Post
              That sounds great! I will definitely try that. Spud, since I am making changes to the ini file, that means I have to do this after every update of AirplaySpeak, right?
              no you don't have to because updates of the plugin do not overwrite the ini file

              Comment


              • #8
                Originally posted by spud View Post
                no you don't have to because updates of the plugin do not overwrite the ini file
                Great. Is there any downside to my introducing this command? After all, it is from the older version of API...

                Comment


                • #9
                  Thanks for the Tutorial

                  Does not have any day-to-day value for me.

                  But now I can play with setting up speech events before the grandkids and grand nephews and nieces next visit that they might find entertaining.

                  Comment


                  • #10
                    Originally posted by clay2young View Post
                    Does not have any day-to-day value for me.

                    But now I can play with setting up speech events before the grandkids and grand nephews and nieces next visit that they might find entertaining.
                    That's exactly the point. I got one of Ivona's British voices for announcements, while in my daughter's study and play room, I was planning to try chipmunks

                    Comment


                    • #11
                      Originally posted by VirtualPanther View Post
                      Great. Is there any downside to my introducing this command? After all, it is from the older version of API...
                      I don't think there is really any downside. Actually I'm thinking of making it the default behavior of the plugin to make it more consistent with HS TTS.

                      Let me know if you find any problem.

                      Comment

                      Working...
                      X