Trees | Index | Help |
|
---|
Package PMIDI :: Module Composer :: Class Sequencer |
|
object
--+
|
Sequencer
Method Summary | |
---|---|
__init__(self,
device)
| |
Close the open MIDI stream. | |
Song
|
Create a new song, store it, and return a reference. |
Pause a currently playing song. | |
Play a song. | |
Convert the currently held song into a sequence of MIDI commands. | |
Stop a currently playing song. | |
Pause a currently playing song. | |
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|
Instance Variable Summary | |
---|---|
list of integer | seq : Last sequenced song |
Song |
song : Current song |
integer | stream : MIDI stream handle (opaque) |
Method Details |
---|
Close(self)Close the open MIDI stream. Call this before destroying the object. |
NewSong(self)Create a new song, store it, and return a reference.
|
Pause(self)Pause a currently playing song. |
Play(self, song=None)Play a song.
|
Sequence(self)Convert the currently held song into a sequence of MIDI commands. |
Stop(self)Stop a currently playing song. |
Unpause(self)Pause a currently playing song. |
Instance Variable Details |
---|
seqLast sequenced song
|
songCurrent song
|
streamMIDI stream handle (opaque)
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Tue Feb 22 16:24:34 2005 | http://epydoc.sf.net |