Another Idle Volume Adjuster

Turranius

Member
Supporter
RL Member
You might as well test 1.4.0rc6. Glad I have TAIVA to keep me company when I'm home sick =)

I added IdleExceptionIfActiveOnly to the [Advanced] section. It defaults to true.
We previously had ProgramSpecificVolumeIfActiveOnly=True which controlled the Volume per application settings. It makes it so that the program must be the active window for the specific volume to be set.

The new IdleExceptionIfActiveOnly is the same thing, but for programs in [IdleException].
Meaning, with it set to True, it will only pause and not go idle as long as the programs in [IdleException] is the active program at the time.
With it set to False, it will wait indefinitly for it to go away (like earlier versions).

You'll find the new settings in the Advanced configuration GUI as well.
 

Metalzoic

New member
RL Member
So far it's running perfect and no more glitch sound when I power down so I'm happy.
It's cool that you made a GUI, but I still found it easier adjusting stuff in the ini, but that might just be because I'm so used to editing it after all this testing.
Still great work. It's vastly improved over what it was just a couple weeks ago. Really appreciated.

Here's another thing you fixed. With 1.0.0, every once in a while it would come out of idle for no reason (no one using it) and the volume would come on. I always figured I had a short in a wire or button that it was registering as a press. Annoying, but no big deal.

These new versions don't do that at all. Stays quiet always until somebody wants it to make noise. Sounds minor, but it makes a big difference in how solid and well presented the cab feels.
 

Turranius

Member
Supporter
RL Member
Excellent, thanks for testing =)

When deciding if we should go idle or if something was moved, I'm actually reading the idle time that windows provides, so it might be a new patch or similar that fixed that. Have not touched that function.

Could also be a controller you no longer have connected, or another keyboard etc. Some of them send out signals all over the place, resetting the idle timer =) In either case, glad that issue is gone.
 

Dime333

Active member
RL Member
I could..

The easy way: Use the normal fadein_delay, showing the volume bar (if on).
The hard way: Specific delay settings, not showing any volume bar (even if on).

I'll test some with the easy way first =)

Edit: Actually, pretty easy to not show the volume bar when fading back in...

Edit2: Ok 1.4.0rc4 on FTP.
When the volume is restored from a Program Specific Volume and it needs to go UP, it will fade it up with a delay of 20, not showing the volume bar.
If the volume needs to go down, its still instantly set as before.

Thanks for this. I have no idea if the issue was fixed since it only happens sometimes, but I don't think I have encountered it since I updated so that's good.
 

Turranius

Member
Supporter
RL Member
Added 1.4.0 to the OP. I changed some smaller stuff / cleanup between rc6 and release version so you might as well replace it if testing rc6 =)

Thanks for all the testing and suggestions.
 

Metalzoic

New member
RL Member
Added 1.4.0 to the OP. I changed some smaller stuff / cleanup between rc6 and release version so you might as well replace it if testing rc6 =)

Thanks for all the testing and suggestions.

Cool. All the functionality is the same? This last one I'm running has been perfect.
 

Dime333

Active member
RL Member
Amazing as usual, Turranius. I did however run into a bug. When I pushed "Apply and test" with these settings:

taivasettings.png

I got this error just when the volume had gone down to 15%. I tried it twice and had the same error both times.

taiva.png

About the sound boost issue that I was having. It still happens sometimes. I'll try to explain it a little more in detail.
I have Hyperspin at volume 55. I was running PPSSPP which I have at volume 20. When I exited PPSSPP with my exit emulator key and entered fade out, the game sound was still playing for about half or a third of a second during fade out. That sound was a lot louder than the 20 that I have set PPSSPP to.
 

Turranius

Member
Supporter
RL Member
Delay time 5? Yeah, that'll probably do it =) Why 5 seconds, out of interest? I'll have a look.
Edit: Hrmp. Works fine here with those settings. Could you paste your settings.ini ? I'll copy it and try setting the same settings again.


As for the sound boost, I check every second if the application needing the special volume is still running. As soon as its detects that the process is no longer running, it resets it back to normal, or if another process is running, to that volume.

So its a bit strange that the volume, set with PPSSPP, was reset if that process was dead. I mean, how could it play sounds if it was dead..

And you can delete the W7VVol.dll file with 1.4.0. No longer needed =) Also the standby image can go too.
 
Last edited:

Dime333

Active member
RL Member
Do you mean idle time 5? It was just for testing the volume bar. I don't use that.

I'll try to record a video of the sound thing later.
 

Attachments

  • Settings.zip
    949 bytes · Views: 8

Turranius

Member
Supporter
RL Member
You can click the test button next to the settings to test it. Or use the fade out now hotkey. Just some tips. There was no problems with having idle time 5 =)

