mallorbc / whisper_mic

Project that allows one to use a microphone with OpenAI whisper.
MIT License
674 stars 154 forks source link

Set Microphone to Use #35

Closed jonfairbanks closed 11 months ago

jonfairbanks commented 1 year ago

Thank you for writing this package. Very useful!

I am running this on my Macbook and using the built-in mic works fine, but the quality is not that great.

I purchased a USB C conference mic which I can see in System Preferences > Input but it seems the script still wants to use the built-in mic.

Is it possible to override the mic that is used and point it towards my USB mic?

jonfairbanks commented 1 year ago

Looks like this is possible via Speech Recognizer library: https://stackoverflow.com/questions/68544649/python-speech-recognition-change-between-microphones

mallorbc commented 1 year ago

I will add this as an option when I get the chance. Else if you make a PR, I will review and merge it.

Thanks!

mallorbc commented 11 months ago

This is resolved

jonfairbanks commented 11 months ago

Thanks a bunch!