Band Form

DirectMusic

Microsoft DirectX 9.0 SDK Update (Summer 2004)

Band Form

The following notation shows the format of the top-level chunk, or form, of a band file. Band forms can also be contained in other chunks.

RIFF( 'DMBD'
  [<guid-ck>]   // GUID for band
  [<vers-ck>]   // Optional version information
  [<UNFO-list>] // Name, author, copyright information, comments
  <lbil-list>   // Instruments
  )

<guid-ck>, <vers-ck>, <UNFO-list>

For information on these three chunks, see Common Chunks.

<lbil-list>

The data is contained in an array of lists.

<lbil-list> -> LIST( 'lbil'
  <lbin-list>...
  )

Each instrument is described in a list that has the following format:

<lbin-list> -> LIST( 'lbin'
  <bins-ck>
  [<DMRF-list>] 
  )

Within the instrument list, the following chunk contains a header describing the instrument:

<bins-ck> -> bins( <DMUS_IO_INSTRUMENT> )

The instrument list can also contain <DMRF-list>, which in this case is a reference to a DLS file. See Reference List.


© 2004 Microsoft Corporation. All rights reserved.