Microsoft DirectX 8.1 (Visual Basic)

Disabling and Enabling Track Parameters

By using the DirectMusicSegment8.SetTempoEnable and DirectMusicSegment8.SetTimeSigEnable methods, you can disable the setting of tempo and time signature by a control segment. You might want to do this, for example, when you have set the tempo dynamically and don't want the primary segment to change the tempo.

You can also use SetTempoEnable to force a segment to send tempo messages even though it isn't the control segment, and SetTimeSigEnable to cause a secondary segment to send time signature messages. For more information, see Control Segments.