Microsoft DirectX 8.1 (Visual Basic) |
The DirectMusicComposer8.ChangeChordMap method modifies the chords and scale pattern of an existing segment to reflect a new
object.ChangeChordMap(segment As DirectMusicSegment8, _
trackScale As Boolean, _
chordmap As DirectMusicChordMap8)
Parts
object
Resolves to a DirectMusicComposer8 object.
segment
DirectMusicSegment8 object that specifies the segment in which to change the chordmap.
trackScale
Value of type Boolean that specifies scale tracking. If True, the method transposes all the chords to be relative to the root of the new chordmap's scale. If False, roots are left as they were.
chordmap
DirectMusicChordMap8 object that specifies the new chordmap for the segment.
Error Codes
If the method fails, it raises an error, and Err.Number is set.
Remarks
The method can be called while the segment is playing.