Microsoft DirectX 8.0 (Visual Basic)

DirectMusicPerformance8

Overall manager of music playback. The performance maps performance channels to audiopaths, plays segments, dispatches messages, requests and receives event notifications, and sets and retrieves music parameters. It also has several methods for getting information about timing and for converting time and music values from one system to another.

If an application wants to have two or more complete sets of music playing at the same time, it can do so by creating more than one performance object. Separate performances obey separate tempo maps and play completely asynchronously, whereas all segments within one performance play in lock step.

The DirectMusicPerformance8 object is obtained by using the DirectX8.DirectMusicPerformanceCreate method.

The methods of the DirectMusicPerformance8 class can be organized into the following groups.

Audiopaths CreateAudioPath
  CreateStandardAudioPath
  GetDefaultAudioPath
  SetDefaultAudioPath
Initialization and Cleanup InitAudio
  CloseDown
Messages SendCurvePMSG
  SendMIDIPMSG
  SendNotePMSG
  SendPatchPMSG
  SendTempoPMSG
  SendTimeSigPMSG
  SendTransposePMSG
Notification AddNotificationType
  GetNotificationPMSG
  RemoveNotificationType
  SetNotificationHandle
Parameters GetChordmap
  GetCommand
  GetGrooveLevel
  GetMasterAutoDownload
  GetMasterGrooveLevel
  GetMasterTempo
  GetMasterVolume
  GetStyle
  GetTempo
  GetTimeSig
  Reset
  SetMasterAutoDownload
  SetMasterGrooveLevel
  SetMasterTempo
  SetMasterVolume
Segments GetSegmentState
  IsPlaying
  PlaySegmentEx
  StopEx
Timing AdjustTime
  ClockToMusicTime
  GetBumperLength
  GetClockTime
  GetLatencyTime
  GetMusicTime
  GetPrepareTime
  GetQueueTime
  GetResolvedTime
  MusicToClockTime
  SetBumperLength
  SetPrepareTime
Miscellaneous Invalidate