Microsoft DirectX 8.0 (C++) |
Used to describe a chord in the IDirectMusicPerformance8::MIDIToMusic and IDirectMusicPerformance8::MusicToMIDI methods.
typedef struct _DMUS_CHORD_KEY { WCHAR wszName[16]; WORD wMeasure; BYTE bBeat; BYTE bSubChordCount; DMUS_SUBCHORD SubChordList[DMUS_MAXSUBCHORD]; DWORD dwScale; BYTE bKey; BYTE bFlags; } DMUS_CHORD_KEY;
This structure is also defined as a DMUS_CHORD_PARAM structure for use in setting and retrieving the GUID_ChordParam track parameter.
If a chord is flagged as a silent chord, it is not taken into consideration when a pattern is selected to be played. For instance, if there is a chord change on beat 1 and the silent chord is on beat 3, a pattern with a whole measure chord rhythm can still be played.
Header: Declared in dmusici.h.
IDirectMusicPerformance8::GetParam, IDirectMusicPerformance8::SetParam, IDirectMusicSegment8::GetParam, IDirectMusicSegment8::SetParam, IDirectMusicTrack8::GetParamEx, IDirectMusicTrack8::SetParamEx, Performance Parameters