Change voice in ActionHow to change the voice using SSML/XML in VBAHow do I get Actions on Google to speak using Google Home's normal voice?Can I use my own voice or someone's voice with permission?SSML in text response for API.AIIs there a way to have change female to male voice during the conversation in DialogFlow (Api.ai)Strip SSML or is there other way?are there any changes in actions-sdk of actions-on-google that breaks previous codes.?Does Google Actions support SSML?Actions of Google doesn't play correctly SSML emphasis and consider it as a paragraphHow to produce emotional speech using ssml prosody element?

US tourist/student visa

"before" and "want" for the same systemd service?

Why can't the Brexit deadlock in the UK parliament be solved with a plurality vote?

What is going on with gets(stdin) on the site coderbyte?

Does "he squandered his car on drink" sound natural?

Can I cause damage to electrical appliances by unplugging them when they are turned on?

Creating two special characters

What are some good ways to treat frozen vegetables such that they behave like fresh vegetables when stir frying them?

Taxes on Dividends in a Roth IRA

Does Doodling or Improvising on the Piano Have Any Benefits?

How to preserve electronics (computers, iPads and phones) for hundreds of years

Mimic lecturing on blackboard, facing audience

How could a planet have erratic days?

Make a Bowl of Alphabet Soup

What does Apple's new App Store requirement mean

Find the next value of this number series

Why is the Sun approximated as a black body at ~ 5800 K?

What to do when eye contact makes your coworker uncomfortable?

Change the color of a single dot in `ddot` symbol

Is it necessary to use pronouns with the verb "essere"?

awk assign to multiple variables at once

How to convince somebody that he is fit for something else, but not this job?

Giving feedback to someone without sounding prejudiced

Are Captain Marvel's powers affected by Thanos breaking the Tesseract and claiming the stone?



Change voice in Action


How to change the voice using SSML/XML in VBAHow do I get Actions on Google to speak using Google Home's normal voice?Can I use my own voice or someone's voice with permission?SSML in text response for API.AIIs there a way to have change female to male voice during the conversation in DialogFlow (Api.ai)Strip SSML or is there other way?are there any changes in actions-sdk of actions-on-google that breaks previous codes.?Does Google Actions support SSML?Actions of Google doesn't play correctly SSML emphasis and consider it as a paragraphHow to produce emotional speech using ssml prosody element?













2















How do I change the voice during my response in "Actions on Google"? Is there an SSML code to temporarily change the voice, for example, from male to female, while reading a quotation?










share|improve this question
























  • Yes. You got the option to change the voice with SSML. Have you saw this: developers.google.com/actions/reference/ssml you

    – Ido Green
    Jul 31 '17 at 16:52











  • Thanks, @IdoGreen. I see the SSML reference, but there is nothing there explaining how to change the voice.

    – Glen Little
    Jul 31 '17 at 18:42











  • You can't change the voice at the moment, however you can use SSML to have more customizable (=audio) response. I hope it helps.

    – Ido Green
    Aug 1 '17 at 23:09















2















How do I change the voice during my response in "Actions on Google"? Is there an SSML code to temporarily change the voice, for example, from male to female, while reading a quotation?










share|improve this question
























  • Yes. You got the option to change the voice with SSML. Have you saw this: developers.google.com/actions/reference/ssml you

    – Ido Green
    Jul 31 '17 at 16:52











  • Thanks, @IdoGreen. I see the SSML reference, but there is nothing there explaining how to change the voice.

    – Glen Little
    Jul 31 '17 at 18:42











  • You can't change the voice at the moment, however you can use SSML to have more customizable (=audio) response. I hope it helps.

    – Ido Green
    Aug 1 '17 at 23:09













2












2








2


1






How do I change the voice during my response in "Actions on Google"? Is there an SSML code to temporarily change the voice, for example, from male to female, while reading a quotation?










share|improve this question
















How do I change the voice during my response in "Actions on Google"? Is there an SSML code to temporarily change the voice, for example, from male to female, while reading a quotation?







actions-on-google ssml






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jul 31 '17 at 18:43







Glen Little

















asked Jul 31 '17 at 7:53









Glen LittleGlen Little

4,52732957




4,52732957












  • Yes. You got the option to change the voice with SSML. Have you saw this: developers.google.com/actions/reference/ssml you

    – Ido Green
    Jul 31 '17 at 16:52











  • Thanks, @IdoGreen. I see the SSML reference, but there is nothing there explaining how to change the voice.

    – Glen Little
    Jul 31 '17 at 18:42











  • You can't change the voice at the moment, however you can use SSML to have more customizable (=audio) response. I hope it helps.

    – Ido Green
    Aug 1 '17 at 23:09

















  • Yes. You got the option to change the voice with SSML. Have you saw this: developers.google.com/actions/reference/ssml you

    – Ido Green
    Jul 31 '17 at 16:52











  • Thanks, @IdoGreen. I see the SSML reference, but there is nothing there explaining how to change the voice.

    – Glen Little
    Jul 31 '17 at 18:42











  • You can't change the voice at the moment, however you can use SSML to have more customizable (=audio) response. I hope it helps.

    – Ido Green
    Aug 1 '17 at 23:09
















