Hey so i forgot to post on the forums but a while ago i wrote a little script for the arduino which allows you to play an selected sample chromatically 2 octaves up or down. (fair warning it doesn't get super accurate when you got to the farthest out octaves)
it's pretty straight forward honestly. if you have an arduino with midi input and midi output, you can just plug in your midi controller into it and the out goes into the volca sample... then select any part on the sample and then play your keyboard controller and the sample will play along.
I made a quick vid demoing it:
> https://www.instagram.com/p/_HzY4mp31h/?taken-by=fayek
Sorry i only have it on instagram... but it's public so it should be fine... you can find a couple of other vids on my page as well...
and the code you can get from github (it's also my first ever github code thingie... i'm new in the world of programming and that was a fun project to do)
> https://github.com/256k/kromasample
Volca Sample Chromatic midi converter arduino script
Moderators: Sharp, X-Trade, Pepperpotty, karmathanever
Volca Sample Chromatic midi converter arduino script
APC80 - kaoss pad quad - Launchpad - Launch control - an iPad Air 2 with a slew of useless gimmicky apps - electribe 2 free! - and future volca owner.
Hey,
thought I'd share this. I'm also working on a project to play samples chromatically and map notes to channels so I can sequence the volca using a single channel on my electribe.
Instead of switch statements like in your code I use a lookup table with the note -> tempo mapping stored in progmem (flash).
Except for a few different values in my table this should behave just like your findcc.
thought I'd share this. I'm also working on a project to play samples chromatically and map notes to channels so I can sequence the volca using a single channel on my electribe.
Instead of switch statements like in your code I use a lookup table with the note -> tempo mapping stored in progmem (flash).
Except for a few different values in my table this should behave just like your findcc.
Code: Select all
#define BASE_OCTAVE 4
PROGMEM const byte NOTE_SPEEDS[] = {
0, 3, 5, 8, 11, 13, 16, 19, 21, 24, 26, 29,
32, 34, 37, 40, 42, 45, 48, 50, 53, 56, 58, 61,
64, 66, 69, 71, 74, 77, 79, 82, 85, 87, 90, 93,
95, 98, 101,103,106,108,111,114,116,119,122,124,
127
};
byte noteToSpeed(byte note) {
return pgm_read_byte( NOTE_SPEEDS + constrain(note-((BASE_OCTAVE-2)*12), 0, 48) );
}
Hello. I did the same Also with an Arduino + a MIDI shield. An inexpensive solution. I have also included in the same code a Kaossilator controler, allowing to play notes wiht a midi keyboard.
http://techiesexpedition.blogspot.fr/20 ... -true.html
http://techiesexpedition.blogspot.fr/20 ... -true.html