I found the problem. The settings for the idle flash was only set up at startup if it was enabled. Having it disabled at startup and then enabling it caused the crash.
I'll do a stealth update of 1.4.0 on the FTP in a minute =) Can't be bothered to change versions..

Edit: Done. Grab it again from FTP.
 
Last edited:

Dime333

Active member
RL Member
Great. Thanks.

I recorded a video of the sound boost with my phone from hell. Spent about half an hour finding the damn thing and then another 4000 hours trying to copy it to my PC. When I finally got it, it turns out that my son comes running at the exatct time of the volume boost and his footsteps was all that was heard in the video. Very nice.
 

Dime333

Active member
RL Member
OK. I recorded a very high quality video with my excellent phone. This time I set the volume of PJ64 to 5 just to make the sound difference stand out more. Hyperspin is at 55.

View attachment zelda.zip

I noticed something very strange today. I turned on my cab and didn't touch it for a while. When I tried to control hyperspin, it didn't respond to any input. When I pressed ALT-TAB, nothing was showing. Only Hyperspin was running, but after the Alt-tab I could control Hyperspin again. How the hell can "nothing" take focus away from Hyperspin?

I had an idea. Would it be possible to make Tur-ForceActiveOnTop always show Hyperspin unless Hypersearch is running on top of it. I guess it would be a problem when launching emulators and stuff. I don't know. You always come up with awesome ideas :)
 

Metalzoic

New member
RL Member
OK. I recorded a very high quality video with my excellent phone. This time I set the volume of PJ64 to 5 just to make the sound difference stand out more. Hyperspin is at 55.

View attachment 1701

I noticed something very strange today. I turned on my cab and didn't touch it for a while. When I tried to control hyperspin, it didn't respond to any input. When I pressed ALT-TAB, nothing was showing. Only Hyperspin was running, but after the Alt-tab I could control Hyperspin again. How the hell can "nothing" take focus away from Hyperspin?

I had an idea. Would it be possible to make Tur-ForceActiveOnTop always show Hyperspin unless Hypersearch is running on top of it. I guess it would be a problem when launching emulators and stuff. I don't know. You always come up with awesome ideas :)
Do you launch Steam in the background when you boot? Some other background process? Steam can cause that exact focus issue and it's what I was battling with a few versions back.

I've since set Volume adjuster to wait 60 seconds before launching HS and since then I haven't had a single focus issue. HS is just super sensitive to losing focus.

Sent from my SM-G935V
 

Dime333

Active member
RL Member
Do you launch Steam in the background when you boot? Some other background process? Steam can cause that exact focus issue and it's what I was battling with a few versions back.

I've since set Volume adjuster to wait 60 seconds before launching HS and since then I haven't had a single focus issue. HS is just super sensitive to losing focus.

Sent from my SM-G935V

I have never launched steam once in my life :) I guess there is some invisable app stealing focus, but I have no idea what that could be. My cab is almost always on and this is extreamly rare.
 

Dime333

Active member
RL Member
I forgot to post the log.

Code:
2016-04-30 09:34:36 INFO: Tur-Another Idle Volume Adjuster 1.4.0 - Starting up.
2016-04-30 09:34:36 INFO: Re read ini file: E:\Hyperspin\Tools\Tur-Another Idle Volume Adjuster\Settings.ini
 
2016-04-30 09:34:36 DEBUG: Settings.ini contents:
[General Settings]
Time_To_Idle=300
LogLevel=2

[Sounds Options]
Simply_Mute_Audio=False
Set_Volume_at_Startup=55
Set_Volume_at_Idle_to_Percent=15
Set_Volume_at_Idle=False
FadeOut_Delay=200
FadeIn_Delay=50

[IdleException]
Exception2=Dolphin.exe
Exception2=vlc.exe
Exception2=chrome.exe

[ProgramSpecificVolume]
AMContra_full.exe=30
Cemu.exe=100
DOSBox.exe=30
ePSXe.exe=40
game.exe=35
HyperSpin.exe=46
mame64.exe=40
mednafen.exe=35
MESS .164 x64 NoNag+HiScore+Autofire.exe=25
nostalgia.exe=20
otomedius.exe=30
Project64.exe=5
PPSSPPWindows64.exe=20
sdaemon.exe=30
Steem SSE 3.8.1.exe=30
Stella.exe=40
Tembo The Badass Elephant.exe=100
th15.exe=30
Unz.exe=36
VisualBoyAdvance-M.exe=30
xwin.exe=30

[IdleSplash]
EnableIdleFlash=False
IdleFlashTransparency=150
IdleFlashProgressBar=False

