diff --git a/libraries/midi/src/Midi.cpp b/libraries/midi/src/Midi.cpp index 97075b82c9..7f75b3bfb9 100644 --- a/libraries/midi/src/Midi.cpp +++ b/libraries/midi/src/Midi.cpp @@ -266,7 +266,7 @@ void Midi::MidiCleanup() { *

Warning: The status property is NOT a MIDI status value.

* @typedef {object} Midi.MidiMessage * @property {number} device - Device number. - * @property {Midi.RawMidiMessage} raw - Raw MIDI messag. + * @property {Midi.RawMidiMessage} raw - Raw MIDI message. * @property {number} status - Channel + status. Legacy value. * @property {number} channel - Channel: 116. * @property {number} type - Status: {@link Midi.MidiStatus}; 815. diff --git a/libraries/midi/src/Midi.h b/libraries/midi/src/Midi.h index 3130379c49..dd2b5fd678 100644 --- a/libraries/midi/src/Midi.h +++ b/libraries/midi/src/Midi.h @@ -143,7 +143,7 @@ public slots: * Unblocks a MIDI device's input or output. * @function Midi.unblockMidiDevice * @param {string} name- The name of the MIDI device to unblock. - * @param {boolean} output - true to block the device's output, false to block its input. + * @param {boolean} output - true to unblock the device's output, false to unblock its input. */ Q_INVOKABLE void unblockMidiDevice(QString name, bool output); @@ -175,28 +175,28 @@ public slots: Q_INVOKABLE void typeNoteOffEnable(bool enable); /**jsdoc - * Enables or disabled note on events. + * Enables or disables note on events. * @function Midi.typeNoteOnEnable * @param {boolean} enable - true to enable, false to disable. */ Q_INVOKABLE void typeNoteOnEnable(bool enable); /**jsdoc - * Enables or disabled ply key pressure events. + * Enables or disables poly key pressure events. * @function Midi.typePolyKeyPressureEnable * @param {boolean} enable - true to enable, false to disable. */ Q_INVOKABLE void typePolyKeyPressureEnable(bool enable); /**jsdoc - * Enables or disabled control change events. + * Enables or disables control change events. * @function Midi.typeControlChangeEnable * @param {boolean} enable - true to enable, false to disable. */ Q_INVOKABLE void typeControlChangeEnable(bool enable); /**jsdoc - * Enables or disabled program change events. + * Enables or disables program change events. * @function Midi.typeProgramChangeEnable * @param {boolean} enable - true to enable, false to disable. */ @@ -210,7 +210,7 @@ public slots: Q_INVOKABLE void typeChanPressureEnable(bool enable); /**jsdoc - * Enables or disabled pitch bend events. + * Enables or disables pitch bend events. * @function Midi.typePitchBendEnable * @param {boolean} enable - true to enable, false to disable. */