Announcement: The Alexa Skills Community Is Moving To Stack Overflow

For improved usability and experience, Alexa skills related forum support will be transitioned to Stack Overflow. Effective January 10, 2024, the Amazon Developer Forums will no longer be available. For continued Alexa skills support you can reach out to us on Stack Overflow or via Contact Us.

question

VidyaPrakash Rajan avatar image
VidyaPrakash Rajan asked

Is there a way to change Alexa response voice to male?

I want to change alexa responding voice to male voice in my application. Is there a way to change it?

alexa skills kitskill
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Levon@Amazon avatar image
Levon@Amazon answered

Hi Rajesh,

Thanks for posting! Not at the moment, but please feel free to submit a feature request (Create / Post an idea). Thanks!

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

arin avatar image
arin answered

Hi @Levon@Amazon Any update/plan for this feature (changing voice gender programmatically)?

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Rokas avatar image
Rokas answered

Using polly voices for skills is still in developer preview as far as I know: (link).

If you want that alexa would always respond with the male voice not in skills, you could try to submit feature request at uservoice alexa: (link)

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Albebach avatar image
Albebach answered

This may not be an option for you, but you can also use audio files that you record yourself and play these back with SSML audio.

https://developer.amazon.com/docs/custom-skills/speech-synthesis-markup-language-ssml-reference.html

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

JackNYC avatar image
JackNYC answered

@AriN You can now that Amazon Polly is available, although it is a bit of a hack to do it. In the ResponseFactory.js file in the "node_modules\ask_sdk_core\lib\response" folder (assuming you are using Node.JS), modify the speak function by adding <voice name="Joey"> (or any of the 20+ voices available from Polly). The code should look something like this:

            speak: function (speechOutput) {
                response.outputSpeech = {
                    type: 'SSML',
                    ssml: '<speak> <voice name="Joey">'
                        + trimOutputSpeech(speechOutput)
                        + '</voice> </speak>',
                };
                return this;
            },

Now every "speak" response will use the Amazon Polly voice. You might need to modify "reprompt" and other functions if you use them in your app.

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.