Platform SDK: DirectX

PlayMotif Sample

[Visual Basic]

This topic pertains only to application development in C and C++. See DirectMusic Visual Basic Samples.

[C++]

Description

This sample application shows how motifs can be played over a primary segment.

Path

Source: (SDK root)\Samples\Multimedia\Dmusic\Src\PlayMotf

Executable: (SDK root)\Samples\Multimedia\DMusic\Bin

User's Guide

Click the buttons to play the various secondary segments (motifs) on top of the main playing primary segment. Click Close to exit the application.

Programming Notes

The program uses the registry key set up by the DirectX SDK setup to find the media file path.