Difference between revisions of "SPL"

From AtariForumWiki2018
Jump to: navigation, search
Line 1: Line 1:
 
The SPL Sample File Format was introduced along with Digitrakker.  Details as follows.
 
The SPL Sample File Format was introduced along with Digitrakker.  Details as follows.
  
−
[[File:Example.jpg]]
+
[[File:Digitrakker.png]]
  
  
Line 14: Line 14:
 
and it makes no sense to introduce a new one, because the existing IFF-format
 
and it makes no sense to introduce a new one, because the existing IFF-format
 
nearly contains all infos you need for a Digitrakker-sample.
 
nearly contains all infos you need for a Digitrakker-sample.
 +
  
 
Offset Length Description
 
Offset Length Description
  
−
000    004    "DSPL"; the four letters mark the spl-format
+
 
−
004    001    version; the current version is 0
+
000    004    "DSPL"; the four letters mark the spl-format
−
005    032    sample-name; the name of the sample (filled with [32])
+
 
−
037    008    filename of the sample
+
004    001    version; the current version is 0
−
045    002    C-4 sample-frequency in hz (00000-65535)
+
 
−
047    004    sample-length
+
005    032    sample-name; the name of the sample (filled with [32])
−
051    004    sample-repeatstart
+
 
−
055    004    sample-repeatlength; if this value is set to 0, the sample
+
037    008    filename of the sample
−
will not loop
+
 
−
059    001    sample-volume (1-255)
+
045    002    C-4 sample-frequency in hz (00000-65535)
−
060    001    infobyte:
+
 
−
bit 0  -> 0=8 bit sample, 1=16 bit sample
+
047    004    sample-length
−
bit 1  -> 0=forward looping, 1=bidirectional looping
+
 
−
bit 2,3 -> packmethode (0=not packed, methodes 2 and 3 doesn't
+
051    004    sample-repeatstart
−
  exist in this version)
+
 
−
bit 4-7 -> not used (should be set to 0)
+
055    004    sample-repeatlength; if this value is set to 0, the sample will not loop
−
061    ???    sampledatas... (see above)
+
 
 +
059    001    sample-volume (1-255)
 +
 
 +
060    001    infobyte:
 +
 
 +
bit 0  -> 0=8 bit sample, 1=16 bit sample
 +
 
 +
bit 1  -> 0=forward looping, 1=bidirectional looping
 +
 
 +
bit 2,3 -> packmethode (0=not packed, methodes 2 and 3 doesn't exist in this version)
 +
 
 +
bit 4-7 -> not used (should be set to 0)
 +
 
 +
061    ???    sampledatas... (see above)

Revision as of 18:22, 20 March 2016

The SPL Sample File Format was introduced along with Digitrakker. Details as follows.

Digitrakker.png


THE SAMPLE-FORMAT (SPL)


Here comes the description for the old sample-format "SPL", which was used in older tracker-versions (V2.0-V2.2). This format isn't supported any longer in Digitrakker, that means you can read it, but you can't save samples in this form. The reason for this step was the fact, that there are too many sample-formats and it makes no sense to introduce a new one, because the existing IFF-format nearly contains all infos you need for a Digitrakker-sample.


Offset Length Description


000 004 "DSPL"; the four letters mark the spl-format

004 001 version; the current version is 0

005 032 sample-name; the name of the sample (filled with [32])

037 008 filename of the sample

045 002 C-4 sample-frequency in hz (00000-65535)

047 004 sample-length

051 004 sample-repeatstart

055 004 sample-repeatlength; if this value is set to 0, the sample will not loop

059 001 sample-volume (1-255)

060 001 infobyte:

bit 0 -> 0=8 bit sample, 1=16 bit sample

bit 1 -> 0=forward looping, 1=bidirectional looping

bit 2,3 -> packmethode (0=not packed, methodes 2 and 3 doesn't exist in this version)

bit 4-7 -> not used (should be set to 0)

061  ??? sampledatas... (see above)