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

About this user

« Newer Snippets
Older Snippets »
Showing 1-1 of 1 total  RSS 

Batch loop for wave to mp3 (using lame)

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
)
« Newer Snippets
Older Snippets »
Showing 1-1 of 1 total  RSS