31

As in the subject, I've searched for the answer to this online already, but found nothing. I am advanced user myself, but have not found any way to do this.

The gist - I have my preferred audio input device, which is a USB microphone. I also do have my preferred audio output device, which is wireless headphones. These headphones also have built-in mic. The issue is that whenever I connect my headphones (turn them on -> automatic connection via bluetooth), the audio devices on my mac automatically change. I am fine with automatic switching of audio output device, but audio input is annoying one is 100% of time after turning on my wireless headphones I need to open sound preferences and change input device to USB microphone. From what I observed, this happens for any new input device that connects to macos.

The question: Is there any way to disable automatic switching of audio input device whenever new one connects?

PS: I have seen these Qs, but there is no acceptable answer:

6
  • I figured out an Applescript to set audio output; maybe it could be re-written for input… apple.stackexchange.com/a/218223/85275
    – Tetsujin
    Commented Nov 1, 2020 at 15:36
  • Hmm… I see one of those linked questions already has a pre-made app that will do what my script would. idk how to make it fully automatic, & I don't use anything with bluetooth audio I could test.
    – Tetsujin
    Commented Nov 1, 2020 at 15:41
  • The problem with trying to automate Bluetooth connected devices is that they disappear. It remembers the Bluetooth profile but the audio device itself is removed upon disconnect. So any reference to it can possibly go stale. Also, for audio recording (comments in answer below), you shouldn't be using Bluetooth, but rather a hard wired device. Pro grade wireless audio devices for recording are very, very expensive because it's not easy to get quality sound over consumer BT signals.
    – Allan
    Commented Nov 1, 2020 at 16:04
  • Some links I remembered from another answer - amateur wireless mic connection prices vs actual Pro prices You'd be advised to sit down first.
    – Tetsujin
    Commented Nov 1, 2020 at 16:26
  • 1
    This is EXTREMELY annoying, especially as I often switch between devices at work for Skype calls etc. I discovered this as leaving the input as the bluetooth speaker makes it sound TERRIBLE, I thought my macs bluetooth was totally broken for a while. Has anyone successfully used any of the scripts linked? I am most probably just going to start using an aux cable instead, hopefully that doesn't have the same issue(?). There should definitely be a native OS option for this, it is super sub optimal and lots of people I know have the same issue.
    – 00-BBB
    Commented Nov 23, 2021 at 9:57

5 Answers 5

17

If you can’t figure a way to stop this entirely, here’s a quick tip to change input from the menu bar to recover without delay.

  1. Make the sound prefrences to show on your menu bar
  2. Hold options keys while cliking on the icon to change the output or input device

source : https://www.youtube.com/watch?v=B6BFm0vP_Ys&ab_channel=9to5Mac

8

This little app seems to do a good job forcing MacOS to use a given audio input and not switch: https://github.com/milgra/airpodssoundqualityfixer

