beautypg.com

Ksc (korg script) files – KORG Electronic Keyboard User Manual

Page 1042

background image

Appendices

1032

• Divided sample parameter chunk

• Divided sample data chunk

KSC (Korg SCript) files

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 Version 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
Multisample” 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 (‘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