Karya, built on 2020-11-26T21:03:17 (patch 23b5be2d53a9e8e7d6136cda5aae2849abe5cded)
Safe HaskellNone

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