Microsoft DirectX 8.0 (Visual Basic)

DirectMusicPerformance8.SetMasterTempo

Sets a scaling factor that is applied to the tempo.

object.SetMasterTempo(tempo As Single)

Parts

object
Resolves to a DirectMusicPerformance8 object.
tempo
Desired master tempo, 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

By default, the master tempo is 1. A value of 0.5 would halve the tempo, and a value of 2.0 would double it.

See Also

DirectMusicPerformance8.GetMasterTempo