dictation-toolbox / Caster

Dragonfly-Based Voice Programming and Accessibility Toolkit
https://dictation-toolbox.github.io/Caster/
Other
340 stars 121 forks source link

kaldi default mic state "on" for sleep_timer #858

Closed LexiconCode closed 3 years ago

LexiconCode commented 3 years ago

Title

kaldi needs a default mic state "on" for sleep_timer

Description

The sleep timer checks the current mic state every X seconds (Default 120). At the interval of the timer if the microphone is "on" the microphone will be put to sleep.

Related Issue

Originally posted by @kendonB in https://github.com/dictation-toolbox/Caster/pull/856#issuecomment-709643781

Motivation and Context

@LexiconCode on Kaldi there's a limitation in that the timer is not on until you load the sleeping grammar and that is only loaded once you first say "caster sleep" or "caster on". Is there a way we can turn this on right when caster starts?

How Has This Been Tested

Kaldi and DNS

Types of changes

Checklist

Maintainer/Reviewer Checklist

LexiconCode commented 3 years ago

Good catch! This should be good to go but let me with a quick test.

kendonB commented 3 years ago

works for me