Here's the
Windows .bat (command file) to invert phase in centre channel for all 6 Ch (5.1) FLAC files in a folder:
Download
ffmpeg.exe and whack it in a new folder on your desktop (named 'ffmpeg' for example)
Download from:
https://www.ffmpeg.org/
Create a new text file
Copy this in:
IF NOT EXIST "Output" MD "Output"
for %%A IN (*.flac) do (
"C:\Users\[YOURUSERNAME]\Desktop\[YOURFFMPEGFOLDERNAME]\ffmpeg.exe" -i "%%~nA.flac" -af "aeval='val(0)|val(1)|-val(2)|val(3)|val(4)|val(5)':c=same" "Output\%%A"
)
pause
NOTE: Change '[YOURUSERNAME]' and '[YOURFFMPEGFOLDERNAME]' above into the correct folder names for your PC
Save the new file as: "Invert Phase Centre For 6Ch Flac.bat'
---------
EDIT: Here's my bat file to download: Please remember to change my folder names to yours (username & ffpeg folder name):
https://drive.google.com/file/d/1GWYTvSGZo25HVETyGAtfiwoNd9oKs4Ei/view?usp=sharing
---------
Copy the new bat to same folder as your original FLACs you want to change
Run: Invert Phase Centre For 6Ch Flac.bat
This creates a new folder under your FLAC folder named 'Output' and then creates new flac files from each of original files by inverting the phase of the centre channel & copying the other channels into new files in 'Output' folder.
If you have WAV files then change the BAT file to use '.wav' extension instead of '.flac'
The new FLACs will not be tagged.
I'll add this to a new tool in Music Media Helper within next 24hrs. You can ten just use that to point the the files and it will change and re-tag the new files based on original tags.