deweller / switchaudio-osx

Change the audio source for Mac OS X from the command line.
Other
1.16k stars 88 forks source link

Leave input through the built-in microphone when headphones are connected. #43

Closed kuzlich closed 1 year ago

kuzlich commented 1 year ago

I use airpods for calls, but I have a separate good microphone. I have to constantly switch to it after connecting the headphones via Bluetooth. Is there a script that I can use switchaudio to turn on my microphone? Getting into sound settings several times a day is getting tiring.

deweller commented 1 year ago

You can create an apple script or an automator action to run this command line utility.

I'm not sure how to automatically connect it when you plug in your headphones. Maybe someone else can help you with that.