3 set "WAV2PNG=D:\Temp\Downloads\wav2png.exe"
4 set "CONVERT=D:\ImageMagick-6.9.0-Q16\convert.exe"
6 rmdir /Q /S "%~dp0\tmp" 2> NUL
10 call:runTest dc-corr --correct-dc
11 call:runTest alt-bnd --alt-boundary
12 call:runTest dcc+alt --correct-dc --alt-boundary
13 call:runTest rms-val --target-rms 0.2
14 call:runTest dcc+rms --correct-dc --target-rms 0.2
18 :: ============================================================================
22 echo ###########################################################################
24 echo Args: %2 %3 %4 %5 %6 %7 %8 %9
25 echo ###########################################################################
27 for %%f in (%~dp0\test\*.wav) do (
29 echo ===========================================================================
31 echo ===========================================================================
33 "%~dp0\bin\Win32\Release_Static\DynamicAudioNormalizerCLI.exe" -i "%%~f" -o "%~dp0\tmp\%%~nf.%1.wav" -l "%~dp0\tmp\%%~nf.%1.log" %2 %3 %4 %5 %6 %7 %8 %9
34 "%WAV2PNG%" --width 1920 -o "%~dp0\tmp\~%%~nf.%1.A.png" "%%~f"
35 "%WAV2PNG%" --width 1920 -o "%~dp0\tmp\~%%~nf.%1.B.png" "%~dp0\tmp\%%~nf.%1.wav"
36 "%CONVERT%" "%~dp0\tmp\~%%~nf.%1.A.png" "%~dp0\tmp\~%%~nf.%1.B.png" -append "%~dp0\tmp\%%~nf.%1.png"
37 del "%~dp0\tmp\~%%~nf.%1.?.png"
45 :: ============================================================================