fortypercnt / stream-translator

MIT License
220 stars 44 forks source link

RT audio from microphone #9

Closed elia-ashraf closed 1 year ago

elia-ashraf commented 1 year ago

Hi,

I know it clears says in the begining of the read.me file that stream-translator transcribes/translates live audio streams from URLs.

But I still wanted to know: Can it be used to translate/transrcibe real-time audio from the microphone of the system or PC?

fortypercnt commented 1 year ago

Capturing system audio/mic is the simplest way to make a whisper live translation demo, so you can find plenty of projects in the whisper show and tell which are built specifically for that (e.g., https://github.com/Awexander/audioWhisper, https://github.com/davabase/whisper_real_time). If you want to have the functionality with this repo, someone made a hacky solution here by capturing system audio/mic with OBS and streaming it to a local rtmp server.