Microsoft DirectX 8.0 (Visual Basic)

DirectMusicPerformance8

音楽再生の総合的なマネージャである。このオブジェクトは、パフォーマンス チャンネルのオーディオパスへのマッピング、セグメントの演奏、メッセージの送信、イベント通知の送受信、およびミュージック パラメータの設定と取得を行う。また、タイミングに関する情報の取得、およびシステム間でタイムとミュージック値を変換するためのメソッドも備えている。

アプリケーションが 2 つ以上の完全な音楽セットを同時に演奏したい場合、複数のパフォーマンス オブジェクトを作成することにより、そのような演奏が行える。個別のパフォーマンスは独立したテンポ マップに従うため、完全に非同期に演奏されるが、一方で 1 つのパフォーマンス内のすべてのセグメントは固定的なステップで演奏される。

DirectMusicPerformance8 オブジェクトは、DirectX8.DirectMusicPerformanceCreate メソッドを使って取得する。

DirectMusicPerformance8 クラスのメソッドは、以下のグループにまとめることができる。

オーディオパス CreateAudioPath
  CreateStandardAudioPath
GetDefaultAudioPath
SetDefaultAudioPath
初期化とクリーンアップ InitAudio
  CloseDown
メッセージ SendCurvePMSG
  SendMIDIPMSG
SendNotePMSG
SendPatchPMSG
SendTempoPMSG
SendTimeSigPMSG
SendTransposePMSG
通知 AddNotificationType
  GetNotificationPMSG
RemoveNotificationType
SetNotificationHandle
パラメータ GetChordmap
  GetCommand
GetGrooveLevel
GetMasterAutoDownload
GetMasterGrooveLevel
GetMasterTempo
GetMasterVolume
GetStyle
GetTempo
GetTimeSig
Reset
SetMasterAutoDownload
SetMasterGrooveLevel
SetMasterTempo
SetMasterVolume
セグメント GetSegmentState
  IsPlaying
PlaySegmentEx
StopEx
タイミング AdjustTime
  ClockToMusicTime
GetBumperLength
GetClockTime
GetLatencyTime
GetMusicTime
GetPrepareTime
GetQueueTime
GetResolvedTime
MusicToClockTime
SetBumperLength
SetPrepareTime
その他 Invalidate