Kaljurand / K6nele

An Android app that offers speech-to-text user interfaces to other apps
http://kaljurand.github.io/K6nele/
Apache License 2.0
267 stars 83 forks source link

Speechutils documentation on pausing background audio #75

Closed viju2008 closed 4 years ago

viju2008 commented 4 years ago

Hello ,

This is a very useful repo.

In the speechutils github repo there is a para that mentions pausing background audio. I have built the app and am using it with kaldi gstreamer.

However, the background notification audio is spoiing the accuracy of recognition.

Can you please provide sample code on how to pause background audio or some hints pointing out where i have to look to implement pausing of background audio like whatsapp notifications when i have tapped microphone to start listening.

Regards ,

Kaljurand commented 4 years ago

See the usage in https://github.com/Kaljurand/speechutils/blob/master/app/src/main/java/ee/ioc/phon/android/speechutils/service/AbstractRecognitionService.java#L186

Kaljurand commented 4 years ago

Duplicate of https://github.com/Kaljurand/speechutils/issues/11