Skip to content

Params

Misc

grp

:: [String -> ValueMap] -> Pattern String -> ControlPattern

Group multiple params into one.

mF

:: String -> String -> ValueMap

mI

:: String -> String -> ValueMap

mS

:: String -> String -> ValueMap

Param makers

pF

:: String -> Pattern Double -> ControlPattern

pI

:: String -> Pattern Int -> ControlPattern

pB

:: String -> Pattern Bool -> ControlPattern

pR

:: String -> Pattern Rational -> ControlPattern

pN

:: String -> Pattern Note -> ControlPattern

pS

:: String -> Pattern String -> ControlPattern

pX

:: String -> Pattern [Word8] -> ControlPattern

pStateF

:: String -- A parameter, e.g. note; a String recognizable by a ValueMap.
-> String -- Identifies the cycling state pattern. Can be anything the user wants.
-> (Maybe Double -> Double)
-> ControlPattern

pStateList

:: String -- A parameter, e.g. note; a String recognizable by a ValueMap.
-> String -- Identifies the cycling state pattern. Can be anything the user wants.
-> [Value] -- The list to cycle through.
-> ControlPattern

pStateList is made with cyclic lists in mind, but it can even “cycle” through infinite lists.

pStateListF

:: String -> String -> [Double] -> ControlPattern

A wrapper for pStateList that accepts a [Double] rather than a [Value].

pStateListS

:: String -> String -> [String] -> ControlPattern

A wrapper for pStateList that accepts a [String] rather than a [Value].

Grouped params

sound

:: Pattern String -> ControlPattern

sTake

:: String -> [String] -> ControlPattern

cc

:: Pattern String -> ControlPattern

nrpn

:: Pattern String -> ControlPattern

nrpnn

:: Pattern Int -> ControlPattern

nrpnv

:: Pattern Int -> ControlPattern

grai'

:: Pattern String -> ControlPattern

grain' is a shortcut to join a begin and end

These are equivalent:

d1 $ slow 2 $ s "bev" # grain' "0.2:0.3" # legato 1
d1 $ slow 2 $ s "bev" # begin 0.2 # end 0.3 # legato 1

midinote

:: Pattern Note -> ControlPattern

drum

:: Pattern String -> ControlPattern

drumN

:: Num a => String -> a

Generated params

accelerate

:: Pattern Double -> ControlPattern

A pattern of numbers that speed up (or slow down) samples while they play. In the following example, the sound starts at the original pitch and gets higher as it plays:

d1 $ s "arpy" # accelerate 2

You can use a negative number to make the sound get lower. In this example, a different acceleration is applied to each played note using state values:

d1 $ arp "up" $ note "c'maj'4" # s "arpy" # accelerateTake "susan" [0.2,1,-1]

accelerateTake

:: String -> [Double] -> ControlPattern

accelerateCount

:: String -> ControlPattern

accelerateCountTo

:: String -> Pattern Double -> Pattern ValueMap

acceleratebus

:: Pattern Int -> Pattern Double -> ControlPattern

amp

:: Pattern Double -> ControlPattern

Controls the amplitude (volume) of the sound. Like gain, but linear. Default value is 0.4.

d1 $ s "arpy" # amp "<0.4 0.8 0.2>"

ampTake

:: String -> [Double] -> ControlPattern

ampCount

:: String -> ControlPattern

ampCountTo

:: String -> Pattern Double -> Pattern ValueMap

ampbus

:: Pattern Int -> Pattern Double -> ControlPattern

amprecv

:: Pattern Int -> ControlPattern

array

:: Pattern [Word8] -> ControlPattern

arrayTake

:: String -> [Double] -> ControlPattern

arraybus

:: Pattern Int -> Pattern [Word8] -> ControlPattern

attack

:: Pattern Double -> ControlPattern

A pattern of numbers to specify the attack time (in seconds) of an envelope applied to each sample.

attackTake

:: String -> [Double] -> ControlPattern

attackCount

:: String -> ControlPattern

attackCountTo

:: String -> Pattern Double -> Pattern ValueMap

attackbus

:: Pattern Int -> Pattern Double -> ControlPattern

attackrecv

:: Pattern Int -> ControlPattern

bandf

:: Pattern Double -> ControlPattern

A pattern of numbers from 0 to 1. Sets the center frequency of the band-pass filter.

bandfTake

:: String -> [Double] -> ControlPattern

bandfCount

:: String -> ControlPattern

bandfCountTo

:: String -> Pattern Double -> Pattern ValueMap

bandfbus

:: Pattern Int -> Pattern Double -> ControlPattern

bandfrecv

:: Pattern Int -> ControlPattern

bandq

:: Pattern Double -> ControlPattern

A pattern of anumbers from 0 to 1. Sets the q-factor of the band-pass filter.

bandqTake

:: String -> [Double] -> ControlPattern

bandqCount

:: String -> ControlPattern

bandqCountTo

:: String -> Pattern Double -> Pattern ValueMap

bandqbus

:: Pattern Int -> Pattern Double -> ControlPattern

bandqrecv

:: Pattern Int -> ControlPattern

begin

:: Pattern Double -> ControlPattern

begin receives a pattern of numbers from 0 to 1 and skips the beginning of each sample by the indicated proportion. I.e., 0 would play the sample from the start, 1 would skip the whole sample, and 0.25 would cut off the first quarter.

In this example, the first 3 ade samples are played on every cycle, but the start point from which they are played changes on each cycle:

d1 $ n "0 1 2" # s "ade" # begin "<0 0.25 0.5 0.75>" # legato 1

beginTake

:: String -> [Double] -> ControlPattern

beginCount

:: String -> ControlPattern

beginCountTo

:: String -> Pattern Double -> Pattern ValueMap

beginbus

:: Pattern Int -> Pattern Double -> ControlPattern

binshift

:: Pattern Double -> ControlPattern

Spectral binshift

binshiftTake

:: String -> [Double] -> ControlPattern

binshiftCount

:: String -> ControlPattern

binshiftCountTo

:: String -> Pattern Double -> Pattern ValueMap

binshiftbus

:: Pattern Int -> Pattern Double -> ControlPattern

binshiftrecv

:: Pattern Int -> ControlPattern

button0

:: Pattern Double -> ControlPattern

button0Take

:: String -> [Double] -> ControlPattern

button0Count

:: String -> ControlPattern

button0CountTo

:: String -> Pattern Double -> Pattern ValueMap

button0bus

:: Pattern Int -> Pattern Double -> ControlPattern

button0recv

:: Pattern Int -> ControlPattern

button1

:: Pattern Double -> ControlPattern

button1Take

:: String -> [Double] -> ControlPattern

button1Count

:: String -> ControlPattern

button1CountTo

:: String -> Pattern Double -> Pattern ValueMap

button1bus

:: Pattern Int -> Pattern Double -> ControlPattern

button1recv

:: Pattern Int -> ControlPattern

button10

:: Pattern Double -> ControlPattern

button10Take

:: String -> [Double] -> ControlPattern

button10Count

:: String -> ControlPattern

button10CountTo

:: String -> Pattern Double -> Pattern ValueMap

button10bus

:: Pattern Int -> Pattern Double -> ControlPattern

button10recv

:: Pattern Int -> ControlPattern

button11

:: Pattern Double -> ControlPattern

button11Take

:: String -> [Double] -> ControlPattern

button11Count

:: String -> ControlPattern

button11CountTo

:: String -> Pattern Double -> Pattern ValueMap

button11bus

:: Pattern Int -> Pattern Double -> ControlPattern

button11recv

:: Pattern Int -> ControlPattern

button12

:: Pattern Double -> ControlPattern

button12Take

:: String -> [Double] -> ControlPattern

button12Count

:: String -> ControlPattern

button12CountTo

:: String -> Pattern Double -> Pattern ValueMap

button12bus

:: Pattern Int -> Pattern Double -> ControlPattern

button12recv

:: Pattern Int -> ControlPattern

button13

:: Pattern Double -> ControlPattern

button13Take

:: String -> [Double] -> ControlPattern

button13Count

:: String -> ControlPattern

button13CountTo

:: String -> Pattern Double -> Pattern ValueMap

button13bus

:: Pattern Int -> Pattern Double -> ControlPattern

button13recv

:: Pattern Int -> ControlPattern

button14

:: Pattern Double -> ControlPattern

button14Take

:: String -> [Double] -> ControlPattern

button14Count

:: String -> ControlPattern

button14CountTo

:: String -> Pattern Double -> Pattern ValueMap

button14bus

:: Pattern Int -> Pattern Double -> ControlPattern

button14recv

:: Pattern Int -> ControlPattern

button15

:: Pattern Double -> ControlPattern

button15Take

:: String -> [Double] -> ControlPattern

button15Count

:: String -> ControlPattern

button15CountTo

:: String -> Pattern Double -> Pattern ValueMap

button15bus

:: Pattern Int -> Pattern Double -> ControlPattern

button15recv

:: Pattern Int -> ControlPattern

button2

:: Pattern Double -> ControlPattern

button2Take

:: String -> [Double] -> ControlPattern

button2Count

:: String -> ControlPattern

button2CountTo

:: String -> Pattern Double -> Pattern ValueMap

button2bus

:: Pattern Int -> Pattern Double -> ControlPattern

button2recv

:: Pattern Int -> ControlPattern

button3

:: Pattern Double -> ControlPattern

button3Take

:: String -> [Double] -> ControlPattern

button3Count

:: String -> ControlPattern

button3CountTo

:: String -> Pattern Double -> Pattern ValueMap

button3bus

:: Pattern Int -> Pattern Double -> ControlPattern

button3recv

:: Pattern Int -> ControlPattern

button4

:: Pattern Double -> ControlPattern

button4Take

:: String -> [Double] -> ControlPattern

button4Count

:: String -> ControlPattern

button4CountTo

:: String -> Pattern Double -> Pattern ValueMap

button4bus

:: Pattern Int -> Pattern Double -> ControlPattern

button4recv

:: Pattern Int -> ControlPattern

button5

:: Pattern Double -> ControlPattern

button5Take

:: String -> [Double] -> ControlPattern

button5Count

:: String -> ControlPattern

button5CountTo

:: String -> Pattern Double -> Pattern ValueMap

button5bus

:: Pattern Int -> Pattern Double -> ControlPattern

button5recv

:: Pattern Int -> ControlPattern

button6

:: Pattern Double -> ControlPattern

button6Take

:: String -> [Double] -> ControlPattern

button6Count

:: String -> ControlPattern

button6CountTo

:: String -> Pattern Double -> Pattern ValueMap

button6bus

:: Pattern Int -> Pattern Double -> ControlPattern

button6recv

:: Pattern Int -> ControlPattern

button7

:: Pattern Double -> ControlPattern

button7Take

:: String -> [Double] -> ControlPattern

button7Count

:: String -> ControlPattern

button7CountTo

:: String -> Pattern Double -> Pattern ValueMap

button7bus

:: Pattern Int -> Pattern Double -> ControlPattern

button7recv

:: Pattern Int -> ControlPattern

button8

:: Pattern Double -> ControlPattern

button8Take

:: String -> [Double] -> ControlPattern

button8Count

:: String -> ControlPattern

button8CountTo

:: String -> Pattern Double -> Pattern ValueMap

button8bus

:: Pattern Int -> Pattern Double -> ControlPattern

button8recv

:: Pattern Int -> ControlPattern

button9

