Microsoft DirectX 9.0

IDirectMusicStyle8 Interface

The IDirectMusicStyle8 interface represents a collection of patterns, motifs, and bands used in run-time composition of musical segments. For an overview, see Using Styles.

Style objects also support the IDirectMusicObject8 and IPersistStream interfaces for loading their data.

IDirectMusicStyle8 supersedes the IDirectMusicStyle interface and provides a new method, EnumPattern.

In addition to the methods inherited from IUnknown, the IDirectMusicStyle8 interface exposes the following methods, arranged by category.

Data retrieval

Method Description
GetBand Retrieves a band specified by name.
GetChordMap Retrieves a chordmap specified by name.
GetDefaultBand Retrieves the style's default band.
GetDefaultChordMap Retrieves the style's default chordmap.
GetEmbellishmentLength Finds the shortest and longest lengths for patterns of the specified embellishment type and groove level.
GetMotif Creates a segment containing a motif specified by name.
GetTempo Retrieves the recommended tempo of the style.
GetTimeSignature Retrieves the style's time signature.

Enumeration

Method Description
EnumBand Retrieves the name of the band with a specified index value.
EnumChordMap Retrieves the name of the chordmap with a specified index value.
EnumMotif Retrieves the name of a motif with a specified index value.
EnumPattern Retrieves the name of a pattern with a specified index value and type.

Requirements

  Header: Declared in dmusici.h.

See Also