Karya, built on Mon Jul 24 11:39:07 PDT 2017 (patch 33511aca01257b76b88de7c7a2763b7a965c084e)

Safe HaskellNone

Derive.Controls

Contents

Description

This module defines control names understood by the default calls, or by the MIDI deriver. There are also conventional names for certain controls that instruments can use. Although each instrument as its own independent set of controls, they're easier to remember if they reuse some conventional names.

Synopsis

Documentation

additive_controls :: [Control] Source #

These controls should be combined with addition by default instead of multiplication.

null :: Control Source #

Used as the default control by control block calls. This is because a ControlCall produces a Signal, but for it to be derived in a block it needs a temporary name.

tempo :: Control Source #

The tempo track is handled differently than other controls, and winds up in the warp rather than the ControlMap.

dynamic :: Control Source #

Converted into velocity or breath depending on the instrument.

generally understood by the note deriver

sustain :: Control Source #

Scale note duration. This is multiplicative, so 1 is no change.

Note duration is documented in duration_attributes.

sustain_abs :: Control Source #

Add an absolute amount of real time to the duration of each note.

start_s :: Control Source #

Start offset, in RealTime. This is added to event start times. The end times stay the same, so it changes note duration, and is limited to not force a note to 0 duration.

start_t :: Control Source #

Start offset, in ScoreTime.

specific to instruments

mute :: Control Source #

Variable mute control, where 1 is fully muted.

understood by MIDI performer

breath :: Control Source #

Breath controller. Generally you should use dynamic, which will emit velocity or breath depending on the instrument.

pressure :: Control Source #

Channel pressure.

aftertouch :: Control Source #

Polyphonic aftertouch. Unlike other controls, this one can share channels.

mod :: Control Source #

Modulation wheel.

attack_velocity :: Control Source #

Force MIDI note on velocity to this value. Normally a Pressure instrument will get both breath controller and note on velocity from the dynamic control, but sometimes I need separate control. This can be used to override the note on velocity.

release_velocity :: Control Source #

Normally the NoteOff velocity is the same as dynamic, but if set, this force it to a particular value.

transposition

transposers :: [Control] Source #

The common transpose controls. A scale with special needs could still have its own unique transposers, but most all scales should respond to these.

octave :: Control Source #

Transpose by this many octaves.

diatonic :: Control Source #

Pitches respond to this with diatonic transposition, which generally requires a key. This is stepwise transposition for scales with no distinction between chromatic and diatonic.

chromatic :: Control Source #

Pitches respond to this with chromatic transposition. This is stepwise transposition for scales with no distinction between chromatic and diatonic.

nn :: Control Source #

Transpose by NoteNumber, which is cents / 100.

hz :: Control Source #

Transpose in absolute hz.

conventional control names

vol :: Control Source #

Volume control, conventionally mapped to CC 7.

pedal :: Control Source #

Sustain pedal.

standard names for patches

lpf :: Control Source #

Low and high pass filter cutoff.

hpf :: Control Source #

Low and high pass filter cutoff.

q :: Control Source #

Filter resonance.

vib :: Control Source #

Often mod is mapped to vibrato, but when it's more specifically vibrato depth rather than general modulation, whatever that is, it's nicer to use a more specific name.

vib_speed :: Control Source #

Often mod is mapped to vibrato, but when it's more specifically vibrato depth rather than general modulation, whatever that is, it's nicer to use a more specific name.

mc1 :: Control Source #

Macro controls. Many synths have general-purpose "change the timbre" knobs.

mc2 :: Control Source #

Macro controls. Many synths have general-purpose "change the timbre" knobs.

mc3 :: Control Source #

Macro controls. Many synths have general-purpose "change the timbre" knobs.

mc4 :: Control Source #

Macro controls. Many synths have general-purpose "change the timbre" knobs.