(Found on the related question: https://apple.stackexchange.com/a/438258/141873.)

2
  • 1
    This has saved me. Thank you for sharing. It does its job and it is a surprisingly small app. I even donated to the author. Commented Mar 7, 2023 at 15:39
  • Amazing app! Solved my problems. Commented Dec 4 at 12:55
6

I haven't tested it, but you could try creating an Aggregate device in Audio MIDI Setup.app that contains both your USB Mic and your Bluetooth headphones.

That way, the 'device' doesn't change when you connect your headphones: it's just a part of the existing selected device.

1
  • 1
    I just tested this and it fixed the problem for me. Thanks!
    – Praxder
    Commented Feb 11, 2022 at 19:30
0

No. This is the prescribed behavior as you've already noticed.

I am fine with automatic switching of audio output device, but audio input...

How is the OS supposed to differentiate the difference between the one (device) you're OK with and the one you're not? The way macOS sees this is that you've plugged in two distinct audio devices - input and output. It then switches to them because your Mac the assumes you want to use that device now as you've connected it; so it switches to it.

A quick workaround would be to disconnect and reconnect your USB microphone after connecting your headset. You would probably have much better results if you connected the headset via cable to a USB DAC rather than Bluetooth. This way, audio always sees the USB as connected whether or not a headset is connected - the auto switch won't engage.

I do this with my Bluetooth Sennheiser headset (headphones and mic) effectively turning it into a headset only device.


Audio Recording

I'm adding this in here because the OP mentioned in comments that this was for an "audio recording" setup. This section will attempt to address issues in this context.

Your Bluetooth headset is the wrong tool for the job.

macOS is designed to be (out of the box), something that you plug in an it goes to work. I'm not saying it can't be used for audio recording. What I'm saying is that it's architecture for the user to open the lid connect their things and start working. This includes audio devices and the behavior you're seeing is that philosophy in action. Why they chose not to do allow you to tweak it is entirely an Apple question.

So, whether Apple intended this behavior or not, you're using the wrong gear to record audio.

Bluetooth headsets are probably the worst thing you can do for audio recording/production. You have inherent latency (radio signals are slower than electrical signals which travel the speed of light), the DAC inside the Bluetooth headset is nowhere as robust as the DACs of proper equipment and you don't get the necessary, granular, control necessary for proper audio recording. It's also prone to external interference, noise, and general signal quality issues.

Just taking a very simple example - watch the evening news where they interview someone remotely and you can easily see the difference between someone with Airpods (as good as they are) and someone who spent a little bit extra on a proper microphone, a proper headset - and this is before we get into acoustic foam and mixers and gear!

If your goal is to record audio, you need a quality microphone and a quality interface (aka a mixer). If you're just getting started, you don't need to spend buckets of cash to make this happen. You can get a proper microphone input for under $50USD. This will allow you to have a quality DAC, an input that you can control and a monitor port that will allow you to hear your input (your voice) before and after it goes through your Mac.

As you grow and add instruments or more voices to your recordings, your equipment should grow along with you.

Bottom Line

A Bluetooth headset is designed for listening or making phone calls. Can you do recordings with it? Sure. However, it's not designed for it and it will show. You need the right gear for the job: a quality microphone and a proper interface to capture and/or output that sound. Short of that, and the quality of your final product will suffer.

7
  • 3
    I do understand the logic behind this. Though fascinated that there is no switch (even hidden one) to disable this behavior. Commented Nov 1, 2020 at 15:28
  • While USB DAC is great for audio recording (and that’s what I am trying to do here). That’s a bit of an investment for now. If I would get some traction on my work and people will be interested then sure I could spend a couple of hundreds on an interface. But that’s not what the question is about right now. Specially I don’t know any audio interfaces that support Bluetooth headphones:P Commented Nov 1, 2020 at 15:32
  • There's no way to tweak that setting, I'm trying to write a canonical answer because this comes up all the time and each user saying "my question is different because of <device> or <connection>." Unfortunately, it's the same problem as I described. The DAC, however is $30 USD, not "hundreds.". I have two of these personally...one on my Mac and another in my FreeBSD box in the garage.
    – Allan
    Commented Nov 1, 2020 at 15:37
  • 1
    I think some of these design decisions have been driven in the past decade or so by the transition in the Mac from being a tool used by graphics, video & sound design professionals, towards becoming more of a "lifestyle" choice following the success of iPod/iPhone etc. Bluetooth is definitely one of the 'lifestyle' technologies, & has no place at all in any pro environment.
    – Tetsujin
    Commented Nov 1, 2020 at 17:23
  • I was trying to record audio I/O on macOS Apple Silicon m1, using AirPods microphone and Blackhole plugin but as soon as I start to record my screen the output audio gets weak and hard to understand. Then I thought the problem was about Blackhole until I try it with the built-in macbook microphone that works fine.
    – Jeff Pal
    Commented Mar 8, 2022 at 18:33
0

I came across this question a couple of months ago, and left frustrated with the current state of things.

Because of that, I decided to solve this problem for myself and hopefully help other people frustrated with the default behaviour.

I've created Recadio, an app which remembers your audio device input/output preferences. For a given combination of input and output devices, it switches back to your preferred input/output devices. If you select a different one, it'll be remembered.

Since it's a paid app and I don't want this to be spammy, I've created a discount code so people reading this post can get it for free. Feel free to redeem EARLYUSER at the store.

Here's a video of how it looks.

6
  • 1
    Sounds neat but can we see some screenshots or something?
    – luckman212
    Commented Oct 4, 2023 at 3:32
  • @luckman212 I updated the link to the store so it shows a better store with more information. I also added a link to a video. If you think a screenshot would add extra value I'll add one, but I don't want my post to be too flashy. Commented Oct 4, 2023 at 10:32
  • So is it 2 clicks then to switch to an input/output combination? I thought it would be 1 click to switch both in/output to the preferred combo.
    – luckman212
    Commented Oct 4, 2023 at 17:01
  • @luckman212 it's 2 clicks to select input or output, but then it'll be remembered, so next time you use the same combination of devices, the input/output you selected will be automatically selected for you again. That means 0 clicks in the future. So you only need 3 clicks one time for any combination: 1 to open app, 1 to select input, 1 to select output. I hope it makes sense. Commented Oct 5, 2023 at 10:09
  • Thanks, Daniel. Discount code is now invalid though. Commented Mar 11 at 15:25

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .