dwks / silvius

Kaldi-based speech recognition system + grammar
http://voxhub.io/silvius
BSD 2-Clause "Simplified" License
100 stars 28 forks source link

Ambient sounds recognized as input #9

Closed Yorgg closed 6 years ago

Yorgg commented 6 years ago

Ambient noise (not human speech, but typing, clicking, rustling etc..) is being falsely recognized as words.
This happens every few seconds and in a silent bedroom.

I tried two mics with same results: the built in imac microphone, and a Rode XLR mic connected to external audio interface. I also tried lowering the line input level.

Is there any way to reduce/stop this?

(on Mac, Sierra)

thanks!

dwks commented 6 years ago

A previous user jasonleekennedy implemented "audio gating", where sound below a certain threshold is filtered out. You have to find an appropriate value for your microphone and it may reduce accuracy slightly, but you should give it a try (see -G option in run.sh for example). Ultimately, this is a by-product of my tweaking the grammar probabilities; I should perhaps also have adjusted the probability of recognizing silence. P.S. Can you say which microphone you're using and which gate value was appropriate for it?

On Feb 14, 2018 5:53 AM, "Jon Yorg" notifications@github.com wrote:

Ambient noise (non-human) is being falsely recognized as words. This happens every few seconds and in a silent room.

Is there any way to reduce/stop this?

(on Mac)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dwks/silvius/issues/9, or mute the thread https://github.com/notifications/unsubscribe-auth/AArjF6MCdZvnztX9rj-jJgn9FcGPN45jks5tUslVgaJpZM4SFMoT .

Yorgg commented 6 years ago

Thanks, I didn't notice the -G option at that time. ^^