Appendices
285
● Sample parameter chunk
● Sample data chunk
• Attributes
● Sample number chunk
● Sample filename chunk
● Divided sample parameter chunk
● Divided sample data chunk
KSC(Korg SCript) file
These files are text files which contain a list of filenames for
.KMP/.KSF files which are to be handled together.
Lines beginning with # are ignored as comment lines.
The first line of the file must begin with “#KORG Script Ver-
sion 1.0” and subsequent lines (except for comment lines)
consist only of filename. Only files with an extension of
KMP/KSF are processed.
Filename conventions
.KMP filename for “Save All” or “Save All Multisamples”
When data is saved using “Save All,” “Save All Multisam-
ple” or “Save One Multisample,” the individual .KSF files
used by the Multisample (the .KMP file) are automatically
given filenames according to the following convention.
Likewise, when data is saved using “Save All” or “Save All
Samples,” the individual .KSF files are automatically given
filenames according to the following convention.
Chunk ID (‘SMP1’) [4 bytes]
Chunk size (32) [4 bytes]
Sample name [16 bytes]
Default bank (0–3) [1 bytes]
Start address [3 bytes]
2nd start address [4 bytes]
Loop start address [4 bytes]
Loop end address [4 bytes]
Chunk ID (‘SMD1’) [4 bytes]
Chunk size (12 + number of sample
databytes)
[4 bytes]
Sampling frequency [4 bytes]
The sampling frequencies supported by the TRITON
STUDIO are 48000/47619/44100/32000/31746/31250/
29400/24000/23810/22254/22050/21333/21164/20833/
19600/16000/15873/15625/14836/14700/14222/14109/
13889/13067/12000/11905/11127/11025/10667/10582/
10417/9891/9800/9481/9406/9259/8711/8000/7937/
7813/7418/7350/7111/7055/6945/6534/6000/5953/
5564/5513/5333/5291/5208/4945/4900/4741/4703/
4630/4356/4000/3968/3906/3709/3675/3556/3527/
3472/3267/3000/2976/2782/2756/2667/2646/2604/
2473/2450/2370/2352/2315/2178/2000/1984/1855/
1838(Hz).
Attributes [1 byte]
Loop tune (–99...+99 cents) [1 byte]
Number of channels (1) [1 byte]
Sample size (8/16) [1 byte]
Number of samples [4 bytes]
Sample data variable length
Chunk ID (‘SNO1’) [4 bytes]
Chunk size (4) [4 bytes]
Sample number (0–) [4 bytes]
Chunk ID (‘SMF1’) [4 bytes]
Chunk size (12) [4 bytes]
KSF filename [12 bytes]
If the .KSF filename is “SKIPPEDSAMPL”, it will be
treated as a sample skipped during loading.
If the .KSF filename is “INTERNALnnnn”, internal sam-
ples will be used.
1: +12 dB playback 0: 0 dB playback*
* For uncompressed data, this bit is handled as a
switch that specifies the playback gain.
For compressed data, this bit is handled as a
compression ID.
Sample parameter attributes
MSB LSB
1: Not Use 2nd Start 0: Use It
1: Reverse 0: Forward
1: Loop Off 0: Loop On
Compression ID
1: Compressed data 0: Un-compressed data
Chunk ID (‘SPD1’) [4 bytes]
Chunk size (12) [4 bytes]
The following up to the sample size is the same as in the
SMD1 chunk
Sampling frequency [4 bytes]
Attributes [1 byte]
Loop tune [1 byte]
Number of channels [1 byte]
Sample size [1 byte]
Number of samples [4 bytes]
Total number of samples in all divided files
Chunk ID (‘SDD1’) [4 bytes]
KMP filename convention
Multisample number
The first multisample in internal memory is 000.
First 5 characters of
multisample name
KSF filename convention (samples used by the multisample)
Sample number
The first sample of the multisample is 000.
Multisample number
The first multisample in internal memory is 000.
KSF filename convention (sample)
Sample number
The first multisample in internal memory is 0000.
First 4 characters of
multisample name