Trees | Index | Help |
|
---|
Package PMIDI :: Module Composer :: Class Measure |
|
object
--+
|
Measure
Method Summary | |
---|---|
Initialize an instance. | |
Get rid of all the held notes. | |
Generate a new note object for a drumset and store it. | |
Create a new note in this measure and store it. | |
list of integer |
Generate a list of all the notes and their stop partners. |
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|
Instance Variable Summary | |
---|---|
integer | channel : Channel the notes in this measure will sound play on |
integer | measure_number : The position of this measure with respect to all other measures |
list of Note |
notes : All of the notes starting in this measure |
Method Details |
---|
__init__(self,
channel,
measure_number)
Initialize an instance.
|
ClearNotes(self)Get rid of all the held notes. |
NewHit(self, beat, duration, name)Generate a new note object for a drumset and store it.
|
NewNote(self, beat, duration, name, octave)Create a new note in this measure and store it.
|
Sequence(self)Generate a list of all the notes and their stop partners.
|
Instance Variable Details |
---|
channelChannel the notes in this measure will sound play on
|
measure_numberThe position of this measure with respect to all other measures
|
notesAll of the notes starting in this measure
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Tue Feb 22 16:24:34 2005 | http://epydoc.sf.net |