IdleFlashTextDuring=Volume is fading. Press any key to abort
IdleFlashWinSizeDuringW=170
IdleFlashWinSizeDuringH=170

IdleFlashText=Volume faded. Press any key to resume
IdleFlashWinSizeW=400
IdleFlashWinSizeH=291
IdleFlashLoopsToMove=1

IdleFlashTextFontName=default
IdleFlashTextFontSize=default
IdleFlashTextFontWeight=default
IdleFlashAllScreens=True
IdleFlashProgressBarWidth=665
IdleFlashProgressBarHeight=19
IdleFlashProgressBarLeft=-1
IdleFlashProgressBarTop=-1
IdleFlashProgressBarVertical=False

[Advanced]
QuitKey=+{ESC}
AbortIdleUsingFadeIn_Delay=True
LoopDelay=1000
ForceDelay=0
ShowHiddenSndVolKey=+!v
FadeOutNowKey=+!f
ProgramSpecificVolumeIfActiveOnly=True
IdleExceptionIfActiveOnly=True
RestoreVolumeOnExit=Fade
[Manual Volume]
ManualVolumeUp=!{UP}
ManualVolumeDn=!{DOWN}
ManualVolumeStep=5
ManualVolumeAutoSave=True
ManualVolumeAutoAdd=True
ManualVolumeUseAPI=True
ManualVolumeShowProgressBar=2
 
