Introduction: KeySampler

This instrument was build by Lieven Menschaert and Danny Leen using  an Arduino Uno and some  hardware components ( rotary encoder, potentiometer and  simple iron bolts). The software running the actual audio and video is a Pure Data / GEM patch. Additionaly Echonest API was used to do the sample cutup. You can send any mp4 file to it and it returns a folder containing the sliced up .mp4 and .wav files.
The box was made using parametric Flexbox found on thingiverse..

Basic idea was to create an instrument which triggers certain parts of a sample. PD cuts up every sample into 8 sections and maps these on the 8 keys of the instrument. A random factor is build in to play the sample for- and backwards.The keys are plain iron bolts, we used capacitive sensing to trigger the sampleparts.

The rotary encoder on the right side of the instrument runs through the different files in the folder. The slider pitchshifts the sample.

software used:
http://puredata.info/
http://echonest.github.com/remix/
http://www.arduino.cc/

hardware:
http://www.thingiverse.com/thing:17240
http://www.arduino.cc/
encoder: http://be.farnell.com/potentiometers_rotary

All sketches are included:
pd.zip (run Serialread.pd, keysampler1.pd and movie.pd - everything is connected together)
arduino.zip (arduino code)
EchonestKeySampler.py (sample cutup - you have to download echonest and ask for an API key. https://github.com/echonest/
KeySamplerLaserCut.pdf (the box layout for cnc cutter)
Atrakp.rar (example file of a song that is cut)