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 

Balance

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
compuboy_r



Joined: 04 May 2004
Posts: 68

PostPosted: Tue May 11, 2004 1:45 pm    Post subject: Balance Reply with quote

Any Way to Change the SoundBalance from Script


compuboy_r
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Tue May 11, 2004 2:01 pm    Post subject: Reply with quote

SoundSetWaveVolume attempts to retain the existing balance beween left and right channels when you raise or lower the volume. However, SoundSet does not.

To answer the question, I don't think so, unless ControlTypes PAN or QSOUNDPAN exist on your device and do something useful.

I think setting the balance involves changing the relative settings of the left/right/front/rear channels. I'll look into it.
Back to top
View user's profile Send private message Send e-mail
ohmygod



Joined: 03 Jan 2005
Posts: 1

PostPosted: Mon Jan 03, 2005 5:03 am    Post subject: Reply with quote

Anything new on this problem?

>PAN or QSOUNDPAN
doesn't help (not supported) and
>SoundSetWaveVolume
doesn't help eighter(no change in balance-settings).

Any other simple solution would be welcome as well. Like registry editing or something. (But please no active-x, java or VisualBasic)

Thanks.
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Mon Jan 03, 2005 12:43 pm    Post subject: Reply with quote

No progress yet, though I suspect it would only take a couple hours to research, develop, test, and document. Anyone with the Windows API and C++ programming experience is welcome to look into it.

At the moment, I'm working on items that most would agree are higher priority: complex expressions and passing parameters to functions/subroutines.

In any case, I'll raise the priority of the sound-balance to-do item. Thanks for mentioning it.
Back to top
View user's profile Send private message Send e-mail
bLisTeRinG



Joined: 15 Nov 2004
Posts: 45
Location: Warrnambool

PostPosted: Tue Oct 17, 2006 6:24 am    Post subject: Reply with quote

I'm interested in this PAN setting too. Any luck yet? btw, check out my mixer at http://www.autohotkey.net/~bLisTeRinG/.

I don't mind hacking the registry if neccesary either. As you can see from my mixer (above) pan would be great! Hint hint...

Ok, I'll go away now... Wink
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Wed Oct 18, 2006 4:51 am    Post subject: Reply with quote

No luck yet. There always seems to be something that's higher priority.

I think it can be done with DllCall; it's just a question of doing the research or finding an expert.
Back to top
View user's profile Send private message Send e-mail
IG-88
Guest





PostPosted: Sun Jul 01, 2007 2:31 am    Post subject: Reply with quote

Still no way to adjust the sound balance with SoundSet?

About all I can figure out is to select the balance slider in the Volume Control window and have AHK send right and left key presses (very messy solution). Ex:

ControlSend, msctls_trackbar321, {left}, Volume Control
Back to top
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Sat Jul 07, 2007 2:13 am    Post subject: Reply with quote

In light of the fact that Vista has a completely new mixer interface, there's a good chance I won't devote time to enhancing the old interface. Therefore, it's probably best that you or someone else delve into the API to find out how to do balance control. There's a good chance that only a few DllCalls would be necessary to achieve it. The problem is finding them and determining what parameters to pass.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help 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