DirectX SDK |
This topic pertains only to application development in Visual Basic. See DirectMusic C/C++ Samples.
The ClubMet sample application demonstrates how DirectMusic can respond to input events.
Source: (SDK root)\Samples\Multimedia\VBSamples\Dmusic\Src\ClubMet
Executable: (SDK root)\Samples\Multimedia\VBSamples\DMusic\Bin\ClubMet.exe
Click on the days of the week and the buttons. Note how the style changes according to the day selected, and how motifs are played in response to button clicks.
The sample shows how segments and transitions can be created from styles by DirectMusicComposer.