Skip to content

Support for echo cancellation #133

Description

@YashYash

Is your feature request related to a problem? Please describe.
When using this library with text to speech, the speech playing from the speaker gets picked up by the microphone causing an echo. This result in speech to text picking up the audio playing from text to speech. To create an experience similar to basic voice agents, this would be a great feature. expo-speech-recognition does support this: jamsch/expo-speech-recognition#92 but they have other annoying issues.

Describe the solution you'd like
This code in this this file: ios/ExpoSpeechRecognizer.swift in the PR I linked above.

Describe alternatives you've considered
I have not tried it yet, but using incallmanager might be a way to workaround this. Turning off the microphone why speech is being played is a bad workaround, since it does not allow a hands off experience for the user.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions