DirectX SDK

IDirectMusicComposer

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

For an overview, see Music Composition.

The methods of the IDirectMusicComposer interface can be grouped as follows:

Changing chord maps ChangeChordMap
Composing ordinary segments ComposeSegmentFromShape
  ComposeSegmentFromTemplate
Composing template segments ComposeTemplateFromShape
Composing transition segments AutoTransition
  ComposeTransition

All COM interfaces inherit the IUnknown interface methods. This interface supports the following three methods:

IUnknown AddRef
  QueryInterface
Release

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in dmusici.h.