Events¶
This documentation covers the MIDI event objects supported by MIDISnake
-
class
NoteOn
(data: int) → None¶ MIDI NoteOn event
Notes
Subclasses the
midisnake.structure.Event
metaclass-
event_name
¶ str – Name of Event
-
indicator_byte
¶ int – Byte that indicates the MIDI Event type
-
note_number
¶ int – MIDI note number, between 0 and 127
-
note_name
¶ str – Musical note name, as returned by
get_note_name()
-
note_velocity
¶ int – Volume, between 0 and 127
-
channel_number
¶ int – MIDI Channel number
-
raw_data
¶ int – Initial data from MIDI file
-
-
class
NoteOff
(data: int) → None¶ MIDI NoteOff event
Notes
Subclasses the
midisnake.structure.Event
metaclass-
event_name
¶ str – Name of Event
-
indicator_byte
¶ int – Byte that indicates the MIDI Event type
-
note_number
¶ int – MIDI note number, between 0 and 127
-
note_name
¶ str – Musical note name, as returned by
get_note_name()
-
note_velocity
¶ int – Volume, between 0 and 127
-
channel_number
¶ int – MIDI Channel number
-
raw_data
¶ int – Initial data from MIDI file
-
-
class
PolyphonicAftertouch
(data: int) → None¶ MIDI PolyPhonic Aftertouch
Notes
Subclasses the
midisnake.structure.Event
metaclass-
event_name
¶ str – Name of Event
-
indicator_byte
¶ int – Byte that indicates the MIDI Event type
-
pressure
¶ int – Polyphonic Pressure, between 0 and 127
-
channel_number
¶ int – MIDI Channel number
-
raw_data
¶ int – Initial data from MIDI file
-
-
class
PitchBend
(data: int) → None¶ MIDI Pitch Bend
Notes
Subclasses the
midisnake.structure.Event
metaclass-
event_name
¶ str – Name of Event
-
indicator_byte
¶ int – Byte that indicates the MIDI Event type
-
channel_number
¶ int – MIDI Channel number
-
bend_amount
¶ int – Amount of bend to apply
-
raw_data
¶ int – Initial data from MIDI file
-