34

I've found this issue and various discussions online about this, but no obvious "just do this", so I'm wandering over here from ServerFault to ask this.

Is there a way to disable or hard-set the input level on a mic? In the Sound preferences on the Input tab if I click on the device and set a level and then start talking it picks up the sound and then start to auto-adjust the mic input level.

This causes issues when talking with someone on Lync/Skype/etc because one minute the sound is fine and then if you raise your voice for a second and then lower it back down (or shift around in your chair) the auto-adjust causes the other party to think your whispering or yelling.

I'd like to be able to disable the auto-adjust if possible. Yes/No?

NOTE: The issue is similar this one: iMac OSX 10.8.4 Volume adjusts by itself but rather on the input side and not the output side for me.

10 Answers 10

16

You can set it via the command line:

osascript -e "set volume input volume 100"

I have found that OSX Polycom RealPresence Desktop has a similar annoying "feature" that adjusts the mic input volume down, but never back up. My workaround is to have this line in my crontab:

# Check every minute for mic input < 100%; if it is, dial it up elegantly
* * * * * while (( `osascript -e "input volume of (get volume settings)"` < 100 )); do osascript -e "set volume input volume (input volume of (get volume settings) + 3)"; sleep 0.1; done;

The loops just makes the slider "slide" up over a second or so, rather then a hard volume jump.

| improve this answer | |
  • I tried what you advised for the command line, and it worked fine. But then the volume auto adjusted soon after, so that's not a solution. Could you explain how to implement the loop in terminal? I don't know what crontab is. Thanks – Tony M Sep 13 '18 at 14:44
  • The crontab idea is very useful – Ben Wheeler Mar 25 '19 at 14:12
34

Turns out that the auto-adjusting mic level was not MacOS, but rather Skype (Version 6.6.0.467). There is a check box in Skype Preferences to enable/disable it, and once I turned it off the level stays where I set it.

The problem is that, apparently, Skype's notion of auto adjusting the mic volume is simply to crank it up to max, no matter what -- even when no call is active. At around 90% the mic starts picking up background noise, probably the Mac disk or fan, and by 100% that background noise is overwhelming.

I found that on my MacBook Pro (c. 2008) the mic level at about 75% was good, and I also found it helpful to check the "Use ambient noise reduction" check box (just below the mic level slider in the System Preferences/Audio).

| improve this answer | |
  • That was the issue for me as well. The odd thing was that I was using GoToMeeting at time. This seems to happen in the background whether you're on a call or not. – sholsinger Nov 17 '14 at 19:54
  • 3
    This was happening w/ Zoom as well. Once I cleared the flag it was fine and stayed in one spot. – N1tr0 May 18 '16 at 21:07
  • This did not work for me. I disabled the checkbox you refer to in Skype and it did not help the problem. It is still auto-adjusting. – Tony M Sep 13 '18 at 14:46
  • 1
    Zoom was doing this for me as well. Thank you. My gosh how does the feature that defaults to turning a muted mic into a hot mic get through their PM team. Even allowing this to happen seems like a pretty glaring security issue – Nathaniel Rink Apr 29 at 15:44
  • 1
    @Wimateeka - for me it was Teams! - desktop app, not the webversion for some reason... – tom Sep 11 at 17:47
11

MacOS itself doesn't have auto-adjust option for mic, so there applications which are doing this. You need to check, which applications, which potentially are working with camera/mic have this auto-adjust option and to turn it off.

I found that it's some glitch in Skype, which appears from time to time. To disable automatic gain control for mic in Skype you need:

  • Click Tools at the top of Skype window
  • Select Options
  • select Audio Settings
  • Under Microphone, uncheck Automatically adjust Microphone settings

There's also the option to disable it manually in the config:

  1. Quit all the instances of Skype
  2. Go to skype directory, or in terminal execute the command:

    $ cd ~/Library/Application\ Support/Skype/

  3. Open the file called shared.xml for editing, full path to the file is

    ~/Library/Application\ Support/Skype/shared.xml

  4. Search for the line <VoiceEng> and extend that file like this:

    <VoiceEng> <AGC>0</AGC> ... </VoiceEng>

    there could be some extra lines like <MicVolume.., etc, leave them there, no changes. AGC set to 0 means OFF, 1 means ON for automatic gain control, which changes the volume.

  5. Save the shared.xml file, exit, restart Skype. Enjoy!

| improve this answer | |
10

I think I've found the work-around for macOS. You can create an “Aggregate Device”, which works with a single mic (but won’t help with multiple input sources) The Aggregate Device doesn't have its own volume setting, so GoTo can't mess with it.

