Base class for all MIDI events.
|
|
|
|
|
|
|
|
|
|
|
encode(self,
last_tick=0,
running=False)
Produces an encoding of this event for writing to a MIDI stream. |
source code
|
|
|
decode(self,
tick,
statusmsg,
track,
runningstatus='
' )
Reads MIDI data from the track stream, from which the tick and status
message have already been read. |
source code
|
|
|
encode_delta_tick(self,
last_tick=0)
this function should be renamed "encode_delta_tick"; it
doesn't encode the tick value of the event. |
source code
|
|
|
decode_data(self)
Takes the data that's been read into data instance
variable and sets instance attributes from the values in it. |
source code
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|