| Platform SDK: DirectX | 
The DirectMusicComposer.ComposeTransition method composes a transition from a measure inside one segment to another.
object.ComposeTransition(fromSeg As DirectMusicSegment, _
    toSeg As DirectMusicSegment, _
    mtTime As Long, _
    lCommand As Long, _
    lFlags As Long, _
    chordmap As DirectMusicChordMap) _
    As DirectMusicSegment 
If the method succeeds, it returns a DirectMusicSegment object.
If the method fails, it raises an error, and Err.Number can be set to one of the following values:
| DMUS_E_INVALIDARG | 
| DMUS_E_OUTOFMEMORY | 
The value in chordmap can be Nothing. If so, an attempt is made to obtain a chord map from a chord-map track, first from toSeg, and then from fromSeg. If neither of these segments contains a chord-map track, the chord occurring at mtTime in fromSeg is used as the chord in the transition.
The composer looks for a tempo, first in fromSeg, and then in toSeg. If neither of those segments contains a tempo track, the tempo for the transition segment is taken from the style.