Contents
. 2. Midithing Objects
.. 2.5. Event  
Previous 2.5.1. MIDI Events
 
Next 2.5.2.1. Tempo

2.5.2. Meta Events

Meta events are never sent to a device; they are used by sequencer software. Currently, the midithing sequencer uses the Time and Tempo types; the parts use the PortPrefix and ChannelPrefix as well as the SequenceName type to store its port, channel and name.

Meta events that are global in effect, such as Time, Tempo, CuePoint and Marker, should be kept in the first part of a song.

All meta events have a data member through which you can access the event data as a string. Some meta events have fixed-length data because they carry well-defined information, some are just snippets of text. When you modify a fixed-length data chunk, midithing will enforce the correct length of data, but not its validity.

To make a meta event, you need to call Event at least with two parameters, like this: Event (Meta, Time). All other parameters can be specified as keywords; the order of evaluation is the order in which they are listed on the event description page.

Tempo
Time
Key
SMPTE
ChannelPrefix
PortPrefix
Text
CuePoint
Marker
SequenceNumber
Copyleft
SequenceName
Instrument
Lyric
EOT
MetaMeta

midithing 0.3.22 documentation © Tim Goetze Nov. 06 2001