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.Noteobject from the event's midiNote number.- Source:
Returns:
- the
music21.note.Noteobject represented by Event.midiNote
- 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