Package midi :: Package sequencer_pygame :: Class Sequencer
[hide private]
[frames] | no frames]

Class Sequencer

source code

object --+
         |
        Sequencer

Midi sequencer that outputs midi to a temporary file and plays it using PyGame's interface to the SDL mixer.

Instance Methods [hide private]
 
__init__(self, stream=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
load_stream(self, stream)
Loads the whole of an EventStream.
source code
 
stop(self) source code
 
play(self, block=False) source code
 
pause(self) source code
 
unpause(self) source code
 
_cleanup(self)
Called once playback is finished
source code

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

Properties [hide private]
  music_loaded

Inherited from object: __class__

Method Details [hide private]

__init__(self, stream=None)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

load_stream(self, stream)

source code 

Loads the whole of an EventStream. Call play to start playback.


Property Details [hide private]

music_loaded

Get Method:
unreachable.music_loaded(self)