tobiashuttinger / openai-whisper-realtime

A quick experiment to achieve almost realtime transcription using Whisper.
MIT License
185 stars 28 forks source link

does not take input from external microphones #4

Closed elia-ashraf closed 1 year ago

elia-ashraf commented 1 year ago

Hi,

Thanks for the great project. Unfortunately this project does not take input from an external microphone (like heastsets or webcams). I have tried multiple values for sd.InputStream(device='') but so far I have not been successful. Would you know how to receive audio from external mics?

Thank you!

elia-ashraf commented 1 year ago

It was due to the SILENCE_THRESHOLD, which varies for an external microphone and a system's microphone.