Benches macOS

3

Terminal: How to change audio input & out…

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

Can someone explain how to change the audio input and output using Terminal? I know I can option-click the volume menu item and change it via the mouse but this is something I'd like to eventually script.

Any idea?

Thanks!

Anthony

3 replies

Sign in or join Beachball Help to reply.

  1. 0

    V.K.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    there are no terminal command sfor that. but you can quickly switch audio input and output by pressing option and clicking on the volume icon in the menu bar.

  2. 0

    Barbatto

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    It looks like changes to the audio settings alters the com.apple.audio.SystemSettings.plist file.

    You can see the difference here:

    http://barbatto.com/gu/Picture_2010-01-08_at_1_50_43PM.jpg

    I might be able to use "defaults write" to make the change.

  3. 0

    V.K.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    even if you change that plist the change will not take effect until you restart. the system doesn't read this plist all the time. only when audio output is being set.