Module midifile :: Class MIDIEvent
[hide private]
[frames] | no frames]

Class MIDIEvent

source code

object --+
         |
        MIDIEvent

Instance Methods [hide private]
 
__init__(self, file, offset, last_cmd=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__get_int(self) source code
 
__get_bytes(self, len) source code
 
__get_var_len(self) source code
 
__get_meta_event(self) source code
 
__get_sysex_event(self, cmd) source code
 
__get_midi_event(self, cmd, last_cmd) source code
 
__get_type(self) source code
 
__get_time_delta(self) source code
 
__get_total_len(self) source code
 
__get_cmd(self) source code
 
__get_midi_channel(self) source code
 
__get_param_len(self) source code
 
__get_params(self) source code
 
__str__(self)
str(x)
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__

Class Variables [hide private]
  META_EVENT = 0
  SYSEX_EVENT = 1
  SYSEX1_EVENT = 2
  MIDI_EVENT = 3
  LAST_MIDI_EVENT = 4
  type_str = ('Meta', 'SYSEX', 'SYSEX cont', 'MIDI', 'Last MIDI')
Properties [hide private]
  type
  time_delta
  total_len
  cmd
  midi_channel
  param_len
  params

Inherited from object: __class__

Method Details [hide private]

__init__(self, file, offset, last_cmd=None)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

Property Details [hide private]

type

Get Method:
__get_type(self)

time_delta

Get Method:
__get_time_delta(self)

total_len

Get Method:
__get_total_len(self)

cmd

Get Method:
__get_cmd(self)

midi_channel

Get Method:
__get_midi_channel(self)

param_len

Get Method:
__get_param_len(self)

params

Get Method:
__get_params(self)