home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2000 February
/
PCWorld_2000-02_cd.bin
/
Software
/
Servis
/
FFE
/
MOD.SWG
/
0021_S3I.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1996-09-04
|
4KB
|
87 lines
--------S-S3I-------------------------------
This is the Digiplayer/ST3.0 digital sample file format. The sample
files include information about the loop of the instrument. The AdLib
instruments have another format listed below.
OFFSET Count TYPE Description
0000h 1 byte ID=01h
0001h 12 char DOS filename
000Dh 1 byte reserved (0)
000Eh 1 word Paragraph offset of the raw sample data
from beginning of file.
0010h 1 dword Sample length in bytes
0014h 1 dword Start of sample loop
0018h 1 dword End of sample loop
001Ch 1 byte Playback volumne of sample
001Dh 1 byte ??? "DSK" what ever that means
001Eh 1 byte Pack type
0 - unpacked
1 - DP30ADPCM 1
001Fh 1 byte Flags (bitmapped)
0 - loop on/off
1 - stereo sample (length bytes for left channel,
then another length bytes for right channel!)
2 - 16-Bit samples (in Intel byte order)
0020h 1 dword C2 frequency
0024h 1 dword reserved
0028h 1 word reserved
002Ah 1 word ID=512
002Ch 1 dword ?? Date of last modification ?? (see table 0009)
0030h 28 char ASCIIZ Sample name
003Ch 4 char ID='SCRS'
0040h ? byte Raw sample data
Here follows the AdLib instrument format for which I don't know the
extension (yet) :
OFFSET Count TYPE Description
0000h 1 byte Instrument type
2 - melodic instrument
3 - bass drum
4 - snare drum
5 - tom tom
6 - cymbal
7 - hihat
0001h 12 char DOS file name
000Dh 3 byte reserved
0010h 1 byte Modulator description (bitmapped)
0-3 - frequency multiplier
4 - scale envelope
5 - sustain
6 - pitch vibrato
7 - volume vibrato
0011h 1 byte Carrier description (same as modulator)
0012h 1 byte Modulator miscellaneous (bitmapped)
0-5 - 63-volume
6 - MSB of levelscale
7 - LSB of levelscale
0013h 1 byte Carrier description (same as modulator)
0014h 1 byte Modulator attack / decay byte (bitmapped)
0-3 - Decay
4-7 - Attack
0015h 1 byte Carrier description (same as modulator)
0016h 1 byte Modulator sustain / release byte (bitmapped)
0-3 - Release count
4-7 - 15-Sustain
0017h 1 byte Carrier description (same as modulator)
0018h 1 byte Modulator wave select
0019h 1 byte Carrier wave select
001Ah 1 byte Modulator feedback byte (bitmapped)
0 - additive synthesis on/off
1-7 - modulation feedback
001Bh 1 byte reserved
001Ch 1 byte Instrument playback volume
001Dh 1 byte ??? "DSK"
001Eh 1 word reserved
0020h 1 dword C2 frequency
0024h 12 byte reserved
0030h 28 char ASCIIZ Instrument name
004Ch 4 char ID='SCRI'
EXTENSION:S3I,SMP
OCCURENCES:PC
PROGRAMS:ScreamTracker 3.0
SEE ALSO:MTM,S3M,STM