Skip to content
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

When headphones are plugged in, stream cannot capture the system output sound. #1468

Open
zhuozl opened this issue Nov 10, 2023 · 3 comments

Comments

@zhuozl
Copy link

zhuozl commented Nov 10, 2023

I want to record everyone's remarks during online meetings while wearing headphones.

@jmalfara
Copy link

This isn't an issue with whisper.cpp. This is a OS limitation. You can't route an output device into an input without some type of audio loopback.

MacOS:
https://github.com/ExistentialAudio/BlackHole

Windows:
https://vb-audio.com/Cable/index.htm?gclid=CjwKCAiAxreqBhAxEiwAfGfndEpHbfPuAMoqRqrUhmdQgIXZxomaHV5FLMcmBD21OOzu-5SN1zOF7BoCj8sQAvD_BwE

Linux: Im sure there is a way without custom software.

I wouldn't recommend these if your building a standalone / distributed app thought. They are all a little sketchy

@tartakynov
Copy link

tartakynov commented Nov 12, 2023

Here I briefly described how to transcribe real-time audio from system output on a Mac using blackhole loopback driver
https://github.com/tartakynov/whispercpp-scripts/tree/main#transcribing-audio-from-system-output

@zhuozl
Copy link
Author

zhuozl commented Nov 13, 2023

This isn't an issue with whisper.cpp. This is a OS limitation. You can't route an output device into an input without some type of audio loopback.

MacOS: https://github.com/ExistentialAudio/BlackHole

Windows: https://vb-audio.com/Cable/index.htm?gclid=CjwKCAiAxreqBhAxEiwAfGfndEpHbfPuAMoqRqrUhmdQgIXZxomaHV5FLMcmBD21OOzu-5SN1zOF7BoCj8sQAvD_BwE

Linux: Im sure there is a way without custom software.

I wouldn't recommend these if your building a standalone / distributed app thought. They are all a little sketchy

@jmalfara When whipser recognizes the input voice device, can it get the output voice device?

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

No branches or pull requests

3 participants