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

Distorted system audio with Bluetooth headset #181

Closed
Nithin-anim opened this issue Jul 6, 2020 · 8 comments
Closed

Distorted system audio with Bluetooth headset #181

Nithin-anim opened this issue Jul 6, 2020 · 8 comments

Comments

@Nithin-anim
Copy link

I created a multi-output device with my bluetooth headset and blackhole as per the docs.But when I am recording in QuickTime I hear a laggy, distorted system audio.But when I did the same with wired headset it works perfectly.Also, I made sure the builtin device (or in this case the bluetooth device ) is checked first in the Audio MIDI control.Is there any reason why BlackHole wouldn't support bluetooth headsets?

@devinroth
Copy link
Member

devinroth commented Jul 6, 2020 via email

@Nithin-anim
Copy link
Author

Yes I have drift correction enabled.
My particular use case is I want to record system audio along with my bluetooth headset mic.So I created a multi-output device with both bluetooth headset and BlackHole as sources and created an aggregate device with bluetooth mic and BlackHole as sources.That is when the distortion occurs in the system audio.

But when I change the default input to the macbook's mic it works perfectly.But ,now the problem is I can't record from my bluetooth mic.So,I want to record system audio along with my bluetooth mic.

@devinroth
Copy link
Member

I am going to get some AirPods soon and will finally be able to look into this more.

@devinroth devinroth changed the title Hearing distorted system audio while I am using Bluetooth headset Distorted system audio with Bluetooth headset Jan 4, 2021
@Lazare-42
Copy link

This is an issue I've encountered as well, and thoroughly investigated.

The issue seems to stem from the fact that 1st generation Airpods, when their microphone is enabled, downgrade their sample rate from 48khz to 16khz.

A temporary work-around I've found is to set BlackHole not as the second output device in the MOD, but as the first. However...that does not work on all computers, and this can sometimes (around once every 10 times) lead to BlackHole totally losing the sound after 2-3 minutes.

Wouldn't the solution be to implement 16khz input for BlackHole ?

Here are two attached screen-shots to show my point :

[
Screenshot 2021-01-08 at 14 51 07
Screenshot 2021-01-08 at 14 51 39

](url)

@devinroth
Copy link
Member

devinroth commented Jan 8, 2021 via email

@Lazare-42
Copy link

I don't have second generation AirPods so I can assert this, but it seems only first generation AirPods change their sample rate when their microphone is activated.

I've tried meddling with the C Code of BlackHole to create a 16Khz input, to no avail, so I'll be looking forward to any solution you might bring up!

@devinroth
Copy link
Member

The issue I have with using 16kHz audio is that the quality will be noticeably degraded.

I'm using the AirPods Pro and don't seem to have an issue. How exactly is everything setup?

Another possible solution is to not use a multi-output at all. Instead you can use something like Audacity to route the audio from BlackHole to your headphones. Use BlackHole as the system output and input into QuickTime.

@devinroth
Copy link
Member

This is the same issue as #146 so I'm going to close it. Let's continue the conversation over there. No need for two.

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