Appendix A. List of examples
Prev |  | Next

## Appendix A. List of examples

Orchestra Syntax:Header.

0dbfs.csd

nchnls.csd

nchnls_i.csd

sr.csd

Orchestra Syntax:Block Statements.

endin.csd

endop.csd

instr.csd

opcode_example.csd

Orchestra Syntax:Macros.

define.csd

define_args.csd

define.csd

define_args.csd

include.csd

Signal Generators:Additive Synthesis/Resynthesis.

adsyn.csd

adsynt.csd

adsynt2.csd

hsboscil.csd

hsboscil_midi.csd

Signal Generators:Basic Oscillators.

lfo.csd

oscbnk.csd

oscil.csd

oscil3.csd

oscili.csd

oscilikt.csd

osciliktp.csd

oscilikts.csd

osciln.csd

oscils.csd

poscil.csd

poscil3.csd

poscil3-file.csd

vibr.csd

vibrato.csd

Signal Generators:Dynamic Spectrum Oscillators.

buzz.csd

gbuzz.csd

mpulse.csd

vco.csd

vco2.csd

vco2ift.csd

vco2init.csd

Signal Generators:FM Synthesis.

crossfm.csd

fmb3.csd

fmbell.csd

fmmetal.csd

fmpercfl.csd

fmrhode.csd

fmvoice.csd

fmwurlie.csd

foscil.csd

foscili.csd

Signal Generators:Granular Synthesis.

diskgrain.csd

fof.csd

fof2.csd

fof2-2.csd

fog.csd

grain.csd

grain2.csd

grain3.csd

granule.csd

partikkel.csd

partikkel-2.csd

partikkelsync.csd

sndwarp.csd

sndwarpst.csd

syncgrain.csd

syncloop.csd

vosim.csd

Signal Generators:Hyper Vectorial Synthesis.

hvs1.csd

hvs2.csd

hvs2-2.csd

hvs3.csd

Signal Generators:Linear and Exponential Generators.

cosseg.csd

cossegb.csd

cossegr.csd

expcurve.csd

expon.csd

expseg.csd

expsega.csd

expsegb.csd

expsegba.csd

expsegr.csd

gainslider.csd

jspline.csd

line.csd

linseg.csd

linsegb.csd

linsegr.csd

logcurve.csd

loopseg.csd

loopsegp.csd

looptseg.csd

loopxseg.csd

lpshold.csd

rspline.csd

scale.csd

transeg.csd

transegb.csd

transegr.csd

Signal Generators:Envelope Generators.

adsr.csd

envlpx.csd

envlpxr.csd

linen.csd

linenr.csd

madsr.csd

madsr-2.csd

mxadsr.csd

xadsr.csd

Signal Generators:Models and Emulations.

bamboo.csd

barmodel.csd

cabasa.csd

chuap.csd

crunch.csd

dripwater.csd

gendy.csd

gendy-2.csd

gendyc.csd

gendyx.csd

gendyx-2.csd

gogobel.csd

guiro.csd

lorenz.csd

mandel.csd

mandol.csd

marimba.csd

moog.csd

planet.csd

prepiano.csd

sandpaper.csd

sekere.csd

shaker.csd

sleighbells.csd

stix.csd

tambourine.csd

vibes.csd

voice.csd

Signal Generators:Phasors.

phasor.csd

phasorbnk.csd

syncphasor.csd

syncphasor-CZresonance.csd

Signal Generators:Random (Noise) Generators.

betarand.csd

bexprnd.csd

cauchy.csd

cauchyi.csd

cuserrnd.csd

duserrnd.csd

dust.csd

dust2.csd

exprand.csd

exprandi.csd

fractalnoise.csd

gauss.csd

gaussi.csd

gausstrig.csd

gausstrig-2.csd

jitter.csd

jitter2.csd

linrand.csd

noise.csd

noise-2.csd

pcauchy.csd

pinkish.csd

poisson.csd

rand.csd

randh.csd

randi.csd

random.csd

randomh.csd

