just a small feature request, which I imagine, can be implemented easily: I’d love to have the option to have Cantabile revert to a specific Windows Power Plan (i.e. Balanced) upon leaving the app. I always forget to switch it back manually.
Maybe, if there is already a solution to this, someone could point out to me how to do it.
Best Regards and a big Thanks to Brad for his work! Cantabile saved me a lot of time and trouble now. Developing software this close to the community is usually a thing of the past, but I appreciate it sooo much.
As you see mine is set to balanced and all the available plans sure ID’d and listed so open Cantabile and open the background rack and put these 2 bindings in. The first binding set’s the power plan to HIGH so you would copy the GUID number for the HIGH plan from the DOS window into the clipboard
next you would do the Balanced binding so you can switch back when you close Cantabile. You do the same procedure except you copy the Balanced GUID number …
I found kind of a workaround. Setting the power plan to High on Startup is no problem, because this can already be done in the Cantabile Audio Engine Settings.
I used your script to bind the cmd line for Balanced to Key Press F1. When I close Cantabile now I press F1 then Escape and it works.
I still think it should be a checkbox in the settings though. Thank you again for the help. Didn’t know you can actually use cmd line in Cantabile, makes it even more flexible and opens up so many possibilities.
This software is quite the nugget, reminds me of the old days, when you had to take care of Windows basically by yourself. Good times… I guess
Sorry, bad picture from me! The balanced style binding would fire when the rack “unloaded” (when C3 shuts down) but if you have a fix you like use it. Every DAW I use it has to be set manually or with a script like this before starting the the host program so this was a nice helper anyway…
Granted, when I start Cantabile switches to High Performance - works perfectly. But when I close Cantabile it doesn’t restore to Balanced (which was the active power plan before I started Cantabile in the first place). Maybe it’s just a issue with my Computers (because this behaviour is present on all 3 of them).
Thanks for sending that through. I had a look at the log files and it shows the plan switching when the engine starts:
00002933 1 [14564:2]: CoreEngine - Switching to power plan 'Höchstleistung'
and reverting when stopped:
00028722 0 [14564:2]: CoreEngine - Reverting power plan to 'Ausbalanciert'
However… neither log file covers the complete shut down of Cantabile so I can’t see what’s happening just before the app exists and can’t see the final revert. Which makes me wonder if something is actually crashing near the end of shutdown and not getting captured for some reason.
Can you please try two things:
What happens if you just power cycle Cantabile audio engine with the power button at the top right (like in the video I posted). Does the power plan revert correctly when the audio engine is off?
Go to Options -> Diagnostics, turn on the option “Log File Write-Through” and reproduce the steps to create a new log and send it through. (Don’t need another video).
I think you’re right, I just tried it with a different Song Setting and it worked. I believe it’s the UVI Workstation Plugin running Ravenscroft 275 that causes the crash, because if I try to manually delete the Plugin from the Routing View Cantabile crashes.
Deactivating the Audio Engine also switches the Power Plan to Balanced and back to High Power when activated just like you demonstrated in the video.
Yep, I agree - looks like UVIWorkstation is crashing which is causing the power plan not to get reverted.
Are you getting a crash report dialog for this? If so, have you sent the crashes through. Best bet is probably to get the crash reports sent to UVI so they can investigate. Are you running the latest version of UVI?
Mh haven’t checked the version in a long time, probably a good idea. I’m getting a crash report dialog, when restarting Cantabile after I closed it. Asks if I want to Load the last Song etc. I was wondering about that the longest time. Thank you for the clarification and investigating. I’ll try updating the Plugin, resetting the preset and see if the issue persists.
Thanks, @dave_dore. I just stumbled on this - real nice workaround on my new Lenovo that does not expose the High Performance power plan. I normally included it in the shortcuts to Cantabile, but this is much smarter.