Sound and music
From files to the game · Sound effects · AdLib music and sounds (ADL) · PC speaker and Tandy sounds (SND)
In brief
The game has ten sound names, each stored twice: an .ADL file for the AdLib
card and a .SND file for the PC speaker or the Tandy sound chip, chosen by the
sound driver of EOSPREFS.DAT. One file is
loaded at a time. Seven names serve the levels and three the sequences. Music
exists only in the .ADL files: the .SND files hold short sound effects.
A file is a library of numbered programs with a table that turns the game's 120 sound numbers into programs. This page says what plays each file and lists what it holds; the pages of the ADL and SND formats say how the original files use their programs. Which event plays which number is on the sound effects page.
What plays each file
| Name | Loaded for |
|---|---|
CATACOMB | Levels 1, 2 and 3. |
FOREST | Level 4. |
MEZANINE | Levels 5 and 6. |
SILVER | Levels 7, 8 and 9. |
AZURE | Levels 10 to 14. |
CRIMSON1 | Level 15. |
CRIMSON2 | Level 16. |
INTRO | The program start, the introduction and party creation. |
FINALE1 | The story of the ending. |
FINALE2 | The credits and the last picture of the ending. |
Each level names its file in its INF records. Both records of a level with two name the same file.
Party creation
Party creation has no file of its own: the program loads INTRO when it starts
and the introduction loads it again, and no other file is loaded before a level.
The creation screen plays sound 13 when it opens and sound 15 when the party is
complete.1 In INTRO.ADL, sound 13 is a tune of eight voices lasting
69.3 seconds, and sound 15 is a fade. In INTRO.SND, both are 0, so party
creation has no music with the speaker or the Tandy chip. Sound 76, which the
creation screens play for their buttons, has no entry in INTRO.ADL, and is 0
in INTRO.SND: it plays nothing with any driver.
AdLib files
| File | Bytes | Program numbers | Different programs | Instruments | Sound numbers in use | Tunes | Sound effects | Sound numbers that start a tune |
|---|---|---|---|---|---|---|---|---|
AZURE.ADL | 10,543 | 211 | 203 | 133 | 113 | 16 | 95 | 22, 52–63, 84, 91, 111 |
CATACOMB.ADL | 8,358 | 180 | 179 | 128 | 113 | 12 | 99 | 22, 52–59, 84, 91, 111 |
CRIMSON1.ADL | 7,863 | 198 | 151 | 137 | 99 | 9 | 88 | 22, 58–62, 84, 91, 111 |
CRIMSON2.ADL | 9,288 | 198 | 169 | 131 | 103 | 10 | 91 | 22, 52–56, 58, 84, 91, 111 |
FOREST.ADL | 6,997 | 151 | 150 | 109 | 97 | 9 | 86 | 22, 52–56, 84, 91, 111 |
MEZANINE.ADL | 8,070 | 180 | 179 | 114 | 104 | 13 | 89 | 22, 52–58, 60, 61, 84, 91, 111 |
SILVER.ADL | 10,381 | 194 | 193 | 130 | 109 | 15 | 92 | 22, 52–62, 84, 91, 111 |
INTRO.ADL | 7,849 | 33 | 33 | 45 | 16 | 2 | 12 | 12, 13 |
FINALE1.ADL | 8,402 | 26 | 26 | 26 | 11 | 1 | 9 | 1 |
FINALE2.ADL | 13,349 | 11 | 11 | 20 | 3 | 1 | 0 | 1 |
Program numbers are those present in the file, from 0 without gaps;
different programs counts their distinct positions, since several numbers may
share one program. Instruments counts the instrument entries present. Sound
numbers in use counts the entries of the sound-effect table other than 255,
which plays nothing. They divide into the tunes, the sound effects, sound 0,
which silences every voice, and one fade in all files but FINALE1.ADL: sound 2
in the level files and FINALE2.ADL, sound 15 in INTRO.ADL.
Speaker and Tandy files
| File | Bytes | Programs | Sound numbers that start a program | Different programs they start |
|---|---|---|---|---|
AZURE.SND | 5,190 | 68 | 107 | 52 |
CATACOMB.SND | 5,190 | 68 | 103 | 54 |
CRIMSON1.SND | 5,190 | 68 | 102 | 52 |
CRIMSON2.SND | 5,190 | 68 | 97 | 54 |
FOREST.SND | 5,190 | 68 | 94 | 51 |
MEZANINE.SND | 5,190 | 68 | 99 | 51 |
SILVER.SND | 5,190 | 68 | 102 | 53 |
INTRO.SND | 1,529 | 8 | 10 | 7 |
FINALE1.SND | 2,115 | 7 | 6 | 6 |
FINALE2.SND | 1,529 | 8 | 0 | 0 |
An entry of 0 starts program 0, which ends at once and only stops the sound in progress, so it is not counted here. No file holds the value 255.
Sources
Every program of the 20 files of the file inventory was decoded with the schemas ADL.ksy and SND.ksy. The file names are read from the INF files and from load the sound file. See also the sound-effect table.