Class: Event

music21.miditools. Event

new Event(t, a, b, c)

Parameters:
Name Type Description
t number

timing information

a number

midi data 1 (N.B. a >> 4 = midiCommand )

b number

midi data 2

c number

midi data 3

Source:

Methods

<static> Event#music21Note() → {music21.note.Note}

Makes a music21.note.Note object from the event's midiNote number.

Source:
Returns:
Type
music21.note.Note

<static> Event#sendToMIDIjs() → {undefined}

Calls MIDI.noteOn or MIDI.noteOff for the note
represented by the Event (if appropriate)

Source:
Returns:
Type
undefined
Music21j, Copyright © 2013-2018 Michael Scott Cuthbert and cuthbertLab.
Documentation generated by JSDoc 3.5.5 on Wed Jul 4th 2018 using the DocStrap template.