Class Track

Description

Represents a MIDI track

  • since: 1.0

Located in /Emit/Track.php (line 26)


	
			
Variable Summary
array $chunks
Method Summary
Track __construct ()
Track appendEvent (Event $event, [Delta $delta = null])
binary getData ()
Variables
array $chunks (line 31)
  • access: private
Methods
Constructor __construct (line 38)

Constructor

  • since: 1.0
  • access: public
Track __construct ()
appendEvent (line 52)

Appends an event to the track data

  • return: A reference to $this
  • since: 1.0
  • access: public
Track appendEvent (Event $event, [Delta $delta = null])
  • Event $event
  • Delta $delta: The delta to wait before firing the event; if not given a delta of zero is assumed
createTrackHeader (line 91)

Creates a track header chunk

TrackHeader createTrackHeader (int $size)
  • int $size: The length of the track in bytes
getData (line 72)

Gets the track data

binary getData ()

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