Top Nav

Switch between Speakers and Headphones in 1 Click

Isn’t it always the smallest things that create the biggest irritations? Things like a  dripping faucet, a creaking stair step, or Windows forcing you to send your mouse through a maze of menus just to switch audio output between the speakers and the headphones! Aren’t Windows’ developers smart enough to come up with a toggle switch between the two outputs? Apparently they’re not. But luckily for us, Dustin Wyatt is.

Wyatt’s the creator of Soundswitch, a free and simple program that lets you  switch from one sound output to another by tapping a hot key or by clicking a tray icon.

Counting sound devices

Count your sound devices, top to bottom. Note mentally the numbers of the two you want to control with a software switch. (Don't really draw red circles on your monitor.)

Download Soundswitch at http://blog.contriving.net/wp-content/uploads/2009/05/soundswitch_v2.03.zip , and unzip the file into whatever directory you want. That’s all there is to installation except for going into a config.ini file with a text editor to make a few changes. One is to tell Soundswitch which sound devices you want to switch between.

But first click the loudspeaker in the Windows system tray and click open the playback devices’ dialog box. Right click on any of the devices listed there and make sure that both “Show Disabled Devices” and “Show Disconnected Devices” are checked.

Changes to .ini file.

Edit an .ini file to let the program know what devices to control.

 

Close the box that has those two options by clicking outside it. Now count your output devices, including disabled and disconnected, and remember the numbers of the two you want to be able to switch between. In the example here, I need to control a set of speakers in position 4 and the headphones at 5.

 

Add those numbers to the “Source1=” and “Source2=” lines, and that’s it. You can do more by assigning hot keys to switch the sound sources and set up a bunch of controls you’ll never use.  Just save the .ini file, run switchsound.exe, and the icon you see to the left will appear in the system tray.  Next time the family’s yelling at you because your speakers are too loud, just click the icon and don your headphones. When everyone’s gone, another click will bring you back into full-blast rock ’n’ roll glory.

Soundswitch works with Vista and Windows 7. There’s an older version for XP.

,

20 Responses to Switch between Speakers and Headphones in 1 Click

  1. buddy December 13, 2011 at 9:32 am #

    how do i toggle between my headphone with the speaker attached to the monitor

    in order to listen to the headphone the monitor speaker has to be given in the input, i guess

    any solution

    • Ron White December 13, 2011 at 1:22 pm #

      Sounds as if you’d go into the Sound dialog box and note the plae number of the monitor speaker and that of whatever other source you want to switch with and put those place bnumbers into the ini file. Play with it.

    • johnny December 15, 2011 at 3:55 pm #

      I don’t know why one would want to go through all this. On my acer laptop, when you plug in the headphones, it automatically disconnects the speakers. My Dell XPS 400 Desktop has front & rear speaker jacks. The rear are hooked to amplified speakers & when I plug headphones into the front jack it automatically shuts them off. Don’t all computers do this?

      • Ron White December 15, 2011 at 6:19 pm #

        You’re partially right, Johnny, but you have the advantage of using a laptop–and one that is thoughtful enough to turn off the speakers when you plug in the headphones. Not all computers do that. (I don’t know how many, but I’m using one of them right now.) The other advantage of a laptop is that the headphone jack is easy to get to. On desktop PCs–many of which are actually under-the-desktop PCs, it’s not so easy. I have to get down on my hands and knees to plug in the headphones. On older PCs, the jack may be at the back of the computer, just to make things harder still.
        I’m an idealist. If there’s a theoretical way in which I can be lazier, then I believe it should exist in reality also.

  2. johnny December 15, 2011 at 8:09 pm #

    I see. The reason my desktop may do this on it’s own is because it has fancy sound card installed in one of the PCI slots.

    I also agree totally with your last statement.
    Thanks.

  3. Ron White December 15, 2011 at 8:45 pm #

    At times we must suffer on behalf of our perfections.

  4. David December 16, 2011 at 1:25 pm #

    This would be a great solution for me, very frustrating having to plug/unplug headset from back of my PC. However, when installed and running, all I get is the icon, flashing alternately with a red “X”. If I right or left click on the icon, I get 2 menu items – “Script Paused” with a check mark next to it, and Exit. I cannot uncheck it, so unfortunately my only other option is to exit!

  5. Ron White December 16, 2011 at 3:29 pm #

    Hi, David…. I’m going to take a guess: In the .ini file, you didn’t check the boxes to show disabled and disconnected devices. That could throw off your numbering.

  6. David December 18, 2011 at 11:17 pm #

    Hi Ron, thanks for the suggestion. Yes that would be the obvious answer wouldn’t it – but no, I’m at that sad age when I actually RTFM these days :(

    In the end, I just put a shortcut to mmsys.cpl on my quick launch bar. That brings up the list and I switch the default. Not ideal, but only a couple of clicks.

    • Benjamin Connell September 24, 2012 at 9:41 pm #

      Yeah, I ended up doing that, thanks for the tip David! I also changed the icon from that horrible bolt on a page to a speaker and double quaver.

  7. Clint January 18, 2012 at 3:58 am #

    Hi Ron,

    Just wondering if my only option is to purchase a swtich for both headphones and speakers to plug into.

    I currently pull my pc tower out to and switch the plugs over. I do have a front audio jacks, but it appears they dont work correctly. When gaming the people I play with tell me that they have to mute me because of feedback and interference. This doesn’t happen when i plug into the back.

  8. Jim May 20, 2012 at 2:21 pm #

    I got this to work (Version 2.03) only by NOT showing hidden hidden & disabled devices, and also only by using the hotkey (clicking on the icon in the tray gives the flashing red X). The default hotkey in the default .ini is ctl-ALT-F11 (SwitchDevice).

  9. Jim May 20, 2012 at 2:22 pm #

    P.S. I’m running Windows 7 x64

  10. Munson August 1, 2012 at 6:06 am #

    Me to and It works great!!!!!!!!!!THANK YOU!!!!!!!

  11. Ernie October 2, 2012 at 11:23 pm #

    Ron
    This looks to be an ideal solution for me, but when I have installed the program and try to run it I get an error “Error setting SwitchDefault to ^!{F12}”. If I replace the “^” with “Ctrl+” and the “!” with “alt+”, the program appears to run, with the icon in the system tray, but the hot keys do nothing. But Shift c swaps the output. However I am unable to use a capital c.

  12. Omri Rosen February 23, 2013 at 6:18 am #

    Great!
    is there a way to hide the little windows appears when switching device?

    • Neo May 8, 2013 at 3:11 am #

      I would love to know this as well. Often i need to do this when i have full-screen windows open, and having them drop back to desktop only to have to fullscreen them again almost defeats the purpose – though it is still quicker.

      Any ideas?

  13. Mark Ruggiero July 4, 2014 at 9:46 am #

    Hi guys I’m just finding this little program but can’t get past the ini file. No matter what i set the shortcuts to i get an error msg saying “cannot set xxx to yyy”. So I change the default in the file to something different and it trips over the next shortcut in the list. If i change them all it goes back to the first one again with the error. If i comment them all out it tells me that the ini file can’t be found in the installations directory. Running win7pro. Any thoughts?

  14. James July 17, 2014 at 9:55 am #

    im having an issue starting sound switch it says “errir setting SwitchSpeakerCount to ^!{F9}”

Leave a Reply

 

×

Subscribe to our free newsletter and have our tips delivered to your inbox. Free Signup