Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


Dunnersfella

4100 posts

Uber Geek
+1 received by user: 887


#99864 28-Mar-2012 23:08
Send private message

Hi guys / gals.
I'm currently trying two external USB DAC's on a Mac, meaning I have to go into the Audio Midi Setup app every time I want to switch between the two DAC's. It's a little tedious (especially as I prefer to run my Mac Mini as a headless music server) and I'm looking for a solution to get around this with a simple keyboard shortcut / hotkey approach.
I've steam lined the process at the moment by using SoundSource (it just sits up the top making for less clicking'...
Does anyone have an idea how I can achieve a better solution for this?

Create new topic
nedkelly
666 posts

Ultimate Geek
+1 received by user: 104

Trusted
Subscriber

  #601664 29-Mar-2012 06:39
Send private message

Hold down option and then click on the volume icon in the menu bar



Oldhat
180 posts

Master Geek

Lifetime subscriber

  #601737 29-Mar-2012 10:09
Send private message

You might be able to create an Applescript and then assign it to a hotkey combination in your keyboard preferences.

There is some code here for a similar script that you appear to be looking at.

http://www.oreillynet.com/mac/blog/2006/07/applescript_audio_output_switc.html

Dunnersfella

4100 posts

Uber Geek
+1 received by user: 887


  #602104 29-Mar-2012 19:02
Send private message

Thanks Oldhat - that looks to be the basis of what I want to achieve...
The only issue seems to be that if I buy another DAC, I'll have to edit the code again.
I'm sure no one would make a paid app for this, which is a pity - but I do know it would have to be a TINY market. Oh well, I'll keep hunting :-)



Dunnersfella

4100 posts

Uber Geek
+1 received by user: 887


  #602105 29-Mar-2012 19:03
Send private message

Also - the 'Option' trick is handy, but my modded BlueTooth keyboard doesn't have a working 'Option' button.
Grrrrr.

jonherries
1433 posts

Uber Geek
+1 received by user: 316

Trusted
Subscriber

  #604133 2-Apr-2012 20:41
Send private message

Hi,

I have a script for doing this. It fails randomly, would appreciate any help debugging. I am running 10.7.3

Jon


http://dl.dropbox.com/u/1828007/audiochange.scpt


jonherries
1433 posts

Uber Geek
+1 received by user: 316

Trusted
Subscriber

  #604135 2-Apr-2012 20:42
Send private message

Sorry forgot to add, you will need to customize the choice of output in the script.

Jon

 
 
 

Stream your favourite shows now on Apple TV (affiliate link).
keepitwarm
265 posts

Ultimate Geek
+1 received by user: 23


  #605578 5-Apr-2012 10:45
Send private message

soundsource is a good free app for quick sound switching, not sure about keyboard use though.

http://www.rogueamoeba.com/freebies/

( down the bottom of the page)




.............................................................

simple logic.


Dunnersfella

4100 posts

Uber Geek
+1 received by user: 887


  #605584 5-Apr-2012 10:56
Send private message

Yeah Soundsource is great - but as I'm trying to run the MacMini as a headless music server, it's not ideal (as in, I need a screen to make it work). At the moment I've created a 'Multi-Output Device' so that both USB DAC's can always be sent audio... I just need to turn up the volume on the amplifier that I want to play audio through.
It's workable, but not ideal.

Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.