%v1, v2
Performs modulus operation.
&v1, v2
Performs logical "and" operation.
*v1, v2
Performs multiplication.
+v1, v2
Performs addition.
-v1, v2
Performs subtraction.
/v1, v2
Performs division.
<<v1, v2
Binary left shift operation.
>>v1, v2
Binary right shift operation.
^v1, v2
Performs logical "xor" operation.
absv1
Performs absolute value.
addv1, v2
Performs addition.
adsrgate, attack, decay, sustain, release
Analogue modelled ADSR generator
allpassrevtime, looptime
allpass filter
ampdbdb
converts decibels to amplitude
atonecutoff
simple one-pole high pass filter
autowahlevel, wah, mix
autowah
balreference, in
match the input's amplitude the reference's amplitude
biscalev1, min, max
Scales from bipolar [-1, 1] to [min, max].
bitcrushbitdepth (8), samplerate (10000)
bitcrusher. bitdepth: 1 - 16
blsawfreq, amp
Band-limited sawtooth oscillator
blsquarefreq, width (0.5), amp
Band-limited square oscillator with pulse-width
bltrianglefreq, amp
Band-limited triangle oscillator
bpm2durbpm
convert bpm to duration (seconds)
bpm2ratebpm
convert bpm to rate (Hertz)
branchgate, sig1, sig2
returns signal based on state of gate (0 = sig1, 1 = sig2)
brownBrownian noise generator
butbpin, freq, bw
butterworth bandpass filter
butbrin, freq, bw
butterworth band reject filter
buthpin, cutoff
Butterworth highpass filter
butlpin, cutoff
Butterworth lowpass filter
cinit value
Constant generator, used for feedback loops.
cfsig1, sig2, pos
crossfade two signals
changedsig
Returns a trigger if the input changes
clipin, limit (1)
clip limiter / distortion
clocktrig, bpm, subdiv
Clock with subdivisions and triggerable reset
combin, rev time, loop time
comb filter
convin, delay, ftbl impulse response
partitioned convolution
counttrig, max, mode
clock counter. mode: 0 = loop, 1 = one-shot
crossfadesig1, sig2, pos
crossfade two signals
dcblkf
dc block filter.
delayin, feedback, deltime
feedback delay
diodein, cutoff, res
Diode ladder filter
distpregain (1), gain (1), shape1 (0), shape2 (0)
Distortion
divv1, v2
Performs division.
dmetrotime
Metronome using time instead of frequency
driptrig, num_tubes, amp, shake_max, main freq, res freq 1, res freq 2, decay
dripwater physical model
dropf
Removes the last item on the stack.
dtrigtrig, loop, delay, scale, tbl
delta trig. loop = 1 will loop the sequence
dupf
Duplicates last item on the stack.
dup2f, f
Duplicates the two last item on the stack.
durreturns duration of sporth patch (in seconds)
dustamp, density, bipolar
dust. bipolar = 1 unipolar = 0
eqv1, v2
conditional equals
eqfilin(f) freq, bw, gain
eq filter
expontrig, ia, idur, ib
exponential line segment
fnum
Call a user defined function
floorv1
Performs flooring, returning the integer part.
fmfrequency, amplitude, carrier (1), modulator (1), index (8)
A simple FM oscillator.
fofamp, fund, form, oct, band, ris, dec, dur, iphs, iolaps, window table, sine table
fof
fofiltin, freq (1000), atk (0.007), rel (0.04)
Formant filter
fogamp, dense, trans, spd, oct, band, ris, dec, dur, iphs, iolaps, window table, wav table
fog
foscfreq, amp, carrier, modulator, index, table
FM oscillator
fracv1
Returns the fractional part of item on the stack.
gbuzzfreq, amp, nharm, lharm, mul
Series of partials from the harmonic series
gen_compositename, size, args
Generate a composite waveform of sinusoids.
gen_evalname, size, string
Evaluates sporth string to table
gen_linename, size, args
Generates a line from ordered list of breakpoints.
gen_padsynthftname, size, base freq, bandwidth, amp table
padsynth algorithm by Paul Nasca Octavian
gen_randname, size, args
random distribution generator
gen_sineftable name, size
Generates a sine wave ftable.
gen_sinesumname, size, args
Summation of harmonically related sines. based on GEN10.
gen_valsname, args
Generates an ftable from a space delimited set of values.
getname
gets variable
gtv1, v2
conditional greater than
hilbertin
hilbert transform
inRead a float from STDIN.
incrtrig, step, min, max, ival
Incrementer
invinv
inverse a signal 1/x
jcrevinput
Chowning reverb
jitteramp, cpsMin, cpsMax
Jitter control signal
linetrig, ia, idur, ib
line segment
logv1
Performs natural logarithm.
log10v1
Performs base 10 logarithm.
lpcin, framesize
apply linear-predictive coding (LPC10) to signal
lpcsynthframesize, ftbl
LPC synth. Manipulate parameters directly.
lpf18in, freq, res, dist
low pass filter with tanh distortion
lsystrig, ord, code
L-Systems microlanguage
ltv1, v2
conditional lt
maxf, f
Returns the greater of two items on the stack.
maygatetrig, probability (0.5)
Random selection of gate or no gate.
maytrigtrig, probability (0.5)
Random selection of trig or no trig.
metrofrequency
Creates clock signal.
minf, f
Returns the lesser of two items on the stack.
mincertime, amp, pitch ratio (1), winsize (2048), ftable
Phase-locked vocoder
mixf..f
Sums up remaining items on stack.
modein, freq (500), Q (50)
modal filter
moogladderinput, cutoff, res
Moog ladder lowpass filter
mtofNote number
Converts MIDI note number to Hz.
mulv1, v2
Performs multiplication.
nev1, v2
conditional not-equal to
noisegain
White noise generator.
oscfreq, amp, phase, ft name
Wavetable lookup oscillator
oscmorph2freq, amp, wtpos, phase, ft1, ft2
2-table morphing oscillator
oscmorph4freq, amp, wtpos, phase, ft1, ft2, ft3, ft4
4-table morphing oscillator
pnum
p register get
paliasname, index
create a variable alias for p-value
panin, pan
Equal power panning. -1 = hardL 1 = hardR
pareqin, freq, boost, Q, mode(0=peak, 1=low shelf, 2= high shelf)
parametric equalizer
pdhalfamount -1 to 1
casio phasor distortion
peakliminput, atk, rel, thresh db
peak limiter
phaserinl, in2, max notch, min notch, width, notch freq, depth, fdbk, invert, lvl, lfobpm
stereo phaser
phasorfreq, phase
Normalized sawtooth wave.
pinknoiseamp
pink noise generator
plucktrigger, freq, amp, ifreq (110)
plucked instrument. ifreq sets the lowest frequency (buffer size).
porthtime (0.02)
Applies portamento to a signal.
posreturns playing time, in seconds
posc3freq, amp, ftable
high-precision oscillator with cubic interpolation
propbpm, prop string
Parses prop code to produce a set of triggers
psetval, num
p register set
pshiftin, shift (semitones), window size (samps), xfade (samps)
pitch shifter
ptrackin
pitch tracking (outputs: amp, pitch)
randmin, max
picks random number at start time
randhmin, max, freq
Random hold
randimin, max, freq
Randomized line segment with interpolation
refname
save pointer reference of next pipe in table
resonin, freq, bw
resonator filter
reversein, delay
reverse delay
revscin1, in2, feedback (0.97), cutoff (10000)
Stereo reverb module from reverbsc Csound opcode.
rotf, f, f
Stack rotate. s: 1 2 3 -> 2 3 1
roundv1
Performs rounding to nearest integer.
rptin, trig, bpm, div, rep, bufsize (1)
Stutterer / repeater (bufsize in seconds)
rsplinemin, max, cps min, cps max
random spline generator
sampholdin, trig
sample and hold
saturatorin, drive, dcoffset
saturator distortion unit
scalev1, min, max
Scales from unipolar [0, 1] to [min, max].
sdelaydelay
delay (in samples)
setvalue, name
sets variable
setdurssize
set total duration (in samples)
sgetindex, ftname
picks a string from a string list
sinefreq, amp
Simple sine oscillator.
slicetrig, id, vals, buf
in-memory slice based sampler
slickftname
picks a string randomly from string list
smoothdelayin(f) fdbk(f) del(f) maxdel(f) interp
smooth delay line
sqrtin
square root
srReturns the sample rate
srandseed
seed internal RNG
stresonin, frequency, gain
String resonator filter
subv1, v2
Performs subtraction.
swapf, f
Swaps last two items on the stack.
switchtrig, sig1, sig2
toggle between two signals
tabreadindex, scaled (1: yes, 0: no), offset, wrap, ftname
read from table with interpolation
tadsrtrig, attack, decay, sustain, release
Triggerable digital-style ADSR envelope. Use trigger as a toggle.
taliasname, index, ftbl
alias a table value to a variable
talkboxsource, excitation, quality
high-resolution vocoder
tbldurftable
Get duration of table (in seconds)
tblrecin, trig, tbl name
records values to table.
tblsizeftable
Get size of table (in samples)
tdivtrigger, num, offset
trigger divider
tenvtrig, attack, sustain, release
Triggerable linear envelope generator. Values in seconds.
tenv2trig, attack, release
Two-step triggerable linear envelope generator. Values in seconds.
tenvxtrig, atk, hold, rel
Exponential Envelope Generator. Values in seconds, hold > atk
tgatetrigger, time
triggerable gate
tgetindex, table
Get value from table
threshin, thresh, mode
detect threshold crossings. mode: 0=from below, 1=above, 2=both
ticktrigger at start of file. only use once
timertrig
timer
togtrig
toggle switch that can be triggered on/off
tonein, cutoff
simple one-pole low pass filter
tphasortrig, freq, phase
Triggerable normalized sawtooth wave.
tporttrig, htime
Applies portamento to a signal with triggerable reset.
tproptrig, bpm, code
prop with a triggerable reset
trandtrig, min, max
triggerable RNG
tsegtrig, val, dur, curve, init
trigger segment
tseqtrig, mode, ft name
Triggered sequencer. modes: 0 = normal, 1 = shuffle.
tsetindex, value, table
Set value of table
varname
creates variable
varsetname, val
creates and sets a variable
vdelayin, feedback, deltime, maxdelay
variable delay with feedback
vocfreq, pos, diameter, tenseness, velum
Vocal Tract Physical Model
vocoderatk, rel, bwq, sig, exc
32-band channel vocoder
wavesetin, rep, buflen
waveset timestretching algorithm
wpkorg35in, cutoff, res, saturation
wpkorg filter
zerosname, size
Generate table of zeros
zitarevin2, in1, delay, lf_x, rtlo, rthi, hfdmp, eq1f, eq1l, eq2f, eq1l, mix, lvl
zitareverb module
zrevin2, in1, rtlo, rthi, hfdmp
zitareverb module (simplified)
|v1, v2
Performs logical "or" operation.