Microsoft DirectX 8.1 (C++) |
A style is a collection of musical
A pattern is a musical figure, one or more measures long, consisting of a basic sequence of notes for each instrument, or part. These notes are not fixed but are ultimately mapped to particular pitches according to the current key, chord, and play mode. Patterns also include variations.
A motif is a special type of pattern designed to be played dynamically over the basic score. Motifs are often used in interactive applications to mark an event.
In DirectMusic Producer, patterns are created by the author on a grid analogous to a piano roll. Each part has its own row, corresponding to a
The author can create many variations for each pattern. Typically, this is done by copying the pattern and then making small changes to one or more parts. At run time, variations are chosen by the style playback mechanism. However, the author can disable any variation for any chord—that is, specify that the variation must never be chosen when a certain chord is being played.
The author also assigns a groove range to the pattern, specifying the
The pattern can also be designated as an embellishment. Embellishments are of five types—intro, fill, break, end, and custom—and a pattern can be assigned to one or more of these categories. When the music is played and a certain type of embellishment is called for, only patterns of that type are candidates for playback.