MIDI Elements Teensy Library V2

After quite some time, I finally found a chance to update the MIDI Elements library, improve some features and make a proper documentation for it.
After a lot of requests I added a class for endless encoders and RGB LED’s. Also added mapping features for the Potentiometer class that makes it easier to use with more unconventional sensors like infrared range finders, photoresistors, etc.

And planning to do some tutorial videos in the near future using each component.

*wink wink* donation button is to the right.

As before, you can download the library here github
To install extract the MIDIElements folder in your arduino/libraries directory.

Post navigation

6 comments for “MIDI Elements Teensy Library V2”

This is fantastic and saves so much time, let alone the simplicity it creates. Is it possible to provide a short writing with guidance on how to use the code for multiplexing, which is a big challenge for many I am sure.

Hi, to quickly answer your question, you can make multiple instances of lets say potentiometers, in an array, assigned to the same Analog Pin that the multiplexer is on, switch your multiplexer channels right before reading the next instance of a potentiometer in a loop.

These libraries look amazing. I’m just getting started with using a Teensy 3.1 to build beginner midi hardware. I’m trying to get just a simple Rotary Encoder knob turn to read in something like Logic Pro to just rotate plugin knobs. I’m trying to use and understand your teensy encoder library to get that result. Would i add like a “usbMIDI.sendControlChange(B0, +1, 1);” in the event handlers, or do you maybe have a sample of a functional rotary encoder example?