daanzu / kaldi-active-grammar

Python Kaldi speech recognition with grammars that can be set active/inactive dynamically at decode-time
GNU Affero General Public License v3.0
334 stars 49 forks source link

Issues with Key Actions #12

Open Cliveo opened 4 years ago

Cliveo commented 4 years ago

using kaldi-caster-winpython-dev after the first shock, only does shock when I say shock 2, any time I try a something that has a key combo e.g. new tab in chrome it just prints the "t" and doesn't do ctrl + t.

Didnt have this issue on my desktop :( any ideas?

daanzu commented 4 years ago

I think this may be related to this Dragonfly issue https://github.com/dictation-toolbox/dragonfly/issues/182. Try adding the following line somewhere early and see if it resolves the problem:

logging.getLogger('action.exec').setLevel(10)

Cliveo commented 4 years ago

you legend, it's all working fine now. Heisenbug lol. thank you so much

daanzu commented 4 years ago

Great to hear! I've been having to use that line for a while to "fix" this issue. Hopefully eventually we can narrow down the root cause.