Besides the sound itself a collection, an instrument, a region and a wave can carry
text (INFO) and an identifier (dlid). Sections 2.5, 2.15, 2.18
and 3.5 of Downloadable Sounds Level 2.2.
INFO lists
An INFO list is a LIST of type INFO, the
registered global RIFF form for text that identifies the contents. It does not change
how a program reads the file. It can be in the form, an ins list, a region
and a wave list. Each chunk holds one zero-terminated string; a program
should ignore any chunk it does not understand, and the chunks below may appear only in
an INFO list.
LIST( 'INFO'
INAM("Distorted Tuba"Z)
ICMT("The tuba meets Eddie Van Halen"Z) )
| ID | Name | Holds |
|---|---|---|
IARL | Archival location | where the subject of the file is archived |
IART | Artist | the artist of the original subject of the file |
ICMS | Commissioned | the person or organisation that commissioned the subject |
ICMT | Comments | general comments; end each sentence with a period and use no newline characters |
ICOP | Copyright | copyright information; separate several copyrights with a semicolon and a space |
ICRD | Creation date | the date the subject was created, as year-month-day with zeros padding months and days: 1553-05-03 |
IENG | Engineer | the engineer who worked on the file; several are separated by a semicolon and a space |
IGNR | Genre | the genre of the original work |
IKEY | Keywords | keywords separated by a semicolon and a space |
IMED | Medium | the original subject of the file: record, CD and so on |
INAM | Name | the title of the subject |
IPRD | Product | the title the file was originally intended for |
ISBJ | Subject | the contents of the file |
ISFT | Software | the software package used to create the file |
ISRC | Source | the person or organisation that supplied the original subject |
ISRF | Source form | the original form of the digitised material; not necessarily the same as IMED |
ITCH | Technician | the technician who sampled the subject file |
The explorer shows the text of every INFO list in the Info tab, with the name of
the instrument or wave it belongs to, and reports a string with no terminating zero.
dlid: the DLSID
The dlid chunk gives a complete DLS form, an instrument or a wave a globally
unique identifier. A DLSID is the same as an OSF/DCE UUID (a Microsoft GUID, CLSID or
IID).
| Offset | Size | Type | Name | Description |
|---|---|---|---|---|
| 0 | 4 | u32 | ulData1 | the first group of the written form (8 hexadecimal digits) |
| 4 | 2 | u16 | usData2 | the second group (4 digits) |
| 6 | 2 | u16 | usData3 | the third group (4 digits) |
| 8 | 8 | u8[8] | abData4 | elements 0 and 1 are the fourth group (4 digits), elements 2 to 7 the fifth (12 digits) |
The written form is 8-4-4-4-12 hexadecimal digits. The specification’s example is
60DF3430-0266-11cf-BAA6-00AA003E0EED, the C declaration
{ 0x60df3430, 0x0266, 0x11cf, { 0xba, 0xa6, 0x00, 0xaa, 0x00, 0x3e, 0x0e, 0xed } }
and the bytes 30 34 DF 60 66 02 CF 11 BA A6 00 AA 00 3E 0E ED (the first
three fields little-endian). The Level 2.2 text prints the second pair of bytes as
66 22, which does not match its own 0x0266; the Level 1 text has
the same line, and the explorer reads 0x0266 as little-endian
66 02.
The DLSID must be generated by computer with the DCE UUID algorithm, never by hand. It
names one particular resource: if the collection, an instrument or a wave is changed in
any way, including its INFO text, the resource needs a new DLSID, and so does
the collection that holds it. Their uses: detecting resources used more than once and
sharing one copy, finding out whether a remote resource is already present, searching and
building special collections, recovering “orphan” resources of a faulty program, and
naming a device’s capabilities for conditional chunks. The rules of section 3.5:
- DLSID support is optional. A program without it must skip
dlidchunks and, if it changes a file, remove the one in the form and any in the parts it changed. - Copying an instrument or wave between collections keeps its DLSID; the target collection gets a new one.
- Importing a raw WAV file into a collection generates a DLSID for the wave and replaces any the file had; exporting a wave removes it.
- If
versanddlidare both used, changing the version means changing all associated DLSIDs. - A
dlidchunk is best the first in its list, but that is not to be assumed.
The DLSIDs the specification defines for conditional chunk queries are named in the Info tab and the DLSID column when a file carries one.
Proprietary chunks
Manufacturers can put data for their own devices in a file, either behind a
conditional chunk or in a chunk with a proprietary ID, which the MMA assigns. An ID is
four alphanumeric characters (A to Z and 0 to 9): the first three are assigned by the
MMA, the fourth is the manufacturer’s own, for a product or product group (36
possibilities). The specification’s examples are MMAX (effects for a whole
collection) and MMA1 and MMA2 (articulation for each instrument
or region, according to where the chunk sits). A chunk of a kind the reader does not know
is skipped, and shown by the explorer as bytes with its ID.
Chunks seen that no specification describes
These are in real files and not in the DLS documents. The explorer shows each as bytes and says what is known:
| Chunk | Where | What is known |
|---|---|---|
msyn | in the form | A 4-byte proprietary chunk in the DirectX 7 SDK file shell.dls, after vers; the VGMPF wiki reports it in Microsoft’s gm.dls only. No specification has been found for it. |
wavu | in a wave | A 2-byte chunk at the start of each wave of boids.dls and W2P.DLS (the data was 01 00 in the DirectX file). No description has been found. |
PAD | in a wave | A chunk of 60 zero bytes in W2P.DLS, padding. |
Appl | in a wave | Application data of 3,484 bytes in W2P.DLS, beginning YHW0WFrm. Not documented. |
path | (none seen) | FOURCC_PATH is defined in the Level 1 dls.h and the layout comment there shows “[path]” beside the pool table, with no structure given. |
What was searched for their meaning: the chunk handling of Wine’s dmusic, libInstPatch’s
DLS reader, and the DLS reader inside Apple’s CoreAudio (disassembled: it compares chunk IDs with
wsmp, wlnk and the other DLS chunks, and with none of these four); and the
Windows 2000 SP4 files dmusic.dll, dmsynth.dll, dmband.dll,
synth.sys, synth.dll and gm.dls: none of the programs mentions the
chunk IDs msyn, wavu, Appl or path (the string
msyn in dmsynth.dll is part of its own name, dmsynth.dll). The
gm.dls of Windows 2000 has an msyn chunk right after vers, 4 bytes,
the value 1. So every reader found here skips them; what they were written for stays unknown.