Contents
. 2. Midithing Objects
.. 2.5. Event
... 2.5.2. Meta Events  
Previous 2.5.2.1. Tempo
 
Next 2.5.2.3. Key

2.5.2.2. Meta (Time)

Meta (Time[, signature=(4, 4), tick=0, ticks_per_click=192, thirtyseconds_per_click=8, numerator=4, denominator=4, data='\004\002\300\010'])

creates a Time meta event.

This event specifies the time signature. It is looked for in the first part of a song by most programs including midithing.

Properties

status

Type: int
Default: 255

meta

Type: int
Default: 88

signature

Type: tuple
Default: (4, 4)

tick

Type: int
Default: 0

ticks_per_click

Type: int
Default: 192

How many midi ticks make one note as specified by the denominator.

thirtyseconds_per_click

Type: int
Default: 8

How many 32th notes make one note as specified by the denominator.

numerator

Type: int
Default: 4

The numerator of the time signature: 3 in 3/4 time.

denominator

Type: int
Default: 4

data

Type: string
Default: '\004\002\300\010'

Next is Key

midithing 0.3.22 documentation © Tim Goetze Nov. 06 2001