2016-04-30 09:34:36 DEBUG: OS Version: WIN_7 - X64 Service Pack 1
2016-04-30 09:34:36 DEBUG: _SetupTrayMenu Start.
2016-04-30 09:34:36 DEBUG: _SetupTrayMenu End.
2016-04-30 09:34:36 DEBUG: Setting QuitKey to +{ESC}
2016-04-30 09:34:36 INFO: Set_Volume_at_Startup is set to 55 and the current volume is 46 so lets change it.
2016-04-30 09:34:36 DEBUG: Setting hotkey +!v to show or hide volume control.
2016-04-30 09:34:36 DEBUG: Setting hotkey +!f to force fade out now.
2016-04-30 09:34:36 DEBUG: Setting ManualVolumeUp to !{UP}
2016-04-30 09:34:36 DEBUG: Setting ManualVolumeDn to !{DOWN}
2016-04-30 09:34:36 DEBUG: No defined [ProgramLaunch] to run. Skipping.
2016-04-30 09:34:36 INFO: Entering main loop.
2016-04-30 09:34:36 DEBUG: ProgramSpecificVolume: Process HyperSpin.exe running and is active. Volume set to 46
2016-04-30 09:34:48 INFO: No Program needing special volume is running anymore. Restore volume to 55
2016-04-30 09:34:48 DEBUG: _CheckProgramSpecificVolume(): Setting a temporary FadeIn_Delay=20 and calling _SetVolume(55). ProgramSpecificVolumeOn=HyperSpin.exe
2016-04-30 09:34:48 DEBUG: Volume up to 55 - Current Volume: 46 - Still to go: 9 - Movement #: 1
2016-04-30 09:34:48 DEBUG: Volume up to 55 - Current Volume: 49 - Still to go: 6 - Movement #: 2
2016-04-30 09:34:48 DEBUG: Volume up to 55 - Current Volume: 52 - Still to go: 3 - Movement #: 3
2016-04-30 09:34:48 DEBUG: Volume up to 55 - Current Volume: 53 - Still to go: 2 - Movement #: 4
2016-04-30 09:34:48 DEBUG: Volume up to 55 - Current Volume: 54 - Still to go: 1 - Movement #: 5
2016-04-30 09:34:48 DEBUG: Volume done at 55%
2016-04-30 09:34:48 DEBUG: _CheckProgramSpecificVolume(): Restoring FadeIn_Delay=50
2016-04-30 09:34:54 DEBUG: ProgramSpecificVolume: Process Project64.exe running and is active. Volume set to 5
2016-04-30 09:35:12 INFO: No Program needing special volume is running anymore. Restore volume to 55
2016-04-30 09:35:12 DEBUG: _CheckProgramSpecificVolume(): Setting a temporary FadeIn_Delay=20 and calling _SetVolume(55). ProgramSpecificVolumeOn=Project64.exe
2016-04-30 09:35:12 DEBUG: Volume up to 55 - Current Volume: 5 - Still to go: 50 - Movement #: 1
2016-04-30 09:35:12 DEBUG: Volume up to 55 - Current Volume: 8 - Still to go: 47 - Movement #: 2
2016-04-30 09:35:12 DEBUG: Volume up to 55 - Current Volume: 11 - Still to go: 44 - Movement #: 3
2016-04-30 09:35:12 DEBUG: Volume up to 55 - Current Volume: 14 - Still to go: 41 - Movement #: 4
2016-04-30 09:35:12 DEBUG: Volume up to 55 - Current Volume: 17 - Still to go: 38 - Movement #: 5
2016-04-30 09:35:12 DEBUG: Volume up to 55 - Current Volume: 20 - Still to go: 35 - Movement #: 6
2016-04-30 09:35:12 DEBUG: Volume up to 55 - Current Volume: 23 - Still to go: 32 - Movement #: 7
2016-04-30 09:35:12 DEBUG: Volume up to 55 - Current Volume: 26 - Still to go: 29 - Movement #: 8
2016-04-30 09:35:12 DEBUG: Volume up to 55 - Current Volume: 29 - Still to go: 26 - Movement #: 9
2016-04-30 09:35:12 DEBUG: Volume up to 55 - Current Volume: 32 - Still to go: 23 - Movement #: 10
2016-04-30 09:35:13 DEBUG: Volume up to 55 - Current Volume: 35 - Still to go: 20 - Movement #: 11
2016-04-30 09:35:13 DEBUG: Volume up to 55 - Current Volume: 38 - Still to go: 17 - Movement #: 12
2016-04-30 09:35:13 DEBUG: Volume up to 55 - Current Volume: 41 - Still to go: 14 - Movement #: 13
2016-04-30 09:35:13 DEBUG: Volume up to 55 - Current Volume: 44 - Still to go: 11 - Movement #: 14
2016-04-30 09:35:13 DEBUG: Volume up to 55 - Current Volume: 47 - Still to go: 8 - Movement #: 15
2016-04-30 09:35:13 DEBUG: Volume up to 55 - Current Volume: 50 - Still to go: 5 - Movement #: 16
2016-04-30 09:35:13 DEBUG: Volume up to 55 - Current Volume: 53 - Still to go: 2 - Movement #: 17
2016-04-30 09:35:13 DEBUG: Volume up to 55 - Current Volume: 54 - Still to go: 1 - Movement #: 18
2016-04-30 09:35:13 DEBUG: Volume done at 55%
2016-04-30 09:35:13 DEBUG: _CheckProgramSpecificVolume(): Restoring FadeIn_Delay=50
2016-04-30 09:35:17 DEBUG: ProgramSpecificVolume: Process HyperSpin.exe running and is active. Volume set to 46
2016-04-30 09:35:18 INFO: No Program needing special volume is running anymore. Restore volume to 55
2016-04-30 09:35:18 DEBUG: _CheckProgramSpecificVolume(): Setting a temporary FadeIn_Delay=20 and calling _SetVolume(55). ProgramSpecificVolumeOn=HyperSpin.exe
2016-04-30 09:35:18 DEBUG: Volume up to 55 - Current Volume: 46 - Still to go: 9 - Movement #: 1
2016-04-30 09:35:18 DEBUG: Volume up to 55 - Current Volume: 49 - Still to go: 6 - Movement #: 2
2016-04-30 09:35:18 DEBUG: Volume up to 55 - Current Volume: 52 - Still to go: 3 - Movement #: 3
2016-04-30 09:35:18 DEBUG: Volume up to 55 - Current Volume: 53 - Still to go: 2 - Movement #: 4
2016-04-30 09:35:18 DEBUG: Volume up to 55 - Current Volume: 54 - Still to go: 1 - Movement #: 5
2016-04-30 09:35:18 DEBUG: Volume done at 55%
2016-04-30 09:35:18 DEBUG: _CheckProgramSpecificVolume(): Restoring FadeIn_Delay=50
2016-04-30 09:35:25 INFO: Exception chrome.exe exists AND is active. Not going idle. Waiting for it to close / become inactive.
2016-04-30 09:35:27 INFO: Exception chrome.exe not running anymore (or is not active). Resuming operations.
2016-04-30 09:36:05 INFO: Exception chrome.exe exists AND is active. Not going idle. Waiting for it to close / become inactive.
2016-04-30 09:36:07 INFO: Exception chrome.exe not running anymore (or is not active). Resuming operations.

I have also disabled 3 apps that was running in the background. Nvidia Geforce Experience, EXPERTool and Google Chrome, so let's se if that gets rid of the invisible app stealing focus issue.
 

Metalzoic

New member
RL Member
I have also disabled 3 apps that was running in the background. Nvidia Geforce Experience, EXPERTool and Google Chrome, so let's se if that gets rid of the invisible app stealing focus issue.

Did you try launching HS with a long delay too? That 100% fixed my HS focus issues while still letting stuff load at boot.
 
Top