home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / pc / DirectX SDK / DXSDK / samples / Multimedia / DirectMusic / AudioScripts / readme.txt < prev    next >
Encoding:
Text File  |  2001-10-10  |  1.6 KB  |  42 lines

  1. //-----------------------------------------------------------------------------
  2. // 
  3. // Sample Name: AudioScripts Sample
  4. // 
  5. // Copyright (c) 1999-2001 Microsoft Corporation. All rights reserved.
  6. //
  7. // GM/GS« Sound Set Copyright ⌐1996, Roland Corporation U.S.
  8. // 
  9. //-----------------------------------------------------------------------------
  10.  
  11.  
  12.  
  13. Description
  14. ===========
  15.   The AudioScripts sample demonstrates how an application and a DirectMusic 
  16.   script work together. The script reads and writes to variables in the 
  17.   application, and the application calls routines in the script that 
  18.   play segments.
  19.  
  20.   The sample also demonstrates how waves can be played as variations 
  21.   in a segment.
  22.  
  23. Path
  24. ====
  25.   Source: DXSDK\Samples\Multimedia\DirectMusic\AudioScripts
  26.  
  27.   Executable: DXSDK\Samples\Multimedia\DirectMusic\Bin
  28.  
  29. User's Guide
  30. ============
  31.   Select ScriptDemoBasic.spt from the Script File list box. Play a segment 
  32.   by clicking Routine 1. Click Routine 2 to play an ending and stop playback. 
  33.   Play the segment again and click Routine 3 several times. Note how Variable 
  34.   1 reflects the number of times the button has been clicked, and how the 
  35.   music changes in response to each click.
  36.  
  37.   Select ScriptDemoBaseball.spt from the list box. Click Routine 1 to play 
  38.   various calls from a vendor. Click Routine 2 to play various musical motifs. 
  39.   Change the score by entering different values in the Variable1 and Variable2 
  40.   text boxes. Click Routine 3 to hear the score. If the score for either team 
  41.   exceeds 10, the crowd roars and then falls silent.
  42.