
This allows for a WAV file with any filename (not sure about file names with a "!" character, I know Levelator doesn't like them) and by using "%~dp0" it is enough to fool it into working. Start /wait levelator.exe "%~dp0\%WAVFILE%.wav" I put the following in a batch file next to Levelator.exe and the WAV file, hopefully it's made universal so no editing is needed, it can just run if a WAV file is put there. I know it's a tall order, that's why I ask it here :pĮDIT: The suggestion by user14122392 led to making it work :) I would usually use AutoIt2 for this sort of thing but the position of the WAV file in a folder can't be guessed at, so it can't be done that way either, AutoIt2 just isn't that advanced and needs window coordinates to drag something somewhere. Since this can't work in a batch file, how can I mimic dragging and dropping on the command line? This is the only way to do it. It's not a compressor, normalizer or limiter although it contains all three.
#The levelator software#
It's frustrating because I always have to manually drag WAV files over the GUI, but with a batch file (and creating a variable for the name of any WAV) it would be miles easier. Levelator is software that runs on Windows, OS X (universal binary), or Linux (Ubuntu) that adjusts the audio levels within your podcast or other audio file for variations from one speaker to the next, for example. It's odd that the program can't open a WAV file by specifying the file name after Levelator.exe in a batch file.

I got thinking about this and wondered, if you can drag the WAV file over the executable, why can't that be handled in a batch file? If the first command above doesn't work, why not? Why are you forced to either drag the WAV file over the GUI or drag the WAV over the executable?

That just causes the same error: "Can't open the source file: /?" Results in the error: "Can't open the source file: myaudio.wav"Īlso, running this brings up nothing: Levelator.exe /? Or with quotes: start /wait Levelator.exe "myaudio.wav" Nothing I have tried will work in a batch file, for example this: start /wait Levelator.exe myaudio.wav What you cannot do is use it on the command line, in any way!

You can also drag the WAV file over the executable of Levelator (without running Levelator) and get the output file that way. To process a WAV file, you just drag the WAV file over the GUI and it spits out a ".output.wav" version of your original ".wav" file. When this Levelator program is run, it opens a GUI.
#The levelator free#
If there was any other free tool that did this (and could do it on the command line) I would be using it, but I have never found anything else that does this. I use a free program in Windows called "Levelator" to normalize the audio in WAV files, it doesn't just normalize the whole WAV file - it makes quiet voices louder and loud voices quieter so the output file is all the same volume throughout.