:: Pattern Double -> ControlPattern

button9Take

:: String -> [Double] -> ControlPattern

button9Count

:: String -> ControlPattern

button9CountTo

:: String -> Pattern Double -> Pattern ValueMap

button9bus

:: Pattern Int -> Pattern Double -> ControlPattern

button9recv

:: Pattern Int -> ControlPattern

ccn

:: Pattern Double -> ControlPattern

ccnTake

:: String -> [Double] -> ControlPattern

ccnCount

:: String -> ControlPattern

ccnCountTo

:: String -> Pattern Double -> Pattern ValueMap

ccnbus

:: Pattern Int -> Pattern Double -> ControlPattern

ccv

:: Pattern Double -> ControlPattern

ccvTake

:: String -> [Double] -> ControlPattern

ccvCount

:: String -> ControlPattern

ccvCountTo

:: String -> Pattern Double -> Pattern ValueMap

ccvbus

:: Pattern Int -> Pattern Double -> ControlPattern

channel

:: Pattern Int -> ControlPattern

choose the channel the pattern is sent to in superdirt

channelTake

:: String -> [Double] -> ControlPattern

channelCount

:: String -> ControlPattern

channelCountTo

:: String -> Pattern Double -> Pattern ValueMap

channelbus

:: Pattern Int -> Pattern Int -> ControlPattern

clhatdecay

:: Pattern Double -> ControlPattern

clhatdecayTake

:: String -> [Double] -> ControlPattern

clhatdecayCount

:: String -> ControlPattern

clhatdecayCountTo

:: String -> Pattern Double -> Pattern ValueMap

clhatdecaybus

:: Pattern Int -> Pattern Double -> ControlPattern

clhatdecayrecv

:: Pattern Int -> ControlPattern

coarse

:: Pattern Double -> ControlPattern

fake-resampling, a pattern of numbers for lowering the sample rate, i.e. 1 for original 2 for half, 3 for a third and so on.

coarseTake

:: String -> [Double] -> ControlPattern

coarseCount

:: String -> ControlPattern

coarseCountTo

:: String -> Pattern Double -> Pattern ValueMap

coarsebus

:: Pattern Int -> Pattern Double -> ControlPattern

coarserecv

:: Pattern Int -> ControlPattern

comb

:: Pattern Double -> ControlPattern

Spectral comb

combTake

:: String -> [Double] -> ControlPattern

combCount

:: String -> ControlPattern

combCountTo

:: String -> Pattern Double -> Pattern ValueMap

combbus

:: Pattern Int -> Pattern Double -> ControlPattern

combrecv

:: Pattern Int -> ControlPattern

control

:: Pattern Double -> ControlPattern

controlTake

:: String -> [Double] -> ControlPattern

controlCount

:: String -> ControlPattern

controlCountTo

:: String -> Pattern Double -> Pattern ValueMap

controlbus

:: Pattern Int -> Pattern Double -> ControlPattern

cps

:: Pattern Double -> ControlPattern

A control pattern; setcps is the standalone function. Patterns don’t (yet) have independent tempos though, if you change it on one pattern, it changes on all of them.

p "cpsfun" $ s "bd sd(3,8)" # cps (slow 8 $ 0.5 + saw)

cpsTake

:: String -> [Double] -> ControlPattern

cpsCount

:: String -> ControlPattern

cpsCountTo

:: String -> Pattern Double -> Pattern ValueMap

cpsbus

:: Pattern Int -> Pattern Double -> ControlPattern

cpsrecv

:: Pattern Int -> ControlPattern

crush

:: Pattern Double -> ControlPattern

bit crushing, a pattern of numbers from 1 (for drastic reduction in bit-depth) to 16 (for barely no reduction).

crushTake

:: String -> [Double] -> ControlPattern

crushCount

:: String -> ControlPattern

crushCountTo

:: String -> Pattern Double -> Pattern ValueMap

crushbus

:: Pattern Int -> Pattern Double -> ControlPattern

crushrecv

:: Pattern Int -> ControlPattern

ctlNum

:: Pattern Double -> ControlPattern

ctlNumTake

:: String -> [Double] -> ControlPattern

ctlNumCount

:: String -> ControlPattern

ctlNumCountTo

:: String -> Pattern Double -> Pattern ValueMap

ctlNumbus

:: Pattern Int -> Pattern Double -> ControlPattern

ctranspose

:: Pattern Double -> ControlPattern

ctransposeTake

:: String -> [Double] -> ControlPattern

ctransposeCount

:: String -> ControlPattern

ctransposeCountTo

:: String -> Pattern Double -> Pattern ValueMap

ctransposebus

:: Pattern Int -> Pattern Double -> ControlPattern

ctransposerecv

:: Pattern Int -> ControlPattern

cut

:: Pattern Int -> ControlPattern

In the style of classic drum-machines, cut will stop a playing sample as soon as another samples with in same cutgroup is to be played. An example would be an open hi-hat followed by a closed one, essentially muting the open.

cutTake

:: String -> [Double] -> ControlPattern

cutCount

:: String -> ControlPattern

cutCountTo

:: String -> Pattern Double -> Pattern ValueMap

cutbus

:: Pattern Int -> Pattern Int -> ControlPattern

cutrecv

:: Pattern Int -> ControlPattern

cutoff

:: Pattern Double -> ControlPattern

a pattern of numbers from 0 to 1. Applies the cutoff frequency of the low-pass filter.

cutoffTake

:: String -> [Double] -> ControlPattern

cutoffCount

:: String -> ControlPattern

cutoffCountTo

:: String -> Pattern Double -> Pattern ValueMap

cutoffbus

:: Pattern Int -> Pattern Double -> ControlPattern

cutoffrecv

:: Pattern Int -> ControlPattern

cutoffegint

:: Pattern Double -> ControlPattern

cutoffegintTake

:: String -> [Double] -> ControlPattern

cutoffegintCount

:: String -> ControlPattern

cutoffegintCountTo

:: String -> Pattern Double -> Pattern ValueMap

cutoffegintbus

:: Pattern Int -> Pattern Double -> ControlPattern

cutoffegintrecv

:: Pattern Int -> ControlPattern

decay

:: Pattern Double -> ControlPattern

decayTake

:: String -> [Double] -> ControlPattern

decayCount

:: String -> ControlPattern

decayCountTo

:: String -> Pattern Double -> Pattern ValueMap

decaybus

:: Pattern Int -> Pattern Double -> ControlPattern

decayrecv

:: Pattern Int -> ControlPattern

degree

:: Pattern Double -> ControlPattern

degreeTake

:: String -> [Double] -> ControlPattern

degreeCount

:: String -> ControlPattern

degreeCountTo

:: String -> Pattern Double -> Pattern ValueMap

degreebus

:: Pattern Int -> Pattern Double -> ControlPattern

degreerecv

:: Pattern Int -> ControlPattern

delay

:: Pattern Double -> ControlPattern

a pattern of numbers from 0 to 1. Sets the level of the delay signal.

delayTake

:: String -> [Double] -> ControlPattern

delayCount

:: String -> ControlPattern

delayCountTo

:: String -> Pattern Double -> Pattern ValueMap

delaybus

:: Pattern Int -> Pattern Double -> ControlPattern

delayrecv

:: Pattern Int -> ControlPattern

delayfeedback

:: Pattern Double -> ControlPattern

a pattern of numbers from 0 to 1. Sets the amount of delay feedback.

delayfeedbackTake

:: String -> [Double] -> ControlPattern

delayfeedbackCount

:: String -> ControlPattern

delayfeedbackCountTo

:: String -> Pattern Double -> Pattern ValueMap

delayfeedbackbus

:: Pattern Int -> Pattern Double -> ControlPattern

delayfeedbackrecv

:: Pattern Int -> ControlPattern

delaytime

:: Pattern Double -> ControlPattern

a pattern of numbers from 0 to 1. Sets the length of the delay.

delaytimeTake

:: String -> [Double] -> ControlPattern

delaytimeCount

:: String -> ControlPattern

delaytimeCountTo

:: String -> Pattern Double -> Pattern ValueMap

delaytimebus

:: Pattern Int -> Pattern Double -> ControlPattern

delaytimerecv

:: Pattern Int -> ControlPattern

detune

:: Pattern Double -> ControlPattern

detuneTake

:: String -> [Double] -> ControlPattern

detuneCount

:: String -> ControlPattern

detuneCountTo

:: String -> Pattern Double -> Pattern ValueMap

detunebus

:: Pattern Int -> Pattern Double -> ControlPattern

detunerecv

:: Pattern Int -> ControlPattern

distort

:: Pattern Double -> ControlPattern

noisy fuzzy distortion

distortTake

:: String -> [Double] -> ControlPattern

distortCount

:: String -> ControlPattern

distortCountTo

:: String -> Pattern Double -> Pattern ValueMap

distortbus

:: Pattern Int -> Pattern Double -> ControlPattern

distortrecv

:: Pattern Int -> ControlPattern

djf

:: Pattern Double -> ControlPattern

DJ filter, below 0.5 is low pass filter, above is high pass filter.

djfTake

:: String -> [Double] -> ControlPattern

djfCount

:: String -> ControlPattern

djfCountTo

:: String -> Pattern Double -> Pattern ValueMap

djfbus

:: Pattern Int -> Pattern Double -> ControlPattern

djfrecv

:: Pattern Int -> ControlPattern

dry

:: Pattern Double -> ControlPattern

when set to 1 will disable all reverb for this pattern. See room and size for more information about reverb.

dryTake

:: String -> [Double] -> ControlPattern

dryCount

:: String -> ControlPattern

dryCountTo

:: String -> Pattern Double -> Pattern ValueMap

drybus

:: Pattern Int -> Pattern Double -> ControlPattern

dryrecv

:: Pattern Int -> ControlPattern

dur

:: Pattern Double -> ControlPattern

durTake

:: String -> [Double] -> ControlPattern

durCount

:: String -> ControlPattern

durCountTo

:: String -> Pattern Double -> Pattern ValueMap

durbus

:: Pattern Int -> Pattern Double -> ControlPattern

durrecv

:: Pattern Int -> ControlPattern

end

:: Pattern Double -> ControlPattern

Similar to begin, but cuts the end off samples, shortening them; e.g. 0.75 to cut off the last quarter of each sample.

d1 $ s "bev" >| begin 0.5 >| end "[0.65 0.55]"

The example above will play the sample two times for cycle, but the second time will play a shorter segment than the first time, creating a kind of canon effect.

endTake

:: String -> [Double] -> ControlPattern

endCount

:: String -> ControlPattern

endCountTo

:: String -> Pattern Double -> Pattern ValueMap

endbus

:: Pattern Int -> Pattern Double -> ControlPattern

enhance

:: Pattern Double -> ControlPattern

Spectral enhance

enhanceTake

:: String -> [Double] -> ControlPattern

enhanceCount

:: String -> ControlPattern

enhanceCountTo

:: String -> Pattern Double -> Pattern ValueMap

enhancebus

:: Pattern Int -> Pattern Double -> ControlPattern

enhancerecv

:: Pattern Int -> ControlPattern

expression

:: Pattern Double -> ControlPattern

expressionTake

:: String -> [Double] -> ControlPattern

expressionCount

:: String -> ControlPattern

expressionCountTo

:: String -> Pattern Double -> Pattern ValueMap

expressionbus

:: Pattern Int -> Pattern Double -> ControlPattern

expressionrecv

