| Platform SDK: DirectX |
The DirectMusicComposer.ComposeSegmentFromShape method creates an original segment from a style and a chord map, based on a predefined shape. The shape represents the way chords and embellishments occur over time across the segment.
object.ComposeSegmentFromShape(style As DirectMusicStyle, _
numberOfMeasures As Integer, _
shape As Integer, _
activity As Integer, _
bIntro As Boolean, _
bEnd As Boolean, _
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 is set.
DirectMusicComposer.ComposeSegmentFromTemplate, DirectMusicComposer.ComposeTemplateFromShape