Yes. You got the option to change the voice with SSML. Have you saw this: developers.google.com/actions/reference/ssml you

– Ido Green
Jul 31 '17 at 16:52





Yes. You got the option to change the voice with SSML. Have you saw this: developers.google.com/actions/reference/ssml you

– Ido Green
Jul 31 '17 at 16:52













Thanks, @IdoGreen. I see the SSML reference, but there is nothing there explaining how to change the voice.

– Glen Little
Jul 31 '17 at 18:42





Thanks, @IdoGreen. I see the SSML reference, but there is nothing there explaining how to change the voice.

– Glen Little
Jul 31 '17 at 18:42













You can't change the voice at the moment, however you can use SSML to have more customizable (=audio) response. I hope it helps.

– Ido Green
Aug 1 '17 at 23:09





You can't change the voice at the moment, however you can use SSML to have more customizable (=audio) response. I hope it helps.

– Ido Green
Aug 1 '17 at 23:09












3 Answers
3






active

oldest

votes


















3














You actually can change the voice bye adding a voice tag inside the speak tag. You can try something like this:



<speak><voice gender="female">Hello I'm Mary</voice><break time="2s"/><voice gender="male">Hey I'm John</voice><speak>





share|improve this answer























  • I've now found that it doesn't seem to have an impact in the Simulator, but does in Google Assistant.

    – Glen Little
    Aug 17 '17 at 22:47











  • To update/expand: it appears <voice gender="male">, <voice gender="male" variant="2">, <voice gender="female">, and <voice gender="female" variant="2"> are all the voices currently supported (though this still doesn't appear to be officially documented anywhere.)

    – SamVK
    Jan 12 at 5:16


















0














You can't change the voice at the moment, however you can use Speech Synthesis Markup Language (SSML), to have more customizable (=audio) response.



For more on how to use SSML with Action On Google: https://medium.com/google-developers/ssml-for-actions-on-google-946117f97fd1



I hope it helps.






share|improve this answer






























    0














    Best Solution for that.



    const request = 
    // The text to synthesize
    input:
    ssml:`<speak version="1.1" xmlns="http://www.w3.org/2001/10/synthesis"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
    http://www.w3.org/TR/speech-synthesis11/synthesis.xsd"
    xml:lang="en-US">
    <voice gender="female" languages="en-US" required="languages gender variant">It Maria and this is my female voice,</voice>
    <!-- processor-specific voice selection -->
    <voice name="Mike" required="name">Its Mike and its my male voice</voice>
    </speak>`
    ,

    // The language code and SSML Voice Gender
    voice: languageCode: 'en-US', ssmlGender: 'NEUTRAL' ,

    // The audio encoding type
    audioConfig: audioEncoding: 'MP3' ,
    ;


    That's work for me like a charm






    share|improve this answer






















      Your Answer






      StackExchange.ifUsing("editor", function ()
      StackExchange.using("externalEditor", function ()
      StackExchange.using("snippets", function ()
      StackExchange.snippets.init();
      );
      );
      , "code-snippets");

      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "1"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader:
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      ,
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













      draft saved

      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f45410224%2fchange-voice-in-action%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      3














      You actually can change the voice bye adding a voice tag inside the speak tag. You can try something like this:



      <speak><voice gender="female">Hello I'm Mary</voice><break time="2s"/><voice gender="male">Hey I'm John</voice><speak>





      share|improve this answer























      • I've now found that it doesn't seem to have an impact in the Simulator, but does in Google Assistant.

        – Glen Little
        Aug 17 '17 at 22:47











      • To update/expand: it appears <voice gender="male">, <voice gender="male" variant="2">, <voice gender="female">, and <voice gender="female" variant="2"> are all the voices currently supported (though this still doesn't appear to be officially documented anywhere.)

        – SamVK
        Jan 12 at 5:16















      3














      You actually can change the voice bye adding a voice tag inside the speak tag. You can try something like this:



      <speak><voice gender="female">Hello I'm Mary</voice><break time="2s"/><voice gender="male">Hey I'm John</voice><speak>





      share|improve this answer























      • I've now found that it doesn't seem to have an impact in the Simulator, but does in Google Assistant.

        – Glen Little
        Aug 17 '17 at 22:47











      • To update/expand: it appears <voice gender="male">, <voice gender="male" variant="2">, <voice gender="female">, and <voice gender="female" variant="2"> are all the voices currently supported (though this still doesn't appear to be officially documented anywhere.)

        – SamVK
        Jan 12 at 5:16













      3












      3








      3







      You actually can change the voice bye adding a voice tag inside the speak tag. You can try something like this:



      <speak><voice gender="female">Hello I'm Mary</voice><break time="2s"/><voice gender="male">Hey I'm John</voice><speak>





      share|improve this answer













      You actually can change the voice bye adding a voice tag inside the speak tag. You can try something like this:



      <speak><voice gender="female">Hello I'm Mary</voice><break time="2s"/><voice gender="male">Hey I'm John</voice><speak>






      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered Aug 17 '17 at 19:15









      NazeemNazeem

      38819




      38819












      • I've now found that it doesn't seem to have an impact in the Simulator, but does in Google Assistant.

        – Glen Little
        Aug 17 '17 at 22:47











      • To update/expand: it appears <voice gender="male">, <voice gender="male" variant="2">, <voice gender="female">, and <voice gender="female" variant="2"> are all the voices currently supported (though this still doesn't appear to be officially documented anywhere.)

        – SamVK
        Jan 12 at 5:16

















      • I've now found that it doesn't seem to have an impact in the Simulator, but does in Google Assistant.

        – Glen Little
        Aug 17 '17 at 22:47











      • To update/expand: it appears <voice gender="male">, <voice gender="male" variant="2">, <voice gender="female">, and <voice gender="female" variant="2"> are all the voices currently supported (though this still doesn't appear to be officially documented anywhere.)

        – SamVK
        Jan 12 at 5:16
















      I've now found that it doesn't seem to have an impact in the Simulator, but does in Google Assistant.

      – Glen Little
      Aug 17 '17 at 22:47





      I've now found that it doesn't seem to have an impact in the Simulator, but does in Google Assistant.

      – Glen Little
      Aug 17 '17 at 22:47













      To update/expand: it appears <voice gender="male">, <voice gender="male" variant="2">, <voice gender="female">, and <voice gender="female" variant="2"> are all the voices currently supported (though this still doesn't appear to be officially documented anywhere.)

      – SamVK
      Jan 12 at 5:16





      To update/expand: it appears <voice gender="male">, <voice gender="male" variant="2">, <voice gender="female">, and <voice gender="female" variant="2"> are all the voices currently supported (though this still doesn't appear to be officially documented anywhere.)

      – SamVK
      Jan 12 at 5:16













      0














      You can't change the voice at the moment, however you can use Speech Synthesis Markup Language (SSML), to have more customizable (=audio) response.



      For more on how to use SSML with Action On Google: https://medium.com/google-developers/ssml-for-actions-on-google-946117f97fd1



      I hope it helps.






      share|improve this answer



























        0














        You can't change the voice at the moment, however you can use Speech Synthesis Markup Language (SSML), to have more customizable (=audio) response.



        For more on how to use SSML with Action On Google: https://medium.com/google-developers/ssml-for-actions-on-google-946117f97fd1



        I hope it helps.






        share|improve this answer

























          0












          0








          0







          You can't change the voice at the moment, however you can use Speech Synthesis Markup Language (SSML), to have more customizable (=audio) response.



          For more on how to use SSML with Action On Google: https://medium.com/google-developers/ssml-for-actions-on-google-946117f97fd1



          I hope it helps.






          share|improve this answer













          You can't change the voice at the moment, however you can use Speech Synthesis Markup Language (SSML), to have more customizable (=audio) response.



          For more on how to use SSML with Action On Google: https://medium.com/google-developers/ssml-for-actions-on-google-946117f97fd1



          I hope it helps.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Aug 2 '17 at 16:58









          Ido GreenIdo Green

          2,64511022




          2,64511022





















              0














              Best Solution for that.



              const request = 
              // The text to synthesize
              input:
              ssml:`<speak version="1.1" xmlns="http://www.w3.org/2001/10/synthesis"
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
              http://www.w3.org/TR/speech-synthesis11/synthesis.xsd"
              xml:lang="en-US">
              <voice gender="female" languages="en-US" required="languages gender variant">It Maria and this is my female voice,</voice>
              <!-- processor-specific voice selection -->
              <voice name="Mike" required="name">Its Mike and its my male voice</voice>
              </speak>`
              ,

              // The language code and SSML Voice Gender
              voice: languageCode: 'en-US', ssmlGender: 'NEUTRAL' ,

              // The audio encoding type
              audioConfig: audioEncoding: 'MP3' ,
              ;


              That's work for me like a charm






              share|improve this answer



























                0














                Best Solution for that.



                const request = 
                // The text to synthesize
                input:
                ssml:`<speak version="1.1" xmlns="http://www.w3.org/2001/10/synthesis"
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
                http://www.w3.org/TR/speech-synthesis11/synthesis.xsd"
                xml:lang="en-US">
                <voice gender="female" languages="en-US" required="languages gender variant">It Maria and this is my female voice,</voice>
                <!-- processor-specific voice selection -->
                <voice name="Mike" required="name">Its Mike and its my male voice</voice>
                </speak>`
                ,

                // The language code and SSML Voice Gender
                voice: languageCode: 'en-US', ssmlGender: 'NEUTRAL' ,

                // The audio encoding type
                audioConfig: audioEncoding: 'MP3' ,
                ;


                That's work for me like a charm






                share|improve this answer

























                  0












                  0








                  0







                  Best Solution for that.



                  const request = 
                  // The text to synthesize
                  input:
                  ssml:`<speak version="1.1" xmlns="http://www.w3.org/2001/10/synthesis"
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
                  http://www.w3.org/TR/speech-synthesis11/synthesis.xsd"
                  xml:lang="en-US">
                  <voice gender="female" languages="en-US" required="languages gender variant">It Maria and this is my female voice,</voice>
                  <!-- processor-specific voice selection -->
                  <voice name="Mike" required="name">Its Mike and its my male voice</voice>
                  </speak>`
                  ,

                  // The language code and SSML Voice Gender
                  voice: languageCode: 'en-US', ssmlGender: 'NEUTRAL' ,

                  // The audio encoding type
                  audioConfig: audioEncoding: 'MP3' ,
                  ;


                  That's work for me like a charm






                  share|improve this answer













                  Best Solution for that.



                  const request = 
                  // The text to synthesize
                  input:
                  ssml:`<speak version="1.1" xmlns="http://www.w3.org/2001/10/synthesis"
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
                  http://www.w3.org/TR/speech-synthesis11/synthesis.xsd"
                  xml:lang="en-US">
                  <voice gender="female" languages="en-US" required="languages gender variant">It Maria and this is my female voice,</voice>
                  <!-- processor-specific voice selection -->
                  <voice name="Mike" required="name">Its Mike and its my male voice</voice>
                  </speak>`
                  ,

                  // The language code and SSML Voice Gender
                  voice: languageCode: 'en-US', ssmlGender: 'NEUTRAL' ,

                  // The audio encoding type
                  audioConfig: audioEncoding: 'MP3' ,
                  ;


                  That's work for me like a charm







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Mar 7 at 23:27









                  Hassan AliHassan Ali

                  444




                  444



























                      draft saved

                      draft discarded
















































                      Thanks for contributing an answer to Stack Overflow!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid


                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.

                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f45410224%2fchange-voice-in-action%23new-answer', 'question_page');

                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Thal And Out Agency railway station See also References External links Navigation menuOfficial Web Site of Pakistan RailwaysArchivedOfficial Web Site of Pakistan Railwayseeexpanding ite

                      Understanding generators in Python2019 Community Moderator ElectionGenerator function not working pythonFor loop not executing two timesGenerators - Printing generated valuesWhy can a python generator only be used once?What exactly do generators do?What does the “yield” keyword do?What does “list comprehension” mean? How does it work and how can I use it?sklearn Kfold acces single fold instead of for loopIs a generator the callable? Which is the generator?Apply Border To Range Of Cells Using OpenpyxlCalling an external command in PythonWhat are metaclasses in Python?What is the difference between @staticmethod and @classmethod?Finding the index of an item given a list containing it in PythonDifference between append vs. extend list methods in PythonHow can I safely create a nested directory in Python?Does Python have a ternary conditional operator?Understanding slice notationUnderstanding Python super() with __init__() methodsDoes Python have a string 'contains' substring method?

                      How can I change the color of pagination dots of UIPageControl?How to change UIPageControl dotsIs there a way to change page indicator dots colorCustomize dot with image of UIPageControl at index 0 of UIPageControlNo visible @interface for 'NSObject<PageControlDelegate>' declares the selector 'pageControlPageDidChange:'How to change the color of pagination dots in UIPageControl with a different color per pagepagecontrol indicator custom image instead of DefaultChanging the colour of UIPageControl dots in MonoTouchpagecontrol selectable page visibility color?Alternative way to load ViewControllers on a UIPageControlHow to set only layer.border-color for UIpage control dots in swiftHow can I develop for iPhone using a Windows development machine?How to change the name of an iOS app?UITableView - change section header coloruipagecontrol indicator(dot)issueCustom UIPageControl dots color not changingchange the interspace between UIPageControl dotsHow to change Status Bar text color in iOSHow can I change image tintColor in iOS and WatchKitUIPageControl dots with larger space in between each dotsHow to change the color of pagination dots in UIPageControl with a different color per page