randomi.csd

rnd31.csd

rnd31_krate.csd

rnd31_seed7.csd

rnd31_time.csd

seed.csd

trandom.csd

trirand.csd

unirand.csd

urandom.csd

urandom_krate.csd

urd.csd

weibull.csd

Signal Generators:Sample Playback.

bbcutm.csd

bbcuts.csd

flooper.csd

flooper2.csd

fluidAllOut.csd

fluidCCi.csd

fluidCCk.csd

fluidcomplex.csd

fluidEngine.csd

fluidLoad.csd

fluidNote.csd

fluidOut.csd

fluidProgramSelect.csd

fluidcomplex.csd

fluidSetInterpMethod.csd

loscil.csd

loscil3.csd

lphasor.csd

lposcil.csd

lposcil3.csd

lposcila.csd

lposcilsa.csd

lposcilsa2.csd

sfilist.csd

sfinstr.csd

sfinstr3.csd

sfinstr3m.csd

sfload.csd

sflooper.csd

sfpassign.csd

sfplay3.csd

sfplay3m.csd

sfplaym.csd

sfplist.csd

sfpreset.csd

sndloop.csd

waveset.csd

Signal Generators:Scanned Synthesis.

scans.csd

scans-2.csd

scantable.csd

xscanmap.csd

xscans.csd

xscanu.csd

Signal Generators:STK Opcodes.

STKBandedWG.csd

STKBeeThree.csd

STKBlowBotl.csd

STKBlowHole.csd

STKBowed.csd

STKBrass.csd

STKClarinet.csd

STKDrummer.csd

STKFMVoices.csd

STKFlute.csd

STKHevyMetl.csd

STKMandolin.csd

STKModalBar.csd

STKMoog.csd

STKPercFlut.csd

STKPlucked.csd

STKResonate.csd

STKRhodey.csd

STKSaxofony.csd

STKShakers.csd

STKSimple.csd

STKSitar.csd

STKStifKarp.csd

STKTubeBell.csd

STKVoicForm.csd

STKWhistle.csd

STKWurley.csd

Signal Generators:Table Access.

oscil1i.csd

oscil1i.csd

ptable.csd

ptablei.csd

tab.csd

table.csd

tablei.csd

Signal Generators:Wave Terrain Synthesis.

wterrain.csd

Signal Generators:Waveguide Physical Modeling.

pluck.csd

repluck.csd

streson.csd

wgbow.csd

wgbowedbar.csd

wgbrass.csd

wgclar.csd

wgflute.csd

wgpluck.csd

wgpluck_brighter.csd

wgpluck2.csd

Signal I/O:File I/O.

dumpk.csd

dumpk-2.csd

dumpk2.csd

dumpk3.csd

dumpk4.csd

ficlose.csd

fin.csd

fiopen.csd

fout.csd

fout_ftable.csd

fouti.csd

foutir.csd

fprintks.csd

fprintks-2.csd

scogen.csd

fprints.csd

readk.csd

readk-2.csd

readk2.csd

readk3.csd

readk4.csd

Signal I/O:Signal Input.

diskin.csd

diskin2.csd

in.csd

inch.csd

inq.csd

inrg.csd

ins.csd

mp3in.csd

soundin.csd

Signal I/O:Signal Output.

mdelay.csd

monitor.csd

out.csd

outc.csd

outch.csd

outch-2.csd

outq.csd

outq1.csd

outq2.csd

outq3.csd

outq4.csd

outrg.csd

outs.csd

outs1.csd

outs2.csd

Signal I/O:Software Bus.

chnclear.csd

chnget.csd

chnmix.csd

chnset.csd

Signal I/O:Printing and Display.

dispfft.csd

display.csd

flashtxt.csd

print.csd

printf.csd

printk.csd

printk2.csd

printks.csd

prints.csd

Signal I/O:Soundfile Queries.

filebit.csd

filelen.csd

filenchnls.csd

filepeak.csd

filesr.csd

filevalid.csd

mp3len.csd

