Microsoft DirectX 8.1 (Visual Basic) |
The SetMasterTempo method 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