AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

soundplay with sounddevice parameter

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Wish List
View previous topic :: View next topic  
Author Message
Joelh
Guest





PostPosted: Wed Sep 13, 2006 9:49 am    Post subject: soundplay with sounddevice parameter Reply with quote

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)

PostPosted: Wed Sep 13, 2006 11:46 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
majkinetor



Joined: 24 May 2006
Posts: 3644
Location: Belgrade

PostPosted: Wed Sep 13, 2006 12:09 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10474

PostPosted: Wed Sep 13, 2006 12:21 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Diamond



Joined: 31 Mar 2006
Posts: 127
Location: New York

PostPosted: Mon Nov 12, 2007 2:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
Bigrob55



Joined: 24 Sep 2007
Posts: 25

PostPosted: Sat Nov 24, 2007 12:39 pm    Post subject: Re: soundplay with sounddevice parameter Reply with quote

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! Very Happy
_________________
Bigrob

L337 Speak - A Ventrilo Client Side program

Winamp Sound Changer - Change Audio Output on the Fly!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Wish List All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group