Skip to content

8.1 System constants

Davide Magni edited this page Mar 3, 2017 · 2 revisions

Kontakt comes with a wide variety of predefined system constants. Some of them though, seem to be missing.

We decided to include them in Koala library in order to help the developer retrieving some standard, widely used values.

Default values

  • 0_dB_12 0 dB value for knobs with +12 dB max. Equals to 631000.
  • 0_dB_24 0 dB value for knobs with +24 dB max. Equals to 397000.
  • _MAX_KSP_VALUE Maximum value which Kontakt is able to process. Equals to 0x7FFFFFFF.
  • _MIN_KSP_VALUE Minimum value which Kontakt is able to process. Equals to 0x80000000.
  • MAX_ARRAY_SIZE Maximum size of an array in Kontakt (32768).
  • MAX_GROUPS Maximum amount of groups in Kontakt (4096).

Boolean constants

  • ON
  • OFF
  • YES
  • NO
  • TRUE
  • FALSE

Notes and MIDI CC names

  • !NOTE_NAME[] String array containing the name of each note. E.g. !NOTE_NAME[60] = “C3”.
  • !CC_NAME[] String array containing the name of each MIDI CC. E.g. !CC_NAME[1] = “Mod. Wheel”.
Clone this wiki locally