Never been to DZone Snippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Batch loop for wave to mp3 (using lame) (See related posts)

It keeps the input files and sorts both mp3 and wave files nicely in two separate directories.
@echo off
if NOT EXIST MP3 md MP3
if NOT EXIST WAV md WAV

for %%f in (*.wav) do (
	cls
	lame -b 96 -V 5 -B 128 -m j --vbr-new -q 5 "%%f" "MP3\%%f.mp3"
	move "%%f" WAV
)

You need to create an account or log in to post comments to this site.


Click here to browse all 5147 code snippets

Related Posts