Trees | Indices | Help |
|
---|
|
object --+ | Event --+ | MetaEvent --+ | TimeSignatureEvent
Expressed as 4 numbers: <numerator> <denominator> <metronome> <thirtyseconds>.
<numerator> and <denominator> represent the parts of the signature as notated on sheet music. The denominator must be a power of 2: 2 = quarter note, 3 = eighth, etc.
<metronome> expresses the number of MIDI clocks in a metronome click.
<thirtyseconds> expresses the number of notated 32nd notes in a MIDI quarter note (24 MIDI clocks).
This event allows a program to relate what MIDI thinks of as a quarter, to something entirely different.
|
|||
Inherited from |
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|||
name =
|
|||
metacommand = 88
|
|||
order = 0 Sort order |
|||
numerator = 4 Top part of the time signature. |
|||
denominator = 4 Bottom part of the time signature (must be a power of 2). |
|||
metronome = 24 Number of MIDI clocks in a metronome click. |
|||
thirtyseconds = 8 Number of 32nd notes in 24 MIDI clocks. |
|||
Inherited from |
|
|||
|
|||
Inherited from |
|
str(x)
|
Takes the data that's been read into At the simplest, it could do nothing, just leaving the raw data in
|
Produces byte data to represent this event on the basis of instance variables. This is the data that will be written to a MIDI stream (not including the tick and status message).
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Nov 26 16:04:58 2012 | http://epydoc.sourceforge.net |