:: Pattern Int -> ControlPattern

fadeInTime

:: Pattern Double -> ControlPattern

As with fadeTime, but controls the fade in time of the grain envelope. Not used if the grain begins at position 0 in the sample.

fadeInTimeTake

:: String -> [Double] -> ControlPattern

fadeInTimeCount

:: String -> ControlPattern

fadeInTimeCountTo

:: String -> Pattern Double -> Pattern ValueMap

fadeInTimebus

:: Pattern Int -> Pattern Double -> ControlPattern

fadeTime

:: Pattern Double -> ControlPattern

Used when using beginend or chopstriate and friends, to change the fade out time of the grain envelope.

fadeTimeTake

:: String -> [Double] -> ControlPattern

fadeTimeCount

:: String -> ControlPattern

fadeTimeCountTo

:: String -> Pattern Double -> Pattern ValueMap

fadeTimebus

:: Pattern Int -> Pattern Double -> ControlPattern

frameRate

:: Pattern Double -> ControlPattern

frameRateTake

:: String -> [Double] -> ControlPattern

frameRateCount

:: String -> ControlPattern

frameRateCountTo

:: String -> Pattern Double -> Pattern ValueMap

frameRatebus

:: Pattern Int -> Pattern Double -> ControlPattern

frames

:: Pattern Double -> ControlPattern

framesTake

:: String -> [Double] -> ControlPattern

framesCount

:: String -> ControlPattern

framesCountTo

:: String -> Pattern Double -> Pattern ValueMap

framesbus

:: Pattern Int -> Pattern Double -> ControlPattern

freeze

:: Pattern Double -> ControlPattern

Spectral freeze

freezeTake

:: String -> [Double] -> ControlPattern

freezeCount

:: String -> ControlPattern

freezeCountTo

:: String -> Pattern Double -> Pattern ValueMap

freezebus

:: Pattern Int -> Pattern Double -> ControlPattern

freezerecv

:: Pattern Int -> ControlPattern

freq

:: Pattern Double -> ControlPattern

freqTake

:: String -> [Double] -> ControlPattern

freqCount

:: String -> ControlPattern

freqCountTo

:: String -> Pattern Double -> Pattern ValueMap

freqbus

:: Pattern Int -> Pattern Double -> ControlPattern

freqrecv

:: Pattern Int -> ControlPattern

from

:: Pattern Double -> ControlPattern

for internal sound routing

fromTake

:: String -> [Double] -> ControlPattern

fromCount

:: String -> ControlPattern

fromCountTo

:: String -> Pattern Double -> Pattern ValueMap

frombus

:: Pattern Int -> Pattern Double -> ControlPattern

fromrecv

:: Pattern Int -> ControlPattern

fshift

:: Pattern Double -> ControlPattern

frequency shifter

fshiftTake

:: String -> [Double] -> ControlPattern

fshiftCount

:: String -> ControlPattern

fshiftCountTo

:: String -> Pattern Double -> Pattern ValueMap

fshiftbus

:: Pattern Int -> Pattern Double -> ControlPattern

fshiftrecv

:: Pattern Int -> ControlPattern

fshiftnote

:: Pattern Double -> ControlPattern

frequency shifter

fshiftnoteTake

:: String -> [Double] -> ControlPattern

fshiftnoteCount

:: String -> ControlPattern

fshiftnoteCountTo

:: String -> Pattern Double -> Pattern ValueMap

fshiftnotebus

:: Pattern Int -> Pattern Double -> ControlPattern

fshiftnoterecv

:: Pattern Int -> ControlPattern

fshiftphase

:: Pattern Double -> ControlPattern

frequency shifter

fshiftphaseTake

:: String -> [Double] -> ControlPattern

fshiftphaseCount

:: String -> ControlPattern

fshiftphaseCountTo

:: String -> Pattern Double -> Pattern ValueMap

fshiftphasebus

:: Pattern Int -> Pattern Double -> ControlPattern

fshiftphaserecv

:: Pattern Int -> ControlPattern

gain

:: Pattern Double -> ControlPattern

Used to control the amplitude (volume) of the sound. Values less than 1 make the sound quieter and values greater than 1 make the sound louder.

gain uses a power function, so the volume change around 1 is subtle, but it gets more noticeable as it increases or decreases. Typical values for gain are between 0 and 1.5.

For the linear equivalent, see amp.

d1 $ s "arpy" # gain 0.8

This plays the first arpy sample at a quieter level than the default.

d1 $ s "ab*16" # gain (range 0.8 1.3 $ sine)

This plays a hihat sound, 16 times per cycle, with a gain moving from 0.8 to 1.3 following a sine wave.

gainTake

:: String -> [Double] -> ControlPattern

gainCount

:: String -> ControlPattern

gainCountTo

:: String -> Pattern Double -> Pattern ValueMap

gainbus

:: Pattern Int -> Pattern Double -> ControlPattern

gate

:: Pattern Double -> ControlPattern

gateTake

:: String -> [Double] -> ControlPattern

gateCount

:: String -> ControlPattern

gateCountTo

:: String -> Pattern Double -> Pattern ValueMap

gatebus

:: Pattern Int -> Pattern Double -> ControlPattern

gaterecv

:: Pattern Int -> ControlPattern

harmonic

:: Pattern Double -> ControlPattern

harmonicTake

:: String -> [Double] -> ControlPattern

harmonicCount

:: String -> ControlPattern

harmonicCountTo

:: String -> Pattern Double -> Pattern ValueMap

harmonicbus

:: Pattern Int -> Pattern Double -> ControlPattern

harmonicrecv

:: Pattern Int -> ControlPattern

hatgrain

:: Pattern Double -> ControlPattern

hatgrainTake

:: String -> [Double] -> ControlPattern

hatgrainCount

:: String -> ControlPattern

hatgrainCountTo

:: String -> Pattern Double -> Pattern ValueMap

hatgrainbus

:: Pattern Int -> Pattern Double -> ControlPattern

hatgrainrecv

:: Pattern Int -> ControlPattern

hbrick

:: Pattern Double -> ControlPattern

High pass sort of spectral filter

hbrickTake

:: String -> [Double] -> ControlPattern

hbrickCount

:: String -> ControlPattern

hbrickCountTo

:: String -> Pattern Double -> Pattern ValueMap

hbrickbus

:: Pattern Int -> Pattern Double -> ControlPattern

hbrickrecv

:: Pattern Int -> ControlPattern

hcutoff

:: Pattern Double -> ControlPattern

a pattern of numbers from 0 to 1. Applies the cutoff frequency of the high-pass filter. Also has alias hpf

hcutoffTake

:: String -> [Double] -> ControlPattern

hcutoffCount

:: String -> ControlPattern

hcutoffCountTo

:: String -> Pattern Double -> Pattern ValueMap

hcutoffbus

:: Pattern Int -> Pattern Double -> ControlPattern

hcutoffrecv

:: Pattern Int -> ControlPattern

hold

:: Pattern Double -> ControlPattern

a pattern of numbers to specify the hold time (in seconds) of an envelope applied to each sample. Only takes effect if attack and release are also specified.

holdTake

:: String -> [Double] -> ControlPattern

holdCount

:: String -> ControlPattern

holdCountTo

:: String -> Pattern Double -> Pattern ValueMap

holdbus

:: Pattern Int -> Pattern Double -> ControlPattern

holdrecv

:: Pattern Int -> ControlPattern

hours

:: Pattern Double -> ControlPattern

hoursTake

:: String -> [Double] -> ControlPattern

hoursCount

:: String -> ControlPattern

hoursCountTo

:: String -> Pattern Double -> Pattern ValueMap

hoursbus

:: Pattern Int -> Pattern Double -> ControlPattern

hresonance

:: Pattern Double -> ControlPattern

a pattern of numbers from 0 to 1. Applies the resonance of the high-pass filter. Has alias hpq

hresonanceTake

:: String -> [Double] -> ControlPattern

hresonanceCount

:: String -> ControlPattern

hresonanceCountTo

:: String -> Pattern Double -> Pattern ValueMap

hresonancebus

:: Pattern Int -> Pattern Double -> ControlPattern

hresonancerecv

:: Pattern Int -> ControlPattern

imag

:: Pattern Double -> ControlPattern

imagTake

:: String -> [Double] -> ControlPattern

imagCount

:: String -> ControlPattern

imagCountTo

:: String -> Pattern Double -> Pattern ValueMap

imagbus

:: Pattern Int -> Pattern Double -> ControlPattern

imagrecv

:: Pattern Int -> ControlPattern

kcutoff

:: Pattern Double -> ControlPattern

kcutoffTake

:: String -> [Double] -> ControlPattern

kcutoffCount

:: String -> ControlPattern

kcutoffCountTo

:: String -> Pattern Double -> Pattern ValueMap

kcutoffbus

:: Pattern Int -> Pattern Double -> ControlPattern

kcutoffrecv

:: Pattern Int -> ControlPattern

krush

:: Pattern Double -> ControlPattern

shape/bass enhancer

krushTake

:: String -> [Double] -> ControlPattern

krushCount

:: String -> ControlPattern

krushCountTo

:: String -> Pattern Double -> Pattern ValueMap

krushbus

:: Pattern Int -> Pattern Double -> ControlPattern

krushrecv

:: Pattern Int -> ControlPattern

lagogo

:: Pattern Double -> ControlPattern

lagogoTake

:: String -> [Double] -> ControlPattern

lagogoCount

:: String -> ControlPattern

lagogoCountTo

:: String -> Pattern Double -> Pattern ValueMap

lagogobus

:: Pattern Int -> Pattern Double -> ControlPattern

lagogorecv

:: Pattern Int -> ControlPattern

lbrick

:: Pattern Double -> ControlPattern

Low pass sort of spectral filter

lbrickTake

:: String -> [Double] -> ControlPattern

lbrickCount

:: String -> ControlPattern

lbrickCountTo

:: String -> Pattern Double -> Pattern ValueMap

lbrickbus

:: Pattern Int -> Pattern Double -> ControlPattern

lbrickrecv

:: Pattern Int -> ControlPattern

lclap

:: Pattern Double -> ControlPattern

lclapTake

:: String -> [Double] -> ControlPattern

lclapCount

:: String -> ControlPattern

lclapCountTo

:: String -> Pattern Double -> Pattern ValueMap

lclapbus

:: Pattern Int -> Pattern Double -> ControlPattern

lclaprecv

:: Pattern Int -> ControlPattern

lclaves

:: Pattern Double -> ControlPattern

lclavesTake

:: String -> [Double] -> ControlPattern

lclavesCount

:: String -> ControlPattern

lclavesCountTo

:: String -> Pattern Double -> Pattern ValueMap

lclavesbus

:: Pattern Int -> Pattern Double -> ControlPattern

lclavesrecv

:: Pattern Int -> ControlPattern

lclhat

:: Pattern Double -> ControlPattern

lclhatTake

:: String -> [Double] -> ControlPattern

lclhatCount

:: String -> ControlPattern

lclhatCountTo

:: String -> Pattern Double -> Pattern ValueMap

lclhatbus

:: Pattern Int -> Pattern Double -> ControlPattern

lclhatrecv

:: Pattern Int -> ControlPattern

lcrash

:: Pattern Double -> ControlPattern

lcrashTake

:: String -> [Double] -> ControlPattern

lcrashCount

:: String -> ControlPattern

lcrashCountTo

:: String -> Pattern Double -> Pattern ValueMap

