This is migration guide explaining breaking changes between versions:
- MIDIValInput.onPitchBend now sends information about channel. To do that the signature of the callback changed from Callback<[number]> to Callback<[PitchBend]> where PitchBend is an interface containing channel and value fields.
onAll*
methods do not have separate key extracted as a first argument. Instead they comply with other callbacks (first parameter is alwaysMidiMessage
or derived interface)onAllControlChange
andonControlChange
now expose it's parameters in better form: In addition toMidiMessage
interface they now includecontrol
andvalue
.onAllProgramChange
andonProgramChange
now expose it's parameters in better form: In addition toMidiMessage
interface they now includeprogram
andvalue
.onAllNoteOn
,onAllNoteOff
,onNoteOn
andonNoteOff
and now expose it's parameters in better form: In addition toMidiMessage
interface they now includenote
andvelocity
.