question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Change voice to neural with Node.js and Direct Line Speech

See original GitHub issue

hello, I am trying to change the voice to be neural, with this code in dialogBot.js but i can’t get it to use neural voice in the whole bot

`this.onMessage(async(context, next) => {

        console.log('Running dialog with Message Activity.');

        await this.dialog.run(context, this.dialogState);
        const speakText =
            `<speak version="1.0" xmlns="http://www.w3.org/2001/10/synthesis" xml:lang="es-ES">
                <voice name="es-ES-ElviraNeural">
                   "${context.activity.text}"
                </voice>
            </speak>`;

        await context.sendActivity(speakText);

         await next();
   });`

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
stevkancommented, May 4, 2021

As this is technically a ‘how to’ question, I am going to close this as resolved. If you need additional support regarding this, please post your question(s) on Stack Overflow.


The Microsoft Bot Framework team prefers that how to questions be submitted on Stack Overflow. The official Bot Framework Github repo is the preferred platform for information on submitting bug fixes and feature requests.

0reactions
NereaCabiedasMorenocommented, May 28, 2021

How can I return a dialog turn status?? @stevkan @compulim

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to use neural voices in Azure Direct Line Speech bot
I am trying to update the experimental DirectLineSpeech Echo Bot sample's Speak() method to use neural voices, but it doesn't seem to work....
Read more >
Tutorial: Voice-enable your bot - Azure Cognitive Services
In this tutorial, you'll create an echo bot and configure a client app that lets you speak to your bot and hear it...
Read more >
Change the voice - Microsoft Open Source
Tutorial: Extend to Direct Line Speech​​ Now let's change the default voice (Jessa24kRUS) configured within your Virtual Assistant to a higher quality Neural...
Read more >
How to Build a Speech to Emotion Converter with the Web ...
Have you ever wondered - can we make Node.js check to see if what we say is positive or negative? I got a...
Read more >
Direct Line Bot Sample (using client WebSockets) - DagsHub
Welcome to the BotBuilder samples repository. Here you will find task-focused samples in C# and Node.js to help you get started with the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found