-
Notifications
You must be signed in to change notification settings - Fork 427
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
Transcribe from sound card #10
Comments
Looking at the error, the |
Your sound card probably doesn't support being used as a microphone directly. Sometimes Windows will show speakers along with microphones, but the speakers can't be used for recording. You can try using Stereo Mix or a third part virtual cable like vb-audio. See this post also: davabase/transcriber_app#11 |
Hello everyone, I developed a solution so that I can take the microphone or audio from the system using a modified version of PyAudio. I understand that on Mac it could be different, I could help you by modifying this lib and demo. |
so do it lol |
pls post it |
I'm recording direct from the sound card in Mac Os. I'm using https://github.com/ExistentialAudio/BlackHole After setting this up, use the code below to list all sound devices. import pyaudio
audio = pyaudio.PyAudio()
device_count = audio.get_device_count()
for i in range(device_count):
device_info = audio.get_device_info_by_index(i)
print(f"Device {i}: {device_info['name']}")
audio.terminate() The output will be like that.
Search for sr.Microphone line and add the BlackHole device_index ![]() |
Hi all,
Thank you for this implementation.
I would like to transcribe from the soundcard, so I would need to specify here a different source.
This is the list of my mic devices:
So I am adding:
but I get the following error:
Any clue why?
Thanks!
The text was updated successfully, but these errors were encountered: