Platform SDK: DirectX

DirectMusicSegment

DirectMusicSegment クラスのオブジェクトは、1 曲の音楽または 1 つのテンプレートを表す。

セグメントは通常、DirectMusicLoader.LoadSegment DirectMusicLoader.LoadSegmentFromResource の各メソッドを呼び出すことによってロードされる。また、DirectMusicComposer オブジェクトのメソッドを使ってミュージック要素からアレンジしたり、DirectMusicSegment.Clone メソッドを使って既存のセグメントから作成したりすることもできる。

DirectMusicSegment オブジェクトのメソッドは、以下のグループにまとめることができる。

タイミングとループ GetLength
  GetLoopPointStart
GetLoopPointEnd
GetRepeats
GetStartPoint
SetLength
SetLoopPoints
SetRepeats
SetStartPoint
複製 Clone
音色 ConnectToCollection
  Download
Unload
パラメータ SetAutoDownloadEnable
  SetStandardMidiFile
SetTempoEnable
SetTimeSigEnable