Contents
. 2. Midithing Objects
.. 2.5. Event
... 2.5.2. Meta Events  
 
 
Next 2.5.2.2. Time

2.5.2.1. Meta (Tempo)

Meta (Tempo[, bpm=120.0, tick=0, usec_per_quarter=500000, data='\007\241 '])

creates a Tempo meta event.

This event causes the sequencer to change the tempo. Place tempo events in the first part of a song.

The tempo is stored as microseconds per quarter note with a resolution of 24 bits.

For convenience, there is a bpm attribute of type float, too.

Properties

status

Type: int
Default: 255

meta

Type: int
Default: 81

bpm

Type: float
Default: 120.0

Beats per minute.

tick

Type: int
Default: 0

usec_per_quarter

Type: int
Default: 500000

How many microseconds one quarter note lasts.

data

Type: string
Default: '\007\241 '

Next is Time

midithing 0.3.22 documentation © Tim Goetze Nov. 06 2001