PC Review


Reply
Thread Tools Rate Thread

Command to reset the WAVE volume level?

 
 
Vince
Guest
Posts: n/a
 
      16th Dec 2009
I'm looking for a command to reset the WAVE volume slider to a
preset level.

----

This is the problem. When I play my movie player (I use GOM) it
resets the volume level for WAVE files.

After using GOM I have to run the Master Volume window and drag the
WAVE slider back to where I want it. Or I have to run another audio
application and reset the WAVE volume with that.

Is there an single command to set the WAVE volume to a preset level?
Maybe there are some parameters which go with the SNDVOL32 command?

C:\WINDOWS\system32\sndvol32.exe
 
Reply With Quote
 
 
 
 
boatman312
Guest
Posts: n/a
 
      16th Dec 2009
On 12/16/2009 4:18 AM, Vince wrote:
> I'm looking for a command to reset the WAVE volume slider to a
> preset level.
>
> ----
>
> This is the problem. When I play my movie player (I use GOM) it
> resets the volume level for WAVE files.
>
> After using GOM I have to run the Master Volume window and drag the
> WAVE slider back to where I want it. Or I have to run another audio
> application and reset the WAVE volume with that.
>
> Is there an single command to set the WAVE volume to a preset level?
> Maybe there are some parameters which go with the SNDVOL32 command?
>
> C:\WINDOWS\system32\sndvol32.exe


There are some nice Autohotkey scripts to control sound volume. I use
one with Winkey-Arrow keys.

Save the following as volume.ahk. Associate .ahk files with the
autohotkey program and put the script into your startup folder.

----------------------------------------

; For transparency.

;#NoTrayIcon

#Up::
SoundSet +1
SoundSet, +1, wave
gosub, vupdt
return

#Down::
SoundSet -1
SoundSet, -1, wave
gosub, vupdt
return

#Left::
SoundSet, -0, Microphone, mute
IfWinExist, volume
{
SoundGet, m_m, Microphone, mute
if m_m = On
GuiControl,, R, 0
else
GuiControl,, R, 1
SetTimer,label, 2000
return
}
Gosub, show
Return

#Right::
SoundSet, -0, MASTER, mute
IfWinExist, volume
{
SoundGet, v_m, master, mute
if v_m = On
GuiControl,, Pic1,*icon40 C:\WINDOWS\system32\mmsys.cpl
else
GuiControl,, Pic1, *icon1 C:\WINDOWS\system32\mmsys.cpl
SetTimer,label, 2000
return
}
Gosub, show
Return
;This routine is isolated to avoid icon flashing
vupdt:
IfWinExist, volume
{
SoundGet, master_volume
GuiControl,, MP, %master_volume%
SetTimer,label, 2000
return
}
Gosub, show
Return

show:
SoundGet, master_volume
SoundGet, m_m, Microphone, mute
SoundGet, v_m, master, mute

IfWinNotExist, volume
{
Gui, Color, 000000 ; < -- added
Gui, +ToolWindow -Caption +0x400000 +alwaysontop
Gui, Add, GroupBox, x3 y12 w40 h45 cblack,
Gui, Add, GroupBox, x3 y60 w40 h35 cblack, Mic:
Gui, Add, text, x10 y1 ,Volume:
Gui, Add, Progress,vertical vMP x45 y18 w13 h77 c333cc,%master_volume%
Gui, Add, checkbox, vR x16 y75 w15 h15 cblue,
if v_m = On
Gui, Add, pic, x7 y22 vPic1 icon40, C:\WINDOWS\system32\mmsys.cpl
else
Gui, Add, pic, x7 y22 vPic1 icon1, C:\WINDOWS\system32\mmsys.cpl
if m_m = On
GuiControl,, R, 0
else
GuiControl,, R, 1
Gui, Show, NoActivate x720 y460 h100 w60, volume
Gui, +LastFound ; < -- added
WinSet, TransColor, 000000 ; < -- added
}
SetTimer,label, 2000
return

label:
SetTimer,label, off
Gui, destroy
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CTMELODY wave file volume level Ed Wood Windows XP General 7 10th Oct 2008 03:35 PM
Master volume Wave volume at minimum storming Norman Windows XP General 3 30th Jan 2008 10:33 AM
Wave volume in volume control adjust itself tomplom Windows XP Configuration 2 8th Jan 2005 01:23 AM
wave volume must be repeatedly readjusted in master volume window lindamar Windows XP Music 0 12th Mar 2004 08:30 AM
sound volume keeps getting reset to lowest level bill Windows XP Basics 1 2nd Nov 2003 03:29 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:00 PM.