Aug 20, 2015

Akai’s MPC series are great for some hands on, out-of-the-box immediacy. The MPC1000 has a USB port, which will mount as a standard external volume. You can use it to quickly load samples, programs, and sequences.

MPC Maid is a handy Java app for editing programs if you like a GUI.

MPCs prefer .wav and .aiff files in 16 bit / 44.1 khz format. If you’ve got a big sample library, it can be tedious to convert audio files to this format. Here’s a script that uses the FFMPEG utility to convert an entire folder of samples to 16/44.1.

Usage is $ bash convert.sh ~/path/to/folder
Use at your own risk.

#!/bin/bash

BLUE='\033[0;34m'
NC='\033[0m'

cd $1

echo
printf "${BLUE}These files will be converted to 16bit 44.1khz and saved to $2${NC}"
echo Invalid files will be skipped.
echo
for i in *; do
	if [[ $i == *".wav"* ]]
	then
		echo $i;
	fi
done
printf "${BLUE}"
read -p "Continue? (y or n) " CONT
printf "${NC}"
if [ "$CONT" == "y" ]; then
	mkdir "$1"/converted
	for i in *; do
		if [[ $i == *".wav"* ]]
		then
			printf "Converting $i... "
			ffmpeg -i "$i" -ar 44100 -ab 4k "$1"/converted/"$i"
			printf "${BLUE}"
			echo "OK."
			printf "${NC}"
		fi
	done
else
	echo "Conversion canceled";
	exit 0;
fi

echo Done!