Microsoft DirectX 8.1 (Visual Basic)

Application-Created Messages

Most messages are generated by tracks, but applications can place messages in the queue directly. You might do this, for example, to change the tempo or to play a sound effect as a note on a DLS instrument.

The following methods send a performance message.

DirectMusicPerformance8.SendCurvePMSG Curve
DirectMusicPerformance8.SendNotePMSG Musical note
DirectMusicPerformance8.SendPatchPMSG Patch change
DirectMusicPerformance8.SendMIDIPMSG Miscellaneous MIDI events
DirectMusicPerformance8.SendTempoPMSG Tempo change
DirectMusicPerformance8.SendTimeSigPMSG Time signature change
DirectMusicPerformance8.SendTransposePMSG Transposition change

When a performance has multiple audiopaths, DirectMusic may not be able to route application-created messages correctly, because a new message contains no information about what audiopath it belongs to. In DirectX for Visual Basic, there is no way to direct an application-created message to a particular audiopath.