Trees | Index | Help |
|
---|
Module Song :: Class MidiInfoReader |
|
MidiOutStream
--+
|
MidiInfoReader
Method Summary | |
---|---|
__init__(self)
| |
note_on(self,
channel,
note,
velocity)
| |
Inherited from MidiOutStream | |
Returns the absolute time | |
No values passed | |
channel: 0-15 note, velocity: 0-127 | |
The default event handler for channel messages | |
channel: 0-15 pressure: 0-127 | |
channel: 0-15 controller, value: 0-127 | |
Copyright notice text: string | |
text: string | |
n_track: number of track | |
End of file. | |
Returns the current track number | |
Set the new running status | |
format: type of midi file in [1,2] nTracks: number of tracks division: timing division | |
text: string | |
sf: is a byte specifying the number of flats (-ve) or sharps (+ve) that identifies the key signature (-7 = 7 flats, -1 = 1 flat, 0 = key of C, 1 = 1 sharp, etc). | |
text: string | |
text: string | |
Handles any undefined meta events | |
channel: midi channel for subsequent data (deprecated in the spec) | |
value: Midi port (deprecated in the spec) | |
msg_type: 0-7 values: 0-15 | |
channel: 0-15 note, velocity: 0-127 | |
channel: 0-15 patch: 0-127 | |
channel: 0-15 value: 0-16383 | |
Returns the relative time | |
Invalidates the running status | |
reset time to 0 | |
Sequence/track name text: string | |
value: 0-16383 | |
data: The data as byte values | |
Sets the current track number | |
Set the new running status | |
hour, minute, second: 3 bytes specifying the hour (0-23), minutes (0-59) and seconds (0-59), respectively. | |
No values passed | |
value: 0-16383 | |
songNumber: 0-127 | |
No values passed | |
No values passed | |
n_track: number of track | |
data: list of values in range(128) | |
No values passed | |
value: 0-2097151 tempo in us/quarternote (to calculate value from bpm: int(60,000,000.00 / BPM)) | |
Text event text: string | |
nn: Numerator of the signature as notated on sheet music dd: Denominator of the signature as notated on sheet music The denominator is a negative power of 2: 2 = quarter note, 3 = eighth, etc. | |
No values passed | |
No values passed | |
Updates the time, if relative is true, new_time is relative, else it's absolute. |
Class Variable Summary | |
---|---|
classobj |
Done = Song.Done |
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sat Apr 14 13:33:25 2007 | http://epydoc.sf.net |