Package midi :: Class TrackNameEvent
[hide private]
[frames] | no frames]

Class TrackNameEvent

source code

object --+        
         |        
     Event --+    
             |    
     MetaEvent --+
                 |
                TrackNameEvent

Defines the name of a sequence when in a Type 0 or Type 2 MIDI file or in the first track of a Type 1 MIDI file. Defines a track name when it appears in any track after the first in a Type 1 MIDI file.

Nested Classes [hide private]

Inherited from Event: __metaclass__

Instance Methods [hide private]
 
__str__(self)
str(x)
source code

Inherited from MetaEvent: decode, encode

Inherited from Event: __cmp__, __init__, adjust_msdelay, copy, decode_data, encode_data, encode_delta_tick

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

Class Methods [hide private]

Inherited from MetaEvent: is_event, is_meta_event

Class Variables [hide private]
  name = 'Track Name'
  metacommand = 3
  order = 3
Sort order

Inherited from MetaEvent: allow_running, data, statusmsg

Inherited from Event: length

Instance Variables [hide private]

Inherited from Event: channel, msdelay, tick, track, type

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)