Microsoft DirectX 8.1 (Visual Basic) |
A template is a segment that can be used in composing a playable segment of music at run time. The template sets the length of the segment and any loop points. It can provide the command track, which controls changes in the
For a conceptual overview, see Templates.
A template is represented by a DirectMusicSegment8 object.
There are two ways to obtain a template object:
Once you have obtained a template segment object, you can pass it to the DirectMusicComposer8.ComposeSegmentFromTemplate method, along with pointers to a