Microsoft DirectX 8.1 (Visual Basic)

DirectMusicPerformance8.GetMasterTempo

The GetMasterTempo method retrieves the master tempo.

object.GetMasterTempo() As Single

Parts

object

Resolves to a DirectMusicPerformance8 object.

Return Values

Returns a value in the range from 0.01 through 100.0.

Error Codes

If the method fails, it raises an error, and Err.Number is set. 

Remarks

The master tempo is a scaling factor that is applied to the tempo by the final output tool. By default it is 1. A value of 0.5 would halve the tempo, and a value of 2.0 would double it.

See Also