Microsoft DirectX 8.0 (C++)

DMUS_CONNECTION_RULE

Not implemented in DirectX 8.0.

Used in the ConnectionArc member of the DMUS_MELODY_FRAGMENT to specify rules for allowing fragments to flow smoothly from one to another.

typedef struct _DMUS_CONNECTION_RULE {
    DWORD       dwFlags;
    DWORD       dwIntervals;
} DMUS_CONNECTION_RULE;

Members

dwFlags
Flags that specify the connection rules. Can contain zero or more of the following values.
DMUS_CONNECTIONF_INTERVALS
Use the intervals in dwIntervals between the last note of one variation and the first note of the next.
DMUS_CONNECTIONF_OVERLAP
If the two fragments overlap, the first note not played in the first fragment is the same as the first note in the second fragment.
dwIntervals
If DMUS_CONNECTIONF_INTERVALS is set, specifies a set of legal intervals between the last note played in the first fragment and the first note in the second fragment. Each of the lower 24 bits is an interval in a two-octave range.

Requirements

  Header: Declared in dmusici.h.