Skip to content

A library for creating Teensy MIDI controllers with support for hold or latch buttons, potentiometers, encoders, capacitive sensors, Piezo transducers and other velocity sensitive inputs with aftertouch.

master
Switch branches/tags
Go to file
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md


MIDIcontroller 2.3.2 - A library for creating Teensy MIDI controllers.

  • by Josh Nishikawa (github.com/joshnishikawa/MIDIcontroller)

FEATURES INCLUDE:

  • velocity sensitive FSR, Piezo or Capacitive Touch inputs
  • momentary, latch or 'trigger' type MIDI buttons (also work with Cap Touch)
  • stable analog to MIDI conversion for potentiometers and other sensors
  • stable Capacitive Touch to MIDI conversion for expression control
  • support for encoders
  • Min/Max output can be set (or inverted) for all MIDI. Min/Max input can also be set for analog input (maintaining stability in conversion)

*** THIS LIBRARY REQUIRES THE MIDI, BOUNCE, ENCODER and FLICKER LIBRARIES *** *** (github.com/joshnishikawa/Flicker) ***


VERSION LOG: 2.3.2 - Fixed the broken smooth() function for analog inputs. 2.3.1 - All examples updated to prevent MIDI and usbMIDI stack crashes. 2.3.0 - A major update to the Flicker library: - thresholds for Capacitive Touch buttons are automatically detected - more stable expression control for MIDItouch(previously MIDIcapSens) - MIDIdrum includes option to use velocity-sensitive Capacitive Touch - Even better stabilization of analog inputs - Added option for encoders to change 1 CC value per detent - Made "killSwitch" user-selectable (just put any CC# instead of KILL) - Added setKillSwitch(byte) to set kill CC (use OFF or 0 to disable it). - Added a few visual aides

2.2.5 - Bugfixed jitter that occurred when using inputRange() with input maxed - Arguments for specific velocities can now be passed to velocity inputs - Added literals to highlight MOMENTARY, LATCH, TRIGGER and KILL modes - Long overdue completion of the "Flicker" library (for Cap Touch input) - Made separate examples for 'pot' and 'sensor' (to avoid confusion)

2.2.0 - Added support for Piezos (Must be wired properly. See example) - "MIDInote" class changed to "MIDIdrum" and optimized for FSR and Piezo - Removed redundant 'velocity' variable. Just call outputRange(127, 127) - Added support for using a Capacitive Touch input as a MIDIbutton - Included 'Flicker' library (required for Capacitive Touch buttons) 2.1.5 - got rid of useless '*MC' pointer. renamed 'kill' to 'mode' 2.1.3 - included an example of how to implement aftertouch 2.1.2 - many variables changed to 'byte' or 'uint16_t' for easy storage public and private variables are better sorted 2.1.0 - Split read() and send() functions. MIDI channel is now user selectable 2.0.6 - Fixed a bug preventing poly CC to return to zero after note off. 2.0.5 - Added a condition to prevent many double note triggers. 2.0.4 - Added support for capacitive sensors (and started this version log)


Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A library for creating Teensy MIDI controllers with support for hold or latch buttons, potentiometers, encoders, capacitive sensors, Piezo transducers and other velocity sensitive inputs with aftertouch.

Resources

Releases

No releases published

Packages

No packages published