Hi, I wanted to makes this post since a few months because I new it would be not easy to explain, but I guess you have to start somewhere. So this is an expanded version of this post https://sourceforge.net/p/equalizerapo/discussion/general/thread/bae4e164/?limit=25#32d8 from Panayotis Kritidis, respect for his work, this inspired me to push this further.
As I am a GUI user (editor.exe and peace) and make a lot of adjustments on the fly, I needed to load and save profiles easily, one click seemed legit. This script saves both editor,exe and peace at the same time, so you don't have to waste more time than necessary. This means you don't have to open peace and create a manual profile, you just export the temporary state with the batch script.
Limitation:
The only limitation is what you can save with peace. Peace has 2 different ways of storing data. The normal profiles (.peace) and the temporary changes (peace.txt), so when you make any adjustment to a current profile. For this reason we need batch scripts which check peace.txt and extract values. At this moment the script can only extract 3 values: preamp gain, mono/stereo and all frequency changes. If you need more than that, folk at reddit/batch will help you out.
You can see that my profile save location is "C:\VstPlugins\profiles\eqapo\profil1" you can either create the same folder or change the path to whatever you wish. Ofcourse then you need to update the locations in the batch scripts to make this work.
Copy your "Last Configuration.peace" from "C:\Program Files\EqualizerAPO\config" to the folder where you saves will be located (in this example C:\VstPlugins\profiles\eqapo\profil1) , as this file serves as a dummy file which will be modified by the crossfeedcheck.bat and preampgain.bat scripts below.
"crossfeedcheck.bat" and "preampgain.bat" location is "C:\VstPlugins\profiles\eqapo"
Big thanks to "ConsistentHornet4" from the reddit/batch forum. He helped pull this off.
This looks more complicated than it is
You can create how many profiles you want
Feel free to expand on that idea, or shape it the way that suits you the best
At the end you can make it look like this (see screenshot)
Another way to change a Peace profile (configuration) is to create Peace configuration desktop shortcuts and let Peace do the switching for Peace profiles like this:
"c:\program files\equalizerapo\config\Peace.exe" "myconfig.peace"
This results in: Peace will be started. It selects "myconfig.peace" and creates the peace.txt file accordingly. Then Peace is shutdown.
Note that Peace shouldn't be running in tray or on screen in this case else you don't know which Peace executable is doing what.
I guess this profile switching is only needed when dealing with VST plugins and loudness. The rest Peace can do (and better!). Of course any VST plugin command can be loaded on the Peace Commands window, making it a part of a profile. But Peace can't show the VST plugin interface. I'm still struggling to do this within Peace. Alternatively I could also make this profile switching feature (as a part of Peace) and the Configuration Editor to show the VST plugin interface.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I wanted to makes this post since a few months because I new it would be not easy to explain, but I guess you have to start somewhere. So this is an expanded version of this post https://sourceforge.net/p/equalizerapo/discussion/general/thread/bae4e164/?limit=25#32d8 from Panayotis Kritidis, respect for his work, this inspired me to push this further.
As I am a GUI user (editor.exe and peace) and make a lot of adjustments on the fly, I needed to load and save profiles easily, one click seemed legit. This script saves both editor,exe and peace at the same time, so you don't have to waste more time than necessary. This means you don't have to open peace and create a manual profile, you just export the temporary state with the batch script.
Limitation:
The only limitation is what you can save with peace. Peace has 2 different ways of storing data. The normal profiles (.peace) and the temporary changes (peace.txt), so when you make any adjustment to a current profile. For this reason we need batch scripts which check peace.txt and extract values. At this moment the script can only extract 3 values: preamp gain, mono/stereo and all frequency changes. If you need more than that, folk at reddit/batch will help you out.
You can see that my profile save location is "C:\VstPlugins\profiles\eqapo\profil1" you can either create the same folder or change the path to whatever you wish. Ofcourse then you need to update the locations in the batch scripts to make this work.
Copy your "Last Configuration.peace" from "C:\Program Files\EqualizerAPO\config" to the folder where you saves will be located (in this example C:\VstPlugins\profiles\eqapo\profil1) , as this file serves as a dummy file which will be modified by the crossfeedcheck.bat and preampgain.bat scripts below.
"crossfeedcheck.bat" and "preampgain.bat" location is "C:\VstPlugins\profiles\eqapo"
Big thanks to "ConsistentHornet4" from the reddit/batch forum. He helped pull this off.
At the end you can make it look like this (see screenshot)
Last edit: Peter Dirk 2024-08-18
Nice!
Another way to change a Peace profile (configuration) is to create Peace configuration desktop shortcuts and let Peace do the switching for Peace profiles like this:
"c:\program files\equalizerapo\config\Peace.exe" "myconfig.peace"
This results in: Peace will be started. It selects "myconfig.peace" and creates the peace.txt file accordingly. Then Peace is shutdown.
Note that Peace shouldn't be running in tray or on screen in this case else you don't know which Peace executable is doing what.
I guess this profile switching is only needed when dealing with VST plugins and loudness. The rest Peace can do (and better!). Of course any VST plugin command can be loaded on the Peace Commands window, making it a part of a profile. But Peace can't show the VST plugin interface. I'm still struggling to do this within Peace. Alternatively I could also make this profile switching feature (as a part of Peace) and the Configuration Editor to show the VST plugin interface.