| View previous topic :: View next topic |
| Author |
Message |
Joelh Guest
|
Posted: Wed Sep 13, 2006 9:49 am Post subject: soundplay with sounddevice parameter |
|
|
Hi, I would like to play sounds on my secondary soundcard from autohotkey to indicate the current soundlevel. I dont know if its to much work.
Joel |
|
| Back to top |
|
 |
PhiLho
Joined: 27 Dec 2005 Posts: 6721 Location: France (near Paris)
|
Posted: Wed Sep 13, 2006 11:46 am Post subject: |
|
|
Wow... How many people have more than one sound card? It is worth spending time on it?
Perhaps search if there is some little software for this. Never saw something like that, though.
Found that: http://www.openal.org/windows_enumeration.html
HTH. _________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2") |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 3644 Location: Belgrade
|
Posted: Wed Sep 13, 2006 12:09 pm Post subject: |
|
|
I have two. Every DJ has two.
If you own proffesional sound card, it is typiclly not good for anything else except composing. So, people use integrated, or other card for everything else. _________________
 |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10474
|
Posted: Wed Sep 13, 2006 12:21 pm Post subject: |
|
|
You can discover the current volume level of a soundcard/mixer other than the default one via SoundGet's last parameter (DeviceNumber). However, this might not be enough to achieve your goal if you must have actual, audible feedback. So if it's important, this can probably be achieved via DllCall + mciSendString. Although I don't know the exact syntax for accessing a mixer other than the default one, hopefully there is some code/info available at MSDN or via a web search.
If you get it working, please post it here and I'll probably add it to the help file until such a feature is built in. |
|
| Back to top |
|
 |
Diamond
Joined: 31 Mar 2006 Posts: 127 Location: New York
|
Posted: Mon Nov 12, 2007 2:04 pm Post subject: |
|
|
| I have two soundcards as well. One for audio and one for my screen reader. Any possibility of this feature being added? I don't really think having multiple sound devices is that uncommon these days. |
|
| Back to top |
|
 |
Bigrob55
Joined: 24 Sep 2007 Posts: 25
|
Posted: Sat Nov 24, 2007 12:39 pm Post subject: Re: soundplay with sounddevice parameter |
|
|
| Joelh wrote: | Hi, I would like to play sounds on my secondary soundcard from autohotkey to indicate the current soundlevel. I dont know if its to much work.
Joel |
hey Joel, Take a Gander at this post, it will get u started on what you need, if u haven't already fix ur problem.
http://www.autohotkey.com/forum/viewtopic.php?t=2436
This will make it a bit eaiser to change ur soundcard, i changed the code a bit myself.
So that i can get from my primary to my Secondard with a press of a key, and i have a tray message to let me know.
Something like this...
| Code: | TrayTip,Primary Sound Device, SoundMax Digital Audio,10,1
return |
Hope this helps!  _________________ Bigrob
L337 Speak - A Ventrilo Client Side program
Winamp Sound Changer - Change Audio Output on the Fly! |
|
| Back to top |
|
 |
|