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

                      How to get text form Clipboard with JavaScript in Firefox 56?How to validate an email address in JavaScript?How do JavaScript closures work?How do I remove a property from a JavaScript object?How do you get a timestamp in JavaScript?How do I copy to the clipboard in JavaScript?How do I include a JavaScript file in another JavaScript file?Get the current URL with JavaScript?How to replace all occurrences of a string in JavaScriptHow to check whether a string contains a substring in JavaScript?How do I remove a particular element from an array in JavaScript?

                      Can't initialize raids on a new ASUS Prime B360M-A motherboard2019 Community Moderator ElectionSimilar to RAID config yet more like mirroring solution?Can't get motherboard serial numberWhy does the BIOS entry point start with a WBINVD instruction?UEFI performance Asus Maximus V Extreme

                      List of MPs elected to the English parliament in 1640 (April) Contents List of constituencies and members See also Notes References Navigation menueNational Archives – The Glynde Place ArchivesCobbett's Parliamentary history of England, from the Norman Conquest in 1066 to the year 1803'Aldermen in Parliament', The Aldermen of the City of London: Temp. Henry III – 1912onepage&q&f&#61, false 229