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.
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 ,