lcrashbus

:: Pattern Int -> Pattern Double -> ControlPattern

lcrashrecv

:: Pattern Int -> ControlPattern

legato

:: Pattern Double -> ControlPattern

controls the amount of overlap between two adjacent sounds

legatoTake

:: String -> [Double] -> ControlPattern

legatoCount

:: String -> ControlPattern

legatoCountTo

:: String -> Pattern Double -> Pattern ValueMap

legatobus

:: Pattern Int -> Pattern Double -> ControlPattern

leslie

:: Pattern Double -> ControlPattern

leslieTake

:: String -> [Double] -> ControlPattern

leslieCount

:: String -> ControlPattern

leslieCountTo

:: String -> Pattern Double -> Pattern ValueMap

lesliebus

:: Pattern Int -> Pattern Double -> ControlPattern

leslierecv

:: Pattern Int -> ControlPattern

lfo

:: Pattern Double -> ControlPattern

lfoTake

:: String -> [Double] -> ControlPattern

lfoCount

:: String -> ControlPattern

lfoCountTo

:: String -> Pattern Double -> Pattern ValueMap

lfobus

:: Pattern Int -> Pattern Double -> ControlPattern

lforecv

:: Pattern Int -> ControlPattern

lfocutoffint

:: Pattern Double -> ControlPattern

lfocutoffintTake

:: String -> [Double] -> ControlPattern

lfocutoffintCount

:: String -> ControlPattern

lfocutoffintCountTo

:: String -> Pattern Double -> Pattern ValueMap

lfocutoffintbus

:: Pattern Int -> Pattern Double -> ControlPattern

lfocutoffintrecv

:: Pattern Int -> ControlPattern

lfodelay

:: Pattern Double -> ControlPattern

lfodelayTake

:: String -> [Double] -> ControlPattern

lfodelayCount

:: String -> ControlPattern

lfodelayCountTo

:: String -> Pattern Double -> Pattern ValueMap

lfodelaybus

:: Pattern Int -> Pattern Double -> ControlPattern

lfodelayrecv

:: Pattern Int -> ControlPattern

lfoint

:: Pattern Double -> ControlPattern

lfointTake

:: String -> [Double] -> ControlPattern

lfointCount

:: String -> ControlPattern

lfointCountTo

:: String -> Pattern Double -> Pattern ValueMap

lfointbus

:: Pattern Int -> Pattern Double -> ControlPattern

lfointrecv

:: Pattern Int -> ControlPattern

lfopitchint

:: Pattern Double -> ControlPattern

lfopitchintTake

:: String -> [Double] -> ControlPattern

lfopitchintCount

:: String -> ControlPattern

lfopitchintCountTo

:: String -> Pattern Double -> Pattern ValueMap

lfopitchintbus

:: Pattern Int -> Pattern Double -> ControlPattern

lfopitchintrecv

:: Pattern Int -> ControlPattern

lfoshape

:: Pattern Double -> ControlPattern

lfoshapeTake

:: String -> [Double] -> ControlPattern

lfoshapeCount

:: String -> ControlPattern

lfoshapeCountTo

:: String -> Pattern Double -> Pattern ValueMap

lfoshapebus

:: Pattern Int -> Pattern Double -> ControlPattern

lfoshaperecv

:: Pattern Int -> ControlPattern

lfosync

:: Pattern Double -> ControlPattern

lfosyncTake

:: String -> [Double] -> ControlPattern

lfosyncCount

:: String -> ControlPattern

lfosyncCountTo

:: String -> Pattern Double -> Pattern ValueMap

lfosyncbus

:: Pattern Int -> Pattern Double -> ControlPattern

lfosyncrecv

:: Pattern Int -> ControlPattern

lhitom

:: Pattern Double -> ControlPattern

lhitomTake

:: String -> [Double] -> ControlPattern

lhitomCount

:: String -> ControlPattern

lhitomCountTo

:: String -> Pattern Double -> Pattern ValueMap

lhitombus

:: Pattern Int -> Pattern Double -> ControlPattern

lhitomrecv

:: Pattern Int -> ControlPattern

lkick

:: Pattern Double -> ControlPattern

lkickTake

:: String -> [Double] -> ControlPattern

lkickCount

:: String -> ControlPattern

lkickCountTo

:: String -> Pattern Double -> Pattern ValueMap

lkickbus

:: Pattern Int -> Pattern Double -> ControlPattern

lkickrecv

:: Pattern Int -> ControlPattern

llotom

:: Pattern Double -> ControlPattern

llotomTake

:: String -> [Double] -> ControlPattern

llotomCount

:: String -> ControlPattern

llotomCountTo

:: String -> Pattern Double -> Pattern ValueMap

llotombus

:: Pattern Int -> Pattern Double -> ControlPattern

llotomrecv

:: Pattern Int -> ControlPattern

lock

:: Pattern Double -> ControlPattern

A pattern of numbers. Specifies whether delaytime is calculated relative to cps. When set to 1, delaytime is a direct multiple of a cycle.

lockTake

:: String -> [Double] -> ControlPattern

lockCount

:: String -> ControlPattern

lockCountTo

:: String -> Pattern Double -> Pattern ValueMap

lockbus

:: Pattern Int -> Pattern Double -> ControlPattern

lockrecv

:: Pattern Int -> ControlPattern

loop

:: Pattern Double -> ControlPattern

loops the sample (from begin to end) the specified number of times.

loopTake

:: String -> [Double] -> ControlPattern

loopCount

:: String -> ControlPattern

loopCountTo

:: String -> Pattern Double -> Pattern ValueMap

loopbus

:: Pattern Int -> Pattern Double -> ControlPattern

lophat

:: Pattern Double -> ControlPattern

lophatTake

:: String -> [Double] -> ControlPattern

lophatCount

:: String -> ControlPattern

lophatCountTo

:: String -> Pattern Double -> Pattern ValueMap

lophatbus

:: Pattern Int -> Pattern Double -> ControlPattern

lophatrecv

:: Pattern Int -> ControlPattern

lrate

:: Pattern Double -> ControlPattern

lrateTake

:: String -> [Double] -> ControlPattern

lrateCount

:: String -> ControlPattern

lrateCountTo

:: String -> Pattern Double -> Pattern ValueMap

lratebus

:: Pattern Int -> Pattern Double -> ControlPattern

lraterecv

:: Pattern Int -> ControlPattern

lsize

:: Pattern Double -> ControlPattern

lsizeTake

:: String -> [Double] -> ControlPattern

lsizeCount

:: String -> ControlPattern

lsizeCountTo

:: String -> Pattern Double -> Pattern ValueMap

lsizebus

:: Pattern Int -> Pattern Double -> ControlPattern

lsizerecv

:: Pattern Int -> ControlPattern

lsnare

:: Pattern Double -> ControlPattern

lsnareTake

:: String -> [Double] -> ControlPattern

lsnareCount

:: String -> ControlPattern

lsnareCountTo

:: String -> Pattern Double -> Pattern ValueMap

lsnarebus

:: Pattern Int -> Pattern Double -> ControlPattern

lsnarerecv

:: Pattern Int -> ControlPattern

metatune

:: Pattern Double -> ControlPattern

A pattern of numbers. Specifies whether the pitch of played samples should be tuned relative to their pitch metadata, if it exists. When set to 1, pitch metadata is applied. When set to 0, pitch metadata is ignored.

metatuneTake

:: String -> [Double] -> ControlPattern

metatuneCount

:: String -> ControlPattern

metatuneCountTo

:: String -> Pattern Double -> Pattern ValueMap

metatunebus

:: Pattern Int -> Pattern Double -> ControlPattern

metatunerecv

:: Pattern Int -> ControlPattern

midibend

:: Pattern Double -> ControlPattern

midibendTake

:: String -> [Double] -> ControlPattern

midibendCount

:: String -> ControlPattern

midibendCountTo

:: String -> Pattern Double -> Pattern ValueMap

midibendbus

:: Pattern Int -> Pattern Double -> ControlPattern

midichan

:: Pattern Double -> ControlPattern

midichanTake

:: String -> [Double] -> ControlPattern

midichanCount

:: String -> ControlPattern

midichanCountTo

:: String -> Pattern Double -> Pattern ValueMap

midichanbus

:: Pattern Int -> Pattern Double -> ControlPattern

midicmd

:: Pattern String -> ControlPattern

midicmdTake

:: String -> [Double] -> ControlPattern

midicmdbus

:: Pattern Int -> Pattern String -> ControlPattern

miditouch

:: Pattern Double -> ControlPattern

miditouchTake

:: String -> [Double] -> ControlPattern

miditouchCount

:: String -> ControlPattern

miditouchCountTo

:: String -> Pattern Double -> Pattern ValueMap

miditouchbus

:: Pattern Int -> Pattern Double -> ControlPattern

minutes

:: Pattern Double -> ControlPattern

minutesTake

:: String -> [Double] -> ControlPattern

minutesCount

:: String -> ControlPattern

minutesCountTo

:: String -> Pattern Double -> Pattern ValueMap

minutesbus

:: Pattern Int -> Pattern Double -> ControlPattern

modwheel

:: Pattern Double -> ControlPattern

modwheelTake

:: String -> [Double] -> ControlPattern

modwheelCount

:: String -> ControlPattern

modwheelCountTo

:: String -> Pattern Double -> Pattern ValueMap

modwheelbus

:: Pattern Int -> Pattern Double -> ControlPattern

modwheelrecv

:: Pattern Int -> ControlPattern

mtranspose

:: Pattern Double -> ControlPattern

mtransposeTake

:: String -> [Double] -> ControlPattern

mtransposeCount

:: String -> ControlPattern

mtransposeCountTo

:: String -> Pattern Double -> Pattern ValueMap

mtransposebus

:: Pattern Int -> Pattern Double -> ControlPattern

mtransposerecv

:: Pattern Int -> ControlPattern

n

:: Pattern Note -> ControlPattern

The note or sample number to choose for a synth or sampleset

nTake

:: String -> [Double] -> ControlPattern

nCount

:: String -> ControlPattern

nCountTo

:: String -> Pattern Double -> Pattern ValueMap

nbus

:: Pattern Int -> Pattern Note -> ControlPattern

note

:: Pattern Note -> ControlPattern

The note or pitch to play a sound or synth with

noteTake

:: String -> [Double] -> ControlPattern

noteCount

:: String -> ControlPattern

noteCountTo

:: String -> Pattern Double -> Pattern ValueMap

notebus

:: Pattern Int -> Pattern Note -> ControlPattern

nudge

:: Pattern Double -> ControlPattern

Nudges events into the future by the specified number of seconds. Negative numbers work up to a point as well (due to internal latency)

nudgeTake

:: String -> [Double] -> ControlPattern

nudgeCount

:: String -> ControlPattern

nudgeCountTo

:: String -> Pattern Double -> Pattern ValueMap

nudgebus

:: Pattern Int -> Pattern Double -> ControlPattern

nudgerecv

:: Pattern Int -> ControlPattern

octave

:: Pattern Int -> ControlPattern

octaveTake

:: String -> [Double] -> ControlPattern

octaveCount

:: String -> ControlPattern

octaveCountTo

:: String -> Pattern Double -> Pattern ValueMap

octavebus

:: Pattern Int -> Pattern Int -> ControlPattern

octaveR

:: Pattern Double -> ControlPattern

octaveRTake

:: String -> [Double] -> ControlPattern

