Download SoundSwitch 0.2
SoundSwitch is an AppleScript utility for quickly switching between two predefined sound device outputs, for example speakers and headphones.
The usual way is to open Audio MIDI Setup, click the desired device and select it for sound output. This procedure can be quite tiresome if done often.
This tool automatically does the switch when opened and displays a notification with the current device in use. No process is left open after the task is complete.
It is bundled with two command line utilities. One for getting and setting sound devices and the other one for invoking a notification message. More info in description.rtfd
I am aware of similar solutions, but I wanted something light and simple.
To use it, you need to configure the two device names first that must match the names displayed in "Audio MIDI Setup" utility.
Open SoundSwitch.app/Contents/Resources/Scripts/main.scpt and adjust the Configuration section on top.
What's New in Version 0.2 (See full changelog)
- additonally sets system sound device
- added icon for terminal-notifier