IDirectMusicComposer8 Interface

The IDirectMusicComposer8 interface enables access to the composition engine. In addition to building new segments from templates and chordmaps , the composer can generate transitions between different segments. It can also apply a chordmap to an existing segment, thus altering the chord progression and the mood of the music.

IDirectMusicComposer8 is a define for IDirectMusicComposer. The two interface names are interchangeable.

In addition to the methods inherited from IUnknown, the IDirectMusicComposer8 interface exposes the following methods.

Method Description
AutoTransition Composes a transition from inside a performance's primary segment (or from silence) to another segment, and then cues the transition and the second segment to play.
ChangeChordMap Modifies the chords and scale pattern of an existing segment to reflect a new chordmap.
ComposeSegmentFromShape Creates an original segment from a style and a chordmap, based on a predefined shape.
ComposeSegmentFromTemplate Creates an original segment from a style, a chordmap, and a template.
ComposeTemplateFromShape Creates a new template segment, based on a predefined shape.
ComposeTransition Composes a transition from a measure inside one segment to another.

Requirements

**  Header:** Dmusici.h
  Library: Dmcompos.dll, Dmcompod.dll

See Also

© 2004 Microsoft Corporation. All rights reserved.