octaveRCount

:: String -> ControlPattern

octaveRCountTo

:: String -> Pattern Double -> Pattern ValueMap

octaveRbus

:: Pattern Int -> Pattern Double -> ControlPattern

octaveRrecv

:: Pattern Int -> ControlPattern

octer

:: Pattern Double -> ControlPattern

octaver effect

octerTake

:: String -> [Double] -> ControlPattern

octerCount

:: String -> ControlPattern

octerCountTo

:: String -> Pattern Double -> Pattern ValueMap

octerbus

:: Pattern Int -> Pattern Double -> ControlPattern

octerrecv

:: Pattern Int -> ControlPattern

octersub

:: Pattern Double -> ControlPattern

octaver effect

octersubTake

:: String -> [Double] -> ControlPattern

octersubCount

:: String -> ControlPattern

octersubCountTo

:: String -> Pattern Double -> Pattern ValueMap

octersubbus

:: Pattern Int -> Pattern Double -> ControlPattern

octersubrecv

:: Pattern Int -> ControlPattern

octersubsub

:: Pattern Double -> ControlPattern

octaver effect

octersubsubTake

:: String -> [Double] -> ControlPattern

octersubsubCount

:: String -> ControlPattern

octersubsubCountTo

:: String -> Pattern Double -> Pattern ValueMap

octersubsubbus

:: Pattern Int -> Pattern Double -> ControlPattern

octersubsubrecv

:: Pattern Int -> ControlPattern

offset

:: Pattern Double -> ControlPattern

offsetTake

:: String -> [Double] -> ControlPattern

offsetCount

:: String -> ControlPattern

offsetCountTo

:: String -> Pattern Double -> Pattern ValueMap

offsetbus

:: Pattern Int -> Pattern Double -> ControlPattern

ophatdecay

:: Pattern Double -> ControlPattern

ophatdecayTake

:: String -> [Double] -> ControlPattern

ophatdecayCount

:: String -> ControlPattern

ophatdecayCountTo

:: String -> Pattern Double -> Pattern ValueMap

ophatdecaybus

:: Pattern Int -> Pattern Double -> ControlPattern

ophatdecayrecv

:: Pattern Int -> ControlPattern

orbit

:: Pattern Int -> ControlPattern

a pattern of numbers. An “orbit” is a global parameter context for patterns. Patterns with the same orbit will share hardware output bus offset and global effects, e.g. reverb and delay. The maximum number of orbits is specified in the superdirt startup, numbers higher than maximum will wrap around.

orbitTake

:: String -> [Double] -> ControlPattern

orbitCount

:: String -> ControlPattern

orbitCountTo

:: String -> Pattern Double -> Pattern ValueMap

orbitbus

:: Pattern Int -> Pattern Int -> ControlPattern

orbitrecv

:: Pattern Int -> ControlPattern

overgain

:: Pattern Double -> ControlPattern

overgainTake

:: String -> [Double] -> ControlPattern

overgainCount

:: String -> ControlPattern

overgainCountTo

:: String -> Pattern Double -> Pattern ValueMap

overgainbus

:: Pattern Int -> Pattern Double -> ControlPattern

overshape

:: Pattern Double -> ControlPattern

overshapeTake

:: String -> [Double] -> ControlPattern

overshapeCount

:: String -> ControlPattern

overshapeCountTo

:: String -> Pattern Double -> Pattern ValueMap

overshapebus

:: Pattern Int -> Pattern Double -> ControlPattern

overshaperecv

:: Pattern Int -> ControlPattern

pan

:: Pattern Double -> ControlPattern

a pattern of numbers between 0 and 1, from left to right (assuming stereo), once round a circle (assuming multichannel)

panTake

:: String -> [Double] -> ControlPattern

panCount

:: String -> ControlPattern

panCountTo

:: String -> Pattern Double -> Pattern ValueMap

panbus

:: Pattern Int -> Pattern Double -> ControlPattern

panrecv

:: Pattern Int -> ControlPattern

panorient

:: Pattern Double -> ControlPattern

a pattern of numbers between -1.0 and 1.0, which controls the relative position of the centre pan in a pair of adjacent speakers (multichannel only)

panorientTake

:: String -> [Double] -> ControlPattern

panorientCount

:: String -> ControlPattern

panorientCountTo

:: String -> Pattern Double -> Pattern ValueMap

panorientbus

:: Pattern Int -> Pattern Double -> ControlPattern

panorientrecv

:: Pattern Int -> ControlPattern

panspan

:: Pattern Double -> ControlPattern

a pattern of numbers between -inf and inf, which controls how much multichannel output is fanned out (negative is backwards ordering)

panspanTake

:: String -> [Double] -> ControlPattern

panspanCount

:: String -> ControlPattern

panspanCountTo

:: String -> Pattern Double -> Pattern ValueMap

panspanbus

:: Pattern Int -> Pattern Double -> ControlPattern

panspanrecv

:: Pattern Int -> ControlPattern

pansplay

:: Pattern Double -> ControlPattern

a pattern of numbers between 0.0 and 1.0, which controls the multichannel spread range (multichannel only)

pansplayTake

:: String -> [Double] -> ControlPattern

pansplayCount

:: String -> ControlPattern

pansplayCountTo

:: String -> Pattern Double -> Pattern ValueMap

pansplaybus

:: Pattern Int -> Pattern Double -> ControlPattern

pansplayrecv

:: Pattern Int -> ControlPattern

panwidth

:: Pattern Double -> ControlPattern

a pattern of numbers between 0.0 and inf, which controls how much each channel is distributed over neighbours (multichannel only)

panwidthTake

:: String -> [Double] -> ControlPattern

panwidthCount

:: String -> ControlPattern

panwidthCountTo

:: String -> Pattern Double -> Pattern ValueMap

panwidthbus

:: Pattern Int -> Pattern Double -> ControlPattern

panwidthrecv

:: Pattern Int -> ControlPattern

partials

:: Pattern Double -> ControlPattern

partialsTake

:: String -> [Double] -> ControlPattern

partialsCount

:: String -> ControlPattern

partialsCountTo

:: String -> Pattern Double -> Pattern ValueMap

partialsbus

:: Pattern Int -> Pattern Double -> ControlPattern

partialsrecv

:: Pattern Int -> ControlPattern

phaserdepth

:: Pattern Double -> ControlPattern

Phaser Audio DSP effect. Params are phaserrate and phaserdepth

phaserdepthTake

:: String -> [Double] -> ControlPattern

phaserdepthCount

:: String -> ControlPattern

phaserdepthCountTo

:: String -> Pattern Double -> Pattern ValueMap

phaserdepthbus

:: Pattern Int -> Pattern Double -> ControlPattern

phaserdepthrecv

:: Pattern Int -> ControlPattern

phaserrate

:: Pattern Double -> ControlPattern

Phaser Audio DSP effect. Params are phaserrate and phaserdepth

phaserrateTake

:: String -> [Double] -> ControlPattern

phaserrateCount

:: String -> ControlPattern

phaserrateCountTo

:: String -> Pattern Double -> Pattern ValueMap

phaserratebus

:: Pattern Int -> Pattern Double -> ControlPattern

phaserraterecv

:: Pattern Int -> ControlPattern

pitch1

:: Pattern Double -> ControlPattern

pitch1Take

:: String -> [Double] -> ControlPattern

pitch1Count

:: String -> ControlPattern

pitch1CountTo

:: String -> Pattern Double -> Pattern ValueMap

pitch1bus

:: Pattern Int -> Pattern Double -> ControlPattern

pitch1recv

:: Pattern Int -> ControlPattern

pitch2

:: Pattern Double -> ControlPattern

pitch2Take

:: String -> [Double] -> ControlPattern

pitch2Count

:: String -> ControlPattern

pitch2CountTo

:: String -> Pattern Double -> Pattern ValueMap

pitch2bus

:: Pattern Int -> Pattern Double -> ControlPattern

pitch2recv

:: Pattern Int -> ControlPattern

pitch3

:: Pattern Double -> ControlPattern

pitch3Take

:: String -> [Double] -> ControlPattern

pitch3Count

:: String -> ControlPattern

pitch3CountTo

:: String -> Pattern Double -> Pattern ValueMap

pitch3bus

:: Pattern Int -> Pattern Double -> ControlPattern

pitch3recv

:: Pattern Int -> ControlPattern

polyTouch

:: Pattern Double -> ControlPattern

polyTouchTake

:: String -> [Double] -> ControlPattern

polyTouchCount

:: String -> ControlPattern

polyTouchCountTo

:: String -> Pattern Double -> Pattern ValueMap

polyTouchbus

:: Pattern Int -> Pattern Double -> ControlPattern

portamento

:: Pattern Double -> ControlPattern

portamentoTake

:: String -> [Double] -> ControlPattern

portamentoCount

:: String -> ControlPattern

portamentoCountTo

:: String -> Pattern Double -> Pattern ValueMap

portamentobus

:: Pattern Int -> Pattern Double -> ControlPattern

portamentorecv

:: Pattern Int -> ControlPattern

progNum

:: Pattern Double -> ControlPattern

progNumTake

:: String -> [Double] -> ControlPattern

progNumCount

:: String -> ControlPattern

progNumCountTo

:: String -> Pattern Double -> Pattern ValueMap

progNumbus

:: Pattern Int -> Pattern Double -> ControlPattern

rate

:: Pattern Double -> ControlPattern

used in SuperDirt softsynths as a control rate or “speed”

rateTake

:: String -> [Double] -> ControlPattern

rateCount

:: String -> ControlPattern

rateCountTo

:: String -> Pattern Double -> Pattern ValueMap

ratebus

:: Pattern Int -> Pattern Double -> ControlPattern

raterecv

:: Pattern Int -> ControlPattern

real

:: Pattern Double -> ControlPattern

Spectral conform

realTake

:: String -> [Double] -> ControlPattern

realCount

:: String -> ControlPattern

realCountTo

:: String -> Pattern Double -> Pattern ValueMap

realbus

:: Pattern Int -> Pattern Double -> ControlPattern

realrecv

:: Pattern Int -> ControlPattern

release

:: Pattern Double -> ControlPattern

a pattern of numbers to specify the release time (in seconds) of an envelope applied to each sample.

releaseTake

:: String -> [Double] -> ControlPattern

releaseCount

:: String -> ControlPattern

releaseCountTo

:: String -> Pattern Double -> Pattern ValueMap

releasebus

:: Pattern Int -> Pattern Double -> ControlPattern

releaserecv

:: Pattern Int -> ControlPattern

resonance

:: Pattern Double -> ControlPattern

a pattern of numbers from 0 to 1. Specifies the resonance of the low-pass filter.

resonanceTake

:: String -> [Double] -> ControlPattern

resonanceCount

:: String -> ControlPattern

resonanceCountTo

:: String -> Pattern Double -> Pattern ValueMap

resonancebus

:: Pattern Int -> Pattern Double -> ControlPattern

resonancerecv

:: Pattern Int -> ControlPattern

ring

:: Pattern Double -> ControlPattern

ring modulation

ringTake

:: String -> [Double] -> ControlPattern

ringCount

:: String -> ControlPattern

ringCountTo

:: String -> Pattern Double -> Pattern ValueMap

ringbus

:: Pattern Int -> Pattern Double -> ControlPattern

ringrecv

:: Pattern Int -> ControlPattern

ringdf

:: Pattern Double -> ControlPattern

