Class MetaEventType

Description

Collection of constants representing the different meta event types

  • since: 1.0

Located in /Event/MetaEventType.php (line 22)


	
			
Class Constant Summary
 CUE_POINT = 0x07
 DEVICE_NAME = 0x09
 END_OF_TRACK = 0x2F
 KEY_SIGNATURE = 0x59
 LYRICS = 0x05
 MARKER = 0x06
 SET_TEMPO = 0x51
 SMPTE_OFFSET = 0x54
 TEXT_EVENT = 0x01
 TRACK_NAME = 0x03
 UNKNOWN = -1
Variable Summary
static mixed $eventNameMap
Method Summary
static string getEventTypeName (int $eventType)
Variables
static mixed $eventNameMap = array(
0x00 => 'Sequence Number',
0x01 => 'Text Event',
0x02 => 'Copyright Notice',
0x03 => 'Track Name',
0x04 => 'Instrument Name',
0x05 => 'Lyrics',
0x06 => 'Marker',
0x07 => 'Cue Point',
0x20 => 'Channel Prefix',
0x2F => 'End of Track',
0x51 => 'Set Tempo',
0x54 => 'SMTPE Offset',
0x58 => 'Time Signature',
0x59 => 'Key Signature',
0x7F => 'Sequencer Specific'
)
(line 124)
  • access: private
Methods
static method getEventTypeName (line 152)

Gets the name of the event type

static string getEventTypeName (int $eventType)
  • int $eventType
Class Constants
CHANNEL_PREFIX = 0x20 (line 90)
COPYRIGHT_NOTICE = 0x02 (line 41)

Adds a copyright notice to a track; should be in the first track chunk

CUE_POINT = 0x07 (line 71)
DEVICE_NAME = 0x09 (line 77)
END_OF_TRACK = 0x2F (line 84)

Signifies the end of the track; should always be the last event of each track

INSTRUMENT_NAME = 0x04 (line 53)
KEY_SIGNATURE = 0x59 (line 114)

Sets the key signature

LYRICS = 0x05 (line 59)
MARKER = 0x06 (line 65)
SEQUENCER_SPECIFIC = 0x7F (line 120)

Sequencer specific events

SEQUENCE_NUMBER = 0x00 (line 28)
SET_TEMPO = 0x51 (line 96)

Sets the tempo

SMPTE_OFFSET = 0x54 (line 102)
TEXT_EVENT = 0x01 (line 34)

Adds generic text content to a track

TIME_SIGNATURE = 0x58 (line 108)

Sets the time signature

TRACK_NAME = 0x03 (line 47)

Name of the track

UNKNOWN = -1 (line 122)

Documentation generated on Sun, 25 Oct 2009 22:38:18 -0700 by phpDocumentor 1.4.3