Karya, built on 2022-03-21T01:30:44 (patch 89d1651424c35e564138d93424a157ff87457245)
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