Open “Audio MIDI Setup”. You can quickly find this by hitting Command+Space, then type in MIDI. Add “Aggregate Device”. In the left column at the bottom, hit the + sign and "Create Aggregate Device" Click on the new Aggregate Device in the left column, and check 'Use' for your microphone in the right-hand panel.

Now the Aggregate Device should be avialable as an input in GoTo. You can still set the sensitivity of the microphone within the Aggregate Device as you normally do, and GoTo can't affect it anymore because it is hidden in the Aggregate Device.

This won't work with multiple Mics in GoTo; GoTo only uses the first channel, so the additional channels are ignored. Rogue Amoeba Loopback can get around this by creating an aggregate device that only has a single channel, regardless of the number of inputs. It is really slick, and easier to use than Audio MIDI Setup, but costs $99.

| improve this answer | |
  • 1
    Legendary! This applies to Skype for Business as well, which doesn't let the user disable automatic volume adjustment. Standard infinite wisdom of Microsoft. – Blieque Mar 16 at 9:56
  • This fixed my problem for Skype for Business. – Tanner Apr 7 at 17:44
  • 3
    Cannot upvote this enough times! I seriously joined SE to upvote. Also, F*** Cisco/Webex Teams/Meetings for taking away the ability to disable their auto-voluming as far as I can tell. My voice is already so monotone; quit turning me down. – iwolf Apr 15 at 22:29
2

Found the file for Google Talk/Hangouts in ~/Library/Preferences/com.google.GoogleTalkPluginD.plist.

Edit the file with a preference editor (Xcode, TextWrangler, Pref Setter, etc.) and change the audio-flags setting to 0.

Seems to be a per-application setting.

I just tried this out on my 2011 Mac with OS X 10.8.4 and it worked. It's been driving me crazy for 2 years.

| improve this answer | |
2

For me the problem application is Citrix GoToMeeting, which I have to use for work. I'm using a variation of @thetoolman's solution to lower the volume to 49 - 50 every second (no cron job, I just start this whenever I have a meeting):

while true ; do
    while (( `osascript -e "input volume of (get volume settings)"` > 50 )); do
        osascript -e "set volume input volume (input volume of (get volume settings) - 2)";
        sleep 0.01;
    done;
    sleep 1;
done; 
| improve this answer | |
1

Skype has a Microphone adjustment in Preference Audio Video.

There you can disable the Auto setting.

I do not know about Lync.

| improve this answer | |
  • Nothing like that in Lync and Skype isn't installed. Problem is that it affects not only the input mic on the mac but also Parallels. I keep thinking it is an OS setting, but nothing definitive yet. – TheCleaner Aug 2 '13 at 18:11
  • We are talking about the build in mic ? – Ruskes Aug 2 '13 at 18:34
  • It's a Mac Pro...so no built-in mic (except line in)...it's the external Apple monitor with a bult-in Mic (shows up on Sounds as External Mic USB) – TheCleaner Aug 2 '13 at 18:37
1

Had the same issue on Zoom, and as stated above, it's the app, not the OS. There's a preference to disable mic input adjustment.

| improve this answer | |
1

For me on a mac it was Microsoft Teams that caused the problem. Specifically the desktop app. The web app. did modify the level a bit, but was usable. The desktop app. was very difficult. I can open the system preferences and watch the level bounce around between about 2 and 5 % - any time I lift it the volume crashed down again,....

..... but for some reason the web app. works ok. If I start talking loudly into the mic it does drop the level, but no so much and it even went up a bit when I spoke more softly.

This is some combination of Teams and this microphone, because the microphone works well with say Quicktime sound recording.

thankfully this issue with the desktop app does not affect the internal mac mic too much, it is only the USB PnP device that is mostly unusable.

| improve this answer | |
  • 1
    Yes. Teams and TeamViewer can duck the audio quite noticeably when you don’t expect it. – bmike Sep 11 at 18:00
  • 1
    I have a lot of background noise at home, so I always use earbuds with a mic (the one that came with my phone) and never use my mac's internal mic. Is there a fix for Plug and Play devices that you've found for Teams? – Wimateeka Sep 11 at 19:02
  • @Wimateeka - no... except that the web version of teams, when you use teams in a browser is ok at the moment - the desktop app is unusable with the USB PnP mic. - at the moment I don't have time to fiddle with it - the internal mic is not quite as good as the USB PnP one, but it seems to work ok for both desktop and web teams -- so probably the internal mic is my current solution if I have to use the desktop app. – tom Sep 11 at 22:48
0

I figured it out! I called Mac support and they had me start my computer while pressing Cmd + Opt + P + R and it resets some things that fixes the problem. Hope this works for everyone like it did for me!

| improve this answer | |
  • I tried this and it did not solve my problem. Mic input level is still auto-adjusting – Tony M Sep 13 '18 at 14:53

You must log in to answer this question.

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