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.

Speech is echoed when implemented with angular

See original GitHub issue

Screenshots

Multiple calls being made to the custom speech endpoint image

Version

Using webchat.js 4.7.0 Using it in angular

Describe the bug

The output speech is getting echoed when the component is

Steps to reproduce

activities call to /v3/directline/conversations and multiple calls to /cognitiveservices/v1

Additional info:

                                               directline           cognitiveservices
open bot once:                                   1                               1
close bot open again                             1                               2
close bot open again                             1                               3

and so on. Find screenshot below The renderWebchat function is listed in the first comment

please find sample to reproduce this issue here : https://github.com/prashanthsridhar/WebchatSample substitute the keys as required. Once you are on localhost,click the “click me” button, say hi,click on it again to hide the chat window. Follow this three times. The third time the reply will be hello voiced out three times Please feel free to get back with doubts/recommendation on the implementation

Expected behavior

No echo. That is no multiple voices.

Additional context

Using custom voice and speech. Implemented with angular. connected to 2835

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
compulimcommented, Mar 6, 2020

Will look at this one over the next couple of days.

1reaction
prashanthsridharcommented, Mar 2, 2020

Hi @compulim, just to be extra sure, click the click me button five times before actually testing.

i tried the same without putting the recognition and speech ids. Here are the results. image

Read more comments on GitHub >

github_iconTop Results From Across the Web

Echo cancellation doesn't work · Issue #1243 · webrtc/samples
Since browsers don't seem to implement echoCancellation as meaning to cancel audio coming out from the speakers, does anyone know of source code ......
Read more >
Overview of Dictation in Real time Web Applications - PubNub
In this article, we will add dictation (speech-to-text) in our real-time AngularJS web application with just 79 lines of HTML and JavaScript ...
Read more >
10 Amazing open source angular > 2.x apps - Medium
This repository is an implementation of Echoes Player with angular 2 — It's still a work in progress aimed at learning angular 2....
Read more >
Building A Simple AI Chatbot With Web Speech API And Node.js
Enhancing User Experience ... In this tutorial, we will use the API to create an artificial intelligence (AI) voice chat interface in the...
Read more >
Inner Speech: Development, Cognitive Functions ... - NCBI
Research on planning and verbal strategies in childhood has almost exclusively been conducted using tower tasks, such as the Tower of London task...
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