Class SetTempoEvent

Description

Represents the set tempo meta event

  • since: 1.0

Located in /Event/SetTempoEvent.php (line 21)

MetaEvent
   |
   --SetTempoEvent
Method Summary
static int getBpmFromMpqn (int $mpqn)
SetTempoEvent __construct (int $mpqn)
int getSubtype ()
Variables

Inherited Variables

Inherited from MetaEvent

MetaEvent::$data
MetaEvent::$length
Methods
static method getBpmFromMpqn (line 54)

Calculates the beats per minute give the number of microseconds per quarter note

static int getBpmFromMpqn (int $mpqn)
  • int $mpqn: The number of microseconds per quarter note
Constructor __construct (line 30)

Constructor

  • since: 1.0
  • access: public
SetTempoEvent __construct (int $mpqn)
  • int $mpqn: Microseconds per quarter note

Redefinition of:
MetaEvent::__construct()
Constructor
getParamDescription (line 40)
string getParamDescription ()
getSubtype (line 64)
int getSubtype ()

Redefinition of:
MetaEvent::getSubtype()
Gets the meta event subtype for this event

Inherited Methods

Inherited From MetaEvent

MetaEvent::__construct()
MetaEvent::getData()
MetaEvent::getLength()
MetaEvent::getSubtype()
MetaEvent::getType()
MetaEvent::toBinary()
MetaEvent::__toString()

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