3.1.3 MAJOR RELEASE WITH BREAKING CHANGES:
-
Min and Max output is no longer set when constructing objects.
use outputRange(min, max) instead. -
MIDIbutton is now completely deprecated. Use MIDIswitch instead.
-
MIDIcapSense is now completely deprecated. Use MIDItouch instead.
-
MIDIdrum using TOUCH is deprecated. It's still doable but just too unstable
and too niche for this library. Use the Flicker library instead.OTHER CHANGES:
-
Added sensitivity(int) function to MIDIdrum. Takes a number between 1 and 100.
Lower numbers require higher velocity to trigger MIDI. 100 is default
and triggers even if pressed very slowly. 99 requires at least a light tap. -
MIDIenc can now take PROGRAM_CHANGE as an argument. This allows the encoder
to send program change messages instead of CC messages. -
MIDIswitch can now take START, STOP, CONTINUE, CLOCK or SYSTEM_RESET as an
argument. This allows the switch to send those messages instead of CC. -
Better examples
-
Made inclusion of Flicker library optional. Some boards don't to Cap Touch.
(thanks @digitalelements for suggestions and testing all of the above)
-
MIDIenc.read() now updates the value of the encoder. This allows the value
to be changed without actually sending MIDI. -
Split analogRange and touchRange into separate utilities.
-
Bugfix: MIDIenc.value initialized to outLo when user-specified.