Thanks for your reply!
However I did manage to figure out another solution, my main issue was just at the beginning of tracks, so I thought, why not make it do the start of the track to calibrate it, then do the actual track?
Using FFMPEG and Powershell, I generate a 10 second snippet of each track to process (with 500ms of silence at the end to prevent any buffer issues). Here is my Powershell script:
Code:
ls *.flac|%{
$outputTitle = "CalibrationTrack" + $_.name.Substring(0,2)
$outputFile = $_.name.Substring(0,2).Insert(2," !.flac")
.\ffmpeg -i $_ -metadata title=$outputTitle -metadata artist="" -metadata album="" -t 00:00:10 -af "volume=0:enable='between(t,9.5,10)'" $outputFile
}
Put
ffmpeg.exe and this script in a new file called
Script.ps1 in the same folder as the audio tracks
It expects you to have a folder of files like this:
01 First Track.flac
02 Another Track.flac
03 A Track.flac
When you run the PS1 script it will generate files that go inbetween like this:
01 !.flac
01 First Track.flac
02 !.flac
02 Another Track.flac
03 !.flac
03 A Track.flac
So when you drag the folder into Winamp, it will use alphabetical sorting so these 10 second "calibration tracks" will appear before each track.
I'm using Winamp's Disk Writer plugin with %title% as the output format, since FFMPEG tags the files as "CalibrationTrack" you can just delete these files from the output folder.
Hope this helps someone!