Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text to speech doesn't work and no errors showed. #634

Closed
meksikann opened this issue Jun 7, 2018 · 7 comments
Closed

Text to speech doesn't work and no errors showed. #634

meksikann opened this issue Jun 7, 2018 · 7 comments
Assignees
Labels
Backlog An approved issue or bug added into the work queue for evaluation into a future iteration Pending v3

Comments

@meksikann
Copy link

meksikann commented Jun 7, 2018

Hi. No any sound made from bot when it responds.

I am testing bot on localhost with botEmulator.
OS: Linux Ubuntu
"name": "botframework-emulator",
"version": "3.5.35",

Used valid MS App ID and MS APP password in BotEmulator and Bot app.

Bot code:

bot.dialog(intents.Greeting, function (session) {
  const userName = session.message.user.name;
  var msg = new builder.Message(session)
    .speak('This is the text that will be spoken.')
    .inputHint(builder.InputHint.acceptingInput);
  session.send(msg).endDialog();
})
  .triggerAction({
    matches: intents.Greeting
});

Bot responds on greeting.. and response JSON is:

{
  "type": "message",
  "speak": "This is the text that will be spoken.",
  "inputHint": "acceptingInput",
  "locale": "en-US",
  "localTimestamp": "2018-06-07T14:17:34+03:00",
  "from": {
    "id": "default-bot",
    "name": "Bot"
  },
  "recipient": {
    "id": "default-user"
  },
  "id": "someID",
  "replyToId": "someID",
  "channelId": "emulator",
  "timestamp": "2018-06-07T11:17:34.570Z",
  "conversation": {
    "id": "someotherID"
  }
}

No any errors in logs. Just this:

[14:11:18] Emulator listening on http://[::]:44979 
[14:11:18] ngrok not configured (only needed when connecting to remotely hosted bots) 
[14:11:18] Connecting to bots hosted remotely 
[14:11:18] Edit ngrok settings 
[14:17:31] -> POST 202 [conversationUpdate] 
[14:17:31] -> POST 202 [conversationUpdate] 
[14:17:33] -> POST 202 [message] hello 
[14:17:34] <- POST 200 Reply[message] 
[14:17:34] <- POST 200 Reply[event] Debug Event  `

I've read all issues cases on Git, but still cannot hear any sound from the bot.
Will be greatfull for help.Maybe I do something wrong but it's hard to see from my side:)

@stevengum
Copy link
Member

@meksikann
Copy link
Author

removed from stackoverflow

@stevengum
Copy link
Member

@meksikann sorry for the delay, can you confirm which version of Ubuntu are you using?

@meksikann
Copy link
Author

@stevengum hi. it's Ubuntu 16.04 LTS

@stevengum
Copy link
Member

@meksikann sorry for the delay, I'll try to get a repro on this tomorrow or the day after.

@stevengum stevengum self-assigned this Jun 25, 2018
@vishwacsena vishwacsena added v4 v3 and removed v4 labels Jun 29, 2018
@vishwacsena vishwacsena added the Backlog An approved issue or bug added into the work queue for evaluation into a future iteration label Oct 12, 2018
@cwhitten
Copy link
Member

cwhitten commented Jan 3, 2019

@stevengum any updates here? :)

@corinagum
Copy link
Contributor

@meksikann Sorry for the delay in getting back to you.
Bing Speech underwent a big API update to Speech Services back at this year's Ignite. Because of this, Bing Speech no longer allows the creation of new speech bots, and Bing Speech will be deprecated in 10/2019.

Our plan is to have Speech Services supported (through the latest Web Chat) on Emulator very soon, and that progress can be tracked here.

This update would mean that bots using Speech Services can support speech. At the moment there is no plan to back-support Bing Speech in Emulator or Web Chat. For more information on Web Chat supporting Speech Services, please take a look at microsoft/BotFramework-WebChat#1336.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backlog An approved issue or bug added into the work queue for evaluation into a future iteration Pending v3
Projects
None yet
Development

No branches or pull requests

6 participants