284
About KORG format files
KORG format file structure
There are three types of files: .KMP files for multisamples,
.KSF files for samples, and .KSC files which handle the first
two as a collection. Similar to the AIFF format, .KMP/.KSF
files consist of chunks.
Unless stated otherwise, all data is Big Endian.
● When a Korg format file saved on the TRITON STUDIO is
loaded by the TRINITY,
• Of the parameters for each song, the following
parameters are ignored (the chunk that includes the
parameter is given in parentheses)
• Of the parameters for each sample, reverse playback
and loop off settings (included in the attribute
parameters of the SMD1 chunk) will be ignored, and
will be handled respectively as forward playback and
loop on. Only the twelve types of sampling frequency
supported by the Trinity will be loaded correctly, and
if the frequency is unsupported, the next lowest
frequency will be selected.
• Split sample files cannot be loaded.
● When a Korg format file saved on the TRINITY is loaded
into the TRITON STUDIO,
• Compressed sample files cannot be loaded.
• Multisamples that use internal samples of the Trinity
will be assigned identically-numbered RAM samples.
KMP (KORG Multisample Parameter) files
These consist of the following chunks.
● Multisample parameter chunk
• Attributes
● Relative parameter chunk 1
If the .KSF filename is “SKIPPEDSAMPL”, it will be treated
as a sample skipped during loading.
If the .KSF filename is “INTERNALnnnn”, internal samples
will be used.
● Relative parameter chunk 2
● Multisample number chunk
KSF (KORG Sample File) files
There are four types of structure for these files. One consists
of a Sample Parameter chunk, Sample Data chunk, and Sam-
ple Number chunk (SMP1 + SMD1 + SNO1). Another con-
sists of a Sample Parameter chunk, Sample Data chunk,
Sample Filename chunk, and Sample Number chunk (SMP1
+ SMD1 + SMF1 + SNO1). The latter structure is in the case
where the sample data of the Sample chunk is empty, and
uses the sample data of the .KSF file specified by the Sample
Filename chunk (shared sample data).
When saving to a floppy disk and a single disk cannot
accommodate all of the data, it is possible to automatically
divide the file and continue the save operation.
When a .KSF file is created in this way, the first file will con-
sist of the Sample Parameter chunk, Sample Number chunk,
a divided Sample Parameter chunk, and a divided Sample
Data chunk (SMP1 + SNO1 + SPD1 + SDD1), and the second
and subsequent files will consist of a divided Sample Data
chunk (SDD1).
Filter cutoff (RLP1 chunk)
Transpose (RLP2 chunk)
Resonance (RLP2 chunk)
Attack (RLP2 chunk)
Decay (RLP2 chunk)
Chunk ID (‘MSP1’) [4 bytes]
Chunk size (fixed at 18) [4 bytes]
Multisample name [16 bytes]
Number of samples in the multisample [1 byte]
Attributes [1 byte]
Korg format file structure
PCMGROUP.KSC
PIANO.KMP
RHODES.KMP
SNARE_00.KSF
PIANO.KMP
Ac. Piano
4
PI0000.KSF
PI0001.KSF
PI0002.KSF
PI0003.KSF
Multisample
parameters
Relative parameters
(for ‘x’ number
of samples)
PI0000.KSF
Sample data
PI0002.KSF
PI0003.KSF
PI0003.KSF
SNARE_00.KSF
Sample
parameters
Sample
parameters
Sample
parameters
Sample
parameters
Sample data
Sample data
Chunk ID (‘RLP1’) [4 bytes]
Chunk size (18 × number of samples in the
multisample)
[4 bytes]
Original key [1 byte]
MSB 1: Non Transpose 0: Transpose
bits 6–0 original key
Top key (0–127) [1 byte]
Tune (–99…+99 cents) [1 byte]
Level (–99…+99 cents) [1 byte]
Pan (0–127 currently unused) [1 byte]
Filter cutoff (–99…+99 currently unused) [1 byte]
KSF filename (including period and extension)
[12 bytes] × number of samples in the multisample
Chunk ID (‘RLP2’) [4 bytes]
Chunk size (4) [4 bytes]
Transposing (–64…+63) [1 byte]
Resonance (–99…+99) [1 byte]
Attack (–99…+99) [1 byte]
Decay (–99…+99) [1 byte]
Chunk ID(‘MNO1’) [4 bytes]
Chunk size (4) [4 bytes]
Multisample number (0–) [4 bytes]
Multisample parameter attributes
MSB LSB
1: Not Use 2nd Start 0: Use It
NC(0)