Virtual Matter

This is a Virtron the smallest matter known in our digital world and the building block of the virtual universe. It consists of numerous recursive functions that expand in all dimensions revealing its fascinating geometric and fractal form. It consists of a bright polygon core and pulsing outer particles that rarely find stability due to the interference of our physical world.
Try exploring it by rotating around with the left click, panning with the middle click and zooming with the right click. You can also Increase or decrease the number of particles in this virtron with +/- keys. Don’t forget to take a screenshot of your findings with the p key.

Click on Continue Reading below for the interactive app:

Read moreVirtual Matter

MIDI Elements Teensy Library

I have created a wrapper library to make programming MIDI controllers on the Teensy board dead easy and super fast. Simply instantiate object for each component like Buttons, Potentiometer, LED, rotary encoders, etc. and let the library handle all the dirty work of reading the raw values and deciding when to send MIDI signals. Enabling you to experiment and concentrate on your creative ideas and not waste too much time with the repetitive technical details and debugging code.

Just in a couple lines of code you can program a fully functioning MIDI controller.
Here’s an example of how simple things are:

boolean debug=false; // print to serial instead of midi
boolean secondary=true; // enable secondary midi messages
int midiChannel=1; // midi channel number

// declare all your components here
Button but(17,midiChannel,1,secondary,debug); // button 1 on pin 17
Button but2(16,midiChannel,2,secondary,debug); // button 2 on pin 16
Potentiometer pot(45,midiChannel,3,secondary,debug); // knob on pin 45 (A7)
Led led(15,midiChannel,3,true); // led on pin 15 with PWM enabled, triggered on the same number as pot

void setup(){
  usbMIDI.setHandleControlChange(OnControlChange); // set event handler for CC

void loop(){
  // add here all the input component reads; // read knob and send midi messages; // read buttons and send midi messages;; // read all the incoming midi messages
// event handlers
void OnControlChange(byte channel, byte control, byte value){
  // add all your output component sets that will trigger with cc

Currently only Buttons, Potentiometers and LEDs are supported. But I’m planning on adding RGB LED, rotary encoder, LED bars and ring and button pad classes.
Each component sends two sets of MIDI signals if enabled. For example Buttons send NoteOn, NoteOff, as well as ControlChange values so that they could be easily mapped in Toggle or Instant mode in software like Ableton Live. Also the Potentiometers send secondary NoteOns when values reach 0 or 127, à la MIDI Fighter Pro.

Download: github
To install extract the MIDIElements folder in your arduino/libraries directory

Read moreMIDI Elements Teensy Library

Aftertouch MIDI Glove

It’s been a while since I posted a new project here, but after the Moving Silence festival I got so fascinated, inspired and charged with this creative energy that shortly after I just knew exactly what I was going to do. At first it occurred to me that so far I’ve been working on mostly … Read moreAftertouch MIDI Glove