Korg Electronic Keyboard Electronic Keyboard User Manual


  Open as PDF
of 1127
 
Disk mode information About KORG format files
1031
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
Relative parameter chunk 3
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, Sample Number chunk and Sample name
(SMP1 + SMD1 + SNO1 + NAME). Another consists of
a Sample Parameter chunk, Sample Data chunk,
Sample Filename chunk, Sample Number chunk, and
Sample name chunk (SMP1 + SMD1 + SMF1 + SNO1 +
NAME). 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
consist of the Sample Parameter chunk, Sample
Number chunk, and Sample name a divided Sample
Parameter chunk, and a divided Sample Data chunk
(SMP1 + SNO1 + NAME + SPD1 + SDD1), and the
second and subsequent files will consist of a divided
Sample Data chunk (SDD1).
Sample parameter chunk
Sample data chunk
Attributes
Sample number chunk
Sample name chunk
Sample filename chunk
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.
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 (‘RLP3’) [4 bytes]
Chunk size (fixed at 6) [4 bytes]
Drive (–99…+99) [1 byte]
Boost (–99…+99) [1 byte]
LowEQLevel (–99…+99) [1 byte]
MidEQLevel (–99…+99) [1 byte]
HighEQLevel (–99…+99) [1 byte]
unused [1 byte]
Chunk ID(‘MNO1’) [4 bytes]
Chunk size (4) [4 bytes]
Multisample number (0–) [4 bytes]
Chunk ID (‘SMP1’) [4 bytes]
Chunk size (32) [4 bytes]
Sample name [16
bytes]
Start address [4 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]
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 (‘NAME’) [4 bytes]
Chunk size (fixed at 24) [4 bytes]
Sample name [24
bytes]
Chunk ID (‘SMF1’) [4 bytes]
Chunk size (12) [4 bytes]
KSF filename [12
bytes]
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