Karya, built on 2023-08-29T07:47:28 (patch 7a412d5d6ba4968ca4155ef276a062ccdeb9109a)
Safe HaskellSafe-Inferred

User.Elaforge.Instrument.Kontakt.Util

Description

Utilities for kontakt.

Synopsis

Documentation

tuning_ksp

tuning_ksp :: Maybe Patch.AttributeMap -> Patch.Scale -> Either Text Text Source #

Create a script in Kontakt's hilariously incompetent KSP language to retune a 12TET patch to the given scale.

drum_mute_ksp

drum_mute_ksp Source #

Arguments

:: Text 
-> CUtil.PitchedStrokes 
-> [(Drums.Group, [Drums.Group])]

each Group along with a set of Groups that it stops

-> Either Text Text 

Create KSP to handle sample stopping. Each drum Note has a Group, and each Group can stop a set of other groups from sounding.

Kontakt has a built-in mechanism, but as usual it gets it wrong. The built-in mechanism lets you assign notes to a group, and limit voices in the group, which means that two of the same strokes in a row will mute each other.

none :: Int Source #

Used in KSP for a nothing value.

util