How to convert APO or Peace .txt files to IR files

Could you elaborate how can do it?
Hmm... you can use the Benchmark tool to process audio files using the Equalizer APO configuration:

Navigate (command prompt) to C:\Program Files\EqualizerAPO -folder and then write Benchmark

When no input file (-i parameter) is given to Benchmark.exe, it generates a linear sine sweep that normally ranges from 0.1 to 20000 Hz and is 200 seconds long. So, you might want to change range (parameters -f and -t ) and length (parameter -l (one second would be enough)). You can load this file to a convolver. All available parameters can be found listed in Benchmark source code - https://sourceforge.net/p/equalizerapo/code/HEAD/tree/trunk/Benchmark/Benchmark.cpp

Examples:
  • apply effects to an audio file: Benchmark -i <input file> -o <output file>
  • make an two channel IR file: Benchmark -r 44100 -f 0.1 -t 22050 -l 1 -c 2

Normally, it will apply the configuration of a virtual device called "Benchmark", so you can use the Device command to specify a separate section of the config file that you want to use. Instead, you can use the options --devicename, --connectionname and --guid to specify another device, even a real device. Note that only the file formats supported by libsndfile can be used. Therefore, you might need to convert your audio files before and after running the Benchmark tool.
 
Thanks for support, when I execute benchmark.exe does the sine sweep directly, how can insert the .txt files?
Benchmark.png
 
.txt isn't an audio file?
config.txt file (and all other included .txt files) holds filter configurations in text format. EqualizerAPO reads these commands in, build real filters and processes them before final output. Benchmark uses same routine so if you have EqualizerAPO active then you get all those enabled filters added to the sweep signal and stored to its named output audio file. So, basically
  • load your filter configs (config.txt, peace.txt, etc.) to EqualizerAPO (test if it is working correctly)
  • run Benchmark to get your IR file (remember set command line parameters if needed as I suggested already)
 
Would it help to type in the particular EQApo file between EqApo and and Benchmark? You get the message "no input file given. so sweep........"
No, Benchmark reads the config.txt file just as EqualizerAPO does.
I think OP has not installed EqualizerAPO or does not understand the mechanism.
  • install EqualizerAPo
  • make a config (Configuration Editor, Peace or by editing manually config.txt (ASCII editor))
-- when EQ is ready and tested you can run Benchmark to create IR (NO input file so resulting IR is based on linear sweep or input file is a sweep)
---- saved file holds the same EQ you have there in Configuration Editor and can be used as an IR file
 
Last edited:
Thanx. creating the .txt file in EqAPO is not the problem, but -for me at least- then the question remains: how does Benchmark read the .txt file generated by EqApo? I mean: some file must be fed to Benchmark to convert into an IR file.....

If you look the Benchmark source code, it includes FilterEngine.h ... .

https://sourceforge.net/p/equalizerapo/code/HEAD/tree/trunk/Benchmark/Benchmark.cpp (starting from line 161... line 169: engine.initalize ... )
https://sourceforge.net/p/equalizerapo/code/HEAD/tree/trunk/FilterEngine.cpp
---- line 210: void FilterEngine::loadConfig(const wstring& customPath)
 
Screen shoots of APO
If that's your EQ and it is working correctly (when you listen audio) then you have to be sure your HD600 file(s) is/are included in config.txt because this is the default file EqualizerAPO reads in ... and when it's OK then just do what said in post #4 above to execute Benchmark.

config.txt

Code:
Include: HD600 peq Q 1.txt
# other filters
# device, preamp etc. commands and
# and channel commands

EqualizerAPO commands can be found from support page: https://sourceforge.net/p/equalizerapo/wiki/Configuration reference/
 
Last edited:
If that's your EQ and it is working correctly (when you listen audio) then you have to be sure your HD600 file(s) is/are included in config.txt because this is the default file EqualizerAPO reads in ... and when it's OK then just do what said in post #4 above to execute Benchmark.
Looked the source more closely and it seems you probably don't need to include the file(s) in config.txt (including them was how I used to do long time ago).