FEATURES INCLUDE:
THIS LIBRARY REQUIRES - MIDI Library, Bounce, Encoder, Flicker <github.com/joshnishikawa/Flicker>
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.
2.5.5
2.5.3
'MIDIswitch' now preferred over 'MIDIbutton' ( 'MIDIbutton' still works ).
Added a send(FORCE) function to allow event-based sending of current CC value. This works for MIDIswitch, MIDIpot, MIDIenc and MIDItouch. This allows 'bulk send' to be implemented. WARNING! In the main loop, just use send()
MIDIswitch default of MOMENTARY works now. use MIDIswitch(pin, CC)
2.4.3
2.4.2
2.4.1
2.4.0
2.3.4
2.3.3
2.3.2
2.3.1
2.3.0
2.2.5
2.2.0
2.1.5
2.1.3
2.1.2
2.1.0
2.0.6
2.0.5
2.0.4
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.