| View previous topic :: View next topic |
| Author |
Message |
green_seacow
Joined: 04 Mar 2004 Posts: 7
|
Posted: Thu Mar 04, 2004 10:55 am Post subject: Additional Volume Change Commands |
|
|
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 |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Thu Mar 04, 2004 2:42 pm Post subject: |
|
|
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:
| Code: | 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. |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Mon Mar 08, 2004 3:41 am Post subject: |
|
|
| 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). |
|
| Back to top |
|
 |
green_seacow
Joined: 04 Mar 2004 Posts: 7
|
Posted: Mon Mar 08, 2004 2:18 pm Post subject: |
|
|
Looks awesome, I'll give it a try
/Peter |
|
| Back to top |
|
 |
|