DirectX SDK |
An object of the DirectMusicStyle class provides the performance with the information that it needs to play musical patterns. Styles usually include bands and motifs, and can include chord maps, so the DirectMusicStyle object also provides methods for accessing these objects.
The object is generally obtained by using the DirectMusicLoader.LoadStyle or the DirectMusicLoader.LoadStyleFromResource method. It can also be obtained from the performance by using the DirectMusicPerformance.GetStyle method, provided the current control segment is based on a style.
The methods of the DirectMusicStyle class can be organized in the following groups:
Bands | GetBand |
GetBandCount | |
GetBandName | |
GetDefaultBand | |
Motifs | GetMotif |
GetMotifCount | |
GetMotifName | |
Time | GetTempo |
GetTimeSignature |