Signal Modifiers:Amplitude Modifiers.

balance.csd

clip.csd

compress.csd

dam.csd

dam_expanded.csd

gain.csd

Signal Modifiers:Convolution and Morphing.

convolve.csd

cross2.csd

dconv.csd

ftconv.csd

ftmorf.csd

pconvolve.csd

Signal Modifiers:Delay.

delay.csd

delay1.csd

delayk.csd

delayr.csd

delayw.csd

deltap.csd

deltap3.csd

deltapi.csd

deltapn.csd

deltapx.csd

deltapxw.csd

multitap.csd

vdelay.csd

vdelay3.csd

vdelayx.csd

vdelayxq.csd

vdelayxs.csd

vdelayxw.csd

vdelayxwq.csd

vdelayxws.csd

Signal Modifiers:Panning and Spatialization.

bformenc.csd

bformenc1.csd

bformenc.csd

bformenc1.csd

hrtfearly.csd

hrtfer.csd

hrtfmove.csd

hrtfmove2.csd

hrtfstat.csd

hrtfstat-2.csd

locsend_stereo.csd

locsig_quad.csd

pan.csd

pan2.csd

space_quad.csd

space_stereo.csd

spat3d_stereo.csd

spat3d_UHJ.csd

spat3d_quad.csd

spat3dt.csd

spdist.csd

spsend.csd

vbap.csd

vbap4.csd

vbap4move.csd

vbap8.csd

vbap8move.csd

vbapg.csd

vbaplsinit.csd

vbapmove.csd

Signal Modifiers:Reverberation.

alpass.csd

babo.csd

babo_expert.csd

comb.csd

freeverb.csd

nestedap.csd

nreverb.csd

nreverb_ftable.csd

plate.csd

reverb.csd

reverbsc.csd

valpass.csd

valpass-2.csd

vcomb.csd

Signal Modifiers:Sample Level Operators.

denorm.csd

diff.csd

downsamp.csd

fold.csd

integ.csd

interp.csd

ntrpol.csd

opa.csd

samphold.csd

upsamp.csd

vaget.csd

vaset.csd

Signal Modifiers:Signal Limiters.

limit.csd

mirror.csd

wrap.csd

Signal Modifiers:Special Effects.

distort.csd

distort1.csd

flanger.csd

harmon.csd

phaser1.csd

phaser2.csd

Signal Modifiers:Standard Filters.

atone.csd

atonex.csd

biquad.csd

biquad-2.csd

butterbp.csd

butterbr.csd

butterhp.csd

butterlp.csd

clfilt_lowpass.csd

clfilt_highpass.csd

doppler.csd

mode.csd

tone.csd

tonex.csd

Signal Modifiers:Standard Filters:Resonant.

areson.csd

bqrez.csd

lowpass2.csd

lowres.csd

lowresx.csd

lpf18.csd

moogladder.csd

moogvcf.csd

moogvcf2.csd

reson.csd

resonr.csd

resonx.csd

resony.csd

resonr.csd

rezzy.csd

statevar.csd

svfilter.csd

tbvcf.csd

vlowres.csd

Signal Modifiers:Standard Filters:Control.

aresonk.csd

atonek.csd

lineto.csd

port.csd

portk.csd

resonk.csd

resonxk.csd

tlineto.csd

tonek.csd

Signal Modifiers:Specialized Filters.

dcblock.csd

dcblock2.csd

eqfil.csd

filter2.csd

fofilter.csd

hilbert.csd

hilbert_barberpole.csd

nlfilt.csd

pareq.csd

rbjeq.csd

Signal Modifiers:Waveguides.

wguide1.csd

wguide2.csd

Signal Modifiers:Waveshaping.

chebyshevpoly.csd

pdclip.csd

pdhalf.csd

pdhalfy.csd

powershape.csd

Signal Modifiers:Comparators and Accumulators.

max.csd

max_k.csd

maxabs.csd

maxabsaccum.csd

maxaccum.csd

min.csd

minabs.csd