ring modulation

ringdfTake

:: String -> [Double] -> ControlPattern

ringdfCount

:: String -> ControlPattern

ringdfCountTo

:: String -> Pattern Double -> Pattern ValueMap

ringdfbus

:: Pattern Int -> Pattern Double -> ControlPattern

ringdfrecv

:: Pattern Int -> ControlPattern

ringf

:: Pattern Double -> ControlPattern

ring modulation

ringfTake

:: String -> [Double] -> ControlPattern

ringfCount

:: String -> ControlPattern

ringfCountTo

:: String -> Pattern Double -> Pattern ValueMap

ringfbus

:: Pattern Int -> Pattern Double -> ControlPattern

ringfrecv

:: Pattern Int -> ControlPattern

room

:: Pattern Double -> ControlPattern

a pattern of numbers from 0 to 1. Sets the level of reverb.

roomTake

:: String -> [Double] -> ControlPattern

roomCount

:: String -> ControlPattern

roomCountTo

:: String -> Pattern Double -> Pattern ValueMap

roombus

:: Pattern Int -> Pattern Double -> ControlPattern

roomrecv

:: Pattern Int -> ControlPattern

sagogo

:: Pattern Double -> ControlPattern

sagogoTake

:: String -> [Double] -> ControlPattern

sagogoCount

:: String -> ControlPattern

sagogoCountTo

:: String -> Pattern Double -> Pattern ValueMap

sagogobus

:: Pattern Int -> Pattern Double -> ControlPattern

sagogorecv

:: Pattern Int -> ControlPattern

sclap

:: Pattern Double -> ControlPattern

sclapTake

:: String -> [Double] -> ControlPattern

sclapCount

:: String -> ControlPattern

sclapCountTo

:: String -> Pattern Double -> Pattern ValueMap

sclapbus

:: Pattern Int -> Pattern Double -> ControlPattern

sclaprecv

:: Pattern Int -> ControlPattern

sclaves

:: Pattern Double -> ControlPattern

sclavesTake

:: String -> [Double] -> ControlPattern

sclavesCount

:: String -> ControlPattern

sclavesCountTo

:: String -> Pattern Double -> Pattern ValueMap

sclavesbus

:: Pattern Int -> Pattern Double -> ControlPattern

sclavesrecv

:: Pattern Int -> ControlPattern

scram

:: Pattern Double -> ControlPattern

Spectral scramble

scramTake

:: String -> [Double] -> ControlPattern

scramCount

:: String -> ControlPattern

scramCountTo

:: String -> Pattern Double -> Pattern ValueMap

scrambus

:: Pattern Int -> Pattern Double -> ControlPattern

scramrecv

:: Pattern Int -> ControlPattern

scrash

:: Pattern Double -> ControlPattern

scrashTake

:: String -> [Double] -> ControlPattern

scrashCount

:: String -> ControlPattern

scrashCountTo

:: String -> Pattern Double -> Pattern ValueMap

scrashbus

:: Pattern Int -> Pattern Double -> ControlPattern

scrashrecv

:: Pattern Int -> ControlPattern

seconds

:: Pattern Double -> ControlPattern

secondsTake

:: String -> [Double] -> ControlPattern

secondsCount

:: String -> ControlPattern

secondsCountTo

:: String -> Pattern Double -> Pattern ValueMap

secondsbus

:: Pattern Int -> Pattern Double -> ControlPattern

semitone

:: Pattern Double -> ControlPattern

semitoneTake

:: String -> [Double] -> ControlPattern

semitoneCount

:: String -> ControlPattern

semitoneCountTo

:: String -> Pattern Double -> Pattern ValueMap

semitonebus

:: Pattern Int -> Pattern Double -> ControlPattern

semitonerecv

:: Pattern Int -> ControlPattern

shape

:: Pattern Double -> ControlPattern

wave shaping distortion, a pattern of numbers from 0 for no distortion up to 1 for loads of distortion.

shapeTake

:: String -> [Double] -> ControlPattern

shapeCount

:: String -> ControlPattern

shapeCountTo

:: String -> Pattern Double -> Pattern ValueMap

shapebus

:: Pattern Int -> Pattern Double -> ControlPattern

shaperecv

:: Pattern Int -> ControlPattern

size

:: Pattern Double -> ControlPattern

a pattern of numbers from 0 to 1. Sets the perceptual size (reverb time) of the room to be used in reverb.

sizeTake

:: String -> [Double] -> ControlPattern

sizeCount

:: String -> ControlPattern

sizeCountTo

:: String -> Pattern Double -> Pattern ValueMap

sizebus

:: Pattern Int -> Pattern Double -> ControlPattern

sizerecv

:: Pattern Int -> ControlPattern

slide

:: Pattern Double -> ControlPattern

slideTake

:: String -> [Double] -> ControlPattern

slideCount

:: String -> ControlPattern

slideCountTo

:: String -> Pattern Double -> Pattern ValueMap

slidebus

:: Pattern Int -> Pattern Double -> ControlPattern

sliderecv

:: Pattern Int -> ControlPattern

slider0

:: Pattern Double -> ControlPattern

slider0Take

:: String -> [Double] -> ControlPattern

slider0Count

:: String -> ControlPattern

slider0CountTo

:: String -> Pattern Double -> Pattern ValueMap

slider0bus

:: Pattern Int -> Pattern Double -> ControlPattern

slider0recv

:: Pattern Int -> ControlPattern

slider1

:: Pattern Double -> ControlPattern

slider1Take

:: String -> [Double] -> ControlPattern

slider1Count

:: String -> ControlPattern

slider1CountTo

:: String -> Pattern Double -> Pattern ValueMap

slider1bus

:: Pattern Int -> Pattern Double -> ControlPattern

slider1recv

:: Pattern Int -> ControlPattern

slider10

:: Pattern Double -> ControlPattern

slider10Take

:: String -> [Double] -> ControlPattern

slider10Count

:: String -> ControlPattern

slider10CountTo

:: String -> Pattern Double -> Pattern ValueMap

slider10bus

:: Pattern Int -> Pattern Double -> ControlPattern

slider10recv

:: Pattern Int -> ControlPattern

slider11

:: Pattern Double -> ControlPattern

slider11Take

:: String -> [Double] -> ControlPattern

slider11Count

:: String -> ControlPattern

slider11CountTo

:: String -> Pattern Double -> Pattern ValueMap

slider11bus

:: Pattern Int -> Pattern Double -> ControlPattern

slider11recv

:: Pattern Int -> ControlPattern

slider12

:: Pattern Double -> ControlPattern

slider12Take

:: String -> [Double] -> ControlPattern

slider12Count

:: String -> ControlPattern

slider12CountTo

:: String -> Pattern Double -> Pattern ValueMap

slider12bus

:: Pattern Int -> Pattern Double -> ControlPattern

slider12recv

:: Pattern Int -> ControlPattern

slider13

:: Pattern Double -> ControlPattern

slider13Take

:: String -> [Double] -> ControlPattern

slider13Count

:: String -> ControlPattern

slider13CountTo

:: String -> Pattern Double -> Pattern ValueMap

slider13bus

:: Pattern Int -> Pattern Double -> ControlPattern

slider13recv

:: Pattern Int -> ControlPattern

slider14

:: Pattern Double -> ControlPattern

slider14Take

:: String -> [Double] -> ControlPattern

slider14Count

:: String -> ControlPattern

slider14CountTo

:: String -> Pattern Double -> Pattern ValueMap

slider14bus

:: Pattern Int -> Pattern Double -> ControlPattern

slider14recv

:: Pattern Int -> ControlPattern

slider15

:: Pattern Double -> ControlPattern

slider15Take

:: String -> [Double] -> ControlPattern

slider15Count

:: String -> ControlPattern

slider15CountTo

:: String -> Pattern Double -> Pattern ValueMap

slider15bus

:: Pattern Int -> Pattern Double -> ControlPattern

slider15recv

:: Pattern Int -> ControlPattern

slider2

:: Pattern Double -> ControlPattern

slider2Take

:: String -> [Double] -> ControlPattern

slider2Count

:: String -> ControlPattern

slider2CountTo

:: String -> Pattern Double -> Pattern ValueMap

slider2bus

:: Pattern Int -> Pattern Double -> ControlPattern

slider2recv

:: Pattern Int -> ControlPattern

slider3

:: Pattern Double -> ControlPattern

slider3Take

:: String -> [Double] -> ControlPattern

slider3Count

:: String -> ControlPattern

slider3CountTo

:: String -> Pattern Double -> Pattern ValueMap

slider3bus

:: Pattern Int -> Pattern Double -> ControlPattern

slider3recv

:: Pattern Int -> ControlPattern

slider4

:: Pattern Double -> ControlPattern

slider4Take

:: String -> [Double] -> ControlPattern

slider4Count

:: String -> ControlPattern

slider4CountTo

:: String -> Pattern Double -> Pattern ValueMap

slider4bus

:: Pattern Int -> Pattern Double -> ControlPattern

slider4recv

:: Pattern Int -> ControlPattern

slider5

:: Pattern Double -> ControlPattern

slider5Take

:: String -> [Double] -> ControlPattern

slider5Count

:: String -> ControlPattern

slider5CountTo

:: String -> Pattern Double -> Pattern ValueMap

slider5bus

:: Pattern Int -> Pattern Double -> ControlPattern

slider5recv

:: Pattern Int -> ControlPattern

slider6

:: Pattern Double -> ControlPattern

slider6Take

:: String -> [Double] -> ControlPattern

slider6Count

:: String -> ControlPattern

slider6CountTo

:: String -> Pattern Double -> Pattern ValueMap

slider6bus

:: Pattern Int -> Pattern Double -> ControlPattern

slider6recv

:: Pattern Int -> ControlPattern

slider7

:: Pattern Double -> ControlPattern

slider7Take

:: String -> [Double] -> ControlPattern

slider7Count

:: String -> ControlPattern

slider7CountTo

:: String -> Pattern Double -> Pattern ValueMap

slider7bus

:: Pattern Int -> Pattern Double -> ControlPattern

slider7recv

:: Pattern Int -> ControlPattern

slider8

:: Pattern Double -> ControlPattern

slider8Take

:: String -> [Double] -> ControlPattern

slider8Count

:: String -> ControlPattern

slider8CountTo

:: String -> Pattern Double -> Pattern ValueMap

slider8bus

:: Pattern Int -> Pattern Double -> ControlPattern

slider8recv

:: Pattern Int -> ControlPattern

slider9

:: Pattern Double -> ControlPattern

slider9Take

:: String -> [Double] -> ControlPattern

slider9Count

:: String -> ControlPattern

slider9CountTo

:: String -> Pattern Double -> Pattern ValueMap

slider9bus

:: Pattern Int -> Pattern Double -> ControlPattern

slider9recv

:: Pattern Int -> ControlPattern

smear

:: Pattern Double -> ControlPattern

Spectral smear

smearTake

:: String -> [Double] -> ControlPattern

smearCount

:: String -> ControlPattern

smearCountTo

:: String -> Pattern Double -> Pattern ValueMap

smearbus

:: Pattern Int -> Pattern Double -> ControlPattern

smearrecv

:: Pattern Int -> ControlPattern

songPtr

:: Pattern Double -> ControlPattern

songPtrTake

:: String -> [Double] -> ControlPattern

songPtrCount

:: String -> ControlPattern

songPtrCountTo

