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)

https://youtu.be/I1ng7sjf-kM
https://youtu.be/iD0f1g8UUWE

Source: KeySampler


About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top