Class TrackHeader

Description

Implements interfaces:

Represents a MIDI track header

  • since: 1.0

Located in /TrackHeader.php (line 19)


	
			
Class Constant Summary
 LENGTH = 8
Variable Summary
int $size
Method Summary
TrackHeader __construct (int $size)
array getData ()
int getLength ()
int getSize ()
binary toBinary ()
string __toString ()
Variables
int $size (line 24)
  • access: protected
Methods
Constructor __construct (line 40)

Constructor

  • since: 1.0
  • access: public
TrackHeader __construct (int $size)
  • int $size: The size of the track in bytes
getData (line 70)
array getData ()

Implementation of:
Chunk::getData()
Gets the data associated with this chunk
getLength (line 61)
  • since: 1.0
  • access: public
int getLength ()

Implementation of:
Chunk::getLength()
Gets the length of this chunk in bytes
getSize (line 52)

Gets the size of the track in bytes

int getSize ()
toBinary (line 80)
binary toBinary ()

Implementation of:
Chunk::toBinary()
Gets the binary representation of this chunk
__toString (line 94)
  • since: 1.0
  • access: public
string __toString ()

Implementation of:
Chunk::__toString()
Gets the string representation of this chunk
Class Constants
LENGTH = 8 (line 31)

The length of a MIDI track header in bytes

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