:: String -> Pattern Double -> Pattern ValueMap

songPtrbus

:: Pattern Int -> Pattern Double -> ControlPattern

speed

:: Pattern Double -> ControlPattern

A pattern of numbers which changes the speed of sample playback which also changes pitch. Negative values will play the sample backwards.

d1 $ slow 5 $ s "sax:5" # legato 1 # speed 0.5

This will play the sax:5 sample at half its rate. As a result, the sample will last twice the normal time, and will be pitched a whole octave lower. This is equivalent to d1 $ slow 5 $ s "sax:5" # legato 1 |- note 12.

d1 $ fast 2 $ s "breaks125:1" # cps (125/60/4) # speed (-2)

In the above example, the break (which lasts for exactly one bar at 125 BPM), will be played backwards, and at double speed (so, we use fast 2 to fill the whole cycle).

speedTake

:: String -> [Double] -> ControlPattern

speedCount

:: String -> ControlPattern

speedCountTo

:: String -> Pattern Double -> Pattern ValueMap

speedbus

:: Pattern Int -> Pattern Double -> ControlPattern

squiz

:: Pattern Double -> ControlPattern

squizTake

:: String -> [Double] -> ControlPattern

squizCount

:: String -> ControlPattern

squizCountTo

:: String -> Pattern Double -> Pattern ValueMap

squizbus

:: Pattern Int -> Pattern Double -> ControlPattern

squizrecv

:: Pattern Int -> ControlPattern

stepsPerOctave

:: Pattern Double -> ControlPattern

stepsPerOctaveTake

:: String -> [Double] -> ControlPattern

stepsPerOctaveCount

:: String -> ControlPattern

stepsPerOctaveCountTo

:: String -> Pattern Double -> Pattern ValueMap

stepsPerOctavebus

:: Pattern Int -> Pattern Double -> ControlPattern

stepsPerOctaverecv

:: Pattern Int -> ControlPattern

stutterdepth

:: Pattern Double -> ControlPattern

stutterdepthTake

:: String -> [Double] -> ControlPattern

stutterdepthCount

:: String -> ControlPattern

stutterdepthCountTo

:: String -> Pattern Double -> Pattern ValueMap

stutterdepthbus

:: Pattern Int -> Pattern Double -> ControlPattern

stutterdepthrecv

:: Pattern Int -> ControlPattern

stuttertime

:: Pattern Double -> ControlPattern

stuttertimeTake

:: String -> [Double] -> ControlPattern

stuttertimeCount

:: String -> ControlPattern

stuttertimeCountTo

:: String -> Pattern Double -> Pattern ValueMap

stuttertimebus

:: Pattern Int -> Pattern Double -> ControlPattern

stuttertimerecv

:: Pattern Int -> ControlPattern

sustain

:: Pattern Double -> ControlPattern

A pattern of numbers that indicates the total duration of sample playback in seconds.

This sustain refers to the whole playback duration and is not to be confused with the sustain level of a typical ADSR envelope.

d1 $ fast 2 $ s "breaks125:1" # cps (120/60/4) # sustain 1

At 120 BPM, a cycle lasts for two seconds. In the above example, we cut the sample so it plays just for one second, and repeat this part two times, so we fill the whole cycle. Note that sample pitch isn’t modified.

d1 $ s "breaks125:2!3" # cps (120/60/4) # sustain "0.4 0.2 0.4" # begin "0 0 0.4"

Here, we take advantage that sustain receives a pattern to build a different break from the original sample.

sustainTake

:: String -> [Double] -> ControlPattern

sustainCount

:: String -> ControlPattern

sustainCountTo

:: String -> Pattern Double -> Pattern ValueMap

sustainbus

:: Pattern Int -> Pattern Double -> ControlPattern

sustainpedal

:: Pattern Double -> ControlPattern

sustainpedalTake

:: String -> [Double] -> ControlPattern

sustainpedalCount

:: String -> ControlPattern

sustainpedalCountTo

:: String -> Pattern Double -> Pattern ValueMap

sustainpedalbus

:: Pattern Int -> Pattern Double -> ControlPattern

sustainpedalrecv

:: Pattern Int -> ControlPattern

timescale

:: Pattern Double -> ControlPattern

timescale is the main function used to activate time-stretching, and usually the only one you need. It receives a single parameter which is the stretching rate to apply.

You can use any positive number as the ratio, but the particular method used is designed for ratios greater than 1, and work reasonably well for values between 0.1 and 3.

d1 $ slow 2 $ s "breaks152" # legato 1 # timescale (152/130) # cps (130/60/4)

In the example above, we set tempo at 130 beats per minute. But we want to play one of the breaks152 samples, which are, as indicated, at 152 BPM. So, the ratio we want is 152 over 130. This will slow down the sample to fit in our 130 BPM tempo.

timescaleTake

:: String -> [Double] -> ControlPattern

timescaleCount

:: String -> ControlPattern

timescaleCountTo

:: String -> Pattern Double -> Pattern ValueMap

timescalebus

:: Pattern Int -> Pattern Double -> ControlPattern

timescalewin

:: Pattern Double -> ControlPattern

Time stretch window size.

The algorithm used to time-stretch a sample divides a sample in many little parts, modifies them, and puts them all together again. It uses one particular parameter, called windowSize, which is the length of each sample part. The windowSize value is automatically calculated, but can be changed with timescalewin. The windowSize value is multiplied by the number provided.

timescalewin can be used to improve the quality of time-stretching for some samples, or simply as an effect.

Consider the following two examples. In the first one, timescalewin 0.01 makes the window size a lot smaller, and the extreme chopping of the sample causes a rougher sound. In the second one, timescalewin 10 makes the chunks a lot bigger. The method used overlaps the treated chunks when recomposing the sample, and, with the bigger window size, this overlap is noticeable and causes a kind of delay effect.

d1 $ slow 2
$ s "breaks152"
# legato 1
# timescale (152/130)
# timescalewin 0.01
# cps (130/60/4)
d1 $ slow 2
$ s "breaks152"
# legato 1
# timescale (152/130)
# timescalewin 10
# cps (130/60/4)

timescalewinTake

:: String -> [Double] -> ControlPattern

timescalewinCount

:: String -> ControlPattern

timescalewinCountTo

:: String -> Pattern Double -> Pattern ValueMap

timescalewinbus

:: Pattern Int -> Pattern Double -> ControlPattern

to

:: Pattern Double -> ControlPattern

for internal sound routing

toTake

:: String -> [Double] -> ControlPattern

toCount

:: String -> ControlPattern

toCountTo

:: String -> Pattern Double -> Pattern ValueMap

tobus

:: Pattern Int -> Pattern Double -> ControlPattern

torecv

:: Pattern Int -> ControlPattern

toArg

:: Pattern String -> ControlPattern

for internal sound routing

toArgTake

:: String -> [Double] -> ControlPattern

toArgbus

:: Pattern Int -> Pattern String -> ControlPattern

toArgrecv

:: Pattern Int -> ControlPattern

tomdecay

:: Pattern Double -> ControlPattern

tomdecayTake

:: String -> [Double] -> ControlPattern

tomdecayCount

:: String -> ControlPattern

tomdecayCountTo

:: String -> Pattern Double -> Pattern ValueMap

tomdecaybus

:: Pattern Int -> Pattern Double -> ControlPattern

tomdecayrecv

:: Pattern Int -> ControlPattern

tremolodepth

:: Pattern Double -> ControlPattern

Tremolo Audio DSP effect | params are tremolorate and tremolodepth

tremolodepthTake

:: String -> [Double] -> ControlPattern

tremolodepthCount

:: String -> ControlPattern

tremolodepthCountTo

:: String -> Pattern Double -> Pattern ValueMap

tremolodepthbus

:: Pattern Int -> Pattern Double -> ControlPattern

tremolodepthrecv

:: Pattern Int -> ControlPattern

tremolorate

:: Pattern Double -> ControlPattern

Tremolo Audio DSP effect | params are tremolorate and tremolodepth

tremolorateTake

:: String -> [Double] -> ControlPattern

tremolorateCount

:: String -> ControlPattern

tremolorateCountTo

:: String -> Pattern Double -> Pattern ValueMap

tremoloratebus

:: Pattern Int -> Pattern Double -> ControlPattern

tremoloraterecv

:: Pattern Int -> ControlPattern

triode

:: Pattern Double -> ControlPattern

tube distortion

triodeTake

:: String -> [Double] -> ControlPattern

triodeCount

:: String -> ControlPattern

triodeCountTo

:: String -> Pattern Double -> Pattern ValueMap

triodebus

:: Pattern Int -> Pattern Double -> ControlPattern

trioderecv

:: Pattern Int -> ControlPattern

tsdelay

:: Pattern Double -> ControlPattern

tsdelayTake

:: String -> [Double] -> ControlPattern

tsdelayCount

:: String -> ControlPattern

tsdelayCountTo

:: String -> Pattern Double -> Pattern ValueMap

tsdelaybus

:: Pattern Int -> Pattern Double -> ControlPattern

tsdelayrecv

:: Pattern Int -> ControlPattern

uid

:: Pattern Double -> ControlPattern

uidTake

:: String -> [Double] -> ControlPattern

uidCount

:: String -> ControlPattern

uidCountTo

:: String -> Pattern Double -> Pattern ValueMap

uidbus

:: Pattern Int -> Pattern Double -> ControlPattern

unit

:: Pattern String -> ControlPattern

Used in conjunction with speed. It accepts values of r (rate, default behavior), c (cycles), or s (seconds). Using unit "c" means speed will be interpreted in units of cycles, e.g. speed "1" means samples will be stretched to fill a cycle. Using unit "s" means the playback speed will be adjusted so that the duration is the number of seconds specified by speed.

In the following example, speed 2 means that samples will be stretched to fill half a cycle:

d1 $ stack [
s "sax:5" # legato 1 # speed 2 # unit "c",
s "bd*2"
]

unitTake

:: String -> [Double] -> ControlPattern

unitbus

:: Pattern Int -> Pattern String -> ControlPattern

val

:: Pattern Double -> ControlPattern

valTake

:: String -> [Double] -> ControlPattern

valCount

:: String -> ControlPattern

valCountTo

:: String -> Pattern Double -> Pattern ValueMap

valbus

:: Pattern Int -> Pattern Double -> ControlPattern

vcfegint

:: Pattern Double -> ControlPattern

vcfegintTake

:: String -> [Double] -> ControlPattern

vcfegintCount

:: String -> ControlPattern

vcfegintCountTo

:: String -> Pattern Double -> Pattern ValueMap

vcfegintbus

:: Pattern Int -> Pattern Double -> ControlPattern

vcfegintrecv

:: Pattern Int -> ControlPattern

vcoegint

:: Pattern Double -> ControlPattern

vcoegintTake

:: String -> [Double] -> ControlPattern

vcoegintCount

:: String -> ControlPattern

vcoegintCountTo

:: String -> Pattern Double -> Pattern ValueMap

vcoegintbus

:: Pattern Int -> Pattern Double -> ControlPattern

vcoegintrecv

:: Pattern Int -> ControlPattern

velocity

:: Pattern Double -> ControlPattern

velocityTake

:: String -> [Double] -> ControlPattern

velocityCount

:: String -> ControlPattern

velocityCountTo

:: String -> Pattern Double -> Pattern ValueMap

velocitybus

:: Pattern Int -> Pattern Double -> ControlPattern

velocityrecv

