I'm trying to make an alarm clock Android app that could be stopped with voice recognition. For that, I'm using the Google Speech Recognition API (+ this code to do voice recognition continuously).
It works fine, until I play music at the same time. The voice recognition becomes way less efficient in this case.
This problem is logical, since the music adds some noise which makes recognition harder. But since the music played is known, I was wondering if it was possible to tell Google to try to ignore these additional noise. I know there exists some filter in signal processing to do that (like Kalman filter or Wiener filter).
So my question is: Is it possible to apply a filter with Google voice recognition to ignore a known noise? Or is there another voice recognition library that allows that?
Edit: It's not a duplicate, since the problem is not the same. But interesting suggestion though.