Documente Academic
Documente Profesional
Documente Cultură
-----------------------------------------------------------------------------
What is the S3M file format?
What is the samplefile format?
What is the adlib instrument format?
The first table describes the S3M header. All other blocks are
pointer to by pointers, so in theory they could be anywhere in
the file. However, the practical standard order is:
- header
- instruments in order
- patterns in order
- samples in order
Order list lists the order in which to play the patterns. 255=--
is the end of tune mark and 254=++ is just a marker that is
skipped.
Digiplayer/ST3 samplefileformat
0 1 2 3 4 5 6 7 8 9 A B C D E F
���������������������������������������������������������������Ŀ
0000: �[T]� Dos filename (12345678.ABC) � MemSeg �
���������������������������������������������������������������Ĵ
0010: �Length �HI:leng�LoopBeg�HI:LBeg�LoopEnd�HI:Lend�Vol� x �[P]�[F]�
���������������������������������������������������������������Ĵ
0020: �C2Spd �HI:C2sp� x � x � x � x �Int:Gp �Int:512�Int:lastused �
���������������������������������������������������������������Ĵ
0030: � Sample name, 28 characters max... (incl. NUL) �
���������������������������������������������������������������Ĵ
0040: � ...sample name... �'S'�'C'�'R'�'S'�
���������������������������������������������������������������Ĵ
xxxx: sampledata
-----------------------------------------------------------------------------
What is the Stmik300old format?
What is the STIMPORT file format?
What is the SIMPLEXFILE format?
0 1 2 3 4 5 6 7 8 9 A B C D E F
���������������������������������������������������������������Ŀ
0000: �'S'�'T'�'I'�'M'�'P'�'O'�'R'�'T'�i.s� x � x � x � x � x � x � x �
���������������������������������������������������������������Ĵ
0010: �Notedata...
���������������������������������������������������������������Ĵ
xxxx: �Instruments...
���������������������������������������������������������������Ĵ
-----------------------------------------------------------------------------
What is C2SPD?
How to calculate the note frequencies like ST3?
How does ST3 mix depending on master volume?
note: C C# D D# E F F# G G# A A# B
period: 1712,1616,1524,1440,1356,1280,1208,1140,1076,1016,0960,0907
middle octave is 4.
note_amigaperiod = note_st3period / 4
note_herz=14317056 / note_st3period
Note that ST3 uses period values that are 4 times larger than the
amiga to allow for extra fine slides (which are 4 times finer
than normal fine slides).
> volumetable[volume][sampledata]=volume*(sampledata-128)/64;
> z=mastervol&127;
> if(z<0x10) z=0x10;
> c=2048*16/z;
> a=(2048-c)/2;
> b=a+c;
> { 0 , if x < a
> posttable[x+1024] = { (x-a)*256/(b-a) , if a <= x < b
> { 255 , if x > b
output=1024
for i=0 to number of channels
output+=volumetable[volume*globalvolume/64][sampledata];
next
realoutput=posttable[output]
-----------------------------------------------------------------------------
That's it. If there are any more questions, that's too bad :-) If you have
problems with the S3M format, try to contact somone who already supports
it (there is quite a lot of support for the S3M already, so that shouldn't
be too hard...) Good luck for reading / writing Scream Tracker files.