Topic: Configure Windows performance for Pianoteq
I just purchased a new PC that I consider as a substitute for my old Linux Mint setup to use w Pianoteq, but will also use it for other things - and then I ran into issues with cracks and pops because the CPU changed throttle when I played w Pianoteq. Changing performance settings to "High performance" solved the problem, but drained the battery of the laptop when I did not use it for playing piano. A little research on the net gave a few good advices that I want to share, with the hope that it can be helpful to someone else, too.
Step 1 - powercfg
There is a command in Windows, powercfg, that (among a lot of other things) can be used for setting the power plan on the pc, i.e. to change to "High performance" or what is desired.
What I did was to run the command "powercfg /l" in a command prompt, and it provides a list of all the available plans. It looks something like this in my setup
C:\Users\Torsten>powercfg /l
Existing Power Schemes (* Active)
-----------------------------------
Power Scheme GUID: 381b4222-f694-41f0-9685-ff5bb260df2e (Balanced) *
Power Scheme GUID: 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c (High performance)
Power Scheme GUID: a1841308-3541-4fab-bc81-f71556f20b4a (Power saver)
And then it is possible, from the command prompt, to select any power scheme by the command "powercfg /s GUID", so e.g. "powercfg /s 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c" would select High performance.
Step 2 - create shortcut
I used this to create a desktop shortcut for starting Pianoteq, but instead of just opening Pianoteq, the shortcut will first change the power scheme to "High performance", then open Pianoteq, and when Pianoteq is closed, it switches to "Balanced".
I achieved this by creating a new shortcut (rightclick on the desktop, select "New --> Shortcut"), and then opening the shortcut properties.
In target I wrote
C:\Windows\System32\cmd.exe /c "C:\Windows\System32\powercfg.exe -s 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c && "C:\Program Files\Modartt\Pianoteq 5\Pianoteq 5.exe" && C:\Windows\System32\powercfg.exe -s 381b4222-f694-41f0-9685-ff5bb260df2e"
Please make sure that you find your own GUID values and insert, and also make sure that you point correctly to the Pianoteq executable. It got a little complicated how to call powercfg, this worked, and I am not sure if it can be done simpler, and did not invest more time in further investigation once I achieved what I intended. Suggestions are welcome.
Just to make it look nicer I also changed the shortcut icon (click the "Change icon" button, and navigate to the Pianoteq executable and select the icon).
VST host: Cantabile
Other instruments: hammond (GSi VB3 II), saxophone (Selmer), harmonicas (Hohners)