Platform SDK: DirectX

DirectMusicPerformance.GetMasterTempo

The DirectMusicPerformance.GetMasterTempo method retrieves the current master tempo.

object.GetMasterTempo() As Single

Parameters

object
Object expression that resolves to a DirectMusicPerformance object.

Return Values

If the method succeeds, it returns a value in the range from 0.25 through 2.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

DirectMusicPerformance.SetMasterTempo