Automatic WAV to MP3 script (enjoy)

Configure and optimize you computer for Audio.
Post Reply New Topic
RELATED
PRODUCTS

Post

Hi everyone.

I got fed up of Ableton Live 9 not being able to render a song in MP3. That's ridiculous.

So I wrote a Node.JS script that automatically converts any WAV in a certain folder to MP3. Yes, it's command line shit, but it's very simple, actually. It creates an INPUT and an OUTPUT folder. When you run the script in Watch mode, any WAV file that is saved into INPUT is converted to MP3 (192kb, but that is editable) and saved to OUTPUT folder.

OK, here it is. Enjoy.

https://github.com/ignaciosegura/wav_to_mp3

It's Node.JS, so it will work on Windows, Mac and Linux.
MAN FROM SPACE
Spotify: https://open.spotify.com/artist/135uz9UwHtdXZgiFyAc3oz
SoundCloud: https://soundcloud.com/manfromspace

GumRoad (FREE Ableton racks and synth presets): https://gumroad.com/manfromspace

Post

You can also do it via command line lame, by setting up an action associated with the filetype (in windows this's easy, don't know about mac/lin) - so I just right-click on the .wav, and there's the option to convert to mp3, or convert to wavpack.
Also have it setup to right-click on mp3 and convert to wav.

Post

Didn't know you could do that on Windows (Mac user here). Very convenient.

Actually, my script uses the command line version of LAME, it just automates the process and watches a folder.
MAN FROM SPACE
Spotify: https://open.spotify.com/artist/135uz9UwHtdXZgiFyAc3oz
SoundCloud: https://soundcloud.com/manfromspace

GumRoad (FREE Ableton racks and synth presets): https://gumroad.com/manfromspace

Post

You can also put stuff in your SendTo folder and Windows will add it to the places you can send (multiple) things -- I've all my format converter scripts in there as shortcuts. (As I don't like top-level clutter in right-click, more than any other reason...)
Here: %APPDATA%\Microsoft\Windows\SendTo

And I use ffmpeg for most things to most things...

Code: Select all

@echo off
set ffmpeg="D:\Program Files\ffmpeg\bin\ffmpeg.exe"
for %%f in (%*) do %ffmpeg% -hide_banner -threads auto -i "%%~sf" -vn -aq 0 -filter volume=replaygain=3 -y "%%~dpnf.mp3"
pause
That'll run through the selected files "sent to" it and convert them from whatever they are to MP3.

Post

~stratum~

Post Reply

Return to “Computer Setup and System Configuration”