minabsaccum.csd

minaccum.csd

Instrument Control:Clock Control.

clockoff.csd

clockon.csd

Instrument Control:Conditional Values.

equals.csd

greaterequal.csd

greaterthan.csd

lessequal.csd

lessthan.csd

notequal.csd

Instrument Control:Duration Control.

ihold.csd

turnoff.csd

Instrument Control:Invocation.

event.csd

event_named.csd

event_i.csd

mute.csd

schedkwhen.csd

schedkwhennamed.csd

schedule.csd

schedwhen.csd

scoreline.csd

scoreline_i.csd

Instrument Control:Program Flow Control.

cggoto.csd

cigoto.csd

ckgoto.csd

cngoto.csd

else.csd

elseif.csd

endif.csd

goto.csd

igoto.csd

kgoto.csd

ifthen.csd

igoto.csd

kgoto.csd

loop_le.csd

loop_lt.csd

tigoto.csd

timout.csd

until.csd

Instrument Control:Realtime Performance Control.

active.csd

active_k.csd

active_scale.csd

cpuprc.csd

exitnow.csd

jacktransport.csd

maxalloc.csd

prealloc.csd

Instrument Control:Initialization and Reinitialization.

assign.csd

init.csd

p.csd

passign.csd

pset.csd

pset-midi.csd

reinit.csd

reinit.csd

tival.csd

Instrument Control:Sensing and Control.

changed.csd

checkbox.csd

follow.csd

follow2.csd

getcfg.csd

joystick.csd

joystick-2.csd

metro.csd

metro-2.csd

miditempo.csd

p5g.csd

pcount.csd

peak.csd

pindex.csd

pindex-2.csd

pitch.csd

pitchamdf.csd

ptrack.csd

rms.csd

sensekey.csd

FLpanel-sensekey.csd

FLpanel-sensekey2.csd

seqtime.csd

seqtime2.csd

setctrl.csd

tempest.csd

tempo.csd

tempoval.csd

timedseq.csd

trigger.csd

trigseq.csd

wii.csd

xyin.csd

Instrument Control:Stacks.

pop.csd

push.csd

stack.csd

Instrument Control:Subinstrument Control.

subinstr.csd

subinstr_named.csd

Instrument Control:Time Reading.

date.csd

dates.csd

readclock.csd

rtclock.csd

timeinstk.csd

timeinsts.csd

timek.csd

times_complex.csd

Jacko Opcodes.

JackoInfo.csd

JackoInit.csd

Lua Opcodes.

luaopcode.csd

luamoog.csd

Table Control.

ftfree.csd

ftgen.csd

ftgen-2.csd

ftgentmp.csd

Table Control:Table Queries.

ftchnls.csd

ftcps.csd

ftlen.csd

ftlptim.csd

ftsr.csd

nsamp.csd

tableng.csd

Table Control:Dynamic Selection.

tablexkt.csd

Table Control:Read/Write Opreations.

ftsave.csd

tableimix.csd

tableiw.csd

tablemix.csd

tabmorph.csd

tabmorpha.csd

tabmorphak.csd

tabmorphi.csd

FLTK:Containers.

FLpanel.csd

FLscroll.csd

FLtabs.csd

FLTK:Valuators.

FLcount.csd

FLjoy.csd

FLknob.csd

FLknob-2.csd

FLroller.csd

FLslider.csd

FLslider-2.csd

FLtext.csd

FLTK:Other.

FLbox.csd

FLbutBank.csd

FLbutton.csd

FLexecButton.csd

FLhvsBox.csd

FLhvsBoxSetValue.csd

FLkeyIn.csd

FLmouse.csd

FLsavesnap_simple.csd

FLsavesnap.csd

FLslidBnk.csd

FLslidBnk2.csd

FLslidBnk2Set.csd

FLslidBnk2Setk.csd

FLslidBnkGetHandle.csd

FLslidBnkSet.csd

FLslidBnkSetk.csd

FLvalue.csd

FLvslidBnk.csd

