ExistentialAudio / BlackHole

BlackHole is a modern macOS audio loopback driver that allows applications to pass audio to other applications with zero additional latency.
GNU General Public License v3.0
15.14k stars 588 forks source link

Allowing microphone in Safari causes weird attenuation/glitchiness #256

Closed kestudi closed 2 years ago

kestudi commented 3 years ago

I am using Blackhole in Cubase to share DAW output with macOS / Quicktime screen recorder / Zoom /etc.

I was recording a Quicktime demo of a Safari page that required me to allow microphone to be used (a different microphone - my MacOs default mic is my webcam).

When I allowed the microphone on the page, the Blackhole input got super quiet and glitchy.

I tried the same test in Chrome and didn't run into the problem.

devinroth commented 3 years ago

You’ll have to tell me exactly how you had everything setup so I can try to replicate it. On Jan 4, 2021, 6:01 PM -0800, kestudi notifications@github.com, wrote:

I am using Blackhole in Cubase to share DAW output with macOS / Quicktime screen recorder / Zoom /etc. I was recording a Quicktime demo of a Safari page that required me to allow microphone to be used (a different microphone - my MacOs default mic is my webcam). When I allowed the microphone on the page, the Blackhole input got super quiet and glitchy. I tried the same test in Chrome and didn't run into the problem. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

kestudi commented 3 years ago

Running aggregate device: Duet USB + Built-in Output + Blackhole 16 ch (in that order), drift correction on the Duet.

I have an input-monitoring track in Cubase for my external Duet microphone, and then I rout it to multiple outputs (physical output + blackhole output, in the aggregate device).

I was recording a quicktime screen capture demo, capturing this page on Safari: https://singingcarrots.com/range-test

As soon as I clicked "Allow microphone" in Safari, the audio I was recording from blackhole got messed up.

Note: I noticed that even the MIC INPUT in Cubase got low (even though the Apogee Maestro - Duet interface UI - input level was unchanged). So the glitchiness might have been because I have a noise gate on the mic channel in Cubase, and the lowered input level made the gate stutter. So it may be a matter of attenuation. When I opened the "Audio Connections" menu in Cubase and simply delected and reselected the BlackHole device port, the level attenuation issue got fixed. But the problem would recur every time I allowed mic access on that page on Safari.

Hope that's clearer?

--

www.daugirdasmusic.com http://www.daugirdasmusic.com www.elevantproductions.com http://www.elevantproductions.com

On Mon, Jan 4, 2021 at 9:58 PM Devin Roth notifications@github.com wrote:

You’ll have to tell me exactly how you had everything setup so I can try to replicate it. On Jan 4, 2021, 6:01 PM -0800, kestudi notifications@github.com, wrote:

I am using Blackhole in Cubase to share DAW output with macOS / Quicktime screen recorder / Zoom /etc. I was recording a Quicktime demo of a Safari page that required me to allow microphone to be used (a different microphone - my MacOs default mic is my webcam). When I allowed the microphone on the page, the Blackhole input got super quiet and glitchy. I tried the same test in Chrome and didn't run into the problem. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ExistentialAudio/BlackHole/issues/256#issuecomment-754417662, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABUBFLP752ORMBJZ4RZJOY3SYKTCDANCNFSM4VUAFDWQ .

devinroth commented 3 years ago

Perfect. I’ll try to replicate the issue and let you know. On Jan 5, 2021, 3:02 PM -0800, kestudi notifications@github.com, wrote:

Running aggregate device: Duet USB + Built-in Output + Blackhole 16 ch (in that order), drift correction on the Duet.

I have an input-monitoring track in Cubase for my external Duet microphone, and then I rout it to multiple outputs (physical output + blackhole output, in the aggregate device).

I was recording a quicktime screen capture demo, capturing this page on Safari: https://singingcarrots.com/range-test

As soon as I clicked "Allow microphone" in Safari, the audio I was recording from blackhole got messed up.

Note: I noticed that even the MIC INPUT in Cubase got low (even though the Apogee Maestro - Duet interface UI - input level was unchanged). So the glitchiness might have been because I have a noise gate on the mic channel in Cubase, and the lowered input level made the gate stutter. So it may be a matter of attenuation. When I opened the "Audio Connections" menu in Cubase and simply delected and reselected the BlackHole device port, the level attenuation issue got fixed. But the problem would recur every time I allowed mic access on that page on Safari.

Hope that's clearer?

--

  • Kc Daugirdas * Composer & Producer

www.daugirdasmusic.com http://www.daugirdasmusic.com www.elevantproductions.com http://www.elevantproductions.com

On Mon, Jan 4, 2021 at 9:58 PM Devin Roth notifications@github.com wrote:

You’ll have to tell me exactly how you had everything setup so I can try to replicate it. On Jan 4, 2021, 6:01 PM -0800, kestudi notifications@github.com, wrote:

I am using Blackhole in Cubase to share DAW output with macOS / Quicktime screen recorder / Zoom /etc. I was recording a Quicktime demo of a Safari page that required me to allow microphone to be used (a different microphone - my MacOs default mic is my webcam). When I allowed the microphone on the page, the Blackhole input got super quiet and glitchy. I tried the same test in Chrome and didn't run into the problem. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ExistentialAudio/BlackHole/issues/256#issuecomment-754417662, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABUBFLP752ORMBJZ4RZJOY3SYKTCDANCNFSM4VUAFDWQ .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

kestudi commented 3 years ago

Ps I’m on Mojave

devinroth commented 3 years ago

What is your audio buffer size in Cubase?

kestudi commented 3 years ago

256

devinroth commented 3 years ago

Don't worry. I haven't forgotten about this. Just need to find a way to reproduce it.

devinroth commented 3 years ago

You also need drift correction on BH.

kestudi commented 3 years ago

OK