Appendix A. List of examples
Prev |  | Next

## Appendix A. List of examples

Orchestra Syntax:Header.

0dbfs.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

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

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

grain.csd

grain2.csd

grain3.csd

granule.csd

PartikkelExample1.csd

partikkel_softsync.csd

partikkel.csd

sndwarp.csd

vosim.csd

Signal Generators:Hyper Vectorial Synthesis.

hvs1.csd

hvs2.csd

hvs2-2.csd

hvs3.csd

Signal Generators:Linear and Exponential Generators.

expcurve.csd

expon.csd

expseg.csd

expsega.csd

expsegr.csd

gainslider.csd

line.csd

linseg.csd

linsegr.csd

logcurve.csd

loopseg.csd

loopsegp.csd

looptseg.csd

loopxseg.csd

lpshold.csd

scale.csd

transeg.csd

transegr.csd

Signal Generators:Envelope Generators.

adsr.csd

envlpx.csd

envlpxr.csd

madsr.csd

Signal Generators:Models and Emulations.

bamboo.csd

barmodel.csd

cabasa.csd

chuap.csd

crunch.csd

dripwater.csd

gogobel.csd

guiro.csd

lorenz.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

exprand.csd

gauss.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

trandom.csd

trirand.csd

unirand.csd

urandom.csd

urandom_krate.csd

weibull.csd

Signal Generators:Sample Playback.

bbcutm.csd

bbcuts.csd

fluidcomplex.csd

fluidcomplex.csd

loscil.csd

loscil3.csd

lphasor.csd

lposcila.csd

lposcilsa.csd

lposcilsa2.csd

waveset.csd

Signal Generators:Scanned Synthesis.

scans.csd

scantable.csd

Signal Generators:Table Access.

table.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

fout.csd

fout_poly.csd

fout_ftable.csd

fprintks.csd

fprintks-2.csd

scogen.csd

fprints.csd

readk.csd

Signal I/O:Signal Input.

diskin.csd

diskin2.csd

inrg.csd

soundin.csd

Signal I/O:Signal Output.

mdelay.csd

outrg.csd

Signal I/O:Printing and Display.

dispfft.csd

display.csd

flashtxt.csd

print.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

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

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

Signal Modifiers:Panning and Spatialization.

bformenc.csd

bformenc1.csd

bformenc.csd

bformenc1.csd

hrtfer.csd

hrtfmove.csd

hrtfmove2.csd

hrtfstat.csd

spat3d_stereo.csd

spat3d_UHJ.csd

spat3d_quad.csd

vbap8.csd

vbap8move.csd

Signal Modifiers:Reverberation.

alpass.csd

babo.csd

babo_expert.csd

comb.csd

freeverb.csd

nestedap.csd

nreverb.csd

nreverb_ftable.csd

reverb.csd

reverbsc.csd

vcomb.csd

Signal Modifiers:Sample Level Operators.

denorm.csd

diff.csd

downsamp.csd

fold.csd

integ.csd

interp.csd

opa.csd

vaget.csd

vaset.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

Signal Modifiers:Standard Filters:Resonant.

areson.csd

bqrez.csd

lowpass2.csd

lowres.csd

lowresx.csd

lpf18.csd

moogvcf.csd

moogvcf2.csd

reson.csd

resonr.csd

resony.csd

rezzy.csd

svfilter.csd

tbvcf.csd

vlowres.csd

Signal Modifiers:Standard Filters:Control.

aresonk.csd

atonek.csd

portk.csd

Signal Modifiers:Specialized Filters.

dcblock.csd

dcblock2.csd

eqfil.csd

hilbert.csd

hilbert_barberpole.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

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

mute.csd

schedkwhen.csd

schedkwhennamed.csd

schedule.csd

schedwhen.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

Instrument Control:Realtime Performance Control.

active.csd

active_k.csd

active_scale.csd

cpuprc.csd

jacktransport.csd

maxalloc.csd

prealloc.csd

Instrument Control:Initialization and Reinitialization.

assign.csd

p.csd

passign.csd

reinit.csd

reinit.csd

Instrument Control:Sensing and Control.

changed.csd

checkbox.csd

follow.csd

follow2.csd

metro.csd

p5g.csd

pcount.csd

peak.csd

pindex.csd

pitch.csd

pitchamdf.csd

ptrack.csd

rms.csd

sensekey.csd

FLpanel-sensekey.csd

FLpanel-sensekey2.csd

seqtime.csd

setctrl.csd

tempest.csd

tempo.csd

tempoval.csd

trigger.csd

wii.csd

xyin.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.csd

Table Control.

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

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

raises.csd

subtracts.csd

Mathematical Operations:Comparators and Accumulators.

clear.csd

Mathematical Operations:Mathematical Functions.

abs.csd

ceil.csd

exp.csd

frac.csd

int.csd

log.csd

log10.csd

logbtwo.csd

powoftwo.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

polynomial.csd

pow.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

notnum.csd

notnum_complex.csd

pchbend.csd

pgmassign.csd

pgmassign_ignore.csd

pgmassign_advanced.csd

polyaft.csd

veloc.csd

Real-time MIDI:Output.

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

Real-time MIDI:Event Extenders.

xtratim.csd

xtratim-2.csd

Real-time MIDI:Note Output.

midion_simple.csd

midion_scale.csd

moscil.csd

noteondur.csd

noteondur2.csd

Real-time MIDI:MIDI/Score Interoperability.

midichannelaftertouch.csd

midichn.csd

midichn_advanced.csd

midinoteoff.csd

midinoteoncps.csd

midinoteonkey.csd

midinoteonoct.csd

midinoteonpch.csd

midipitchbend.csd

Spectral Processing:Streaming.

binit.csd

pvsadsyn.csd

pvsarp.csd

pvsarp2.csd

pvsbandp.csd

pvsbandr.csd

pvsbin.csd

pvsblur.csd

pvsbufread.csd

pvscale.csd

pvscent.csd

pvscross.csd

pvsdisp.csd

pvsfilter.csd

pvsfreeze.csd

pvsfwrite.csd

pvshift.csd

pvsmaska.csd

pvsmorph.csd

pvsmorph2.csd

pvsosc.csd

pvspitch.csd

pvswarp.csd

pvsynth.csd

Spectral Processing:ATS.

ATSadd.csd

ATSaddnz.csd

ATSbufread.csd

ATScross.csd

ATSinfo.csd

ATSinterpread.csd

ATSpartialtap.csd

ATSread.csd

ATSreadnz.csd

ATSsinnoi.csd

Strings:Definition.

strset.csd

Strings:Manipulation.

sprintfk.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.

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

Image Processing Opcodes.

imageopcodes.csd

imageopcodes.csd

imageopcodesdemo2.csd

imageopcodes.csd

imageopcodes.csd

imageopcodes.csd

imageopcodes.csd

Miscellaneous.

modmatrix.csd

system.csd

farey7shuffled.csd

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