FLvslidBnk2.csd

FLxyin.csd

FLxyin-2.csd

vphaseseg.csd

FLTK:Appearance.

FLsetcolor.csd

FLsetText.csd

Mathematical Operations:Arithmetic and Logic Operations.

adds.csd

divides.csd

modulus.csd

multiplies.csd

bitwise.csd

bitshift.csd

logicOR.csd

raises.csd

subtracts.csd

Mathematical Operations:Comparators and Accumulators.

clear.csd

vincr.csd

vincr-complex.csd

Mathematical Operations:Mathematical Functions.

abs.csd

ceil.csd

exp.csd

floor.csd

frac.csd

int.csd

log.csd

log10.csd

log2.csd

logbtwo.csd

powoftwo.csd

round.csd

sqrt.csd

Mathematical Operations:Trigonometric Functions.

cos.csd

cosh.csd

cosinv.csd

sin.csd

sinh.csd

sininv.csd

tan.csd

tanh.csd

taninv.csd

Mathematical Operations:Amplitude Functions.

ampdb.csd

ampdbfs.csd

db.csd

dbamp.csd

dbfsamp.csd

Mathematical Operations:Random Functions.

birnd.csd

rnd.csd

Mathematical Operations:Opcode Equivalents of Functions.

divz.csd

mac.csd

polynomial.csd

pow.csd

product.csd

sum.csd

taninv2.csd

Pitch Converters:Functions.

cent.csd

cpsmidinn.csd

cpsmidinn2.csd

cpsoct.csd

cpspch.csd

octave.csd

octcps.csd

cpsmidinn.csd

octpch.csd

cpsmidinn.csd

pchoct.csd

semitone.csd

Pitch Converters:Tuning Opcodes.

cps2pch.csd

cps2pch_ftable.csd

cps2pch_19et.csd

cpstun.csd

cpstuni.csd

cpsxpch.csd

cpsxpch_105et.csd

cpsxpch_pierce.csd

Real-time MIDI:Input.

aftouch.csd

chanctrl.csd

ctrl7.csd

initc7.csd

massign.csd

midic7.csd

midictrl.csd

notnum.csd

pchbend.csd

pgmassign.csd

pgmassign_ignore.csd

pgmassign_advanced.csd

polyaft.csd

veloc.csd

Real-time MIDI:Output.

nrpn.csd

outiat.csd

outic.csd

outipb.csd

outipc.csd

outkat.csd

outkc.csd

outkpb.csd

outkpc.csd

outkpc_fltk.csd

Real-time MIDI:Converters.

ampmidi.csd

ampmidid.csd

cpsmidi.csd

cpsmidib.csd

cpstmid.csd

octmidi.csd

octmidib.csd

pchmidi.csd

pchmidib.csd

Real-time MIDI:Generic I/O.

midiin.csd

midiout.csd

Real-time MIDI:Event Extenders.

xtratim.csd

xtratim-2.csd

Real-time MIDI:Note Output.

midion_simple.csd

midion_scale.csd

midion2.csd

moscil.csd

noteondur.csd

noteondur2.csd

Real-time MIDI:MIDI/Score Interoperability.

midichannelaftertouch.csd

midichn.csd

midichn_advanced.csd

midicontrolchange.csd

mididefault.csd

midinoteoff.csd

midinoteoncps.csd

midinoteonkey.csd

midinoteonoct.csd

midinoteonpch.csd

midipitchbend.csd

midipolyaftertouch.csd

midiprogramchange.csd

Real-time MIDI:System Realtime.

mclock.csd

Signal Flow Graph Opcodes.

alwayson.csd

connect.csd

ftgenonce.csd

inleta.csd

inletk.csd

outleta.csd

outletk.csd

Spectral Processing:STFT.

pvadd.csd

pvbufread.csd

pvcross.csd

pvinterp.csd

pvoc.csd

pvread.csd

tableseg.csd

tablexseg.csd

vpvoc.csd

Spectral Processing:LPC.

lpfreson.csd

