Skip to content

Only enable talon if one of a set of microphones is available #134

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
nriley opened this issue Jul 26, 2020 · 3 comments
Closed

Only enable talon if one of a set of microphones is available #134

nriley opened this issue Jul 26, 2020 · 3 comments

Comments

@nriley
Copy link

nriley commented Jul 26, 2020

I have some higher quality microphones that I move between computers. Right now, if I unplug one of these microphones, Talon continues to listen but using the internal microphone or something else unwanted. This results in unexpected input when I am dictating to a different computer in earshot of the internal microphone.

I would prefer in this case that Talon disable itself if it cannot find a good-quality/preferred microphone to use. When a preferred microphone is subsequently plugged in, Talon could (optionally) re-enable itself, but should switch to that microphone regardless.

I implemented a basic version of this here.

@lunixbochs
Copy link

fwiw, if you want this to run at startup: https://github.com/nriley/knausj_talon/blob/nriley/misc/microphone.py#L57-L62

You should use app.register('launch', fn) to run a function at startup

@nriley
Copy link
Author

nriley commented Oct 30, 2020

Thanks, not sure how I missed that — certainly a lot cleaner than what I was doing.

@lunixbochs lunixbochs transferred this issue from talonvoice/beta Nov 2, 2020
@lunixbochs
Copy link

Supported in beta v0.1.5-367 - your microphone preferences are now saved across runs of Talon. So if you select None, then each of your chosen microphone(s) in order of lowest to highest priority, Talon will automatically pick the right microphones for you in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants