MPC 2000XL Sample converter
I wanted to find a way to do a quick conversion of audio files for the MPC 2000XL. The needed WAV format is as follows:
- Frequency: 44100Hz
- Bits per sample: 16
- Format: PCM
I found the best was to do this was to use SoX (SoundXchange) to write a quick and dirty batch script to loop though files for me. The first up will be a simple batch file that you can drag and drop your samples on. I am doing this on Windows 7, I will make another tutorial for the Mac.
This will normalize to 0DB and convert to 16Bit and 44.1KHZ
@echo off
Title=Normalized, 16Bit, Sample Rate 44.1Khz
cd %~dp0
mkdir converted_stereo
FOR %%A IN (%*) DO sox –norm=-3 %%A -b 16 “converted_stereo/%%~nxA” rate -v 44100
This will normalize to 0DB and convert to 16Bit and 44.1KHZ and make the sample mono
@echo off
title=Normalized, 16Bit, Sampe Rate 44.1Khz, Mono
cd %~dp0
mkdir converted_mono
FOR %%A IN (%*) DO sox –norm %%A -b 16 -c 1 “converted_mono/%%~nxA” rate -v 44100
Grimy Eddition: This will normalize to 0DB and convert to 12Bit and 44.1KHZ and make the sample mono
@echo off
title=Normalized, 16Bit, Sampe Rate 44.1Khz, Mono
cd %~dp0
mkdir converted_mono
FOR %%A IN (%*) DO sox –norm %%A -b 12 -c 1 “converted_grimy/%%~nxA” rate -v 44100
pause
If you would like to add the batch files to your right click “Send To” menu just do the following. Open an explorer window and copy and paste the following into the address bar.
%APPDATA%\Microsoft\Windows\SendTo
Now place “shortcuts” to your BAT files in here and they will show up in your “Send To” menu.
2 comments