lpread.csd

lpreson.csd

lpreson-2.csd

Spectral Processing:Streaming.

binit.csd

partials.csd

pvsadsyn.csd

pvsanal.csd

pvsarp.csd

pvsarp2.csd

pvsbandp.csd

pvsbandr.csd

pvsbin.csd

pvsblur.csd

pvsbufread.csd

pvsbufread2.csd

pvscale.csd

pvscent.csd

pvscross.csd

pvsdiskin.csd

pvsdisp.csd

pvsfilter.csd

pvsfread.csd

pvsfreeze.csd

pvsftr.csd

pvsftw.csd

pvsfwrite.csd

pvsgain.csd

pvshift.csd

pvsifd.csd

pvsinfo.csd

pvslock.csd

pvsmaska.csd

pvsmix.csd

pvsmooth.csd

pvsmorph.csd

pvsmorph2.csd

pvsosc.csd

pvspitch.csd

pvsvoc.csd

pvswarp.csd

pvsynth.csd

resyn.csd

sinsyn.csd

tradsyn.csd

trcross.csd

trfilter.csd

trhighest.csd

trlowest.csd

trmix.csd

trscale.csd

trshift.csd

trsplit.csd

Spectral Processing:ATS.

ATSadd.csd

ATSaddnz.csd

ATSbufread.csd

ATScross.csd

ATSinfo.csd

ATSinterpread.csd

ATSpartialtap.csd

ATSread.csd

ATSreadnz.csd

ATSsinnoi.csd

Spectral Processing:Loris.

lorismorph.csd

lorisplay.csd

lorisread.csd

Strings:Definition.

strget.csd

strset.csd

Strings:Manipulation.

sprintf.csd

sprintfk.csd

strcat.csd

strcpyk.csd

strindexk.csd

strsub.csd

Strings:Conversion.

strtod.csd

strtodk.csd

strtol.csd

strtolk.csd

Vectorial:Tables.

vtable1k.csd

vtablei.csd

vtablek.csd

vtablewa.csd

vtablewk.csd

Vectorial:Scalar operations.

vadd.csd

vadd_i.csd

vexp.csd

vexp_i.csd

vmult-2.csd

vmult.csd

vmult_i.csd

vpow.csd

vpow_i.csd

Vectorial:Vectorial operations.

vaddv.csd

vcopy.csd

vdivv.csd

vexpv.csd

vmap.csd

vmultv.csd

vpowv.csd

vsubv.csd

Vectorial:Envelopes.

vexpseg.csd

vlinseg.csd

Vectorial:Random.

vrandh.csd

vrandi.csd

Vectorial:Cellular Automata.

cell.csd

vcella.csd

Zak Patch System.

zacl.csd

zakinit.csd

zamod.csd

zar.csd

zarg.csd

zaw.csd

zawm.csd

zir.csd

ziw.csd

ziwm.csd

zkcl.csd

zkmod.csd

zkr.csd

zkw.csd

zkwm.csd

Plugin Hosting:DSSI and LADSPA.

dssiactivate.csd

dssiaudio.csd

dssictls.csd

dssiinit.csd

dssilist.csd

Plugin Hosting:VST.

vst4cs.csd

vst4cs.csd

vst4cs.csd

vst4cs.csd

vst4cs.csd

vst4cs.csd

OSC.

OSCmidisend.csd

OSCmidircv.csd

Remote Opcodes.

insremot.csd

insremotM.csd

midremot.csd

Mixer Opcodes.

Mixer.csd

Mixer.csd

Mixer.csd

Mixer.csd

Mixer.csd

Image Processing Opcodes.

imageopcodes.csd

imageopcodes.csd

imageopcodesdemo2.csd

imageopcodes.csd

imageopcodes.csd

imageopcodes.csd

imageopcodes.csd

Miscellaneous.

modmatrix.csd

pwd.csd

system.csd

farey7shuffled.csd

Prev |  | Next
Opcode Quick Reference | Home | Appendix B. Pitch Conversion