Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Additional Volume Change Commands


  • Please log in to reply
3 replies to this topic
green_seacow
  • Members
  • 7 posts
  • Last active: Jun 11 2004 05:03 PM
  • Joined: 04 Mar 2004
Hi,

It would be cool if you could get the current Wave Volume and also get/set the Main Voulme. Then you could have total control over the volume by script :)

/Peter

Chris
  • Administrators
  • 10727 posts
  • Last active: Nov 15 2014 07:47 AM
  • Joined: 02 Mar 2004
Great idea (and this is something I could use myself). For example, you could then have a hotkey adjust the volume in steps like this:

NumpadAdd:
SoundGetWaveVolume, current_volume
if current_volume < 100
{
     current_volume += 10
     if current_volume > 100
           current_volume = 100
     SoundSetWaveVolume, %current_volume%
}

Maybe it would be also nice to enhance SoundSetWaveVolume so that it accepts a prefix like this:
SoundSetWaveVolume, -10 ; Reduce the volume by 10%
SoundSetWaveVolume, +10 ; Increase the volume by 10%

Since these are easy (I hope) to add, I'll try to get to them soon.

Chris
  • Administrators
  • 10727 posts
  • Last active: Nov 15 2014 07:47 AM
  • Joined: 02 Mar 2004
The latest version has some new sound commands and improvements. I'm using some of them on my home system (it's so much faster than invoking the GUI mixer panel to change the settings).

green_seacow
  • Members
  • 7 posts
  • Last active: Jun 11 2004 05:03 PM
  • Joined: 04 Mar 2004
Looks awesome, I'll give it a try :)

/Peter