Platform SDK: DirectX

DMUS_TRANSPOSE_PMSG

The DMUS_TRANSPOSE_PMSG structure contains data for a message that controls a transposition.

typedef struct _DMUS_TRANSPOSE_PMSG {
    DMUS_PMSG_PART
    short nTranspose;
} DMUS_TRANSPOSE_PMSG;
DMUS_PMSG_PART
Macro for common message members. See DMUS_PMSG.
nTranspose
Number of semitones by which to transpose. This can be a negative value.

Remarks

If the transposition of a note puts it outside the standard MIDI range from 0 through 127, it does not play.

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.

See Also

IDirectMusicPerformance::SendPMsg