:: Pattern Int -> ControlPattern

voice

:: Pattern Double -> ControlPattern

voiceTake

:: String -> [Double] -> ControlPattern

voiceCount

:: String -> ControlPattern

voiceCountTo

:: String -> Pattern Double -> Pattern ValueMap

voicebus

:: Pattern Int -> Pattern Double -> ControlPattern

voicerecv

:: Pattern Int -> ControlPattern

vowel

:: Pattern String -> ControlPattern

formant filter to make things sound like vowels, a pattern of either a, e, i, o or u. Use a rest (~) for no effect.

vowelTake

:: String -> [Double] -> ControlPattern

vowelbus

:: Pattern Int -> Pattern String -> ControlPattern

vowelrecv

:: Pattern Int -> ControlPattern

waveloss

:: Pattern Double -> ControlPattern

wavelossTake

:: String -> [Double] -> ControlPattern

wavelossCount

:: String -> ControlPattern

wavelossCountTo

:: String -> Pattern Double -> Pattern ValueMap

wavelossbus

:: Pattern Int -> Pattern Double -> ControlPattern

wavelossrecv

:: Pattern Int -> ControlPattern

xsdelay

:: Pattern Double -> ControlPattern

xsdelayTake

:: String -> [Double] -> ControlPattern

xsdelayCount

:: String -> ControlPattern

xsdelayCountTo

:: String -> Pattern Double -> Pattern ValueMap

xsdelaybus

:: Pattern Int -> Pattern Double -> ControlPattern

xsdelayrecv

:: Pattern Int -> ControlPattern

Aliases

voi

:: Pattern Double -> ControlPattern

voibus

:: Pattern Int -> Pattern Double -> ControlPattern

voirecv

:: Pattern Int -> ControlPattern

vco

:: Pattern Double -> ControlPattern

vcobus

:: Pattern Int -> Pattern Double -> ControlPattern

vcorecv

:: Pattern Int -> ControlPattern

vcf

:: Pattern Double -> ControlPattern

vcfbus

:: Pattern Int -> Pattern Double -> ControlPattern

vcfrecv

:: Pattern Int -> ControlPattern

up

:: Pattern Note -> ControlPattern

tremr

:: Pattern Double -> ControlPattern

tremrbus

:: Pattern Int -> Pattern Double -> ControlPattern

tremrrecv

:: Pattern Int -> ControlPattern

tremdp

:: Pattern Double -> ControlPattern

tremdpbus

:: Pattern Int -> Pattern Double -> ControlPattern

tremdprecv

:: Pattern Int -> ControlPattern

tdecay

:: Pattern Double -> ControlPattern

tdecaybus

:: Pattern Int -> Pattern Double -> ControlPattern

tdecayrecv

:: Pattern Int -> ControlPattern

sz

:: Pattern Double -> ControlPattern

szbus

:: Pattern Int -> Pattern Double -> ControlPattern

szrecv

:: Pattern Int -> ControlPattern

sus

:: Pattern Double -> ControlPattern

stt

:: Pattern Double -> ControlPattern

sttbus

:: Pattern Int -> Pattern Double -> ControlPattern

sttrecv

:: Pattern Int -> ControlPattern

std

:: Pattern Double -> ControlPattern

stdbus

:: Pattern Int -> Pattern Double -> ControlPattern

stdrecv

:: Pattern Int -> ControlPattern

sld

:: Pattern Double -> ControlPattern

sldbus

:: Pattern Int -> Pattern Double -> ControlPattern

sldrecv

:: Pattern Int -> ControlPattern

scr

:: Pattern Double -> ControlPattern

scrbus

:: Pattern Int -> Pattern Double -> ControlPattern

scrrecv

:: Pattern Int -> ControlPattern

scp

:: Pattern Double -> ControlPattern

scpbus

:: Pattern Int -> Pattern Double -> ControlPattern

scprecv

:: Pattern Int -> ControlPattern

scl

:: Pattern Double -> ControlPattern

sclbus

:: Pattern Int -> Pattern Double -> ControlPattern

sclrecv

:: Pattern Int -> ControlPattern

sag

:: Pattern Double -> ControlPattern

sagbus

:: Pattern Int -> Pattern Double -> ControlPattern

sagrecv

:: Pattern Int -> ControlPattern

s

:: Pattern String -> ControlPattern

rel

:: Pattern Double -> ControlPattern

relbus

:: Pattern Int -> Pattern Double -> ControlPattern

relrecv

:: Pattern Int -> ControlPattern

por

:: Pattern Double -> ControlPattern

porbus

:: Pattern Int -> Pattern Double -> ControlPattern

porrecv

:: Pattern Int -> ControlPattern

pit3

:: Pattern Double -> ControlPattern

pit3bus

:: Pattern Int -> Pattern Double -> ControlPattern

pit3recv

:: Pattern Int -> ControlPattern

pit2

:: Pattern Double -> ControlPattern

pit2bus

:: Pattern Int -> Pattern Double -> ControlPattern

pit2recv

:: Pattern Int -> ControlPattern

pit1

:: Pattern Double -> ControlPattern

pit1bus

:: Pattern Int -> Pattern Double -> ControlPattern

pit1recv

:: Pattern Int -> ControlPattern

phasr

:: Pattern Double -> ControlPattern

phasrbus

:: Pattern Int -> Pattern Double -> ControlPattern

phasrrecv

:: Pattern Int -> ControlPattern

phasdp

:: Pattern Double -> ControlPattern

phasdpbus

:: Pattern Int -> Pattern Double -> ControlPattern

phasdprecv

:: Pattern Int -> ControlPattern

ohdecay

:: Pattern Double -> ControlPattern

ohdecaybus

:: Pattern Int -> Pattern Double -> ControlPattern

ohdecayrecv

:: Pattern Int -> ControlPattern

number

:: Pattern Note -> ControlPattern

lsn

:: Pattern Double -> ControlPattern

lsnbus

:: Pattern Int -> Pattern Double -> ControlPattern

lsnrecv

:: Pattern Int -> ControlPattern

lpq

:: Pattern Double -> ControlPattern

lpqbus

:: Pattern Int -> Pattern Double -> ControlPattern

lpqrecv

:: Pattern Int -> ControlPattern

lpf

:: Pattern Double -> ControlPattern

lpfbus

:: Pattern Int -> Pattern Double -> ControlPattern

lpfrecv

:: Pattern Int -> ControlPattern

loh

:: Pattern Double -> ControlPattern

lohbus

:: Pattern Int -> Pattern Double -> ControlPattern

lohrecv

:: Pattern Int -> ControlPattern

llt

:: Pattern Double -> ControlPattern

lltbus

:: Pattern Int -> Pattern Double -> ControlPattern

lltrecv

:: Pattern Int -> ControlPattern

lht

:: Pattern Double -> ControlPattern

lhtbus

:: Pattern Int -> Pattern Double -> ControlPattern

lhtrecv

:: Pattern Int -> ControlPattern

lfop

:: Pattern Double -> ControlPattern

lfopbus

:: Pattern Int -> Pattern Double -> ControlPattern

lfoprecv

:: Pattern Int -> ControlPattern

lfoi

:: Pattern Double -> ControlPattern

lfoibus

:: Pattern Int -> Pattern Double -> ControlPattern

lfoirecv

:: Pattern Int -> ControlPattern

lfoc

:: Pattern Double -> ControlPattern

lfocbus

:: Pattern Int -> Pattern Double -> ControlPattern

lfocrecv

:: Pattern Int -> ControlPattern

lcr

:: Pattern Double -> ControlPattern

lcrbus

:: Pattern Int -> Pattern Double -> ControlPattern

lcrrecv

:: Pattern Int -> ControlPattern

lcp

:: Pattern Double -> ControlPattern

lcpbus

:: Pattern Int -> Pattern Double -> ControlPattern

lcprecv

:: Pattern Int -> ControlPattern

lcl

:: Pattern Double -> ControlPattern

lclbus

:: Pattern Int -> Pattern Double -> ControlPattern

lclrecv

:: Pattern Int -> ControlPattern

lch

:: Pattern Double -> ControlPattern

lchbus

:: Pattern Int -> Pattern Double -> ControlPattern

lchrecv

:: Pattern Int -> ControlPattern

lbd

:: Pattern Double -> ControlPattern

lbdbus

:: Pattern Int -> Pattern Double -> ControlPattern

lbdrecv

:: Pattern Int -> ControlPattern

lag

:: Pattern Double -> ControlPattern

lagbus

:: Pattern Int -> Pattern Double -> ControlPattern

lagrecv

:: Pattern Int -> ControlPattern

hpq

:: Pattern Double -> ControlPattern

hpqbus

:: Pattern Int -> Pattern Double -> ControlPattern

hpqrecv

:: Pattern Int -> ControlPattern

hpf

:: Pattern Double -> ControlPattern

hpfbus

:: Pattern Int -> Pattern Double -> ControlPattern

hpfrecv

:: Pattern Int -> ControlPattern

hg

:: Pattern Double -> ControlPattern

hgbus

:: Pattern Int -> Pattern Double -> ControlPattern

hgrecv

:: Pattern Int -> ControlPattern

gat

:: Pattern Double -> ControlPattern

gatbus

:: Pattern Int -> Pattern Double -> ControlPattern

gatrecv

:: Pattern Int -> ControlPattern

fadeOutTime

:: Pattern Double -> ControlPattern

dt

:: Pattern Double -> ControlPattern

dtbus

:: Pattern Int -> Pattern Double -> ControlPattern

dtrecv

:: Pattern Int -> ControlPattern

dfb

:: Pattern Double -> ControlPattern

dfbbus

:: Pattern Int -> Pattern Double -> ControlPattern

dfbrecv

:: Pattern Int -> ControlPattern

det

:: Pattern Double -> ControlPattern

detbus

:: Pattern Int -> Pattern Double -> ControlPattern

detrecv

:: Pattern Int -> ControlPattern

delayt

:: Pattern Double -> ControlPattern

delaytbus

:: Pattern Int -> Pattern Double -> ControlPattern

delaytrecv

:: Pattern Int -> ControlPattern

delayfb

:: Pattern Double -> ControlPattern

delayfbbus

:: Pattern Int -> Pattern Double -> ControlPattern

delayfbrecv

:: Pattern Int -> ControlPattern

ctfg

:: Pattern Double -> ControlPattern

ctfgbus

:: Pattern Int -> Pattern Double -> ControlPattern

ctfgrecv

:: Pattern Int -> ControlPattern

ctf

:: Pattern Double -> ControlPattern

ctfbus

:: Pattern Int -> Pattern Double -> ControlPattern

ctfrecv

:: Pattern Int -> ControlPattern

chdecay

:: Pattern Double -> ControlPattern

chdecaybus

:: Pattern Int -> Pattern Double -> ControlPattern

chdecayrecv

:: Pattern Int -> ControlPattern

bpq

:: Pattern Double -> ControlPattern

bpqbus

:: Pattern Int -> Pattern Double -> ControlPattern

bpqrecv

:: Pattern Int -> ControlPattern

bpf

:: Pattern Double -> ControlPattern

bpfbus

:: Pattern Int -> Pattern Double -> ControlPattern

bpfrecv

:: Pattern Int -> ControlPattern

att

:: Pattern Double -> ControlPattern

attbus

:: Pattern Int -> Pattern Double -> ControlPattern

attrecv

:: Pattern Int -> ControlPattern