├── .github └── workflows │ └── ci.yml ├── .gitignore ├── README.md ├── categories.py ├── diffopnames.py ├── docs ├── control │ ├── clockctl.md │ ├── conditional.md │ ├── durctl.md │ ├── invocat.md │ ├── pgmctl.md │ ├── realtime.md │ ├── reinitn.md │ ├── sensing.md │ ├── stacks.md │ ├── subinstr.md │ └── timeread.md ├── csbeats.md ├── examples │ ├── 01hpschd.sf2 │ ├── 07AcousticGuitar.sf2 │ ├── 0dbfs-modern.csd │ ├── 0dbfs.csd │ ├── 128-spiral-8,16,128,2,1over2.traj │ ├── 19Trumpet.sf2 │ ├── 22Bassoon.sf2 │ ├── A4-modern.csd │ ├── A4.csd │ ├── ATSadd-2-modern.csd │ ├── ATSadd-2.csd │ ├── ATSadd-modern.csd │ ├── ATSadd.csd │ ├── ATSaddnz-2-modern.csd │ ├── ATSaddnz-2.csd │ ├── ATSaddnz-modern.csd │ ├── ATSaddnz.csd │ ├── ATSbufread-modern.csd │ ├── ATSbufread.csd │ ├── ATScross-modern.csd │ ├── ATScross.csd │ ├── ATSinfo-modern.csd │ ├── ATSinfo.csd │ ├── ATSinterpread-modern.csd │ ├── ATSinterpread.csd │ ├── ATSpartialtap-modern.csd │ ├── ATSpartialtap.csd │ ├── ATSread-modern.csd │ ├── ATSread-musical-modern.csd │ ├── ATSread-musical.csd │ ├── ATSread.csd │ ├── ATSreadnz-modern.csd │ ├── ATSreadnz.csd │ ├── ATSsinnoi-2-modern.csd │ ├── ATSsinnoi-2.csd │ ├── ATSsinnoi-modern.csd │ ├── ATSsinnoi.csd │ ├── C-modern.csd │ ├── C.csd │ ├── Church.wav │ ├── Church_norm.wav │ ├── HRTFcompact │ ├── MIDIpad.mid │ ├── MSjungleMid.wav │ ├── MSjungleSide.wav │ ├── MSjungle_interleaved.wav │ ├── Mathews.wav │ ├── MathewsN.wav │ ├── MathewsNoise.wav │ ├── Mixer.csd │ ├── OSClistenex2.csd │ ├── OSCmidircv.csd │ ├── OSCmidisend.csd │ ├── OSCraw.csd │ ├── OSCsend.csd │ ├── a-modern.csd │ ├── a.csd │ ├── abs-modern.csd │ ├── abs.csd │ ├── active-modern.csd │ ├── active.csd │ ├── active_k-modern.csd │ ├── active_k.csd │ ├── active_scale-modern.csd │ ├── active_scale.csd │ ├── adds-modern.csd │ ├── adds.csd │ ├── adsr-group-modern.csd │ ├── adsr-group.csd │ ├── adsr-modern.csd │ ├── adsr.csd │ ├── adsyn-modern.csd │ ├── adsyn.csd │ ├── adsynt-modern.csd │ ├── adsynt.csd │ ├── adsynt2-modern.csd │ ├── adsynt2.csd │ ├── aftouch-modern.csd │ ├── aftouch.csd │ ├── ahh.aiff │ ├── ahhc.aiff │ ├── allpole-2-modern.csd │ ├── allpole-2.csd │ ├── allpole-modern.csd │ ├── allpole.csd │ ├── alpass-modern.csd │ ├── alpass.csd │ ├── alwayson-modern.csd │ ├── alwayson.csd │ ├── ampdb-modern.csd │ ├── ampdb.csd │ ├── ampdbfs-modern.csd │ ├── ampdbfs.csd │ ├── ampmidi-modern.csd │ ├── ampmidi.csd │ ├── ampmidicurve-modern.csd │ ├── ampmidicurve.csd │ ├── ampmidid-modern.csd │ ├── ampmidid.csd │ ├── apoleparams-modern.csd │ ├── apoleparams.csd │ ├── arduinoRead.csd │ ├── arduinoReadF.csd │ ├── areson-modern.csd │ ├── areson.csd │ ├── aresonk-modern.csd │ ├── aresonk.csd │ ├── array.csd │ ├── array_array_math-modern.csd │ ├── array_array_math.csd │ ├── array_scalar_math-modern.csd │ ├── array_scalar_math.csd │ ├── array_udo-modern.csd │ ├── array_udo.csd │ ├── assign-modern.csd │ ├── assign.csd │ ├── atone-modern.csd │ ├── atone.csd │ ├── atonek-modern.csd │ ├── atonek.csd │ ├── atonex-modern.csd │ ├── atonex.csd │ ├── atsa-modern.csd │ ├── atsa.csd │ ├── autocorr-modern.csd │ ├── autocorr.csd │ ├── b-modern.csd │ ├── b.csd │ ├── babo.csd │ ├── babo_expert.csd │ ├── balance-modern.csd │ ├── balance.csd │ ├── balance2-modern.csd │ ├── balance2.csd │ ├── bamboo-modern.csd │ ├── bamboo.csd │ ├── barmodel-modern.csd │ ├── barmodel.csd │ ├── bbcutm-modern.csd │ ├── bbcutm.csd │ ├── bbcuts-modern.csd │ ├── bbcuts.csd │ ├── beats.mp3 │ ├── beats.wav │ ├── betarand-modern.csd │ ├── betarand.csd │ ├── bexprnd-modern.csd │ ├── bexprnd.csd │ ├── bformenc1-modern.csd │ ├── bformenc1.csd │ ├── binit-modern.csd │ ├── binit.csd │ ├── biquad-2-modern.csd │ ├── biquad-2.csd │ ├── biquad-modern.csd │ ├── biquad.csd │ ├── biquada-modern.csd │ ├── biquada.csd │ ├── birnd-modern.csd │ ├── birnd.csd │ ├── bitshift-modern.csd │ ├── bitshift.csd │ ├── bitwise-group-modern.csd │ ├── bitwise-group.csd │ ├── bitwise-modern.csd │ ├── bitwise.csd │ ├── bob-modern.csd │ ├── bob.csd │ ├── bpf.csd │ ├── bpfcos.csd │ ├── bqrez-modern.csd │ ├── bqrez.csd │ ├── butterbp-modern.csd │ ├── butterbp.csd │ ├── butterbr-modern.csd │ ├── butterbr.csd │ ├── butterhp-modern.csd │ ├── butterhp.csd │ ├── butterlp-modern.csd │ ├── butterlp.csd │ ├── buzz-modern.csd │ ├── buzz.csd │ ├── c2r-modern.csd │ ├── c2r.csd │ ├── cabasa-modern.csd │ ├── cabasa.csd │ ├── capB-modern.csd │ ├── capB.csd │ ├── catherine.mid │ ├── cauchy-modern.csd │ ├── cauchy.csd │ ├── cauchyi-modern.csd │ ├── cauchyi.csd │ ├── cbrt-modern.csd │ ├── cbrt.csd │ ├── ceil-2-modern.csd │ ├── ceil-2.csd │ ├── ceil-modern.csd │ ├── ceil.csd │ ├── cell-modern.csd │ ├── cell.csd │ ├── cent-modern.csd │ ├── cent.csd │ ├── centroid-modern.csd │ ├── centroid.csd │ ├── ceps-modern.csd │ ├── ceps.csd │ ├── cepsinv-modern.csd │ ├── cepsinv.csd │ ├── cggoto-modern.csd │ ├── cggoto.csd │ ├── chanctrl-modern.csd │ ├── chanctrl.csd │ ├── changed-modern.csd │ ├── changed.csd │ ├── changed2-modern.csd │ ├── changed2.csd │ ├── changed2a-modern.csd │ ├── changed2a.csd │ ├── chebyshevpoly-modern.csd │ ├── chebyshevpoly.csd │ ├── checkbox-modern.csd │ ├── checkbox.csd │ ├── chnclear-modern.csd │ ├── chnclear.csd │ ├── chnget-modern.csd │ ├── chnget.csd │ ├── chnmix-modern.csd │ ├── chnmix.csd │ ├── chnset-modern.csd │ ├── chnset.csd │ ├── cigoto-modern.csd │ ├── cigoto.csd │ ├── circularstring_1024.matrxT │ ├── ckgoto-modern.csd │ ├── ckgoto.csd │ ├── clear-modern.csd │ ├── clear.csd │ ├── clfilt_highpass-modern.csd │ ├── clfilt_highpass.csd │ ├── clfilt_lowpass-modern.csd │ ├── clfilt_lowpass.csd │ ├── clip-modern.csd │ ├── clip.csd │ ├── clockoff-modern.csd │ ├── clockoff.csd │ ├── clockon-modern.csd │ ├── clockon.csd │ ├── cmp.csd │ ├── cmplxprod.csd │ ├── cngoto-modern.csd │ ├── cngoto.csd │ ├── comb-modern.csd │ ├── comb.csd │ ├── combinv-modern.csd │ ├── combinv.csd │ ├── compilecsd-modern.csd │ ├── compilecsd.csd │ ├── compileorc-modern.csd │ ├── compileorc.csd │ ├── compilestr-modern.csd │ ├── compilestr.csd │ ├── compress-modern.csd │ ├── compress.csd │ ├── compress2-modern.csd │ ├── compress2.csd │ ├── connect-modern.csd │ ├── connect.csd │ ├── convolve-modern.csd │ ├── convolve.csd │ ├── copya2ftab-modern.csd │ ├── copya2ftab.csd │ ├── copyf2array-modern.csd │ ├── copyf2array.csd │ ├── cos.csd │ ├── cosh.csd │ ├── cosinv.csd │ ├── cosseg.csd │ ├── cossegb.csd │ ├── cossegr.csd │ ├── counter.csd │ ├── cps2pch.csd │ ├── cps2pch_19et.csd │ ├── cps2pch_ftable.csd │ ├── cpsmidi.csd │ ├── cpsmidib.csd │ ├── cpsmidinn.csd │ ├── cpsmidinn2.csd │ ├── cpsoct.csd │ ├── cpspch.csd │ ├── cpstmid.csd │ ├── cpstun.csd │ ├── cpstuni.csd │ ├── cpsxpch.csd │ ├── cpsxpch_105et.csd │ ├── cpsxpch_pierce.csd │ ├── cpumeter.csd │ ├── cpuprc.csd │ ├── create.csd │ ├── cross2.csd │ ├── crossfm.csd │ ├── crunch.csd │ ├── csbeats.csd │ ├── ctrl14.csd │ ├── ctrl21.csd │ ├── ctrl7.csd │ ├── ctrlinit.csd │ ├── ctrls.csd │ ├── cuserrnd.csd │ ├── cvanal.csd │ ├── cylinder_128.matrxT │ ├── d_statement.csd │ ├── dam.csd │ ├── dam_expanded.csd │ ├── date.csd │ ├── dates.csd │ ├── db.csd │ ├── dbamp.csd │ ├── dbfsamp.csd │ ├── dcblock.csd │ ├── dcblock2.csd │ ├── dconv.csd │ ├── dct.csd │ ├── dctinv.csd │ ├── define.csd │ ├── define_args.csd │ ├── deinterleave.csd │ ├── delay.csd │ ├── delay1.csd │ ├── delayk.csd │ ├── delayr.csd │ ├── delayw.csd │ ├── deltap.csd │ ├── deltap3.csd │ ├── deltapi.csd │ ├── deltapn.csd │ ├── deltapx.csd │ ├── deltapxw.csd │ ├── denorm.csd │ ├── diff.csd │ ├── diode_ladder.csd │ ├── directory.csd │ ├── diskgrain.csd │ ├── diskin.csd │ ├── diskin2.csd │ ├── dispfft.csd │ ├── display.csd │ ├── distort.csd │ ├── distort1.csd │ ├── divides.csd │ ├── divz.csd │ ├── dnoise.csd │ ├── doppler.csd │ ├── dot.csd │ ├── downsamp.csd │ ├── dripwater.csd │ ├── drumsMlp.ogg │ ├── drumsMlp.wav │ ├── drumsSlp.wav │ ├── dumpk-2.csd │ ├── dumpk.csd │ ├── dumpk2.csd │ ├── dumpk3.csd │ ├── dumpk4.csd │ ├── duserrnd.csd │ ├── dust.csd │ ├── dust2.csd │ ├── e.csd │ ├── eee.aiff │ ├── eeec.aiff │ ├── else.csd │ ├── elseif.csd │ ├── endif.csd │ ├── endin.csd │ ├── endop.csd │ ├── envext.csd │ ├── envlpx.csd │ ├── envlpxr.csd │ ├── ephasor.csd │ ├── eqfil.csd │ ├── equals.csd │ ├── evalstr.csd │ ├── event.csd │ ├── event_i.csd │ ├── event_named.csd │ ├── exciter.csd │ ├── exitnow.csd │ ├── exp-musical.csd │ ├── exp.csd │ ├── expcurve.csd │ ├── expon.csd │ ├── exprand.csd │ ├── exprandi.csd │ ├── expseg.csd │ ├── expsega.csd │ ├── expsegb.csd │ ├── expsegba.csd │ ├── expsegr.csd │ ├── extractor.csd │ ├── farey8table.txt │ ├── fareylen.csd │ ├── fareyleni.csd │ ├── fft.csd │ ├── fft_complex_type.csd │ ├── ficlose.csd │ ├── filebit.csd │ ├── filelen.csd │ ├── filenchnls.csd │ ├── filepeak.csd │ ├── filescal.csd │ ├── filesr.csd │ ├── filevalid.csd │ ├── fillarray.csd │ ├── filter2.csd │ ├── fin.csd │ ├── fini.csd │ ├── fink.csd │ ├── finneganswake1.flac │ ├── fiopen.csd │ ├── flanger.csd │ ├── flashtxt.csd │ ├── flooper.csd │ ├── flooper2.csd │ ├── floor.csd │ ├── floor2.csd │ ├── flute.aiff │ ├── fmanal.csd │ ├── fmax.csd │ ├── fmb3.csd │ ├── fmbell.csd │ ├── fmin.csd │ ├── fmmetal.csd │ ├── fmod.csd │ ├── fmpercfl.csd │ ├── fmrhode.csd │ ├── fmvoice.csd │ ├── fmwurlie.csd │ ├── fof.csd │ ├── fof2-2.csd │ ├── fof2.csd │ ├── fofilter.csd │ ├── fog.csd │ ├── fold.csd │ ├── follow.csd │ ├── follow2.csd │ ├── foscil.csd │ ├── foscili.csd │ ├── fout.csd │ ├── fout_ftable.csd │ ├── fouti.csd │ ├── foutir.csd │ ├── foutk.csd │ ├── fox.wav │ ├── fprintks-2.csd │ ├── fprintks.csd │ ├── fprints.csd │ ├── frac.csd │ ├── frac2.csd │ ├── fractalnoise.csd │ ├── framebuffer.csd │ ├── freeverb.csd │ ├── ftaudio.csd │ ├── ftchnls.csd │ ├── ftconv.csd │ ├── ftcps.csd │ ├── ftexists.csd │ ├── ftfree.csd │ ├── ftgen-2.csd │ ├── ftgen.csd │ ├── ftgenonce.csd │ ├── ftgentmp.csd │ ├── ftlen.csd │ ├── ftlptim.csd │ ├── ftmorf.csd │ ├── ftprint.csd │ ├── ftsamplebank.csd │ ├── ftsave.csd │ ├── ftset.csd │ ├── ftslice.csd │ ├── ftsr.csd │ ├── fwavblnk.aiff │ ├── gain.csd │ ├── gainslider.csd │ ├── gauss.csd │ ├── gaussi.csd │ ├── gausstrig-2.csd │ ├── gausstrig.csd │ ├── gbuzz.csd │ ├── gen01.csd │ ├── gen02.csd │ ├── gen03.csd │ ├── gen04.csd │ ├── gen05.csd │ ├── gen06.csd │ ├── gen07.csd │ ├── gen08.csd │ ├── gen09.csd │ ├── gen10.csd │ ├── gen11.csd │ ├── gen12.csd │ ├── gen13.csd │ ├── gen14.csd │ ├── gen15.csd │ ├── gen16.csd │ ├── gen17.csd │ ├── gen18.csd │ ├── gen19.csd │ ├── gen20.csd │ ├── gen21.csd │ ├── gen23.csd │ ├── gen24.csd │ ├── gen25.csd │ ├── gen27.csd │ ├── gen28.csd │ ├── gen30.csd │ ├── gen31.csd │ ├── gen32.csd │ ├── gen33.csd │ ├── gen34.csd │ ├── gen40.csd │ ├── gen41.csd │ ├── gen42.csd │ ├── gen43.csd │ ├── gen44-2.csd │ ├── gen44.csd │ ├── gen49.csd │ ├── gen51.csd │ ├── gen52.csd │ ├── gen53.csd │ ├── genarray.csd │ ├── genarray_i.csd │ ├── gendy-2.csd │ ├── gendy.csd │ ├── gendyc.csd │ ├── gendyx-2.csd │ ├── gendyx.csd │ ├── genexp.csd │ ├── genfarey-2.csd │ ├── genfarey.csd │ ├── genquadbezier.csd │ ├── gensone.csd │ ├── gentanh.csd │ ├── genwave.csd │ ├── getcfg.csd │ ├── getcol.csd │ ├── getftargs.csd │ ├── getseed.csd │ ├── gogobel.csd │ ├── goto-modern.csd │ ├── goto.csd │ ├── grain.csd │ ├── grain2.csd │ ├── grain3.csd │ ├── granule.csd │ ├── greaterequal.csd │ ├── greaterthan.csd │ ├── gtadsr.csd │ ├── gtf.csd │ ├── guiro.csd │ ├── harmon.csd │ ├── harmon3.csd │ ├── hetro.csd │ ├── hilbert.csd │ ├── hilbert2.csd │ ├── hilbert_barberpole.csd │ ├── hrtf-44100-left.dat │ ├── hrtf-44100-right.dat │ ├── hrtfearly.csd │ ├── hrtfer.csd │ ├── hrtfmove.csd │ ├── hrtfmove2.csd │ ├── hrtfstat-2.csd │ ├── hrtfstat.csd │ ├── hsboscil.csd │ ├── hsboscil_midi.csd │ ├── hvs1.csd │ ├── hvs2-2.csd │ ├── hvs2.csd │ ├── hypot.csd │ ├── i_statement.csd │ ├── ifdef.csd │ ├── ifft.csd │ ├── ifthen.csd │ ├── igoto-modern.csd │ ├── igoto.csd │ ├── ihold-modern.csd │ ├── ihold.csd │ ├── impuls20.aiff │ ├── in.csd │ ├── inch.csd │ ├── include.csd │ ├── init.csd │ ├── initc7.csd │ ├── inleta.csd │ ├── inletk.csd │ ├── inq.csd │ ├── ins.csd │ ├── insremot.csd │ ├── insremotM.csd │ ├── instr.csd │ ├── int.csd │ ├── integ.csd │ ├── interleave.csd │ ├── interp.csd │ ├── invalue.csd │ ├── irfft.csd │ ├── jitter.csd │ ├── jitter2.csd │ ├── joystick-2.csd │ ├── joystick.csd │ ├── jspline.csd │ ├── k35.csd │ ├── kgoto.csd │ ├── kr.csd │ ├── ksmps.csd │ ├── lag.csd │ ├── lagud.csd │ ├── lastcycle.csd │ ├── leftbrace.csd │ ├── lenarray.csd │ ├── lessequal.csd │ ├── lessthan.csd │ ├── lfo-advanced.csd │ ├── lfo.csd │ ├── lfsr.csd │ ├── limit.csd │ ├── limit1.csd │ ├── lincos.csd │ ├── line.csd │ ├── linen.csd │ ├── linenr.csd │ ├── lineto.csd │ ├── linlin.csd │ ├── linrand.csd │ ├── linseg.csd │ ├── linsegb.csd │ ├── linsegr.csd │ ├── liveconv.csd │ ├── locsend_stereo.csd │ ├── locsig_quad.csd │ ├── log.csd │ ├── log10.csd │ ├── log2.csd │ ├── logbtwo.csd │ ├── logcurve.csd │ ├── logicOR.csd │ ├── loop_-group-modern.csd │ ├── loop_-group.csd │ ├── loop_gt.csd │ ├── loop_le.csd │ ├── loop_lt.csd │ ├── loopseg.csd │ ├── loopsegp.csd │ ├── looptseg.csd │ ├── loopxseg.csd │ ├── lorenz.csd │ ├── loscil.csd │ ├── loscil3.csd │ ├── loscilx.csd │ ├── lowpass2.csd │ ├── lowres.csd │ ├── lowresx.csd │ ├── lpanal.csd │ ├── lpcanal-2.csd │ ├── lpcanal.csd │ ├── lpcfilter-2.csd │ ├── lpcfilter.csd │ ├── lpf18.csd │ ├── lpfreson.csd │ ├── lphasor.csd │ ├── lposcil.csd │ ├── lposcil3.csd │ ├── lposcila.csd │ ├── lposcilsa.csd │ ├── lposcilsa2.csd │ ├── lpread.csd │ ├── lpreson-2.csd │ ├── lpreson.csd │ ├── lpshold.csd │ ├── lpsholdp.csd │ ├── lpslot.csd │ ├── lufs.csd │ ├── m.csd │ ├── mac.csd │ ├── maca.csd │ ├── madsr-2.csd │ ├── madsr.csd │ ├── mags.csd │ ├── mandel.csd │ ├── mandol.csd │ ├── mandpluk.aiff │ ├── maparray.csd │ ├── marimba.aif │ ├── marimba.csd │ ├── marmstk1.wav │ ├── mary.wav │ ├── massign.csd │ ├── matrices_compare.csd │ ├── max.csd │ ├── max_k.csd │ ├── maxabs.csd │ ├── maxabsaccum.csd │ ├── maxaccum.csd │ ├── maxalloc.csd │ ├── maxarray.csd │ ├── mclock.csd │ ├── mdelay.csd │ ├── median.csd │ ├── mediank.csd │ ├── metro-2.csd │ ├── metro.csd │ ├── metro2.csd │ ├── mfb.csd │ ├── midiChords.mid │ ├── midiarp.csd │ ├── midic14.csd │ ├── midic21.csd │ ├── midic7.csd │ ├── midichannelaftertouch.csd │ ├── midichn.csd │ ├── midichn_advanced.csd │ ├── midichn_advanced.mid │ ├── midicontrolchange.csd │ ├── midictrl.csd │ ├── mididefault.csd │ ├── midifilein.csd │ ├── midifilelen.csd │ ├── midifilemute.csd │ ├── midifileopen.csd │ ├── midifilepause.csd │ ├── midifileplay.csd │ ├── midifilepos.csd │ ├── midifilerewind.csd │ ├── midifiletempo.csd │ ├── midifilevents.csd │ ├── midiin.csd │ ├── midinoteoff.csd │ ├── midinoteoncps.csd │ ├── midinoteonkey.csd │ ├── midinoteonoct.csd │ ├── midinoteonpch.csd │ ├── midion2.csd │ ├── midion_scale.csd │ ├── midion_simple.csd │ ├── midiout.csd │ ├── midiout_i.csd │ ├── midipitchbend.csd │ ├── midipolyaftertouch.csd │ ├── midiprogramchange.csd │ ├── miditempo.csd │ ├── midremot.csd │ ├── min.csd │ ├── minabs.csd │ ├── minabsaccum.csd │ ├── minaccum.csd │ ├── minarray.csd │ ├── mincer.csd │ ├── mirror.csd │ ├── mode.csd │ ├── modmatrix.csd │ ├── modulus.csd │ ├── monitor.csd │ ├── moog.csd │ ├── moogladder.csd │ ├── moogladder2.csd │ ├── moogvcf.csd │ ├── moogvcf2.csd │ ├── moscil.csd │ ├── move │ ├── move2 │ ├── mp3in.csd │ ├── mp3len.csd │ ├── mp3scal.csd │ ├── mpulse.csd │ ├── ms2st.csd │ ├── mtof-ftom.csd │ ├── mton-ntom.csd │ ├── multiplies.csd │ ├── multitap.csd │ ├── musical │ │ ├── BuzzFof_Cucchi-modern.csd │ │ ├── BuzzFof_Cucchi.csd │ │ ├── FtmorfRandomh_Cucchi.csd │ │ ├── Ftmorf_Cucchi.csd │ │ ├── Mandel_Daughtrey.csd │ │ ├── Mandel_Gogins.csd │ │ ├── NervousHappyBirthday_Cucchi.csd │ │ ├── PhasorTablei_Cucchi.csd │ │ ├── Poisson_Cucchi.csd │ │ ├── Reinit_Giordani-modern.csd │ │ ├── Reinit_Giordani.csd │ │ ├── ResonPluck_Cucchi.csd │ │ ├── Scanu_Shengzheng_Zhang.csd │ │ ├── Schedulek_Heintz.csd │ │ ├── Signum_Welsh.csd │ │ ├── TheElectricPriest_Enhus.csd │ │ ├── TivalNstrnum_Yi.csd │ │ ├── Vibes_Pena.csd │ │ └── schedkwhen_Daughtrey.csd │ ├── mute.csd │ ├── mvchpf.csd │ ├── mvclpf1.csd │ ├── mvclpf2.csd │ ├── mvclpf3.csd │ ├── mvclpf4.csd │ ├── mvmfilter.csd │ ├── mxadsr.csd │ ├── my.csd │ ├── my.orc │ ├── nchnls.csd │ ├── nchnls_hw.csd │ ├── nchnls_i.csd │ ├── nestedap.csd │ ├── nlfilt.csd │ ├── nlfilt2.csd │ ├── noise.csd │ ├── noteondur.csd │ ├── noteondur2.csd │ ├── notequal.csd │ ├── notnum.csd │ ├── nreverb.csd │ ├── nreverb_ftable.csd │ ├── nrpn.csd │ ├── nsamp.csd │ ├── nsliders.tk │ ├── nstance.csd │ ├── nstrnum_nstrstr.csd │ ├── ntof.csd │ ├── ntrpol.csd │ ├── octave.csd │ ├── octcps.csd │ ├── octmidi.csd │ ├── octmidib.csd │ ├── octpch.csd │ ├── ooo.aiff │ ├── opa.csd │ ├── opand.csd │ ├── opcode.csd │ ├── opcode_f.csd │ ├── opcodeinfo.csd │ ├── opnot.csd │ ├── oscbnk-advanced.csd │ ├── oscbnk.csd │ ├── oscbundle.csd │ ├── oscil.csd │ ├── oscil1.csd │ ├── oscil1i.csd │ ├── oscil3.csd │ ├── oscili.csd │ ├── oscilikt.csd │ ├── osciliktp.csd │ ├── oscilikts.csd │ ├── osciln.csd │ ├── oscils.csd │ ├── out.csd │ ├── outall.csd │ ├── outc.csd │ ├── outch-2.csd │ ├── outch-3.csd │ ├── outch.csd │ ├── outiat.csd │ ├── outic.csd │ ├── outic14.csd │ ├── outipb.csd │ ├── outipc.csd │ ├── outkat.csd │ ├── outkc.csd │ ├── outkpb.csd │ ├── outkpc.csd │ ├── outkpc_fltk.csd │ ├── outleta.csd │ ├── outletk.csd │ ├── outq.csd │ ├── outq1.csd │ ├── outq2.csd │ ├── outq3.csd │ ├── outq4.csd │ ├── outrg.csd │ ├── outs.csd │ ├── outs1.csd │ ├── outs2.csd │ ├── outvalue.csd │ ├── p.csd │ ├── padsynth_gen.csd │ ├── pan.csd │ ├── pan2.csd │ ├── pareq.csd │ ├── part2txt.csd │ ├── partials.csd │ ├── partikkel-2.csd │ ├── partikkel-panlaws.csd │ ├── partikkel.csd │ ├── partikkelgetset.csd │ ├── partikkelsync.csd │ ├── passign.csd │ ├── paulstretch.csd │ ├── pcauchy.csd │ ├── pchbend.csd │ ├── pchmidi.csd │ ├── pchmidib.csd │ ├── pchoct.csd │ ├── pchtom.csd │ ├── pconvolve.csd │ ├── pcount.csd │ ├── pdclip.csd │ ├── pdhalf.csd │ ├── pdhalfy.csd │ ├── peak.csd │ ├── pgmassign.csd │ ├── pgmassign_advanced.csd │ ├── pgmassign_ignore.csd │ ├── phaser1.csd │ ├── phaser2.csd │ ├── phasor.csd │ ├── phasorbnk.csd │ ├── phs.csd │ ├── pindex-2.csd │ ├── pindex.csd │ ├── pinker.csd │ ├── pinkish.csd │ ├── pitch.csd │ ├── pitchamdf.csd │ ├── planet.csd │ ├── plate.csd │ ├── plltrack.csd │ ├── pluck.csd │ ├── poisson.csd │ ├── poisson2.csd │ ├── pol2rect.csd │ ├── polyaft.csd │ ├── polynomial.csd │ ├── pop.csd │ ├── port.csd │ ├── portk.csd │ ├── poscil-modern.csd │ ├── poscil.csd │ ├── poscil3-file.csd │ ├── poscil3.csd │ ├── pow.csd │ ├── powershape.csd │ ├── powoftwo.csd │ ├── prealloc.csd │ ├── prepiano.csd │ ├── print.csd │ ├── printarray.csd │ ├── printf.csd │ ├── printk.csd │ ├── printk2.csd │ ├── printks.csd │ ├── printks2.csd │ ├── println.csd │ ├── prints.csd │ ├── printsk.csd │ ├── product.csd │ ├── productarray.csd │ ├── pset-midi.csd │ ├── pset.csd │ ├── ptrack.csd │ ├── push.csd │ ├── puts.csd │ ├── pvadd.csd │ ├── pvanal.csd │ ├── pvbufread.csd │ ├── pvcross.csd │ ├── pvinterp.csd │ ├── pvoc.csd │ ├── pvread.csd │ ├── pvsadsyn.csd │ ├── pvsanal.csd │ ├── pvsarp.csd │ ├── pvsarp2.csd │ ├── pvsbandp.csd │ ├── pvsbandr.csd │ ├── pvsbandwidth.csd │ ├── pvsbin.csd │ ├── pvsblur.csd │ ├── pvsbuffer.csd │ ├── pvsbufread.csd │ ├── pvsbufread2.csd │ ├── pvscale.csd │ ├── pvscent.csd │ ├── pvsceps.csd │ ├── pvscfs.csd │ ├── pvscross.csd │ ├── pvsdemix.csd │ ├── pvsdiskin.csd │ ├── pvsdisp.csd │ ├── pvsfilter.csd │ ├── pvsfread-2.csd │ ├── pvsfread.csd │ ├── pvsfreeze.csd │ ├── pvsftr.csd │ ├── pvsftw.csd │ ├── pvsfwrite.csd │ ├── pvsgain.csd │ ├── pvshift.csd │ ├── pvsifd.csd │ ├── pvsinfo.csd │ ├── pvsinit.csd │ ├── pvslpc.csd │ ├── pvsmaska.csd │ ├── pvsmix.csd │ ├── pvsmooth.csd │ ├── pvsmorph.csd │ ├── pvsmorph2.csd │ ├── pvsosc.csd │ ├── pvspitch.csd │ ├── pvstanal.csd │ ├── pvstencil.csd │ ├── pvstrace.csd │ ├── pvsvoc.csd │ ├── pvswarp.csd │ ├── pvsynth.csd │ ├── pwd.csd │ ├── q.csd │ ├── qinf.csd │ ├── qnan.csd │ ├── r.csd │ ├── r2c.csd │ ├── raises.csd │ ├── rand.csd │ ├── randc.csd │ ├── randh.csd │ ├── randi.csd │ ├── random.csd │ ├── randomh.csd │ ├── randomi.csd │ ├── rbjeq.csd │ ├── readclock.csd │ ├── readf.csd │ ├── readfi.csd │ ├── readk-2.csd │ ├── readk.csd │ ├── readk2.csd │ ├── readk3.csd │ ├── readk4.csd │ ├── readscore.csd │ ├── readscratch.csd │ ├── rect2pol.csd │ ├── reinit-modern.csd │ ├── reinit.csd │ ├── release.csd │ ├── repluck-advanced.csd │ ├── repluck.csd │ ├── reshapearray.csd │ ├── reson.csd │ ├── resonbnk.csd │ ├── resonk.csd │ ├── resonr.csd │ ├── resonx.csd │ ├── resonxk.csd │ ├── resony.csd │ ├── resonz.csd │ ├── resyn.csd │ ├── reverb.csd │ ├── reverbnoise.pvx │ ├── reverbsc.csd │ ├── rewindscore.csd │ ├── rezzy.csd │ ├── rfft.csd │ ├── rfft_complex_type.csd │ ├── rms-FLTK.csd │ ├── rms.csd │ ├── rnd-advanced.csd │ ├── rnd.csd │ ├── rnd31.csd │ ├── rnd31_krate.csd │ ├── rnd31_seed7.csd │ ├── rnd31_time.csd │ ├── rndseed.csd │ ├── round.csd │ ├── rounding-group-modern.csd │ ├── rounding-group.csd │ ├── rspline.csd │ ├── rtclock.csd │ ├── run.csd │ ├── rv_mono.wav │ ├── rv_stereo.wav │ ├── s.csd │ ├── samphold.csd │ ├── sandpaper.csd │ ├── scale.csd │ ├── scale2.csd │ ├── scalearray.csd │ ├── scanhammer.csd │ ├── scanmap.csd │ ├── scanmap_matrxT.csd │ ├── scans-2.csd │ ├── scans.csd │ ├── scansmap.csd │ ├── scantable.csd │ ├── scanu-2.csd │ ├── scanu.csd │ ├── scanu2-2.csd │ ├── scanu2-3.csd │ ├── scanu2.csd │ ├── schedkwhen.csd │ ├── schedkwhennamed.csd │ ├── schedule.csd │ ├── schedulek.csd │ ├── schedwhen.csd │ ├── schottstaedt.orc │ ├── scogen.csd │ ├── scoreline.csd │ ├── scoreline_i.csd │ ├── seed.csd │ ├── sekere.csd │ ├── select.csd │ ├── semitone.csd │ ├── sensekey.csd │ ├── seqtime.csd │ ├── seqtime2.csd │ ├── sequ1.csd │ ├── sequ2.csd │ ├── serialBegin.csd │ ├── serialRead.csd │ ├── serialWrite.csd │ ├── setcol.csd │ ├── setctrl.csd │ ├── setscorepos.csd │ ├── sf_GMbank.sf2 │ ├── sfilist.csd │ ├── sfinstr.csd │ ├── sfinstr3.csd │ ├── sfinstr3m.csd │ ├── sfload.csd │ ├── sflooper.csd │ ├── sfpassign.csd │ ├── sfplay3.csd │ ├── sfplay3m.csd │ ├── sfplaym.csd │ ├── sfplist.csd │ ├── sfpreset.csd │ ├── shaker.csd │ ├── shiftin.csd │ ├── shiftout.csd │ ├── signalflowgraph.csd │ ├── signum.csd │ ├── signum2.csd │ ├── sin.csd │ ├── sing.wav │ ├── singFemale.aif │ ├── sinh.csd │ ├── sininv.csd │ ├── sinsyn.csd │ ├── skf.csd │ ├── sleighbells.csd │ ├── slicearray.csd │ ├── sndinfo.csd │ ├── sndloop.csd │ ├── sndwarp.csd │ ├── sndwarpst.csd │ ├── sorta.csd │ ├── sortd.csd │ ├── soundin.csd │ ├── space_quad.csd │ ├── space_stereo.csd │ ├── spat3d_UHJ.csd │ ├── spat3d_quad.csd │ ├── spat3d_stereo.csd │ ├── spat3dt.csd │ ├── spdist.csd │ ├── spectrum.txt │ ├── spf.csd │ ├── splitrig.csd │ ├── sprintf.csd │ ├── sprintfk.csd │ ├── spsend.csd │ ├── sqrt.csd │ ├── squinewave.csd │ ├── sr.csd │ ├── src_conv.csd │ ├── st2ms.csd │ ├── stack.csd │ ├── statevar.csd │ ├── stereoJungle.wav │ ├── sterrain.csd │ ├── sterrain2.csd │ ├── stix.csd │ ├── straightline_max128_128.traj │ ├── strcat.csd │ ├── strcatk.csd │ ├── strchar.csd │ ├── strcmp.csd │ ├── strcpyk.csd │ ├── streson.csd │ ├── strfromurl.csd │ ├── strget.csd │ ├── strindexk.csd │ ├── string-128.matrxB │ ├── string-128.matrxT │ ├── string_128.matrxT │ ├── string_with_extras-16.matrxT │ ├── strlower.csd │ ├── strrindex.csd │ ├── strset.csd │ ├── strstrip.csd │ ├── strsub.csd │ ├── subinstr-modern.csd │ ├── subinstr.csd │ ├── subinstr_named-modern.csd │ ├── subinstr_named.csd │ ├── subinstrinit-modern.csd │ ├── subinstrinit.csd │ ├── subtracts.csd │ ├── sum.csd │ ├── sumarray.csd │ ├── svfilter.csd │ ├── svn.csd │ ├── sym10.txt │ ├── syncgrain.csd │ ├── syncloop.csd │ ├── syncphasor-CZresonance.csd │ ├── syncphasor.csd │ ├── system.csd │ ├── t.csd │ ├── tab.csd │ ├── tab2array.csd │ ├── tabifd.csd │ ├── table.csd │ ├── table1.inc │ ├── tablecopy.csd │ ├── tablefilter.csd │ ├── tablei.csd │ ├── tableikt.csd │ ├── tableimix.csd │ ├── tableiw.csd │ ├── tablekt.csd │ ├── tablemix.csd │ ├── tableng.csd │ ├── tableseg_tablexseg.csd │ ├── tableshuffle.csd │ ├── tablexkt.csd │ ├── tabmorph.csd │ ├── tabmorpha.csd │ ├── tabmorphak.csd │ ├── tabmorphi.csd │ ├── tabrec.csd │ ├── tabsum.csd │ ├── tabw.csd │ ├── tambourine.csd │ ├── tan.csd │ ├── tanh.csd │ ├── taninv.csd │ ├── taninv2-advanced.csd │ ├── taninv2.csd │ ├── tbvcf.csd │ ├── tempest.csd │ ├── tempo.csd │ ├── temposcal.csd │ ├── tempoval.csd │ ├── tigoto.csd │ ├── tigoto2.csd │ ├── timedseq.csd │ ├── timeinstk.csd │ ├── timeinsts.csd │ ├── timek.csd │ ├── times_complex.csd │ ├── timout.csd │ ├── tival.csd │ ├── tlineto.csd │ ├── tone.csd │ ├── tonek.csd │ ├── tonex.csd │ ├── tradsyn.csd │ ├── trandom.csd │ ├── transeg.csd │ ├── transegb.csd │ ├── transegr.csd │ ├── trcross.csd │ ├── trfilter.csd │ ├── trhighest.csd │ ├── trigexpseg.csd │ ├── trigger.csd │ ├── trighold.csd │ ├── triglinseg.csd │ ├── trigphasor.csd │ ├── trigseq.csd │ ├── trim.csd │ ├── trirand.csd │ ├── trlowest.csd │ ├── trmix.csd │ ├── trscale.csd │ ├── trshift.csd │ ├── trsplit.csd │ ├── turnoff.csd │ ├── turnoff2.csd │ ├── turnoff3.csd │ ├── turnon.csd │ ├── tvconv.csd │ ├── twopeaks.aiff │ ├── unirand.csd │ ├── until.csd │ ├── unwrap.csd │ ├── upsamp.csd │ ├── urandom.csd │ ├── urandom_krate.csd │ ├── urd.csd │ ├── v.csd │ ├── vactrol.csd │ ├── vadd.csd │ ├── vadd_i.csd │ ├── vaddv.csd │ ├── vaget.csd │ ├── valpass-2.csd │ ├── valpass.csd │ ├── vaset.csd │ ├── vbap.csd │ ├── vbap4.csd │ ├── vbap4move.csd │ ├── vbap8.csd │ ├── vbap8move.csd │ ├── vbapg.csd │ ├── vbapgmove.csd │ ├── vbaplsinit.csd │ ├── vbapmove.csd │ ├── vcella.csd │ ├── vclpf.csd │ ├── vco.csd │ ├── vco2.csd │ ├── vco2ift.csd │ ├── vco2init.csd │ ├── vcomb.csd │ ├── vcopy.csd │ ├── vdelay.csd │ ├── vdelay3.csd │ ├── vdelayx.csd │ ├── vdelayxq.csd │ ├── vdelayxs.csd │ ├── vdelayxw.csd │ ├── vdelayxwq.csd │ ├── vdelayxws.csd │ ├── vdivv.csd │ ├── veloc.csd │ ├── vexp.csd │ ├── vexp_i.csd │ ├── vexpseg.csd │ ├── vexpv.csd │ ├── vibes.csd │ ├── vibr.csd │ ├── vibrato.csd │ ├── vincr-complex.csd │ ├── vincr.csd │ ├── virtual.csd │ ├── vlinseg.csd │ ├── vlowres.csd │ ├── vmap.csd │ ├── vmult-2.csd │ ├── vmult.csd │ ├── vmult_i.csd │ ├── vmultv.csd │ ├── voice.csd │ ├── vosim.csd │ ├── vpow-2.csd │ ├── vpow.csd │ ├── vpow_i-2.csd │ ├── vpow_i.csd │ ├── vpowv.csd │ ├── vps.csd │ ├── vpvoc.csd │ ├── vrandh.csd │ ├── vrandi.csd │ ├── vsubv.csd │ ├── vtable1k.csd │ ├── vtablei.csd │ ├── vtablek.csd │ ├── vtablewa.csd │ ├── vtablewk.csd │ ├── waveset.csd │ ├── weibull.csd │ ├── wgbow.csd │ ├── wgbowedbar.csd │ ├── wgbrass.csd │ ├── wgclar.csd │ ├── wgflute.csd │ ├── wgpluck.csd │ ├── wgpluck2.csd │ ├── wguide1.csd │ ├── wguide2.csd │ ├── while.csd │ ├── window.csd │ ├── wrap.csd │ ├── writescratch.csd │ ├── wterrain.csd │ ├── wterrain2_1.csd │ ├── wterrain2_2.csd │ ├── x.csd │ ├── xadsr.csd │ ├── xtratim-2.csd │ ├── xtratim.csd │ ├── xyin.csd │ ├── xyscale-FLTK.csd │ ├── xyscale.csd │ ├── y_statement.csd │ ├── zacl.csd │ ├── zakinit.csd │ ├── zamod.csd │ ├── zar.csd │ ├── zarg.csd │ ├── zaw.csd │ ├── zawm.csd │ ├── zdf_1pole.csd │ ├── zdf_1pole_mode.csd │ ├── zdf_2pole.csd │ ├── zdf_2pole_mode.csd │ ├── zdf_ladder.csd │ ├── zfilter2.csd │ ├── zir.csd │ ├── ziw.csd │ ├── ziwm.csd │ ├── zkcl.csd │ ├── zkmod.csd │ ├── zkr.csd │ ├── zkw.csd │ └── zkwm.csd ├── genIndex.md ├── images │ ├── Chua_circuit.png │ ├── MS.png │ ├── Mandelbrot.png │ ├── Poisson_distribution_PMF.png │ ├── SF.png │ ├── ScannedCircular.png │ ├── ScannedFinite.png │ ├── ScannedHammers.png │ ├── ScannedHaptic.png │ ├── adsr.png │ ├── cornoid.png │ ├── delay1.png │ ├── delayk.png │ ├── folium.png │ ├── gen01_1.png │ ├── gen01_2.png │ ├── gen01_3.png │ ├── gen02_1.png │ ├── gen02_2.png │ ├── gen02_3.png │ ├── gen03_1.png │ ├── gen03_2.png │ ├── gen03_3.png │ ├── gen03_4.png │ ├── gen03_5.png │ ├── gen04_1.png │ ├── gen04_2.png │ ├── gen04_3.png │ ├── gen04_4.png │ ├── gen05_1.png │ ├── gen05_2.png │ ├── gen06_1.png │ ├── gen06_2.png │ ├── gen07_1.png │ ├── gen07_2.png │ ├── gen07_3.png │ ├── gen08_1.png │ ├── gen08_2.png │ ├── gen09_1.png │ ├── gen09_2.png │ ├── gen09_3.png │ ├── gen09_4.png │ ├── gen10_1.png │ ├── gen10_2.png │ ├── gen10_3.png │ ├── gen10_4.png │ ├── gen11_1.png │ ├── gen11_2.png │ ├── gen11_3.png │ ├── gen12.png │ ├── gen13_1.png │ ├── gen13_2.png │ ├── gen13_3.png │ ├── gen13_4.png │ ├── gen13_5.png │ ├── gen13_6.png │ ├── gen13_7.png │ ├── gen14_1.png │ ├── gen14_2.png │ ├── gen14_3.png │ ├── gen14_4.png │ ├── gen15-1.png │ ├── gen15-2.png │ ├── gen15-3.png │ ├── gen15-4.png │ ├── gen15-5.png │ ├── gen16_types.png │ ├── gen18_1.png │ ├── gen18_2.png │ ├── gen18_3.png │ ├── gen19_1.png │ ├── gen20_1.png │ ├── gen20_2.png │ ├── gen21_1.png │ ├── gen21_2.png │ ├── gen21_3.png │ ├── gen21_4.png │ ├── gen21_5.png │ ├── gen23.png │ ├── gen25.png │ ├── gen27.png │ ├── gen33.png │ ├── gen34.png │ ├── gen40.png │ ├── gen41.png │ ├── gen42.png │ ├── gen49.png │ ├── gen51_1.png │ ├── gen51_2.png │ ├── gen51_3.png │ ├── gen52.png │ ├── gendy.png │ ├── gendyx.png │ ├── genexp_1.png │ ├── genexp_2.png │ ├── genfarey-2_1.png │ ├── genfarey-2_2.png │ ├── genquadbezier_1.png │ ├── genquadbezier_2.png │ ├── genquadbezier_3.png │ ├── gensone.png │ ├── gentanh_1.png │ ├── gentanh_2.png │ ├── gentanh_3.png │ ├── grain2_rand-448x289.png │ ├── grain3_2.png │ ├── image1.png │ ├── image2.png │ ├── image3.png │ ├── image4.png │ ├── image5.png │ ├── image6.png │ ├── image6a.png │ ├── image7.png │ ├── image7a.png │ ├── image7b.png │ ├── image8.png │ ├── image9.png │ ├── image9a.png │ ├── imode1.png │ ├── imode2.png │ ├── imode3.png │ ├── limacon.png │ ├── linen.jpg │ ├── noise-filter.png │ ├── pdhalf.png │ ├── pdhalfy.png │ ├── poisson_equation.png │ ├── rnd31_rand.png │ ├── scarabeus.png │ ├── spiral_small.png │ ├── straightline_small.png │ ├── talbot.png │ ├── transeg.png │ ├── transegb.png │ ├── trisextic.png │ ├── virtualkeyboard.png │ ├── wguide1.png │ ├── wguide2.png │ └── xadsr2.png ├── img │ └── engine.png ├── index.md ├── intro │ ├── copyright-notice.md │ ├── historic-preface.md │ ├── history-of-the-manual.md │ └── whats-new-in-csound-7.md ├── invoke │ ├── cs-options-alphabetically.md │ ├── cs-options-by-category.md │ ├── cs-options.md │ ├── environment-variables.md │ ├── guard-point.md │ ├── how-csound-works.md │ ├── order-of-precedence.md │ ├── the-csd-file-format.md │ └── the-csound-command.md ├── math │ ├── amp.md │ ├── array.md │ ├── artlogic.md │ ├── complex.md │ ├── linearalgebra.md │ ├── mathfunc.md │ ├── opeqfunc.md │ ├── rndfunc.md │ └── trig.md ├── midi │ ├── convert.md │ ├── extender.md │ ├── generic.md │ ├── input.md │ ├── interop.md │ ├── onoff.md │ ├── output.md │ ├── realtime.md │ ├── sliderbk.md │ └── top.md ├── misc │ ├── amp.md │ ├── examples.md │ ├── formants.md │ ├── modalfreq.md │ ├── pitch.md │ └── windows.md ├── miscopcodes.md ├── mixer.md ├── opcodes │ ├── 0dbfs.md │ ├── A4.md │ ├── ATSadd.md │ ├── ATSaddnz.md │ ├── ATSbufread.md │ ├── ATScross.md │ ├── ATSinfo.md │ ├── ATSinterpread.md │ ├── ATSpartialtap.md │ ├── ATSread.md │ ├── ATSreadnz.md │ ├── ATSsinnoi.md │ ├── OSCbundle.md │ ├── OSCcount.md │ ├── OSCinit.md │ ├── OSCinitM.md │ ├── OSClisten.md │ ├── OSCraw.md │ ├── OSCsend.md │ ├── abs.md │ ├── active.md │ ├── adds.md │ ├── adsr.md │ ├── adsyn.md │ ├── adsynt.md │ ├── adsynt2.md │ ├── aftouch.md │ ├── allpole.md │ ├── alpass.md │ ├── alwayson.md │ ├── ampdb.md │ ├── ampdbfs.md │ ├── ampmidi.md │ ├── ampmidicurve.md │ ├── ampmidid.md │ ├── apoleparams.md │ ├── arduinoRead.md │ ├── arduinoReadF.md │ ├── arduinoStart.md │ ├── arduinoStop.md │ ├── areson.md │ ├── aresonk.md │ ├── arg.md │ ├── array.md │ ├── assign.md │ ├── atone.md │ ├── atonek.md │ ├── atonex.md │ ├── autocorr.md │ ├── babo.md │ ├── balance.md │ ├── balance2.md │ ├── bamboo.md │ ├── barmodel.md │ ├── bbcutm.md │ ├── bbcuts.md │ ├── betarand.md │ ├── bexprnd.md │ ├── bformdec1.md │ ├── bformdec2.md │ ├── bformenc1.md │ ├── binit.md │ ├── biquad.md │ ├── biquada.md │ ├── birnd.md │ ├── bob.md │ ├── bpf.md │ ├── bpfcos.md │ ├── bqrez.md │ ├── butbp.md │ ├── butbr.md │ ├── buthp.md │ ├── butlp.md │ ├── butterbp.md │ ├── butterbr.md │ ├── butterhp.md │ ├── butterlp.md │ ├── button.md │ ├── buzz.md │ ├── c2r.md │ ├── cabasa.md │ ├── cauchy.md │ ├── cauchyi.md │ ├── cbrt.md │ ├── ceil.md │ ├── cell.md │ ├── cent.md │ ├── centroid.md │ ├── ceps.md │ ├── cepsinv.md │ ├── cggoto.md │ ├── chanctrl.md │ ├── changed.md │ ├── changed2.md │ ├── chani.md │ ├── chano.md │ ├── chebyshevpoly.md │ ├── checkbox.md │ ├── chn.md │ ├── chnclear.md │ ├── chnexport.md │ ├── chnget.md │ ├── chnmix.md │ ├── chnparams.md │ ├── chnset.md │ ├── cigoto.md │ ├── ckgoto.md │ ├── clear.md │ ├── clfilt.md │ ├── clip.md │ ├── clockoff.md │ ├── clockon.md │ ├── cmp.md │ ├── cmplxprod.md │ ├── cngoto.md │ ├── cntDelete.md │ ├── cntDelete_i.md │ ├── cntcreate.md │ ├── cntcycles.md │ ├── cntread.md │ ├── cntreset.md │ ├── cntstate.md │ ├── comb.md │ ├── combinv.md │ ├── compilecsd.md │ ├── compileorc.md │ ├── compilestr.md │ ├── complex.md │ ├── compress.md │ ├── compress2.md │ ├── conj.md │ ├── connect.md │ ├── control.md │ ├── convle.md │ ├── convolve.md │ ├── copya2ftab.md │ ├── copyf2array.md │ ├── cos.md │ ├── cosh.md │ ├── cosinv.md │ ├── cosseg.md │ ├── cossegb.md │ ├── cossegr.md │ ├── count.md │ ├── count_i.md │ ├── cps2pch.md │ ├── cpsmidi.md │ ├── cpsmidib.md │ ├── cpsmidinn.md │ ├── cpsoct.md │ ├── cpspch.md │ ├── cpstmid.md │ ├── cpstun.md │ ├── cpstuni.md │ ├── cpsxpch.md │ ├── cpumeter.md │ ├── cpuprc.md │ ├── create.md │ ├── cross2.md │ ├── crossfm.md │ ├── crunch.md │ ├── ctrl14.md │ ├── ctrl21.md │ ├── ctrl7.md │ ├── ctrlinit.md │ ├── ctrlpreset.md │ ├── ctrlprint.md │ ├── ctrlprintpresets.md │ ├── ctrlsave.md │ ├── ctrlselect.md │ ├── cuserrnd.md │ ├── dam.md │ ├── date.md │ ├── dates.md │ ├── db.md │ ├── dbamp.md │ ├── dbfsamp.md │ ├── dcblock.md │ ├── dcblock2.md │ ├── dconv.md │ ├── dct.md │ ├── dctinv.md │ ├── define.md │ ├── deinterleave.md │ ├── delay.md │ ├── delay1.md │ ├── delayk.md │ ├── delayr.md │ ├── delayw.md │ ├── deltap.md │ ├── deltap3.md │ ├── deltapi.md │ ├── deltapn.md │ ├── deltapx.md │ ├── deltapxw.md │ ├── denorm.md │ ├── diff.md │ ├── diode_ladder.md │ ├── directory.md │ ├── diskgrain.md │ ├── diskin.md │ ├── diskin2.md │ ├── dispfft.md │ ├── display.md │ ├── distort.md │ ├── distort1.md │ ├── divides.md │ ├── divz.md │ ├── dollar.md │ ├── doppler.md │ ├── dot.md │ ├── downsamp.md │ ├── dripwater.md │ ├── dumpk.md │ ├── dumpk2.md │ ├── dumpk3.md │ ├── dumpk4.md │ ├── duserrnd.md │ ├── dust.md │ ├── dust2.md │ ├── elapsedcycles.md │ ├── elapsedtime.md │ ├── else.md │ ├── elseif.md │ ├── endif.md │ ├── endin.md │ ├── endop.md │ ├── envlpx.md │ ├── envlpxr.md │ ├── ephasor.md │ ├── eqfil.md │ ├── equals.md │ ├── evalstr.md │ ├── event.md │ ├── event_i.md │ ├── eventcycles.md │ ├── eventtime.md │ ├── eventtype.md │ ├── exciter.md │ ├── exitnow.md │ ├── exp.md │ ├── expcurve.md │ ├── expon.md │ ├── exprand.md │ ├── exprandi.md │ ├── expseg.md │ ├── expsega.md │ ├── expsegb.md │ ├── expsegba.md │ ├── expsegr.md │ ├── fareylen.md │ ├── fareyleni.md │ ├── fft.md │ ├── ficlose.md │ ├── filebit.md │ ├── filelen.md │ ├── filenchnls.md │ ├── filepeak.md │ ├── filescal.md │ ├── filesr.md │ ├── filevalid.md │ ├── fillarray.md │ ├── filter2.md │ ├── fin.md │ ├── fini.md │ ├── fink.md │ ├── fiopen.md │ ├── flanger.md │ ├── flashtxt.md │ ├── flooper.md │ ├── flooper2.md │ ├── floor.md │ ├── fmanal.md │ ├── fmax.md │ ├── fmb3.md │ ├── fmbell.md │ ├── fmin.md │ ├── fmmetal.md │ ├── fmod.md │ ├── fmpercfl.md │ ├── fmrhode.md │ ├── fmvoice.md │ ├── fmwurlie.md │ ├── fof.md │ ├── fof2.md │ ├── fofilter.md │ ├── fog.md │ ├── fold.md │ ├── follow.md │ ├── follow2.md │ ├── foscil.md │ ├── foscili.md │ ├── fout.md │ ├── fouti.md │ ├── foutir.md │ ├── foutk.md │ ├── fprintks.md │ ├── fprints.md │ ├── frac.md │ ├── fractalnoise.md │ ├── framebuffer.md │ ├── freeverb.md │ ├── ftaudio.md │ ├── ftchnls.md │ ├── ftconv.md │ ├── ftcps.md │ ├── ftexists.md │ ├── ftfree.md │ ├── ftgen.md │ ├── ftgenonce.md │ ├── ftgentmp.md │ ├── ftlen.md │ ├── ftload.md │ ├── ftloadk.md │ ├── ftlptim.md │ ├── ftmorf.md │ ├── ftom.md │ ├── ftprint.md │ ├── ftsamplebank.md │ ├── ftsave.md │ ├── ftsavek.md │ ├── ftset.md │ ├── ftslice.md │ ├── ftslicei.md │ ├── ftsr.md │ ├── gain.md │ ├── gainslider.md │ ├── gauss.md │ ├── gaussi.md │ ├── gausstrig.md │ ├── gbuzz.md │ ├── genarray.md │ ├── genarray_i.md │ ├── gendy.md │ ├── gendyc.md │ ├── gendyx.md │ ├── getcfg.md │ ├── getcol.md │ ├── getftargs.md │ ├── getrow.md │ ├── getseed.md │ ├── gogobel.md │ ├── goto.md │ ├── grain.md │ ├── grain2.md │ ├── grain3.md │ ├── granule.md │ ├── greaterequal.md │ ├── greaterthan.md │ ├── gtadsr.md │ ├── gtf.md │ ├── guiro.md │ ├── harmon.md │ ├── harmon234.md │ ├── hilbert.md │ ├── hilbert2.md │ ├── hrtfearly.md │ ├── hrtfer.md │ ├── hrtfmove.md │ ├── hrtfmove2.md │ ├── hrtfreverb.md │ ├── hrtfstat.md │ ├── hsboscil.md │ ├── hvs1.md │ ├── hvs2.md │ ├── hvs3.md │ ├── hypot.md │ ├── if.md │ ├── ifdef.md │ ├── ifft.md │ ├── ifndef.md │ ├── igoto.md │ ├── ihold.md │ ├── imag.md │ ├── in.md │ ├── in32.md │ ├── inch.md │ ├── include.md │ ├── inh.md │ ├── init.md │ ├── initc14.md │ ├── initc21.md │ ├── initc7.md │ ├── inleta.md │ ├── inletf.md │ ├── inletk.md │ ├── inletkid.md │ ├── inletv.md │ ├── ino.md │ ├── inq.md │ ├── inrg.md │ ├── ins.md │ ├── insglobal.md │ ├── insremot.md │ ├── instr.md │ ├── int.md │ ├── integ.md │ ├── interleave.md │ ├── interp.md │ ├── invalue.md │ ├── inx.md │ ├── inz.md │ ├── jitter.md │ ├── jitter2.md │ ├── joystick.md │ ├── jspline.md │ ├── k35_hpf.md │ ├── k35_lpf.md │ ├── kgoto.md │ ├── kr.md │ ├── ksmps.md │ ├── lag.md │ ├── lagud.md │ ├── lastcycle.md │ ├── lenarray.md │ ├── lessequal.md │ ├── lessthan.md │ ├── lfo.md │ ├── lfsr.md │ ├── limit.md │ ├── limit1.md │ ├── lincos.md │ ├── line.md │ ├── linen.md │ ├── linenr.md │ ├── lineto.md │ ├── linlin.md │ ├── linrand.md │ ├── linseg.md │ ├── linsegb.md │ ├── linsegr.md │ ├── liveconv.md │ ├── locsend.md │ ├── locsig.md │ ├── log.md │ ├── log10.md │ ├── log2.md │ ├── logbtwo.md │ ├── logcurve.md │ ├── loop_ge.md │ ├── loop_gt.md │ ├── loop_le.md │ ├── loop_lt.md │ ├── loopseg.md │ ├── loopsegp.md │ ├── looptseg.md │ ├── loopxseg.md │ ├── lorenz.md │ ├── loscil.md │ ├── loscil3.md │ ├── loscilx.md │ ├── lowpass2.md │ ├── lowres.md │ ├── lowresx.md │ ├── lpcanal.md │ ├── lpcfilter.md │ ├── lpf18.md │ ├── lpfreson.md │ ├── lphasor.md │ ├── lpinterp.md │ ├── lposcil.md │ ├── lposcil3.md │ ├── lposcila.md │ ├── lposcilsa.md │ ├── lposcilsa2.md │ ├── lpread.md │ ├── lpreson.md │ ├── lpshold.md │ ├── lpsholdp.md │ ├── lpslot.md │ ├── lufs.md │ ├── mac.md │ ├── maca.md │ ├── madsr.md │ ├── mags.md │ ├── mandel.md │ ├── mandol.md │ ├── maparray.md │ ├── marimba.md │ ├── massign.md │ ├── max.md │ ├── max_k.md │ ├── maxabs.md │ ├── maxabsaccum.md │ ├── maxaccum.md │ ├── maxalloc.md │ ├── maxarray.md │ ├── mclock.md │ ├── mdelay.md │ ├── median.md │ ├── mediank.md │ ├── metro.md │ ├── metro2.md │ ├── metrobpm.md │ ├── mfb.md │ ├── midglobal.md │ ├── midiarp.md │ ├── midic14.md │ ├── midic21.md │ ├── midic7.md │ ├── midichannelaftertouch.md │ ├── midichn.md │ ├── midicontrolchange.md │ ├── midictrl.md │ ├── mididefault.md │ ├── midifilein.md │ ├── midifilelen.md │ ├── midifilemute.md │ ├── midifileopen.md │ ├── midifilepause.md │ ├── midifileplay.md │ ├── midifilepos.md │ ├── midifilerewind.md │ ├── midifilestatus.md │ ├── midifiletempo.md │ ├── midifilevents.md │ ├── midiin.md │ ├── midinoteoff.md │ ├── midinoteoncps.md │ ├── midinoteonkey.md │ ├── midinoteonoct.md │ ├── midinoteonpch.md │ ├── midion.md │ ├── midion2.md │ ├── midiout.md │ ├── midiout_i.md │ ├── midipitchbend.md │ ├── midipolyaftertouch.md │ ├── midiprogramchange.md │ ├── miditempo.md │ ├── midremot.md │ ├── min.md │ ├── minabs.md │ ├── minabsaccum.md │ ├── minaccum.md │ ├── minarray.md │ ├── mincer.md │ ├── mirror.md │ ├── mixerclear.md │ ├── mixergetlevel.md │ ├── mixerreceive.md │ ├── mixersend.md │ ├── mixersetlevel.md │ ├── mixersetlevel_i.md │ ├── mode.md │ ├── modmatrix.md │ ├── modulus.md │ ├── monitor.md │ ├── moog.md │ ├── moogladder.md │ ├── moogladder2.md │ ├── moogvcf.md │ ├── moogvcf2.md │ ├── moscil.md │ ├── mp3in.md │ ├── mp3len.md │ ├── mp3scal.md │ ├── mpulse.md │ ├── mrtmsg.md │ ├── ms2st.md │ ├── mtof.md │ ├── mton.md │ ├── multiplies.md │ ├── multitap.md │ ├── mute.md │ ├── mvchpf.md │ ├── mvclpf1.md │ ├── mvclpf2.md │ ├── mvclpf3.md │ ├── mvclpf4.md │ ├── mvmfilter.md │ ├── mxadsr.md │ ├── nchnls.md │ ├── nchnls_hw.md │ ├── nchnls_i.md │ ├── nestedap.md │ ├── nlfilt.md │ ├── nlfilt2.md │ ├── noise.md │ ├── noteoff.md │ ├── noteon.md │ ├── noteondur.md │ ├── noteondur2.md │ ├── notequal.md │ ├── notnum.md │ ├── nreverb.md │ ├── nrpn.md │ ├── nsamp.md │ ├── nstance.md │ ├── nstrnum.md │ ├── nstrstr.md │ ├── ntof.md │ ├── ntom.md │ ├── ntrpol.md │ ├── octave.md │ ├── octcps.md │ ├── octmidi.md │ ├── octmidib.md │ ├── octmidinn.md │ ├── octpch.md │ ├── olabuffer.md │ ├── opa.md │ ├── opand.md │ ├── opbitand.md │ ├── opbitnot.md │ ├── opbitor.md │ ├── opbitshl.md │ ├── opbitshr.md │ ├── opcode.md │ ├── opcodeinfo.md │ ├── opi.md │ ├── opk.md │ ├── opnonequiv.md │ ├── opnot.md │ ├── opor.md │ ├── ops.md │ ├── oscbnk.md │ ├── oscil.md │ ├── oscil1.md │ ├── oscil1i.md │ ├── oscil3.md │ ├── oscili.md │ ├── oscilikt.md │ ├── osciliktp.md │ ├── oscilikts.md │ ├── osciln.md │ ├── oscils.md │ ├── oscilx.md │ ├── out.md │ ├── out32.md │ ├── outall.md │ ├── outc.md │ ├── outch.md │ ├── outh.md │ ├── outiat.md │ ├── outic.md │ ├── outic14.md │ ├── outipat.md │ ├── outipb.md │ ├── outipc.md │ ├── outkat.md │ ├── outkc.md │ ├── outkc14.md │ ├── outkpat.md │ ├── outkpb.md │ ├── outkpc.md │ ├── outleta.md │ ├── outletf.md │ ├── outletk.md │ ├── outletkid.md │ ├── outletv.md │ ├── outo.md │ ├── outq.md │ ├── outq1.md │ ├── outq2.md │ ├── outq3.md │ ├── outq4.md │ ├── outrg.md │ ├── outs.md │ ├── outs1.md │ ├── outs2.md │ ├── outvalue.md │ ├── outx.md │ ├── outz.md │ ├── oversample.md │ ├── p.md │ ├── pan.md │ ├── pan2.md │ ├── pareq.md │ ├── part2txt.md │ ├── partials.md │ ├── partikkel.md │ ├── partikkelget.md │ ├── partikkelset.md │ ├── partikkelsync.md │ ├── passign.md │ ├── paulstretch.md │ ├── pcauchy.md │ ├── pchbend.md │ ├── pchmidi.md │ ├── pchmidib.md │ ├── pchmidinn.md │ ├── pchoct.md │ ├── pchtom.md │ ├── pconvolve.md │ ├── pcount.md │ ├── pdclip.md │ ├── pdhalf.md │ ├── pdhalfy.md │ ├── peak.md │ ├── perf.md │ ├── pgmassign.md │ ├── phaser1.md │ ├── phaser2.md │ ├── phasor.md │ ├── phasorbnk.md │ ├── phs.md │ ├── pindex.md │ ├── pinker.md │ ├── pinkish.md │ ├── pitch.md │ ├── pitchamdf.md │ ├── planet.md │ ├── platerev.md │ ├── plltrack.md │ ├── pluck.md │ ├── plusbecomes.md │ ├── poisson.md │ ├── pol2rect.md │ ├── polar.md │ ├── polyaft.md │ ├── polynomial.md │ ├── pop.md │ ├── pop_f.md │ ├── port.md │ ├── portk.md │ ├── poscil.md │ ├── poscil3.md │ ├── pow.md │ ├── powershape.md │ ├── powoftwo.md │ ├── prealloc.md │ ├── prepiano.md │ ├── print.md │ ├── printarray.md │ ├── printf.md │ ├── printk.md │ ├── printk2.md │ ├── printks.md │ ├── printks2.md │ ├── println.md │ ├── prints.md │ ├── printsk.md │ ├── product.md │ ├── productarray.md │ ├── pset.md │ ├── ptrack.md │ ├── push.md │ ├── push_f.md │ ├── puts.md │ ├── pvadd.md │ ├── pvbufread.md │ ├── pvcross.md │ ├── pvinterp.md │ ├── pvoc.md │ ├── pvread.md │ ├── pvs2array.md │ ├── pvs2tab.md │ ├── pvsadsyn.md │ ├── pvsanal.md │ ├── pvsarp.md │ ├── pvsbandp.md │ ├── pvsbandr.md │ ├── pvsbandwidth.md │ ├── pvsbin.md │ ├── pvsblur.md │ ├── pvsbuffer.md │ ├── pvsbufread.md │ ├── pvsbufread2.md │ ├── pvscale.md │ ├── pvscent.md │ ├── pvsceps.md │ ├── pvscfs.md │ ├── pvscross.md │ ├── pvsdemix.md │ ├── pvsdiskin.md │ ├── pvsdisp.md │ ├── pvsfilter.md │ ├── pvsfread.md │ ├── pvsfreeze.md │ ├── pvsfromarray.md │ ├── pvsftr.md │ ├── pvsftw.md │ ├── pvsfwrite.md │ ├── pvsgain.md │ ├── pvshift.md │ ├── pvsifd.md │ ├── pvsin.md │ ├── pvsinfo.md │ ├── pvsinit.md │ ├── pvslpc.md │ ├── pvsmaska.md │ ├── pvsmix.md │ ├── pvsmooth.md │ ├── pvsmorph.md │ ├── pvsosc.md │ ├── pvsout.md │ ├── pvspitch.md │ ├── pvstanal.md │ ├── pvstencil.md │ ├── pvstrace.md │ ├── pvsvoc.md │ ├── pvswarp.md │ ├── pvsynth.md │ ├── pwd.md │ ├── qinf.md │ ├── qnan.md │ ├── r2c.md │ ├── raises.md │ ├── rand.md │ ├── randc.md │ ├── randh.md │ ├── randi.md │ ├── random.md │ ├── randomh.md │ ├── randomi.md │ ├── rbjeq.md │ ├── readclock.md │ ├── readf.md │ ├── readfi.md │ ├── readk.md │ ├── readk2.md │ ├── readk3.md │ ├── readk4.md │ ├── readscore.md │ ├── readscratch.md │ ├── real.md │ ├── rect2pol.md │ ├── reinit.md │ ├── release.md │ ├── remoteport.md │ ├── remove.md │ ├── repluck.md │ ├── reshapearray.md │ ├── reson.md │ ├── resonbnk.md │ ├── resonk.md │ ├── resonr.md │ ├── resonx.md │ ├── resonxk.md │ ├── resony.md │ ├── resonz.md │ ├── resyn.md │ ├── return.md │ ├── reverb.md │ ├── reverb2.md │ ├── reverbsc.md │ ├── rewindscore.md │ ├── rezzy.md │ ├── rfft.md │ ├── rifft.md │ ├── rigoto.md │ ├── rireturn.md │ ├── rms.md │ ├── rnd.md │ ├── rnd31.md │ ├── rndseed.md │ ├── round.md │ ├── rspline.md │ ├── rtclock.md │ ├── s16b14.md │ ├── s32b14.md │ ├── samphold.md │ ├── sandpaper.md │ ├── scale.md │ ├── scale2.md │ ├── scalearray.md │ ├── scanhammer.md │ ├── scanmap.md │ ├── scans.md │ ├── scansmap.md │ ├── scantable.md │ ├── scanu.md │ ├── scanu2.md │ ├── schedkwhen.md │ ├── schedkwhennamed.md │ ├── schedule.md │ ├── schedulek.md │ ├── schedwhen.md │ ├── scoreline.md │ ├── scoreline_i.md │ ├── seed.md │ ├── sekere.md │ ├── select.md │ ├── semitone.md │ ├── sense.md │ ├── sensekey.md │ ├── seqtime.md │ ├── seqtime2.md │ ├── sequencer.md │ ├── serialBegin.md │ ├── serialEnd.md │ ├── serialFlush.md │ ├── serialPrint.md │ ├── serialRead.md │ ├── serialWrite.md │ ├── serialWrite_i.md │ ├── setcol.md │ ├── setctrl.md │ ├── setksmps.md │ ├── setp.md │ ├── setrow.md │ ├── setscorepos.md │ ├── sfilist.md │ ├── sfinstr.md │ ├── sfinstr3.md │ ├── sfinstr3m.md │ ├── sfinstrm.md │ ├── sfload.md │ ├── sflooper.md │ ├── sfpassign.md │ ├── sfplay.md │ ├── sfplay3.md │ ├── sfplay3m.md │ ├── sfplaym.md │ ├── sfplist.md │ ├── sfpreset.md │ ├── shaker.md │ ├── shiftin.md │ ├── shiftout.md │ ├── signum.md │ ├── sin.md │ ├── sinh.md │ ├── sininv.md │ ├── sinsyn.md │ ├── skf.md │ ├── sleighbells.md │ ├── slicearray.md │ ├── slider16.md │ ├── slider16f.md │ ├── slider16table.md │ ├── slider16tablef.md │ ├── slider32.md │ ├── slider32f.md │ ├── slider32table.md │ ├── slider32tablef.md │ ├── slider64.md │ ├── slider64f.md │ ├── slider64table.md │ ├── slider64tablef.md │ ├── slider8.md │ ├── slider8f.md │ ├── slider8table.md │ ├── slider8tablef.md │ ├── sliderkawai.md │ ├── sndload.md │ ├── sndloop.md │ ├── sndwarp.md │ ├── sndwarpst.md │ ├── sockrecv.md │ ├── socksend.md │ ├── sorta.md │ ├── sortd.md │ ├── soundin.md │ ├── soundout.md │ ├── soundouts.md │ ├── space.md │ ├── spat3d.md │ ├── spat3di.md │ ├── spat3dt.md │ ├── spdist.md │ ├── specaddm.md │ ├── specdiff.md │ ├── specdisp.md │ ├── specfilt.md │ ├── spechist.md │ ├── specptrk.md │ ├── specscal.md │ ├── specsum.md │ ├── spectrum.md │ ├── spf.md │ ├── splitrig.md │ ├── sprintf.md │ ├── sprintfk.md │ ├── spsend.md │ ├── sqrt.md │ ├── squinewave.md │ ├── sr.md │ ├── st2ms.md │ ├── stack.md │ ├── statevar.md │ ├── sterrain.md │ ├── stix.md │ ├── strcat.md │ ├── strcatk.md │ ├── strchar.md │ ├── strchark.md │ ├── strcmp.md │ ├── strcmpk.md │ ├── strcpy.md │ ├── strcpyk.md │ ├── streson.md │ ├── strfromurl.md │ ├── strget.md │ ├── strindex.md │ ├── strindexk.md │ ├── strlen.md │ ├── strlenk.md │ ├── strlower.md │ ├── strlowerk.md │ ├── strrindex.md │ ├── strrindexk.md │ ├── strset.md │ ├── strstrip.md │ ├── strsub.md │ ├── strsubk.md │ ├── strtod.md │ ├── strtodk.md │ ├── strtol.md │ ├── strtolk.md │ ├── strupper.md │ ├── strupperk.md │ ├── subinstr.md │ ├── subinstrinit.md │ ├── subtracts.md │ ├── sum.md │ ├── sumarray.md │ ├── svfilter.md │ ├── svn.md │ ├── syncgrain.md │ ├── syncloop.md │ ├── syncphasor.md │ ├── system.md │ ├── tab.md │ ├── tab2array.md │ ├── tab2pvs.md │ ├── tab_i.md │ ├── tabifd.md │ ├── table.md │ ├── table3.md │ ├── tablecopy.md │ ├── tablefilter.md │ ├── tablefilteri.md │ ├── tablegpw.md │ ├── tablei.md │ ├── tableicopy.md │ ├── tableigpw.md │ ├── tableikt.md │ ├── tableimix.md │ ├── tableiw.md │ ├── tablekt.md │ ├── tablemix.md │ ├── tableng.md │ ├── tablera.md │ ├── tableseg.md │ ├── tableshuffle.md │ ├── tablew.md │ ├── tablewa.md │ ├── tablewkt.md │ ├── tablexkt.md │ ├── tablexseg.md │ ├── tabmorph.md │ ├── tabmorpha.md │ ├── tabmorphak.md │ ├── tabmorphi.md │ ├── tabplay.md │ ├── tabrec.md │ ├── tabsum.md │ ├── tabw.md │ ├── tabw_i.md │ ├── tambourine.md │ ├── tan.md │ ├── tanh.md │ ├── taninv.md │ ├── taninv2.md │ ├── tbvcf.md │ ├── tempest.md │ ├── tempo.md │ ├── temposcal.md │ ├── tempoval.md │ ├── tigoto.md │ ├── timedseq.md │ ├── timeinstk.md │ ├── timeinsts.md │ ├── timek.md │ ├── times.md │ ├── timout.md │ ├── tival.md │ ├── tlineto.md │ ├── tone.md │ ├── tonek.md │ ├── tonex.md │ ├── tradsyn.md │ ├── trandom.md │ ├── transeg.md │ ├── transegb.md │ ├── transegr.md │ ├── trcross.md │ ├── trfilter.md │ ├── trhighest.md │ ├── trigexpseg.md │ ├── trigger.md │ ├── trighold.md │ ├── triglinseg.md │ ├── trigphasor.md │ ├── trigseq.md │ ├── trim.md │ ├── trirand.md │ ├── trlowest.md │ ├── trmix.md │ ├── trscale.md │ ├── trshift.md │ ├── trsplit.md │ ├── turnoff.md │ ├── turnoff2.md │ ├── turnoff3.md │ ├── turnon.md │ ├── tvconv.md │ ├── undef.md │ ├── undersample.md │ ├── unirand.md │ ├── until.md │ ├── unwrap.md │ ├── upsamp.md │ ├── urandom.md │ ├── urd.md │ ├── vactrol.md │ ├── vadd.md │ ├── vadd_i.md │ ├── vaddv.md │ ├── vaddv_i.md │ ├── vaget.md │ ├── valpass.md │ ├── vaset.md │ ├── vbap.md │ ├── vbap16.md │ ├── vbap16move.md │ ├── vbap4.md │ ├── vbap4move.md │ ├── vbap8.md │ ├── vbap8move.md │ ├── vbapg.md │ ├── vbapgmove.md │ ├── vbaplsinit.md │ ├── vbapmove.md │ ├── vbapz.md │ ├── vbapzmove.md │ ├── vcella.md │ ├── vclpf.md │ ├── vco.md │ ├── vco2.md │ ├── vco2ft.md │ ├── vco2ift.md │ ├── vco2init.md │ ├── vcomb.md │ ├── vcopy.md │ ├── vcopy_i.md │ ├── vdelay.md │ ├── vdelay3.md │ ├── vdelayk.md │ ├── vdelayx.md │ ├── vdelayxq.md │ ├── vdelayxs.md │ ├── vdelayxw.md │ ├── vdelayxwq.md │ ├── vdelayxws.md │ ├── vdivv.md │ ├── vdivv_i.md │ ├── vecdelay.md │ ├── veloc.md │ ├── vexp.md │ ├── vexp_i.md │ ├── vexpseg.md │ ├── vexpv.md │ ├── vexpv_i.md │ ├── vibes.md │ ├── vibr.md │ ├── vibrato.md │ ├── vincr.md │ ├── vlimit.md │ ├── vlinseg.md │ ├── vlowres.md │ ├── vmap.md │ ├── vmirror.md │ ├── vmult.md │ ├── vmult_i.md │ ├── vmultv.md │ ├── vmultv_i.md │ ├── voice.md │ ├── vosim.md │ ├── vphaseseg.md │ ├── vport.md │ ├── vpow.md │ ├── vpow_i.md │ ├── vpowv.md │ ├── vpowv_i.md │ ├── vps.md │ ├── vpvoc.md │ ├── vrandh.md │ ├── vrandi.md │ ├── vsubv.md │ ├── vsubv_i.md │ ├── vtaba.md │ ├── vtabi.md │ ├── vtabk.md │ ├── vtable1k.md │ ├── vtablea.md │ ├── vtablei.md │ ├── vtablek.md │ ├── vtablewa.md │ ├── vtablewi.md │ ├── vtablewk.md │ ├── vtabwa.md │ ├── vtabwi.md │ ├── vtabwk.md │ ├── vwrap.md │ ├── waveset.md │ ├── weibull.md │ ├── wgbow.md │ ├── wgbowedbar.md │ ├── wgbrass.md │ ├── wgclar.md │ ├── wgflute.md │ ├── wgpluck.md │ ├── wgpluck2.md │ ├── wguide1.md │ ├── wguide2.md │ ├── while.md │ ├── window.md │ ├── wrap.md │ ├── writescratch.md │ ├── wterrain.md │ ├── wterrain2.md │ ├── xadsr.md │ ├── xin.md │ ├── xout.md │ ├── xtratim.md │ ├── xyin.md │ ├── xyscale.md │ ├── zacl.md │ ├── zakinit.md │ ├── zamod.md │ ├── zar.md │ ├── zarg.md │ ├── zaw.md │ ├── zawm.md │ ├── zdf_1pole.md │ ├── zdf_1pole_mode.md │ ├── zdf_2pole.md │ ├── zdf_2pole_mode.md │ ├── zdf_ladder.md │ ├── zfilter2.md │ ├── zir.md │ ├── ziw.md │ ├── ziwm.md │ ├── zkcl.md │ ├── zkmod.md │ ├── zkr.md │ ├── zkw.md │ └── zkwm.md ├── opcodesIndex.md ├── opcodesQuickRef.md ├── orch │ ├── amplitudes.md │ ├── data-types.md │ ├── header.md │ ├── instruments.md │ ├── macros.md │ ├── traditional-functional-code.md │ └── user-defined-opcodes.md ├── oscnetwork │ ├── Network.md │ ├── OSC.md │ ├── Remote.md │ └── nonMIDIdevices.md ├── overview │ ├── configuring.md │ ├── links.md │ ├── nomenclature.md │ ├── rt-audio.md │ ├── rt-io-on-linux.md │ ├── rt-io-on-mac-osx.md │ ├── rt-io-on-windows.md │ ├── rt-io-with-jack.md │ └── udp-server.md ├── pitch │ ├── funcs.md │ └── tuning.md ├── reference │ ├── genRoutinesRef.md │ ├── opcodesReference.md │ └── scoreStatementsRef.md ├── score │ ├── eval.md │ ├── genroutines.md │ ├── macros.md │ ├── mult.md │ ├── note-durations.md │ ├── parameter-fields.md │ ├── preproc.md │ ├── scripts.md │ └── statemnt.md ├── scoregens │ ├── C.md │ ├── a.md │ ├── b.md │ ├── capB.md │ ├── d.md │ ├── e.md │ ├── f.md │ ├── gen01.md │ ├── gen02.md │ ├── gen03.md │ ├── gen04.md │ ├── gen05.md │ ├── gen06.md │ ├── gen07.md │ ├── gen08.md │ ├── gen09.md │ ├── gen10.md │ ├── gen11.md │ ├── gen12.md │ ├── gen13.md │ ├── gen14.md │ ├── gen15.md │ ├── gen16.md │ ├── gen17.md │ ├── gen18.md │ ├── gen19.md │ ├── gen20.md │ ├── gen21.md │ ├── gen23.md │ ├── gen24.md │ ├── gen25.md │ ├── gen27.md │ ├── gen28.md │ ├── gen30.md │ ├── gen31.md │ ├── gen32.md │ ├── gen33.md │ ├── gen34.md │ ├── gen40.md │ ├── gen41.md │ ├── gen42.md │ ├── gen43.md │ ├── gen44.md │ ├── gen49.md │ ├── gen51.md │ ├── gen52.md │ ├── gen53.md │ ├── genexp.md │ ├── genfarey.md │ ├── genpadsynth.md │ ├── genquadbezier.md │ ├── gensone.md │ ├── gentanh.md │ ├── genwave.md │ ├── i.md │ ├── leftbrace.md │ ├── m.md │ ├── n.md │ ├── q.md │ ├── r.md │ ├── rightbrace.md │ ├── s.md │ ├── t.md │ ├── v.md │ ├── x.md │ └── y.md ├── siggen │ ├── additive.md │ ├── basic.md │ ├── dynamic.md │ ├── envelope.md │ ├── fmsynth.md │ ├── granular.md │ ├── hvs.md │ ├── lineexp.md │ ├── models.md │ ├── phasors.md │ ├── random.md │ ├── sample.md │ ├── scantop.md │ ├── tableacc.md │ ├── waveterr.md │ └── wavguide.md ├── sigio │ ├── fileio.md │ ├── input.md │ ├── output.md │ ├── pdisplay.md │ ├── queries.md │ └── softbus.md ├── sigmod │ ├── ampmod.md │ ├── compaccum.md │ ├── conmorph.md │ ├── delayops.md │ ├── panspatl.md │ ├── reverbtn.md │ ├── sample.md │ ├── siglimit.md │ ├── speciale.md │ ├── speciali.md │ ├── standard.md │ ├── wavguide.md │ └── wavshape.md ├── signalflowgraph.md ├── spectral │ ├── ATS.md │ ├── arrays.md │ ├── lpcresyn.md │ ├── nonstand.md │ ├── realtime.md │ ├── stft.md │ └── top.md ├── strings │ ├── convert.md │ ├── manipulate.md │ └── top.md ├── stylesheets │ └── extra.css ├── table │ ├── queries.md │ ├── readwrit.md │ ├── select.md │ └── top.md ├── utility │ ├── analysis.md │ ├── atsa.md │ ├── convert.md │ ├── cs.md │ ├── csb64enc.md │ ├── cvanal.md │ ├── dnoise.md │ ├── envext.md │ ├── extractor.md │ ├── het_export.md │ ├── het_import.md │ ├── hetro.md │ ├── lpanal.md │ ├── makecsd.md │ ├── mixer.md │ ├── other.md │ ├── pv_export.md │ ├── pv_import.md │ ├── pvanal.md │ ├── pvlook.md │ ├── queries.md │ ├── scale.md │ ├── sdif2ad.md │ ├── sndinfo.md │ ├── src_conv.md │ └── top.md ├── vectorial │ ├── delay.md │ ├── envelopeGenerators.md │ ├── limiting.md │ ├── scalar.md │ ├── tables.md │ ├── top.md │ ├── vectorial.md │ └── vectorialrandom.md └── zak │ └── top.md ├── makeAppendices.py └── mkdocs.yml /.gitignore: -------------------------------------------------------------------------------- 1 | __pycache__ 2 | -------------------------------------------------------------------------------- /docs/control/clockctl.md: -------------------------------------------------------------------------------- 1 | # **Clock Control** 2 | 3 | The opcodes to start and stop internal clocks are: 4 | 5 | * [clockoff](../opcodes/clockoff.md) 6 | * [clockon](../opcodes/clockon.md) 7 | 8 | These clocks count CPU time. There are 32 independent clocks available. You can use the opcode [readclock](../opcodes/readclock.md) to read current values of a clock. See [Time Reading](timeread.md) for other timing opcodes. 9 | -------------------------------------------------------------------------------- /docs/control/conditional.md: -------------------------------------------------------------------------------- 1 | # **Conditional Values** 2 | 3 | The opcodes for conditional values are: 4 | 5 | * [==](../opcodes/equals.md) 6 | * [>=](../opcodes/greaterequal.md) 7 | * [>](../opcodes/greaterthan.md) 8 | * [<](../opcodes/lessthan.md) 9 | * [<=](../opcodes/lessequal.md) 10 | * [!=](../opcodes/notequal.md) 11 | -------------------------------------------------------------------------------- /docs/control/durctl.md: -------------------------------------------------------------------------------- 1 | # **Duration Control Statements** 2 | 3 | The opcodes one can use to manipulate a note's duration are: 4 | 5 | * [ihold](../opcodes/ihold.md) 6 | * [turnoff](../opcodes/turnoff.md) 7 | * [turnoff2](../opcodes/turnoff2.md) 8 | * [turnoff3](../opcodes/turnoff3.md) 9 | * [turnon](../opcodes/turnon.md) 10 | 11 | For other realtime instrument control see [Realtime Performance Control](realtime.md) and [Instrument Invocation](invocat.md). 12 | -------------------------------------------------------------------------------- /docs/control/realtime.md: -------------------------------------------------------------------------------- 1 | # **Real-time Performance Control** 2 | 3 | Opcodes that monitor and control real-time performance are: 4 | 5 | * [active](../opcodes/active.md) 6 | * [cpuprc](../opcodes/cpuprc.md) 7 | * [cpumeter](../opcodes/cpumeter.md) 8 | * [exitnow](../opcodes/exitnow.md) 9 | * [maxalloc](../opcodes/maxalloc.md) 10 | * [prealloc](../opcodes/prealloc.md) 11 | 12 | The running csound process can be terminated using [exitnow](../opcodes/exitnow.md). 13 | -------------------------------------------------------------------------------- /docs/control/stacks.md: -------------------------------------------------------------------------------- 1 | # **Stacks** 2 | 3 | These opcodes are deprecated. 4 | 5 | Csound implements a global stack that can be accessed with the following opcodes: 6 | 7 | * [stack](../opcodes/stack.md) 8 | * [pop](../opcodes/pop.md) 9 | * [push](../opcodes/push.md) 10 | * [pop_f](../opcodes/pop_f.md) 11 | * [push_f](../opcodes/push_f.md) 12 | -------------------------------------------------------------------------------- /docs/control/subinstr.md: -------------------------------------------------------------------------------- 1 | # **Sub-instrument Control** 2 | 3 | These opcodes let one define and use a sub-instrument: 4 | 5 | * [subinstr](../opcodes/subinstr.md) 6 | * [subinstrinit](../opcodes/subinstrinit.md) 7 | 8 | See also the UDO and [Orchestra Macros](../orch/macros.md) section for similar functionality. 9 | -------------------------------------------------------------------------------- /docs/examples/01hpschd.sf2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/01hpschd.sf2 -------------------------------------------------------------------------------- /docs/examples/07AcousticGuitar.sf2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/07AcousticGuitar.sf2 -------------------------------------------------------------------------------- /docs/examples/128-spiral-8,16,128,2,1over2.traj: -------------------------------------------------------------------------------- 1 | 123 17 71 97 4 110 48 30 123 10 79 89 12 117 40 47 114 10 86 80 13 116 33 55 106 11 94 64 21 116 25 63 97 12 102 56 30 115 18 78 89 12 109 49 46 107 18 86 81 21 108 41 54 106 19 94 73 29 108 33 62 98 19 93 65 37 107 26 70 90 20 101 57 46 107 26 78 81 28 101 49 54 99 27 86 73 29 100 42 62 90 27 85 65 37 100 34 62 90 28 93 57 45 99 34 70 82 28 93 50 53 99 35 77 74 36 92 50 53 91 35 85 66 37 92 42 61 82 35 -------------------------------------------------------------------------------- /docs/examples/19Trumpet.sf2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/19Trumpet.sf2 -------------------------------------------------------------------------------- /docs/examples/22Bassoon.sf2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/22Bassoon.sf2 -------------------------------------------------------------------------------- /docs/examples/C-modern.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -o dac 4 | 5 | 6 | 0dbfs = 1 7 | 8 | instr 1 9 | ii = pcount() 10 | print(ii) 11 | out(poscil(0.5, A4)) 12 | endin 13 | 14 | 15 | 16 | 17 | i1 0 .5 100 18 | i . + 19 | i . . . ! 20 | i 21 | 22 | s 23 | i1 0 .5 100 24 | i . + . 25 | C 0 26 | i . . . 27 | i . . 28 | i . 29 | 30 | e 31 | 32 | 33 | -------------------------------------------------------------------------------- /docs/examples/C.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -o dac 4 | 5 | 6 | 0dbfs = 1 7 | 8 | instr 1 9 | ii pcount 10 | print ii 11 | a1 oscil 0.5,A4 12 | out a1 13 | endin 14 | 15 | 16 | 17 | 18 | 19 | i1 0 .5 100 20 | i . + 21 | i . . . ! 22 | i 23 | 24 | s 25 | i1 0 .5 100 26 | i . + . 27 | C 0 28 | i . . . 29 | i . . 30 | i . 31 | 32 | e 33 | 34 | 35 | -------------------------------------------------------------------------------- /docs/examples/Church.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/Church.wav -------------------------------------------------------------------------------- /docs/examples/Church_norm.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/Church_norm.wav -------------------------------------------------------------------------------- /docs/examples/HRTFcompact: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/HRTFcompact -------------------------------------------------------------------------------- /docs/examples/MIDIpad.mid: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/MIDIpad.mid -------------------------------------------------------------------------------- /docs/examples/MSjungleMid.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/MSjungleMid.wav -------------------------------------------------------------------------------- /docs/examples/MSjungleSide.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/MSjungleSide.wav -------------------------------------------------------------------------------- /docs/examples/MSjungle_interleaved.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/MSjungle_interleaved.wav -------------------------------------------------------------------------------- /docs/examples/Mathews.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/Mathews.wav -------------------------------------------------------------------------------- /docs/examples/MathewsN.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/MathewsN.wav -------------------------------------------------------------------------------- /docs/examples/MathewsNoise.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/MathewsNoise.wav -------------------------------------------------------------------------------- /docs/examples/OSCraw.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -o dac 4 | 5 | 6 | 7 | instr 1 8 | kwhen init 0 9 | kmetro metro 1 10 | kwhen += kmetro 11 | OSCsend kwhen, "127.0.0.1",7771, "/foo/bar", "f", kwhen 12 | endin 13 | 14 | instr 2 15 | Smess[] init 3 16 | top: 17 | Smess,ka OSCraw 7771 18 | kn = 0 19 | while kn < ka do 20 | printf ": %s ", kn+1, Smess[kn] 21 | kn += 1 22 | od 23 | printf "%d items\n", ka, kn 24 | if ka > 0 kgoto top 25 | endin 26 | 27 | 28 | 29 | i1 0 10 30 | i2 0 10 31 | 32 | -------------------------------------------------------------------------------- /docs/examples/abs-modern.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | -odac ;;;realtime audio out 5 | -d ;;;no display 6 | ;-iadc ;;;uncomment -iadc if realtime audio input is needed too 7 | ; For Non-realtime ouput leave only the line below: 8 | ; -o abs.wav -W ;;; for file output any platform 9 | 10 | 11 | 12 | sr = 44100 13 | ksmps = 32 14 | nchnls = 2 15 | 16 | instr 1 17 | x:i = p4 18 | iabs = abs(x) 19 | print(iabs) 20 | endin 21 | 22 | 23 | 24 | 25 | i 1 0 1 0 26 | i 1 + 1 -0.15 27 | i 1 + 1 -13 28 | e 29 | 30 | 31 | -------------------------------------------------------------------------------- /docs/examples/abs.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | -odac ;;;RT audio out 5 | ;-iadc ;;;uncomment -iadc if RT audio input is needed too 6 | ; For Non-realtime ouput leave only the line below: 7 | ; -o abs.wav -W ;;; for file output any platform 8 | 9 | 10 | 11 | sr = 44100 12 | ksmps = 32 13 | nchnls = 2 14 | 15 | instr 1 16 | ix = p4 17 | iabs = abs(ix) 18 | print iabs 19 | 20 | endin 21 | 22 | 23 | 24 | 25 | i 1 0 1 0 26 | i 1 + 1 -.15 27 | i 1 + 1 -13 28 | e 29 | 30 | 31 | -------------------------------------------------------------------------------- /docs/examples/aftouch-modern.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | ; Audio out No messages MIDI in 5 | -odac -d -M hw:1,0 ;;;RT audio out with MIDI in 6 | 7 | 8 | 9 | sr = 44100 10 | ksmps = 32 11 | nchnls = 2 12 | 0dbfs = 1 13 | 14 | instr 1 15 | aft:k = aftouch(0, 1) 16 | printk2(aft) 17 | 18 | ;aftertouch from music keyboard used for volume control 19 | sig:a = poscil(0.7 * aft, 220) 20 | outs(sig, sig) 21 | endin 22 | 23 | 24 | 25 | i 1 0 30 26 | e 27 | 28 | 29 | -------------------------------------------------------------------------------- /docs/examples/aftouch.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | ; Audio out No messages MIDI in 5 | -odac -d -M0 ;;;RT audio out with MIDI in 6 | 7 | 8 | 9 | sr = 44100 10 | ksmps = 32 11 | nchnls = 2 12 | 0dbfs = 1 13 | 14 | instr 1 15 | 16 | kaft aftouch 0, 1 17 | printk2 kaft 18 | 19 | ;aftertouch from music keyboard used for volume control 20 | asig oscil 0.7 * kaft, 220, 1 21 | outs asig, asig 22 | 23 | endin 24 | 25 | 26 | 27 | ;sine wave. 28 | f 1 0 16384 10 1 29 | 30 | i 1 0 30 31 | e 32 | 33 | 34 | -------------------------------------------------------------------------------- /docs/examples/ahh.aiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/ahh.aiff -------------------------------------------------------------------------------- /docs/examples/ahhc.aiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/ahhc.aiff -------------------------------------------------------------------------------- /docs/examples/allpole-modern.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -odac -d 4 | 5 | 6 | 7 | sr = 44100 8 | ksmps = 64 9 | nchnls = 1 10 | 0dbfs = 1 11 | 12 | fw@global:i = ftgen(0, 0, 1024, 20, 2, 1) 13 | 14 | instr 1 15 | a1 = diskin("fox.wav", 1, 0, 1) 16 | cfs:k[], krms, err:k, cps:k = lpcanal(a1, 1, 128, 1024, 64, fw) 17 | if cps > 180 then 18 | cps = 180 19 | endif 20 | a2 = buzz(0dbfs, cps, sr/(cps*2), -1) 21 | a3 = allpole(a2*krms*err, cfs) 22 | out(dcblock(a3)) 23 | endin 24 | 25 | 26 | 27 | i1 0 30 28 | 29 | -------------------------------------------------------------------------------- /docs/examples/allpole.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -odac -d 4 | 5 | 6 | 7 | sr = 44100 8 | ksmps = 64 9 | nchnls = 1 10 | 0dbfs = 1 11 | 12 | gifw ftgen 0,0,1024,20,2,1 13 | 14 | instr 1 15 | a1 diskin "fox.wav",1,0,1 16 | kcfs[],krms,kerr,kcps lpcanal a1,1,128,1024,64,gifw 17 | if kcps > 180 then 18 | kcps = 180 19 | endif 20 | a2 buzz 0dbfs, kcps, sr/(kcps*2), -1 21 | a3 allpole a2*krms*kerr,kcfs 22 | a3 dcblock a3 23 | out a3 24 | endin 25 | 26 | 27 | 28 | i1 0 30 29 | 30 | -------------------------------------------------------------------------------- /docs/examples/ampdb-modern.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | -odac ;;;RT audio out 5 | ;-iadc ;;;uncomment -iadc if RT audio input is needed too 6 | ; For Non-realtime ouput leave only the line below: 7 | ; -o ampdb.wav -W ;;; for file output any platform 8 | 9 | 10 | 11 | sr = 44100 12 | ksmps = 32 13 | nchnls = 2 14 | 15 | instr 1 16 | idb = p4 17 | amp:i = ampdb(idb) 18 | sig:a = poscil(amp, 220) 19 | print(amp) 20 | outs(sig, sig) 21 | endin 22 | 23 | 24 | 25 | i 1 0 1 50 26 | i 1 + 1 90 27 | i 1 + 1 68 28 | i 1 + 1 80 29 | 30 | e 31 | 32 | 33 | -------------------------------------------------------------------------------- /docs/examples/array.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -odac 4 | 5 | 6 | ksmps = 64 7 | nchnls = 1 8 | 0dbfs = 1 9 | 10 | instr 1 11 | Params:i[] = array(p4, p5) 12 | Audio:k[] = array(oscili(Params[0],Params[1])) 13 | out a(Audio) 14 | endin 15 | schedule(1,0,2,0.5,440) 16 | event_i("e",0,2) 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /docs/examples/array_udo-modern.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -nm128 4 | 5 | 6 | 7 | opcode FirstEl, k, k[] 8 | ;returns the first element of vector kArr 9 | Arr:k[] = xin() 10 | xout(Arr[0]) 11 | endop 12 | 13 | instr 1 14 | Arr:k[] = fillarray(6, 3, 9, 5, 1) 15 | first:k = FirstEl(Arr) 16 | printf("first = %d\n", 1, first) 17 | turnoff() 18 | endin 19 | 20 | 21 | 22 | i 1 0 0.1 23 | 24 | -------------------------------------------------------------------------------- /docs/examples/array_udo.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -nm128 4 | 5 | 6 | 7 | opcode FirstEl, k, k[] 8 | ;returns the first element of vector kArr 9 | kArr[] xin 10 | xout kArr[0] 11 | endop 12 | 13 | instr 1 14 | kArr[] fillarray 6, 3, 9, 5, 1 15 | kFirst FirstEl kArr 16 | printf "kFirst = %d\n", 1, kFirst 17 | turnoff 18 | endin 19 | 20 | 21 | 22 | i 1 0 .1 23 | 24 | -------------------------------------------------------------------------------- /docs/examples/autocorr-modern.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -odac -d 4 | 5 | 6 | 7 | 0dbfs = 1 8 | 9 | instr 1 10 | kin[] = fillarray(1,0,1,0,1,0,1) 11 | kout[] = autocorr(kin) 12 | cnt:k = init(0) 13 | while cnt < lenarray(kout) do 14 | printk2(kout[cnt]) 15 | cnt += 1 16 | od 17 | turnoff 18 | endin 19 | 20 | 21 | 22 | i1 0 1 23 | 24 | -------------------------------------------------------------------------------- /docs/examples/autocorr.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -odac -d 4 | 5 | 6 | 7 | 0dbfs = 1 8 | 9 | instr 1 10 | kin[] fillarray 1,0,1,0,1,0,1 11 | kout[] autocorr kin 12 | kcnt init 0 13 | while kcnt < lenarray(kout) do 14 | printk2 kout[kcnt] 15 | kcnt += 1 16 | od 17 | turnoff 18 | endin 19 | 20 | 21 | 22 | i1 0 1 23 | 24 | -------------------------------------------------------------------------------- /docs/examples/bamboo-modern.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | -odac ;;;RT audio out 5 | ;-iadc ;;;uncomment -iadc if RT audio input is needed too 6 | ; For Non-realtime ouput leave only the line below: 7 | ; -o bamboo.wav -W ;;; for file output any platform 8 | 9 | 10 | 11 | sr = 44100 12 | ksmps = 32 13 | nchnls = 2 14 | 15 | instr 1 16 | sig:a = bamboo(p4, 0.01, 0, 0, 0, 8000) 17 | outs(sig, sig) 18 | endin 19 | 20 | 21 | 22 | 23 | i1 0 1 20000 24 | i1 2 1 20000 25 | e 26 | 27 | 28 | -------------------------------------------------------------------------------- /docs/examples/bamboo.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | -odac ;;;RT audio out 5 | ;-iadc ;;;uncomment -iadc if RT audio input is needed too 6 | ; For Non-realtime ouput leave only the line below: 7 | ; -o bamboo.wav -W ;;; for file output any platform 8 | 9 | 10 | 11 | sr = 44100 12 | ksmps = 32 13 | nchnls = 2 14 | 15 | instr 1 16 | asig bamboo p4, 0.01,0, 0, 0, 8000 17 | outs asig, asig 18 | 19 | endin 20 | 21 | 22 | 23 | 24 | i1 0 1 20000 25 | i1 2 1 20000 26 | e 27 | 28 | 29 | -------------------------------------------------------------------------------- /docs/examples/beats.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/beats.mp3 -------------------------------------------------------------------------------- /docs/examples/beats.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/beats.wav -------------------------------------------------------------------------------- /docs/examples/c2r-modern.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -d -o dac 4 | 5 | 6 | ksmps = 64 7 | 8 | instr 1 9 | fftsize:i = 1024 10 | cnt:k = init(0) 11 | In:k[] = init(fftsize) 12 | Out:k[] = init(fftsize) 13 | 14 | a1 = oscili(0dbfs/2, 440) 15 | 16 | if cnt >= fftsize then 17 | Cmplx:k[] = r2c(In) 18 | Spec:k[] = fft(Cmplx) 19 | Cmplx = fftinv(Spec) 20 | Out = c2r(Cmplx) 21 | cnt = 0 22 | endif 23 | 24 | In = shiftin(a1) 25 | a2 = shiftout(Out) 26 | cnt += ksmps 27 | out(a2) 28 | endin 29 | 30 | 31 | i1 0 10 32 | 33 | -------------------------------------------------------------------------------- /docs/examples/c2r.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -d -o dac 4 | 5 | 6 | ksmps = 64 7 | 8 | instr 1 9 | ifftsize = 1024 10 | kcnt init 0 11 | kIn[] init ifftsize 12 | kOut[] init ifftsize 13 | 14 | a1 oscili 0dbfs/2, 440 15 | 16 | if kcnt >= ifftsize then 17 | kCmplx[] r2c kIn 18 | kSpec[] fft kCmplx 19 | kCmplx fftinv kSpec 20 | kOut c2r kCmplx 21 | kcnt = 0 22 | endif 23 | 24 | kIn[] shiftin a1 25 | a2 shiftout kOut 26 | kcnt += ksmps 27 | out a2 28 | endin 29 | 30 | 31 | i1 0 10 32 | 33 | -------------------------------------------------------------------------------- /docs/examples/catherine.mid: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/catherine.mid -------------------------------------------------------------------------------- /docs/examples/cbrt-modern.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | instr 1 7 | Arg:i[] = fillarray(1, 2, 3) 8 | Res:i[] = cbrt(Arg) 9 | 10 | ik = init(0) 11 | while ik < lenarray(Res) do 12 | print(Res[ik]) 13 | ik += 1 14 | od 15 | 16 | endin 17 | 18 | 19 | 20 | i1 0 0 21 | 22 | -------------------------------------------------------------------------------- /docs/examples/cbrt.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | instr 1 8 | 9 | iArg[] fillarray 1,2,3 10 | iRes[] cbrt iArg 11 | ik init 0 12 | 13 | while ik < lenarray(iRes) do 14 | print iRes[ik] 15 | ik += 1 16 | od 17 | 18 | endin 19 | 20 | 21 | 22 | i1 0 0 23 | 24 | -------------------------------------------------------------------------------- /docs/examples/ceil-modern.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | ; Audio out Audio in No messages 5 | -odac ;;;RT audio out 6 | ;-iadc ;;;uncomment -iadc if RT audio input is needed too 7 | 8 | 9 | 10 | 11 | sr = 44100 12 | ksmps = 32 13 | nchnls = 2 14 | 15 | instr 1 16 | num:i = p4 17 | iceil = ceil(inum) 18 | print(iceil) 19 | endin 20 | 21 | 22 | 23 | 24 | i 1 0 0.01 1 25 | i . + . 0.999999 26 | i . . . 0.000001 27 | i . . . 0 28 | i . . . -0.0000001 29 | i . . . -0.9999999 30 | i . . . -1 31 | e 32 | 33 | -------------------------------------------------------------------------------- /docs/examples/ceil.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | ; Audio out Audio in No messages 5 | -odac ;;;RT audio out 6 | ;-iadc ;;;uncomment -iadc if RT audio input is needed too 7 | 8 | 9 | 10 | 11 | sr = 44100 12 | ksmps = 32 13 | nchnls = 2 14 | 15 | instr 1 16 | 17 | inum = p4 18 | iceil = ceil(inum) 19 | print iceil 20 | 21 | endin 22 | 23 | 24 | 25 | 26 | i 1 0 0.01 1 27 | i . + . 0.999999 28 | i . . . 0.000001 29 | i . . . 0 30 | i . . . -0.0000001 31 | i . . . -0.9999999 32 | i . . . -1 33 | e 34 | 35 | -------------------------------------------------------------------------------- /docs/examples/ceps-modern.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -odac 4 | 5 | 6 | 7 | instr 1 8 | a1 = diskin("fox.wav", 1, 0, 1) 9 | k1 = randh(80, 2.5) 10 | a2 = vco2(1, 220+k1) 11 | kfsig[] = init(1026) 12 | fsig = pvsanal(a1, 1024, 256, 1024, 1) 13 | fsig2 = pvsanal(a2, 1024, 256, 1024, 1) 14 | kf = pvs2tab(kfsig, fsig) 15 | keps[] = ceps(c2r(kfsig), 30) 16 | kenv[] = cepsinv(keps) 17 | fenv = tab2pvs(r2c(kenv)) 18 | out(pvsynth(pvsfilter(fsig2, fenv, 1))) 19 | endin 20 | 21 | 22 | 23 | i1 0 60 24 | 25 | -------------------------------------------------------------------------------- /docs/examples/ceps.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | instr 1 7 | 8 | a1 diskin "fox.wav",1,0,1 9 | k1 randh 80, 2.5 10 | a2 vco2 1, 220+k1 11 | kfsig[] init 1026 12 | fsig pvsanal a1,1024,256,1024,1 13 | fsig2 pvsanal a2,1024,256,1024,1 14 | kf pvs2tab kfsig,fsig 15 | keps[] ceps c2r(kfsig),30 16 | kenv[] cepsinv keps 17 | fenv tab2pvs r2c(kenv) 18 | fvoc pvsfilter fsig2, fenv, 1 19 | asig pvsynth fvoc 20 | 21 | out asig 22 | endin 23 | 24 | 25 | 26 | 27 | i1 0 60 28 | 29 | -------------------------------------------------------------------------------- /docs/examples/cepsinv-modern.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -odac 4 | 5 | 6 | 7 | instr 1 8 | a1 = diskin("fox.wav", 1, 0, 1) 9 | k1 = randh(80, 2.5) 10 | a2 = vco2(8, 220+k1) 11 | fsig = pvsanal(a1, 1024, 256, 1024, 1) 12 | fsig2 = pvsanal(a2, 1024, 256, 1024, 1) 13 | keps[] = pvsceps(fsig, 30) 14 | kenv[] = cepsinv(keps) 15 | fenv = tab2pvs(r2c(kenv)) 16 | out(pvsynth(pvsfilter(fsig2, fenv, 1))) 17 | endin 18 | 19 | 20 | 21 | i1 0 60 22 | 23 | -------------------------------------------------------------------------------- /docs/examples/cepsinv.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | instr 1 7 | 8 | a1 diskin "fox.wav",1,0,1 9 | k1 randh 80, 2.5 10 | a2 vco2 8, 220+k1 11 | fsig pvsanal a1,1024,256,1024,1 12 | fsig2 pvsanal a2,1024,256,1024,1 13 | keps[] pvsceps fsig,30 14 | kenv[] cepsinv keps 15 | fenv tab2pvs r2c(kenv) 16 | fvoc pvsfilter fsig2, fenv, 1 17 | asig pvsynth fvoc 18 | 19 | out asig 20 | endin 21 | 22 | 23 | 24 | 25 | i1 0 60 26 | 27 | -------------------------------------------------------------------------------- /docs/examples/changed-modern.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | -odac ;;;RT audio out 5 | ;-iadc ;;;uncomment -iadc if RT audio input is needed too 6 | ; For Non-realtime ouput leave only the line below: 7 | ; -o changed.wav -W ;;; for file output any platform 8 | 9 | 10 | 11 | sr = 44100 12 | ksmps = 32 13 | nchnls = 2 14 | 15 | instr 1 16 | kint = int(oscil:k(2, 0.5)) 17 | trig:k = changed(kint) 18 | printk(0.2, kint) 19 | printk2(trig) 20 | endin 21 | 22 | 23 | 24 | i 1 0 20 25 | 26 | e 27 | 28 | -------------------------------------------------------------------------------- /docs/examples/changed.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | -odac ;;;RT audio out 5 | ;-iadc ;;;uncomment -iadc if RT audio input is needed too 6 | ; For Non-realtime ouput leave only the line below: 7 | ; -o changed.wav -W ;;; for file output any platform 8 | 9 | 10 | 11 | sr = 44100 12 | ksmps = 32 13 | nchnls = 2 14 | 15 | instr 1 16 | 17 | ksig oscil 2, 0.5, 1 18 | kint = int(ksig) 19 | ktrig changed kint 20 | printk 0.2, kint 21 | printk2 ktrig 22 | 23 | endin 24 | 25 | 26 | 27 | f 1 0 1024 10 1 28 | i 1 0 20 29 | 30 | e 31 | 32 | -------------------------------------------------------------------------------- /docs/examples/changed2-modern.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | -odac ;;;RT audio out 5 | ;-iadc ;;;uncomment -iadc if RT audio input is needed too 6 | ; For Non-realtime ouput leave only the line below: 7 | ; -o changed.wav -W ;;; for file output any platform 8 | 9 | 10 | 11 | sr = 44100 12 | ksmps = 32 13 | nchnls = 2 14 | 15 | instr 1 16 | kint = int(oscil:k(2, 0.5)) 17 | trig:k = changed2(kint) 18 | printk(0.2, kint) 19 | printk2(trig) 20 | endin 21 | 22 | 23 | 24 | i 1 0 20 25 | 26 | e 27 | 28 | -------------------------------------------------------------------------------- /docs/examples/changed2.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | -odac ;;;RT audio out 5 | ;-iadc ;;;uncomment -iadc if RT audio input is needed too 6 | ; For Non-realtime ouput leave only the line below: 7 | ; -o changed.wav -W ;;; for file output any platform 8 | 9 | 10 | 11 | sr = 44100 12 | ksmps = 32 13 | nchnls = 2 14 | 15 | instr 1 16 | 17 | ksig oscil 2, 0.5, 1 18 | kint = int(ksig) 19 | ktrig changed2 kint 20 | printk 0.2, kint 21 | printk2 ktrig 22 | 23 | endin 24 | 25 | 26 | 27 | f 1 0 1024 10 1 28 | i 1 0 20 29 | 30 | e 31 | 32 | -------------------------------------------------------------------------------- /docs/examples/changed2a-modern.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -n 5 | 6 | 7 | Array@global:k[][] = init(2, 3) 8 | Array = fillarray(1, 2, 3, 7, 6, 5) 9 | 10 | instr 1 11 | k1 = changed2(Array) 12 | if k1 == 1 then 13 | printks("An element in the array changed", 0) 14 | endif 15 | endin 16 | 17 | instr 2; change value of channel 'step1' 18 | Array[1][0] = 3 19 | endin 20 | 21 | 22 | 23 | i1 0 100 24 | i2 4 0.1 25 | 26 | 27 | -------------------------------------------------------------------------------- /docs/examples/changed2a.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -n 5 | 6 | 7 | gkArray[][] init 2,3 8 | gkArray fillarray 1,2,3,7,6,5 9 | 10 | instr 1 11 | k1 changed2 gkArray 12 | if k1==1 then 13 | printks "An element in the array changed", 0 14 | endif 15 | endin 16 | 17 | instr 2; change value of channel 'step1' 18 | gkArray[1][0] = 3 19 | endin 20 | 21 | 22 | 23 | i1 0 100 24 | i2 4 .1 25 | 26 | 27 | -------------------------------------------------------------------------------- /docs/examples/compilecsd-modern.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -o dac -d 4 | 5 | 6 | sr = 44100 7 | nchnls = 1 8 | ksmps = 32 9 | 0dbfs = 1 10 | 11 | instr 1 12 | res:i = compilecsd("does_not_exist.csd") 13 | print(res) ; -1 as could not compile 14 | res = compilecsd("my.csd") 15 | print(res) ; 0 as compiled successfully 16 | event_i("i", 2, 0, 3, 0.2, 465) ;send event 17 | endin 18 | 19 | 20 | 21 | i1 0 1 22 | 23 | 24 | -------------------------------------------------------------------------------- /docs/examples/compilecsd.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -o dac -d 4 | 5 | 6 | sr = 44100 7 | nchnls = 1 8 | ksmps = 32 9 | 0dbfs = 1 10 | 11 | instr 1 12 | ires compilecsd "does_not_exist.csd" 13 | print ires ; -1 as could not compile 14 | ires compilecsd "my.csd" 15 | print ires ; 0 as compiled successfully 16 | event_i "i", 2, 0, 3, .2, 465 ;send event 17 | endin 18 | 19 | 20 | 21 | i1 0 1 22 | 23 | 24 | -------------------------------------------------------------------------------- /docs/examples/compileorc-modern.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -o dac -d 4 | 5 | 6 | sr = 44100 7 | nchnls = 1 8 | ksmps = 32 9 | 0dbfs = 1 10 | 11 | instr 1 12 | res:i = compileorc("does_not_exist.orc") 13 | print(res) ; -1 as could not compile 14 | res = compileorc("my.orc") 15 | print(res) ; 0 as compiled successfully 16 | event_i("i", 2, 0, 3, 0.2, 465) ;send event 17 | endin 18 | 19 | 20 | 21 | i1 0 1 22 | 23 | 24 | -------------------------------------------------------------------------------- /docs/examples/compileorc.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -o dac -d 4 | 5 | 6 | sr = 44100 7 | nchnls = 1 8 | ksmps = 32 9 | 0dbfs = 1 10 | 11 | instr 1 12 | ires compileorc "does_not_exist.orc" 13 | print ires ; -1 as could not compile 14 | ires compileorc "my.orc" 15 | print ires ; 0 as compiled successfully 16 | event_i "i", 2, 0, 3, .2, 465 ;send event 17 | endin 18 | 19 | 20 | 21 | i1 0 1 22 | 23 | 24 | -------------------------------------------------------------------------------- /docs/examples/cosh.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | ; Audio out Audio in 5 | -n ; no sound 6 | ; For Non-realtime ouput leave only the line below: 7 | ; -o cosh.wav -W ;;; for file output any platform 8 | 9 | 10 | 11 | ; by Kevin Conder 12 | 13 | sr = 44100 14 | ksmps = 32 15 | nchnls = 2 16 | 0dbfs = 1 17 | 18 | instr 1 19 | 20 | irad = 1 21 | i1 = cosh(irad) 22 | print i1 23 | 24 | endin 25 | 26 | 27 | 28 | i 1 0 .1 29 | e 30 | 31 | -------------------------------------------------------------------------------- /docs/examples/cosinv.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | ; Audio out Audio in 5 | -n ; no sound 6 | ; For Non-realtime ouput leave only the line below: 7 | ; -o cosinv.wav -W ;;; for file output any platform 8 | 9 | 10 | 11 | ; by Kevin Conder 12 | 13 | sr = 44100 14 | ksmps = 32 15 | nchnls = 2 16 | 0dbfs = 1 17 | 18 | instr 1 19 | 20 | irad = 0.5 21 | i1 = cosinv(irad) 22 | print i1 23 | 24 | endin 25 | 26 | 27 | 28 | i 1 0 1 29 | e 30 | 31 | -------------------------------------------------------------------------------- /docs/examples/crunch.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | -odac ;;;RT audio out 5 | ;-iadc ;;;uncomment -iadc if RT audio input is needed too 6 | ; For Non-realtime ouput leave only the line below: 7 | ; -o crunch.wav -W ;;; for file output any platform 8 | 9 | 10 | 11 | sr = 44100 12 | ksmps = 32 13 | nchnls = 2 14 | 0dbfs = 1 15 | 16 | instr 1 17 | 18 | asig crunch 0.8, 0.1, 7, p4 19 | outs asig, asig 20 | 21 | endin 22 | 23 | 24 | 25 | 26 | i1 0 1 .9 27 | i1 1 1 .1 28 | 29 | e 30 | 31 | -------------------------------------------------------------------------------- /docs/examples/ctrlinit.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -d 4 | 5 | 6 | 7 | sr = 44100 8 | nchnls = 1 9 | 0dbfs = 1 10 | 11 | ctrlinit 1,1,64 ; init control to 64. 12 | 13 | instr 1 14 | kval ctrl7 1,1,0,1 ; read in the range 0-1 15 | printk2 kval ; prints 0.50394 16 | endin 17 | 18 | 19 | 20 | i1 0 1 21 | 22 | -------------------------------------------------------------------------------- /docs/examples/d_statement.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -o dac 4 | 5 | 6 | instr 1 7 | a1 oscil 10000, 440 8 | out a1 9 | endin 10 | instr sound 11 | a1 oscil 10000, 440 12 | out a1 13 | endin 14 | 15 | 16 | 17 | f 0 10 18 | i 1 0 -1 19 | d 1 1 0 20 | 21 | i "sound" 3 -1 22 | i "-sound" 4 0 23 | e 24 | 25 | 26 | -------------------------------------------------------------------------------- /docs/examples/date.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | ; Audio out Audio in 5 | -odac -iadc ;;;RT audio I/O 6 | ; For Non-realtime ouput leave only the line below: 7 | ; -o date.wav -W ;;; for file output any platform 8 | 9 | 10 | instr 1 11 | ii,ij date 12 | print ii 13 | print ij 14 | Sa dates ii 15 | prints Sa 16 | Ss dates -1 17 | prints Ss 18 | St dates 1 19 | prints St 20 | endin 21 | 22 | 23 | 24 | 25 | i 1 0 1 26 | e 27 | 28 | 29 | -------------------------------------------------------------------------------- /docs/examples/dct.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | instr 1 7 | 8 | iArr[] fillarray 1,2,3,4 9 | iDCT[] dct iArr 10 | iiDCT[] dctinv iDCT 11 | 12 | prints "%.1f %.1f %.1f %.1f => %.1f %.1f %.1f %.1f\n", 13 | iArr[0], iArr[1], iArr[2], iArr[3], 14 | iiDCT[0], iiDCT[1], iiDCT[2], iiDCT[3] 15 | 16 | endin 17 | 18 | 19 | i1 0 0 20 | 21 | -------------------------------------------------------------------------------- /docs/examples/dctinv.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | instr 1 7 | 8 | iArr[] fillarray 1,2,3,4 9 | iDCT[] dct iArr 10 | iiDCT[] dctinv iDCT 11 | 12 | prints "%.1f %.1f %.1f %.1f => %.1f %.1f %.1f %.1f\n", 13 | iArr[0], iArr[1], iArr[2], iArr[3], 14 | iiDCT[0], iiDCT[1], iiDCT[2], iiDCT[3] 15 | 16 | endin 17 | 18 | 19 | i1 0 0 20 | 21 | -------------------------------------------------------------------------------- /docs/examples/deinterleave.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -n 4 | 5 | 6 | 7 | 8 | instr 1 9 | 10 | kInt[] fillarray 1,2,3,4,5,6,7,8 11 | 12 | kout1[],kout2[] deinterleave kInt 13 | 14 | printf "input: \n%d %d %d %d %d %d %d %d\n", 1, 15 | kInt[0], kInt[1], kInt[2], kInt[3], 16 | kInt[4], kInt[5], kInt[6], kInt[7] 17 | 18 | 19 | printf "de-interleaved:\n%d %d %d %d \n%d %d %d %d\n", 1, 20 | kout1[0], kout1[1], kout1[2], kout1[3], 21 | kout2[0], kout2[1], kout2[2], kout2[3] 22 | endin 23 | 24 | 25 | 26 | i1 0 1 27 | e 28 | 29 | -------------------------------------------------------------------------------- /docs/examples/directory.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -n 4 | 5 | 6 | 7 | ;browse for text files in current directory 8 | instr 1 9 | iCnt init 0 10 | SFilenames[] directory ".", ".wav" 11 | iNumberOfFiles lenarray SFilenames 12 | 13 | until iCnt>=iNumberOfFiles do 14 | printf_i "Filename = %s \n", 1, SFilenames[iCnt] 15 | iCnt = iCnt+1 16 | od 17 | endin 18 | 19 | 20 | 21 | i1 0 1 22 | 23 | -------------------------------------------------------------------------------- /docs/examples/diskin.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | -odac ;;;RT audio out 5 | ;-iadc ;;;uncomment -iadc if RT audio input is needed too 6 | ; For Non-realtime ouput leave only the line below: 7 | ; -o diskin.wav -W ;;; for file output any platform 8 | 9 | 10 | 11 | sr = 44100 12 | ksmps = 32 13 | nchnls = 2 14 | 0dbfs = 1 15 | 16 | instr 1 17 | 18 | ktrans linseg 1, 5, 2, 10, -2 19 | a1 diskin "drumsMlp.wav", ktrans, 0, 1, 0, 32 20 | outs a1, a1 21 | 22 | endin 23 | 24 | 25 | 26 | 27 | i 1 0 15 28 | e 29 | 30 | 31 | -------------------------------------------------------------------------------- /docs/examples/diskin2.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | -odac ;;;RT audio out 5 | ;-iadc ;;;uncomment -iadc if RT audio input is needed too 6 | ; For Non-realtime ouput leave only the line below: 7 | ; -o diskin2.wav -W ;;; for file output any platform 8 | 9 | 10 | 11 | sr = 44100 12 | ksmps = 32 13 | nchnls = 2 14 | 0dbfs = 1 15 | 16 | instr 1 17 | 18 | ktrans linseg 1, 5, 2, 10, -2 19 | a1 diskin2 "drumsMlp.wav", ktrans, 0, 1, 0, 32 20 | outs a1, a1 21 | 22 | endin 23 | 24 | 25 | 26 | 27 | i 1 0 15 28 | e 29 | 30 | 31 | -------------------------------------------------------------------------------- /docs/examples/dot.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -n 4 | 5 | 6 | 7 | instr 1 8 | kArr1[] fillarray 1,3,2,7,4 9 | kArr2[] fillarray 2,3,1,2,5 10 | kd dot kArr1,kArr2 11 | printk2 kd 12 | turnoff 13 | endin 14 | 15 | 16 | 17 | 18 | i1 0 1 19 | 20 | -------------------------------------------------------------------------------- /docs/examples/drumsMlp.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/drumsMlp.ogg -------------------------------------------------------------------------------- /docs/examples/drumsMlp.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/drumsMlp.wav -------------------------------------------------------------------------------- /docs/examples/drumsSlp.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/drumsSlp.wav -------------------------------------------------------------------------------- /docs/examples/dust.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | -odac ;;;realtime audio out 5 | ;-iadc ;;;uncomment -iadc if realtime audio input is needed too 6 | ; For Non-realtime ouput leave only the line below: 7 | ; -o oscil.wav -W ;;; for file output any platform 8 | 9 | 10 | 11 | sr = 44100 12 | ksmps = 32 13 | nchnls = 2 14 | 0dbfs = 1 15 | 16 | instr 1 17 | 18 | kdens expon 2, p3, 20000 19 | aout dust 0.5, kdens 20 | outs aout, aout 21 | 22 | endin 23 | 24 | 25 | i1 0 10 26 | e 27 | 28 | -------------------------------------------------------------------------------- /docs/examples/dust2.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | -odac ;;;realtime audio out 5 | ;-iadc ;;;uncomment -iadc if realtime audio input is needed too 6 | ; For Non-realtime ouput leave only the line below: 7 | ; -o oscil.wav -W ;;; for file output any platform 8 | 9 | 10 | 11 | sr = 44100 12 | ksmps = 32 13 | nchnls = 2 14 | 0dbfs = 1 15 | 16 | instr 1 17 | 18 | kdens expon 2, p3, 20000 19 | aout dust2 0.5, kdens 20 | outs aout, aout 21 | 22 | endin 23 | 24 | 25 | i1 0 10 26 | e 27 | 28 | -------------------------------------------------------------------------------- /docs/examples/eee.aiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/eee.aiff -------------------------------------------------------------------------------- /docs/examples/eeec.aiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/eeec.aiff -------------------------------------------------------------------------------- /docs/examples/envext.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | -odac -m0 ;;;realtime audio out, with limiter protection 5 | ; For Non-realtime ouput leave only the line below: 6 | ; -o envext.wav -W ;;; for file output any platform 7 | 8 | 9 | 10 | sr = 44100 11 | ksmps = 32 12 | nchnls = 2 13 | 0dbfs = 1 14 | 15 | ; by Menno Knevel 2022 16 | 17 | instr 1 18 | ; analyzes sound file and outputs result to a file called "newenv" 19 | ires1 system_i 1,{{ envext -w .05 Mathews.wav }} 20 | endin 21 | 22 | 23 | 24 | 25 | i1 0 1 26 | 27 | e 28 | 29 | -------------------------------------------------------------------------------- /docs/examples/ephasor.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | sr=44100 7 | ksmps=64 8 | nchnls=2 9 | 0dbfs = 1 10 | 11 | instr 1 12 | 13 | iamp = p4 14 | ifr = p5 15 | kfr expon ifr,p3,2*ifr 16 | 17 | kfc expon 2000,p3, 4000 18 | kq = 10 19 | kbw = kfc/kq 20 | kR = 1 - $M_PI*(kbw/sr) 21 | 22 | k1 = kfc/kfr 23 | kn = int(k1) 24 | k1 = k1 - kn 25 | 26 | amod,aph ephasor kfr,kR 27 | aosc1 table aph*kn,-1,1,0,1 28 | aosc2 table aph*(kn+1),-1,1,0,1 29 | 30 | asig = iamp*(aosc1*(1 - k1) + aosc2*k1)*amod 31 | outs asig, asig 32 | 33 | endin 34 | 35 | 36 | 37 | 38 | i1 0 10 0.5 220 39 | 40 | e 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /docs/examples/exp.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ; Select audio/midi flags here according to platform 6 | -odac ;;;realtime audio out 7 | ;-iadc ;;;uncomment -iadc if realtime audio input is needed too 8 | ; For Non-realtime ouput leave only the line below: 9 | 10 | 11 | 12 | 13 | ; By Stefano Cucchi 2020 14 | 15 | sr = 44100 16 | ksmps = 32 17 | nchnls = 2 18 | 0dbfs =1 19 | 20 | 21 | instr 1 22 | i1 = exp(2) 23 | ; BASE = e (2,71828 18284 59045 23536...) 24 | ; EXPONENT = 2 25 | print i1 26 | endin 27 | 28 | 29 | 30 | 31 | 32 | i 1 0 1 33 | e 34 | 35 | -------------------------------------------------------------------------------- /docs/examples/expcurve.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | ; Audio out Audio in Silent 5 | -odac -iadc -n ;;;realtime output 6 | 7 | 8 | 9 | sr = 44100 10 | ksmps = 1000 11 | nchnls = 2 12 | 13 | instr 1 ; logcurve test 14 | 15 | kmod phasor 1/p3 16 | kout expcurve kmod, p4 17 | 18 | printks "mod = %f out= %f\\n", 0.5, kmod, kout 19 | 20 | endin 21 | 22 | /*--- ---*/ 23 | 24 | 25 | 26 | i1 0 5 2 27 | i1 5 5 5 28 | i1 10 5 30 29 | i1 15 5 0.5 30 | 31 | e 32 | 33 | -------------------------------------------------------------------------------- /docs/examples/farey8table.txt: -------------------------------------------------------------------------------- 1 | 0.000000 2 | 0.125000 3 | 0.142857 4 | 0.166667 5 | 0.200000 6 | 0.250000 7 | 0.285714 8 | 0.333333 9 | 0.375000 10 | 0.400000 11 | 0.428571 12 | 0.500000 13 | 0.571429 14 | 0.600000 15 | 0.625000 16 | 0.666667 17 | 0.714286 18 | 0.750000 19 | 0.800000 20 | 0.833333 21 | 0.857143 22 | 0.875000 23 | 1.000000 24 | -------------------------------------------------------------------------------- /docs/examples/fareylen.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -n 4 | 5 | 6 | 7 | sr=44100 8 | ksmps=32 9 | nchnls=1 10 | 11 | ; by Stefano Cucchi and Menno Knevel - 2024 12 | 13 | instr 10 14 | 15 | kfarnf randomi 1, 10, 4 16 | kfarn ceil kfarnf 17 | 18 | klenght fareylen kfarn 19 | printks "farey length of %d = %d\n",.1, kfarn, klenght 20 | 21 | endin 22 | 23 | 24 | 25 | 26 | i 10 0 3 27 | e 28 | 29 | -------------------------------------------------------------------------------- /docs/examples/fft.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -d -o dac 4 | 5 | 6 | ksmps = 64 7 | 8 | instr 1 9 | ifftsize = 1024 10 | kcnt init 0 11 | kIn[] init ifftsize 12 | kOut[] init ifftsize 13 | 14 | a1 oscili 0dbfs/2, 440 15 | 16 | if kcnt >= ifftsize then 17 | kCmplx[] r2c kIn 18 | kSpec[] fft kCmplx 19 | kCmplx fftinv kSpec 20 | kOut c2r kCmplx 21 | kcnt = 0 22 | endif 23 | 24 | kIn[] shiftin a1 25 | a2 shiftout kOut 26 | kcnt += ksmps 27 | out a2 28 | endin 29 | 30 | 31 | i1 0 10 32 | 33 | -------------------------------------------------------------------------------- /docs/examples/fft_complex_type.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -odac 4 | 5 | 6 | ksmps = 1024 // sets transform size 7 | nchnls = 1 8 | 0dbfs = 1 9 | 10 | instr 1 11 | Params:i[] = array(p4, p5) 12 | Audio:k[] = array(oscili(Params[0],Params[1])) 13 | Spec:Complex[] = fft(Audio) 14 | Wave:k[] = fft(Spec) 15 | out a(Wave) 16 | endin 17 | schedule(1,0,2,0.5,440) 18 | event_i("e",0,2) 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /docs/examples/filebit.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | ; Audio out Audio in 5 | -n ; no sound 6 | ; For Non-realtime ouput leave only the line below: 7 | ; -o filebit.wav -W ;;; for file output any platform 8 | 9 | 10 | 11 | sr = 44100 12 | ksmps = 32 13 | nchnls = 2 14 | 0dbfs = 1 15 | 16 | instr 1 17 | 18 | ibits filebit "stereoJungle.wav" 19 | prints "\nbit depth = %d bit\n\n", ibits 20 | 21 | endin 22 | 23 | 24 | 25 | 26 | i 1 0 0 27 | e 28 | 29 | -------------------------------------------------------------------------------- /docs/examples/filescal.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | instr 1 7 | p3 = filelen("fox.wav")/p4 8 | k1 linen 1,0.01,p3,0.1 9 | a1 filescal p4,0.5,1,"fox.wav",1 10 | out a1*k1 11 | endin 12 | 13 | 14 | 15 | i1 0 1 1.25 16 | i1 2.5 1 .75 17 | 18 | 19 | -------------------------------------------------------------------------------- /docs/examples/fillarray.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | -n 5 | 6 | 7 | 8 | sr = 44100 9 | ksmps = 32 10 | nchnls = 2 11 | 0dbfs = 1 12 | 13 | instr 1 14 | 15 | kS[] fillarray 1,7,5 16 | printk 0, kS[0] 17 | printk 0, kS[1] 18 | printk 0, kS[2] 19 | turnoff 20 | endin 21 | 22 | 23 | 24 | i 1 0 1 25 | e 26 | 27 | -------------------------------------------------------------------------------- /docs/examples/finneganswake1.flac: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/finneganswake1.flac -------------------------------------------------------------------------------- /docs/examples/flute.aiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/flute.aiff -------------------------------------------------------------------------------- /docs/examples/fmanal.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | sr = 44100 7 | ksmps = 64 8 | nchnls = 2 9 | 0dbfs = 1 10 | 11 | instr 1 12 | 13 | asig oscili p4, p5 14 | a1,a2 hilbert2 asig,1024,256 15 | am,afm fmanal a1,a2 16 | ktrig metro 2 17 | printf "AM=%.3f FM=%.1f\n",ktrig,k(am),k(afm) 18 | outs a1, a2 19 | 20 | endin 21 | 22 | 23 | 24 | 25 | i1 0 10 0.5 440 26 | 27 | -------------------------------------------------------------------------------- /docs/examples/fmax.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | instr 1 8 | 9 | iArg1[] fillarray 1,8,3 10 | iArg2[] fillarray 4,5,6 11 | iRes[] fmax iArg1,iArg2 12 | ik init 0 13 | 14 | while ik < lenarray(iRes) do 15 | print iRes[ik] 16 | ik += 1 17 | od 18 | 19 | endin 20 | 21 | 22 | 23 | i1 0 0 24 | 25 | -------------------------------------------------------------------------------- /docs/examples/fmin.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | instr 1 8 | 9 | iArg1[] fillarray 1,8,3 10 | iArg2[] fillarray 4,5,6 11 | iRes[] fmin iArg1,iArg2 12 | ik init 0 13 | 14 | while ik < lenarray(iRes) do 15 | print iRes[ik] 16 | ik += 1 17 | od 18 | 19 | endin 20 | 21 | 22 | 23 | i1 0 0 24 | 25 | -------------------------------------------------------------------------------- /docs/examples/fmod.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | instr 1 8 | 9 | iArg1[] fillarray 10,8,22 10 | iArg2[] fillarray 4,5,6 11 | iRes[] fmod iArg1,iArg2 12 | ik init 0 13 | 14 | while ik < lenarray(iRes) do 15 | print iRes[ik] 16 | ik += 1 17 | od 18 | 19 | endin 20 | 21 | 22 | 23 | i1 0 0 24 | 25 | -------------------------------------------------------------------------------- /docs/examples/fox.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/fox.wav -------------------------------------------------------------------------------- /docs/examples/fprints.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | ; Audio out Audio in 5 | -n ; no sound 6 | ; For Non-realtime ouput leave only the line below: 7 | ; -o fprints.wav -W ;;; for file output any platform 8 | 9 | 10 | 11 | ; by Matt Ingalls, edited by Kevin Conder. 12 | 13 | sr = 44100 14 | ksmps = 32 15 | nchnls = 2 16 | 0dbfs = 1 17 | 18 | instr 1 ; a score generator 19 | 20 | fprints "my.sco", "%!Generated score by ma++\\n \\n" ; Print to the file "my.sco". 21 | 22 | endin 23 | 24 | 25 | 26 | i 1 0 0.001 27 | e 28 | 29 | -------------------------------------------------------------------------------- /docs/examples/frac.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | ; Audio out Audio in 5 | -odac -iadc ;;;RT audio I/O 6 | ; For Non-realtime ouput leave only the line below: 7 | ; -o frac.wav -W ;;; for file output any platform 8 | 9 | 10 | 11 | ; Initialize the global variables. 12 | sr = 44100 13 | kr = 4410 14 | ksmps = 10 15 | nchnls = 1 16 | 17 | ; Instrument #1. 18 | instr 1 19 | i1 = 16 / 5 20 | i2 = frac(i1) 21 | 22 | print i2 23 | endin 24 | 25 | 26 | 27 | 28 | 29 | ; Play Instrument #1 for one second. 30 | i 1 0 1 31 | e 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /docs/examples/fractalnoise.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | -odac ;;;realtime audio out 5 | ;-iadc ;;;uncomment -iadc if realtime audio input is needed too 6 | ; For Non-realtime ouput leave only the line below: 7 | ; -o oscil.wav -W ;;; for file output any platform 8 | 9 | 10 | 11 | sr = 44100 12 | ksmps = 32 13 | nchnls = 2 14 | 0dbfs = 1 15 | 16 | instr 1 17 | 18 | kbeta linseg 0, p3/4, 2, p3/4, 0, p3*0.1, 2, p3*0.15, 0 19 | seed 20120124 20 | aout fractalnoise 0.05, kbeta 21 | outs aout, aout 22 | 23 | endin 24 | 25 | 26 | i1 0 10 27 | e 28 | 29 | -------------------------------------------------------------------------------- /docs/examples/framebuffer.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -odac 4 | 5 | 6 | nchnls = 2 7 | 0dbfs = 1 8 | ksmps = 128 9 | sr = 44100 10 | 11 | instr 1 12 | isize init 1024 13 | ioverlaps init 4 14 | 15 | asig diskin2 "fox.wav", 1, 0, 1 16 | kframe[] framebuffer asig, isize 17 | kwindowedFrame[] window kframe, isize 18 | 19 | aout olabuffer kwindowedFrame, ioverlaps 20 | aout = aout / 2 21 | 22 | outs aout, aout 23 | endin 24 | 25 | 26 | 27 | i 1 0 400 28 | 29 | -------------------------------------------------------------------------------- /docs/examples/ftgentmp.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | sr = 44100 7 | ksmps = 128 8 | nchnls = 2 9 | 0dbfs = 1 10 | 11 | instr 1 12 | ifno ftgentmp 0, 0, 512, 10, 1 13 | print ifno 14 | endin 15 | 16 | instr 2 17 | print ftlen(p4) 18 | endin 19 | 20 | 21 | 22 | i 1 0 10 23 | i 2 2 1 101 24 | i 1 5 10 25 | i 2 7 1 102 26 | i 2 12 1 101 27 | i 2 17 1 102 28 | e 29 | 30 | -------------------------------------------------------------------------------- /docs/examples/fwavblnk.aiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/fwavblnk.aiff -------------------------------------------------------------------------------- /docs/examples/gen31.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -o dac 4 | 5 | 6 | 0dbfs = 1 7 | 8 | gisine ftgen 0,0,4096,10,1 9 | gi31 ftgen 0,0,4096,31,gisine, 1,1,0, 2,1,0, 3,1,0, 4,1,0, 5,1,0, 6,1,0 10 | 11 | instr 1 12 | aa oscil3 0.6, 440, gi31 13 | out aa 14 | endin 15 | 16 | 17 | 18 | i1 0 5 19 | e 20 | 21 | 22 | -------------------------------------------------------------------------------- /docs/examples/gen53.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -o dac 4 | 5 | 6 | 7 | 8 | instr 1 9 | 10 | a1 diskin "fox.wav" 11 | a2 ftconv a1, p5, 256 12 | out a2*p4 13 | 14 | endin 15 | 16 | 17 | 18 | ; impulse response 19 | f1 0 131072 1 "ir.wav" 0 0 1 20 | ; minimum-phase version 21 | f2 0 131072 53 1 3 22 | 23 | ; Hann window 24 | f3 0 1024 20 1 1 25 | ; low-pass frequency response 26 | f4 0 1024 7 0 100 0 24 1 900 1 27 | ; low-pass linear-phase IR 28 | f5 0 2048 53 4 4 3 29 | 30 | ; scale IR 31 | i1 0 3 0.25 2 32 | i1 + 3 1 5 33 | 34 | -------------------------------------------------------------------------------- /docs/examples/gendy.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | -odac ;;;realtime audio out 5 | ;-iadc ;;;uncomment -iadc if realtime audio input is needed too 6 | ; For Non-realtime ouput leave only the line below: 7 | ; -o oscil.wav -W ;;; for file output any platform 8 | 9 | 10 | 11 | sr = 44100 12 | ksmps = 32 13 | nchnls = 2 14 | 0dbfs = 1 15 | 16 | instr 1 17 | 18 | aout gendy 0.7, 1, 1, 1, 1, 20, 1000, 0.5, 0.5 19 | outs aout, aout 20 | 21 | endin 22 | 23 | 24 | i1 0 10 25 | e 26 | 27 | -------------------------------------------------------------------------------- /docs/examples/gendyc.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | -odac ;;;realtime audio out 5 | ;-iadc ;;;uncomment -iadc if realtime audio input is needed too 6 | ; For Non-realtime ouput leave only the line below: 7 | ; -o oscil.wav -W ;;; for file output any platform 8 | 9 | 10 | 11 | sr = 44100 12 | ksmps = 32 13 | nchnls = 2 14 | 0dbfs = 1 15 | 16 | instr 1 17 | 18 | aout gendyc 0.5, 1, 1, 1, 1, 220, 440, 0.5, 0.5 19 | outs aout, aout 20 | 21 | endin 22 | 23 | 24 | i1 0 10 25 | e 26 | 27 | -------------------------------------------------------------------------------- /docs/examples/gendyx.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | -odac ;;;realtime audio out 5 | ;-iadc ;;;uncomment -iadc if realtime audio input is needed too 6 | ; For Non-realtime ouput leave only the line below: 7 | ; -o oscil.wav -W ;;; for file output any platform 8 | 9 | 10 | 11 | sr = 44100 12 | ksmps = 32 13 | nchnls = 2 14 | 0dbfs = 1 15 | 16 | instr 1 17 | 18 | aout gendyx 0.7, 1, 1, 1, 1, 20, 1000, 0.5, 0.5, 4, 0.13 19 | outs aout, aout 20 | 21 | endin 22 | 23 | 24 | i1 0 10 25 | e 26 | 27 | -------------------------------------------------------------------------------- /docs/examples/genfarey.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | sr=44100 7 | ksmps=10 8 | nchnls=1 9 | 10 | instr 4 11 | kndx init 0 ; read out elements of F_8 one by one and print to file 12 | if (kndx < 23) then 13 | kelem tab kndx, 1 14 | fprintks "farey8table.txt", "%2.6f\\n", kelem 15 | kndx = kndx+1 16 | endif 17 | endin 18 | 19 | 20 | ; initialise integer for Farey Sequence F_8 21 | f1 0 -23 "farey" 8 0 22 | ; if mode=0 then the table stores all elements of the Farey Sequence 23 | ; as fractions in the range [0,1] 24 | i4 0 1 25 | e 26 | 27 | -------------------------------------------------------------------------------- /docs/examples/getcol.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -odac 4 | 5 | 6 | instr 1 7 | kcnt init 0 8 | kArr[] init 3,3 9 | kArr[] fillarray 0,1,2,0,1,2,0,1,2 10 | while kcnt < 3 do 11 | kVec[] getcol kArr,kcnt 12 | printf "column %d: %d %d %d\n",kcnt+1,kcnt,kVec[0],kVec[1],kVec[2] 13 | kcnt += 1 14 | od 15 | endin 16 | 17 | 18 | i1 0 0.1 19 | 20 | -------------------------------------------------------------------------------- /docs/examples/getftargs.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | -odac ;;;realtime audio out 5 | ;-iadc ;;;uncomment -iadc if realtime audio input is needed too 6 | ; For Non-realtime ouput leave only the line below: 7 | ; -o getftargs.wav -W ;;; for file output any platform 8 | 9 | 10 | 11 | sr = 44100 12 | ksmps = 32 13 | nchnls = 2 14 | 0dbfs = 1 15 | 16 | instr 1 17 | Sargs getftargs 1, 1 18 | puts Sargs, 1 19 | endin 20 | 21 | 22 | 23 | f 1 0 1024 "quadbezier" 0 0 0.5 200 0.8 450 0.33 600 0.1 800 0.4 1024 0 24 | i 1 0 1 25 | e 26 | 27 | -------------------------------------------------------------------------------- /docs/examples/gtadsr.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -odac 4 | 5 | 6 | 7 | 0dbfs = 1 8 | 9 | instr 1 10 | gkamp = p4 11 | gkfr = p5 12 | gkgate = 1 13 | gkatt = p6 14 | gkdec = p7 15 | gksus = p8 16 | gkrel = p9 17 | endin 18 | 19 | instr 2 20 | a1 oscili gkamp,gkfr 21 | a2 gtadsr a1,gkatt,gkdec,gksus,gkrel,gkgate 22 | out a2 23 | gkgate = 0; 24 | endin 25 | 26 | 27 | 28 | i1 0 1 1 440 0.1 0.1 0.5 0.1 29 | i1 1.2 1 1 660 0.01 0.1 0.2 0.3 30 | i1 2.5 1 1 550 0.01 0.1 0.7 1 31 | i2 0 5 32 | 33 | -------------------------------------------------------------------------------- /docs/examples/guiro.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | -odac ;;;realtime audio out 5 | ;-iadc ;;;uncomment -iadc if realtime audio input is needed too 6 | ; For Non-realtime ouput leave only the line below: 7 | ; -o guiro.wav -W ;;; for file output any platform 8 | 9 | 10 | 11 | sr = 44100 12 | ksmps = 32 13 | nchnls = 2 14 | 0dbfs = 1 15 | 16 | instr 1 17 | 18 | a1 guiro .8, p4 19 | outs a1, a1 20 | 21 | endin 22 | 23 | 24 | 25 | i1 0 1 1 26 | i1 + 1 .01 27 | e 28 | 29 | -------------------------------------------------------------------------------- /docs/examples/hilbert2.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -odac 4 | 5 | 6 | 7 | nchnls = 2 8 | 9 | instr 1 10 | 11 | asig oscili 0dbfs*p4, p5 12 | a1,a2 hilbert2 asig, 1024, 256 13 | outs a1, a2 14 | 15 | endin 16 | 17 | 18 | 19 | i1 0 10 0.5 440 20 | 21 | -------------------------------------------------------------------------------- /docs/examples/hrtf-44100-left.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/hrtf-44100-left.dat -------------------------------------------------------------------------------- /docs/examples/hrtf-44100-right.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/hrtf-44100-right.dat -------------------------------------------------------------------------------- /docs/examples/hypot.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | instr 1 8 | 9 | iArg1[] fillarray 1,2,3 10 | iArg2[] fillarray 4,5,6 11 | iRes[] hypot iArg1,iArg2 12 | ik init 0 13 | 14 | while ik < lenarray(iRes) do 15 | print iRes[ik] 16 | ik += 1 17 | od 18 | 19 | endin 20 | 21 | 22 | 23 | i1 0 0 24 | 25 | -------------------------------------------------------------------------------- /docs/examples/ifft.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -d -o dac 4 | 5 | 6 | ksmps = 64 7 | 8 | instr 1 9 | ifftsize = 1024 10 | kcnt init 0 11 | kIn[] init ifftsize 12 | kOut[] init ifftsize 13 | 14 | a1 oscili 0dbfs/2, 440 15 | 16 | if kcnt >= ifftsize then 17 | kCmplx[] r2c kIn 18 | kSpec[] fft kCmplx 19 | kCmplx ifftinv kSpec 20 | kOut c2r kCmplx 21 | kcnt = 0 22 | endif 23 | 24 | kIn[] shiftin a1 25 | a2 shiftout kOut 26 | kcnt += ksmps 27 | out a2 28 | endin 29 | 30 | 31 | i1 0 10 32 | 33 | -------------------------------------------------------------------------------- /docs/examples/impuls20.aiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/impuls20.aiff -------------------------------------------------------------------------------- /docs/examples/init.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | -n ;no sound output 5 | 6 | 7 | 8 | sr = 44100 9 | ksmps = 32 10 | nchnls = 2 11 | 0dbfs = 1 12 | 13 | instr 1 ;shows what init does 14 | kinit init 0 15 | kinit = kinit + 1 16 | printk .1, kinit 17 | endin 18 | 19 | instr 2 ;shows what an assignment does 20 | knoinit = 0 21 | knoinit = knoinit + 1 22 | printk .1, knoinit 23 | endin 24 | 25 | 26 | ;play one second each 27 | i1 0 1 28 | i2 2 1 29 | e 30 | 31 | -------------------------------------------------------------------------------- /docs/examples/insremot.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | ; Select audio/midi flags here according to platform 5 | ; Audio out Audio in 6 | -odac -iadc ;;;RT audio I/O 7 | ; For Non-realtime ouput leave only the line below: 8 | ; -o insremot.wav -W ;;; for file output any platform 9 | 10 | 11 | 12 | nchnls = 1 13 | 14 | insremot "192.168.1.100", "192.168.1.101", 1 15 | 16 | instr 1 17 | aq barmodel 1, 1, p4, 0.001, 0.23, 5, p5, p6, p7 18 | out aq 19 | endin 20 | 21 | 22 | 23 | 24 | f0 360 25 | 26 | e 27 | 28 | 29 | -------------------------------------------------------------------------------- /docs/examples/interleave.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -n 4 | 5 | 6 | 7 | 8 | instr 1 9 | 10 | kin1[] fillarray 1,2,3,4 11 | kin2[] fillarray 5,6,7,8 12 | 13 | kInt[] interleave kin1, kin2 14 | 15 | printf "inputs: \n%d %d %d %d \n%d %d %d %d\n", 1, 16 | kin1[0], kin1[1], kin1[2], kin1[3], 17 | kin2[0], kin2[1], kin2[2], kin2[3] 18 | 19 | printf "interleaved:\n%d %d %d %d %d %d %d %d\n", 1, 20 | kInt[0], kInt[1], kInt[2], kInt[3], 21 | kInt[4], kInt[5], kInt[6], kInt[7] 22 | endin 23 | 24 | 25 | 26 | i1 0 1 27 | e 28 | 29 | -------------------------------------------------------------------------------- /docs/examples/invalue.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ;run this example in CsoundQt, a Csound editor that provides widgets 7 | ;make the Widgets-panel visible, by clicking the Widgets symbol in the menu or pressing (Alt+1). 8 | 9 | sr = 44100 10 | ksmps = 32 11 | nchnls = 2 12 | 0dbfs = 1 13 | ; written by Andres Cabrera 14 | instr 1 15 | 16 | kfreq invalue "freq" ; Quotes are needed here 17 | asig oscil 0.1, kfreq, 1 18 | outs asig, asig 19 | 20 | endin 21 | 22 | 23 | f 1 0 1024 10 1 ;sine 24 | i 1 0 300 ;play for 300 seconds 25 | e 26 | 27 | 28 | -------------------------------------------------------------------------------- /docs/examples/lag.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | sr = 44100 7 | ksmps = 128 8 | nchnls = 2 9 | 0dbfs = 1.0 10 | 11 | instr 1 12 | ; smooth a krate signal 13 | kx = floor(line(0, p3, 10)) 14 | kx2 = lag(kx, 0.1) 15 | printk2 kx2 16 | endin 17 | 18 | instr 2 19 | ; smooth an audio signal 20 | kmidi = floor(line(60, p3, 72)/2)*2 21 | afreq = upsamp(mtof(kmidi)) 22 | afreqsmooth = lag(afreq, 1) 23 | a1 = oscili(1, afreq) 24 | a2 = oscili(1, afreqsmooth) 25 | outch 1, a1 26 | outch 2, a2 27 | endin 28 | 29 | 30 | 31 | i 1 0 5 32 | i 2 0 10 33 | 34 | 35 | -------------------------------------------------------------------------------- /docs/examples/lastcycle.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | ; Select audio/midi flags here according to platform 5 | ; Audio out Audio in Silent MIDI in 6 | -odac 7 | -d 8 | 9 | 10 | 11 | 12 | sr = 44100 13 | ksmps = 64 14 | nchnls = 2 15 | 0dbfs = 1 16 | 17 | instr 1 18 | aenv linsegr 0, 0.1, 1, 0.1, 0 19 | asig = oscili(0.1, 1000) 20 | asig += oscili(0.1, 1012) 21 | asig *= aenv 22 | if lastcycle() == 1 then 23 | schedulek p1, 0, p3 24 | endif 25 | outs asig, asig 26 | endin 27 | 28 | 29 | 30 | 31 | 32 | i 1 0 0.5 33 | f 0 3600 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /docs/examples/limit1.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | instr 1 8 | 9 | iArg1[] fillarray 1,2,3 10 | iRes[] limit1 iArg1/2.5 11 | ik init 0 12 | 13 | while ik < lenarray(iRes) do 14 | print iRes[ik] 15 | ik += 1 16 | od 17 | 18 | endin 19 | 20 | 21 | 22 | i1 0 0 23 | 24 | -------------------------------------------------------------------------------- /docs/examples/log.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | ; Audio out Audio in 5 | -odac -iadc ;;;RT audio I/O 6 | ; For Non-realtime ouput leave only the line below: 7 | ; -o log.wav -W ;;; for file output any platform 8 | 9 | 10 | 11 | ; Initialize the global variables. 12 | sr = 44100 13 | kr = 4410 14 | ksmps = 10 15 | nchnls = 1 16 | 17 | ; Instrument #1. 18 | instr 1 19 | i1 = log(8) 20 | print i1 21 | endin 22 | 23 | 24 | 25 | 26 | 27 | ; Play Instrument #1 for one second. 28 | i 1 0 1 29 | e 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /docs/examples/log10.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | ; Audio out Audio in 5 | -odac -iadc ;;;RT audio I/O 6 | ; For Non-realtime ouput leave only the line below: 7 | ; -o log10.wav -W ;;; for file output any platform 8 | 9 | 10 | 11 | ; Initialize the global variables. 12 | sr = 44100 13 | kr = 4410 14 | ksmps = 10 15 | nchnls = 1 16 | 17 | ; Instrument #1. 18 | instr 1 19 | i1 = log10(8) 20 | print i1 21 | endin 22 | 23 | 24 | 25 | 26 | 27 | ; Play Instrument #1 for one second. 28 | i 1 0 1 29 | e 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /docs/examples/log2.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | ; Audio out Audio in 5 | -odac -iadc ;;;RT audio I/O 6 | ; For Non-realtime ouput leave only the line below: 7 | ; -o log10.wav -W ;;; for file output any platform 8 | 9 | 10 | 11 | ; Initialize the global variables. 12 | sr = 44100 13 | kr = 4410 14 | ksmps = 10 15 | nchnls = 1 16 | 17 | ; Instrument #1. 18 | instr 1 19 | i1 = log2(8) 20 | print i1 21 | endin 22 | 23 | 24 | 25 | 26 | 27 | ; Play Instrument #1 for one second. 28 | i 1 0 1 29 | e 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /docs/examples/logbtwo.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | ; Audio out Audio in 5 | -odac -iadc ;;;RT audio I/O 6 | ; For Non-realtime ouput leave only the line below: 7 | ; -o logbtwo.wav -W ;;; for file output any platform 8 | 9 | 10 | 11 | ; Initialize the global variables. 12 | sr = 44100 13 | kr = 4410 14 | ksmps = 10 15 | nchnls = 1 16 | 17 | ; Instrument #1. 18 | instr 1 19 | i1 = logbtwo(3) 20 | print i1 21 | endin 22 | 23 | 24 | 25 | 26 | 27 | ; Play Instrument #1 for one second. 28 | i 1 0 1 29 | e 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /docs/examples/logcurve.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | ; Audio out Audio in Silent 5 | -odac -iadc -d ;;;realtime output 6 | 7 | 8 | 9 | sr = 48000 10 | ksmps = 100 11 | nchnls = 2 12 | 13 | instr 1 ; logcurve test 14 | kmod phasor 1/p3 15 | kout logcurve kmod, p4 16 | printks "kmod = %f kout = %f\\n", 0.1, kmod, kout 17 | endin 18 | 19 | 20 | 21 | 22 | i1 0 10 2 23 | i1 10 10 30 24 | i1 20 10 0.5 25 | 26 | e 27 | 28 | -------------------------------------------------------------------------------- /docs/examples/lpcanal.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -odac -d 4 | 5 | 6 | 7 | sr = 44100 8 | ksmps = 64 9 | nchnls = 1 10 | 0dbfs = 1 11 | 12 | gifw ftgen 0,0,1024,20,2,1 13 | 14 | instr 1 15 | a1 diskin "fox.wav",1,0,1 16 | kcfs[],krms,kerr,kcps lpcanal a1,1,128,1024,64,gifw 17 | if kcps > 180 then 18 | kcps = 180 19 | endif 20 | a2 buzz 0dbfs, kcps, sr/(kcps*2), -1 21 | a3 allpole a2*krms*kerr,kcfs 22 | a3 dcblock a3 23 | out a3 24 | endin 25 | 26 | 27 | 28 | i1 0 30 29 | 30 | -------------------------------------------------------------------------------- /docs/examples/lpcfilter-2.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -odac -d 4 | 5 | 6 | 7 | sr = 44100 8 | ksmps = 64 9 | nchnls = 1 10 | 0dbfs = 1 11 | 12 | gifn ftgen 0,0,0,1,"fox.wav",0,0,1 13 | gifw ftgen 0,0,1024,20,2,1 14 | 15 | instr 1 16 | koff init 0 17 | kts = p4 // timescale 18 | a1 diskin "drumsMlp.wav",1,0,1 19 | a3 lpcfilter a1,koff,1,gifn,1024,ksmps,gifw 20 | koff += ksmps*kts 21 | if koff > ftlen(gifn) then 22 | koff = 0 23 | endif 24 | a3 dcblock a3 25 | out a3 26 | endin 27 | 28 | 29 | 30 | i1 0 10 1 31 | i1 10 10 .75 32 | i1 20 10 1.5 33 | 34 | -------------------------------------------------------------------------------- /docs/examples/lpcfilter.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -odac -d 4 | 5 | 6 | 7 | sr = 44100 8 | ksmps = 64 9 | nchnls = 1 10 | 0dbfs = 1 11 | 12 | gifw ftgen 0,0,1024,20,2,1 13 | 14 | instr 1 15 | a1 diskin "fox.wav",1,0,1 16 | a2 diskin "drumsMlp.wav",1,0,1 17 | a3 lpcfilter a2,a1,1,128,1024,64,gifw 18 | a3 dcblock2 a3 19 | out a3 20 | endin 21 | 22 | 23 | 24 | i1 0 30 25 | 26 | -------------------------------------------------------------------------------- /docs/examples/lufs.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | sr=48000 7 | ksmps=64 8 | 0dbfs=1.0 9 | nchnls=2 10 | 11 | instr 1 12 | ktrig init 0 13 | iamp = ampdbfs(-18.0) 14 | a1 poscil iamp,1000,1 15 | kM,kI,kS lufs ktrig,a1,a1 16 | printks "M: %f, I: %f, S: %f LUFS\n", 0.3, k1, k2, k3 17 | endin 18 | 19 | 20 | 21 | f1 0 8192 10 1 22 | i1 0 20 23 | 24 | -------------------------------------------------------------------------------- /docs/examples/mandpluk.aiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/mandpluk.aiff -------------------------------------------------------------------------------- /docs/examples/marimba.aif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/marimba.aif -------------------------------------------------------------------------------- /docs/examples/marmstk1.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/marmstk1.wav -------------------------------------------------------------------------------- /docs/examples/mary.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/mary.wav -------------------------------------------------------------------------------- /docs/examples/mclock.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | -Q0 ;;;midi out 5 | 6 | 7 | 8 | sr = 44100 9 | ksmps = 32 10 | nchnls = 2 11 | 0dbfs = 1 12 | 13 | instr 1 ;let csound synchronize a sequencer 14 | 15 | mclock 24 16 | 17 | endin 18 | 19 | 20 | 21 | 22 | i 1 0 30 23 | e 24 | 25 | -------------------------------------------------------------------------------- /docs/examples/median.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | sr = 44100 5 | kr = 441 6 | ksmps = 100 7 | nchnls = 1 8 | 9 | instr 1 10 | a1 oscil 30000, 10, 1 11 | a2 median a1, 5, 8 12 | out a2 13 | endin 14 | 15 | 16 | 17 | f1 0 4096 10 1 18 | i 1 0 0.1 19 | e 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /docs/examples/mediank.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -n 4 | 5 | 6 | sr = 44100 7 | kr = 147 8 | ksmps = 300 9 | nchnls = 1 10 | 11 | instr 1 12 | k1 oscil 100, 10, 1 13 | k2 mediank k1, 5, 8 14 | printk 0, k2 15 | endin 16 | 17 | 18 | 19 | f1 0 4096 10 1 20 | i 1 0 1 21 | e 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /docs/examples/metro.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -odac -B441 -b441 4 | 5 | 6 | 7 | sr = 44100 8 | kr = 100 9 | ksmps = 441 10 | nchnls = 2 11 | 12 | instr 1 13 | ktrig metro 0.2 14 | printk2 ktrig 15 | endin 16 | 17 | 18 | 19 | i 1 0 20 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /docs/examples/midiChords.mid: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/midiChords.mid -------------------------------------------------------------------------------- /docs/examples/midichn.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | -odac -M0 -+rtmidi=virtual ;;; midi file input 5 | 6 | 7 | 8 | sr = 44100 9 | ksmps = 32 10 | nchnls = 2 11 | 0dbfs = 1 12 | 13 | instr 1 14 | ;change channel on virtual midi keyboard 15 | i1 midichn 16 | print i1 17 | 18 | endin 19 | 20 | 21 | f 0 20 ;runs for 20 seconds 22 | 23 | e 24 | 25 | -------------------------------------------------------------------------------- /docs/examples/midichn_advanced.mid: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/midichn_advanced.mid -------------------------------------------------------------------------------- /docs/examples/midifilelen.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -F -odac 4 | 5 | 6 | 0dbfs=1 7 | 8 | mf@global:i = midifileopen("catherine.mid") 9 | 10 | instr Len 11 | print(midifilelen(mf)) 12 | exitnow(0) 13 | endin 14 | 15 | schedule(Len,0,0) 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /docs/examples/midifilemute.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -F -odac 4 | 5 | 6 | 0dbfs=1 7 | 8 | mf@global:i = midifileopen("catherine.mid") 9 | 10 | instr Midisynth 11 | midifileplay(mf) 12 | amp:i = ampmidi(0.2) 13 | cps:i = cpsmidi() 14 | sig:a = vco2(amp,cps) 15 | env:a = madsr(0.001, 0.5, 0.1, 0.1) 16 | out(sig*env) 17 | endin 18 | 19 | instr Mute 20 | midifilemute(mf) 21 | endin 22 | 23 | 24 | schedule(Midisynth,0,0) 25 | schedule(Mute,5,0) 26 | schedule(Mute,7,0) 27 | event_i("e", 0, midifilelen(mf)) 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /docs/examples/midifileopen.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -F -odac 4 | 5 | 6 | 0dbfs=1 7 | 8 | mf@global:i = midifileopen("catherine.mid") 9 | 10 | instr Midisynth 11 | midifileplay(mf) 12 | amp:i = ampmidi(0.2) 13 | cps:i = cpsmidi() 14 | sig:a = vco2(amp,cps) 15 | env:a = madsr(0.001, 0.5, 0.1, 0.1) 16 | out(sig*env) 17 | endin 18 | 19 | schedule(Midisynth,0,0) 20 | event_i("e", 0, midifilelen(mf)) 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /docs/examples/midifilepause.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -F -odac 4 | 5 | 6 | 0dbfs=1 7 | 8 | mf@global:i = midifileopen("catherine.mid") 9 | 10 | instr Midisynth 11 | midifileplay(mf) 12 | amp:i = ampmidi(0.2) 13 | cps:i = cpsmidi() 14 | sig:a = vco2(amp,cps) 15 | env:a = madsr(0.001, 0.5, 0.1, 0.1) 16 | out(sig*env) 17 | endin 18 | 19 | instr Pause 20 | midifilepause(mf) 21 | endin 22 | 23 | instr Play 24 | midifileplay(mf) 25 | endin 26 | 27 | schedule(Midisynth,0,0) 28 | schedule(Pause,5,0) 29 | schedule(Play,7,0) 30 | event_i("e", 0, midifilelen(mf)) 31 | 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /docs/examples/midifileplay.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -F -odac 4 | 5 | 6 | 0dbfs=1 7 | 8 | mf@global:i = midifileopen("catherine.mid") 9 | 10 | instr Midisynth 11 | midifileplay(mf) 12 | amp:i = ampmidi(0.2) 13 | cps:i = cpsmidi() 14 | sig:a = vco2(amp,cps) 15 | env:a = madsr(0.001, 0.5, 0.1, 0.1) 16 | out(sig*env) 17 | endin 18 | 19 | schedule(Midisynth,0,0) 20 | event_i("e", 0, midifilelen(mf)) 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /docs/examples/midifilerewind.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -F -odac 4 | 5 | 6 | 0dbfs=1 7 | 8 | mf@global:i = midifileopen("catherine.mid") 9 | 10 | instr Midisynth 11 | midifileplay(mf) 12 | amp:i = ampmidi(0.2) 13 | cps:i = cpsmidi() 14 | sig:a = vco2(amp,cps) 15 | env:a = madsr(0.001, 0.5, 0.1, 0.1) 16 | out(sig*env) 17 | endin 18 | 19 | instr Rew 20 | midifilerewind(mf) 21 | endin 22 | 23 | 24 | schedule(Midisynth,0,0) 25 | schedule(Rew,5,0) 26 | event_i("e", 0, midifilelen(mf)) 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /docs/examples/midifiletempo.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -F -odac 4 | 5 | 6 | 0dbfs=1 7 | 8 | mf@global:i = midifileopen("catherine.mid") 9 | 10 | instr Midisynth 11 | midifileplay(mf) 12 | amp:i = ampmidi(0.2) 13 | cps:i = cpsmidi() 14 | sig:a = vco2(amp,cps) 15 | env:a = madsr(0.001, 0.5, 0.1, 0.1) 16 | out(sig*env) 17 | endin 18 | 19 | instr Tempo 20 | midifiletempo(p4,mf) 21 | endin 22 | 23 | 24 | schedule(Midisynth,0,0) 25 | schedule(Tempo,5,0,110) 26 | schedule(Tempo,10,0,-1) 27 | event_i("e", 0, midifilelen(mf)) 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /docs/examples/midifilevents.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | --midifile -odac 4 | 5 | 6 | 0dbfs=1 7 | 8 | mf@global:i = midifileopen("catherine.mid") 9 | 10 | instr Events 11 | evts:i = midifilevents(mf) 12 | print evts 13 | exitnow(0) 14 | endin 15 | 16 | schedule(Events,0,1) 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /docs/examples/midion2.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | -M0 -Q1 ;;;midi in and midi out 5 | 6 | 7 | 8 | sr = 44100 9 | ksmps = 32 10 | nchnls = 2 11 | 0dbfs = 1 12 | 13 | instr 1 14 | 15 | kcps line 3, p3, .1 16 | klf lfo 1, kcps, 3 ;use a unipolar square to trigger 17 | ktr trigger klf, 1, 1 ;from 3 times to .1 time per sec. 18 | midion2 1, 60, 100, ktr 19 | 20 | endin 21 | 22 | 23 | 24 | i 1 0 20 25 | e 26 | 27 | -------------------------------------------------------------------------------- /docs/examples/midiout.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | ; Audio out Audio in 5 | -odac -Ma -Q1 ;;;realtime audio out and midi out and midi in (all midi inputs) 6 | 7 | 8 | 9 | sr = 44100 10 | ksmps = 32 11 | nchnls = 2 12 | 0dbfs = 1 13 | 14 | instr 1 15 | 16 | midiout 192, 1, 21, 0 ;program change to instr. 21 17 | inum notnum 18 | ivel veloc 19 | midion 1, inum, ivel 20 | 21 | endin 22 | 23 | 24 | 25 | i 1 0 3 80 100 ;play note for 3 seconds 26 | 27 | e 28 | 29 | 30 | -------------------------------------------------------------------------------- /docs/examples/midiout_i.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | ; Audio out Audio in 5 | -odac -Ma -Q1 ;;;realtime audio out and midi out and midi in (all midi inputs) 6 | 7 | 8 | 9 | sr = 44100 10 | ksmps = 32 11 | nchnls = 2 12 | 0dbfs = 1 13 | 14 | instr 1 15 | 16 | midiout_i 192, 1, 21, 0 ;program change to instr. 21 17 | inum notnum 18 | ivel veloc 19 | midion 1, inum, ivel 20 | 21 | endin 22 | 23 | 24 | 25 | i 1 0 3 80 100 ;play note for 3 seconds 26 | 27 | e 28 | 29 | 30 | -------------------------------------------------------------------------------- /docs/examples/move: -------------------------------------------------------------------------------- 1 | 0 -1 1 2 | 1 1 1 3 | 2 4 4 4 | 2.1 -4 -4 5 | 3 10 -10 6 | 5 -40 0 -------------------------------------------------------------------------------- /docs/examples/move2: -------------------------------------------------------------------------------- 1 | 0 -100 1 2 | 3 0 0 3 | 5.6 1 20 -------------------------------------------------------------------------------- /docs/examples/mp3in.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | -odac ;;;realtime audio out 5 | ;-iadc ;;;uncomment -iadc if realtime audio input is needed too 6 | ; For Non-realtime ouput leave only the line below: 7 | ; -o mp3in.wav -W ;;; for file output any platform 8 | 9 | 10 | 11 | sr = 44100 12 | ksmps = 32 13 | nchnls = 2 14 | 0dbfs = 1 15 | 16 | instr 1 17 | 18 | iskptim = .3 19 | ibufsize = 64 20 | ar1, ar2 mp3in "beats.mp3", iskptim, 0, 0, ibufsize 21 | outs ar1, ar2 22 | 23 | endin 24 | 25 | 26 | 27 | i 1 0 2 28 | e 29 | 30 | -------------------------------------------------------------------------------- /docs/examples/mp3scal.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | nchnls=2 6 | ksmps=64 7 | sr=44100 8 | instr 1 9 | SFile = p4 10 | p3 = mp3len(SFile)/p5 11 | a1,a2,k2 mp3scal SFile,p5,1,1 12 | outs a1,a2 13 | 14 | endin 15 | 16 | 17 | 18 | i1.1 0 1 "beats.mp3" .75 19 | 20 | -------------------------------------------------------------------------------- /docs/examples/mvchpf.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -odac 4 | 5 | 6 | 0dbfs = 1 7 | 8 | instr 1 9 | kenv linen p4,0.1,p3,0.1 10 | ain rand kenv 11 | kfr expon 220, p3, 1760 12 | asig mvchpf ain,kfr 13 | out asig 14 | endin 15 | 16 | 17 | 18 | i1 0 5 0.9 19 | 20 | -------------------------------------------------------------------------------- /docs/examples/mvclpf1.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -odac 4 | 5 | 6 | 0dbfs = 1 7 | 8 | instr 1 9 | kenv linen p4,0.1,p3,0.1 10 | ain rand kenv 11 | kfr expon 220, p3, 1760 12 | asig mvclpf1 ain,kfr,0.9 13 | out asig 14 | endin 15 | 16 | 17 | 18 | i1 0 5 0.9 19 | 20 | -------------------------------------------------------------------------------- /docs/examples/mvclpf2.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -odac 4 | 5 | 6 | 0dbfs = 1 7 | 8 | instr 1 9 | kenv linen p4,0.1,p3,0.1 10 | ain rand kenv 11 | kfr expon 220, p3, 1760 12 | asig mvclpf1 ain,kfr,0.9 13 | out asig 14 | endin 15 | 16 | 17 | 18 | i1 0 5 0.9 19 | 20 | -------------------------------------------------------------------------------- /docs/examples/mvclpf3.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -odac 4 | 5 | 6 | 0dbfs = 1 7 | 8 | instr 1 9 | kenv linen p4,0.1,p3,0.1 10 | ain rand kenv 11 | kfr expon 220, p3, 1760 12 | asig mvclpf3 ain,kfr,0.9 13 | out asig 14 | endin 15 | 16 | 17 | 18 | i1 0 5 0.9 19 | 20 | -------------------------------------------------------------------------------- /docs/examples/mvclpf4.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -odac 4 | 5 | 6 | 0dbfs = 1 7 | 8 | instr 1 9 | asig[] init 4 10 | kenv linen p4,0.1,p3,0.1 11 | ain rand kenv 12 | kfr expon 220, p3, 1760 13 | asig[0],asig[1],asig[2],asig[3] mvclpf4 ain,kfr,0.9 14 | out asig[p5] 15 | endin 16 | 17 | 18 | 19 | i1 0 5 0.9 0 20 | i1 + 5 0.9 1 21 | i1 + 5 0.9 2 22 | i1 + 5 0.9 3 23 | 24 | 25 | -------------------------------------------------------------------------------- /docs/examples/my.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | instr 2 4 | a1 = oscils(p4, p5, 0) 5 | out(a1) 6 | endin 7 | 8 | 9 | i2 0 1 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/examples/my.orc: -------------------------------------------------------------------------------- 1 | instr 2 2 | a1 = oscils(p4, p5, 0) 3 | out(a1) 4 | endin 5 | 6 | -------------------------------------------------------------------------------- /docs/examples/nchnls_hw.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | -odac ;;;realtime audio out 5 | -iadc ;;;realtime audio in 6 | 7 | 8 | ; by Menno Knevel - 2024 9 | 10 | sr = 44100 11 | ksmps = 32 12 | nchnls = 2 13 | 0dbfs = 1 14 | 15 | instr 1 16 | 17 | idacc,iadcc nchnls_hw 18 | prints "\non this machine:" 19 | prints "\nnumber of outputs = %d\n", idacc 20 | prints "number of inputs = %d\n\n", iadcc 21 | 22 | endin 23 | 24 | 25 | 26 | i1 0 0 27 | e 28 | 29 | -------------------------------------------------------------------------------- /docs/examples/nstrnum_nstrstr.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -n 4 | 5 | 6 | 7 | sr = 44100 8 | ksmps = 32 9 | nchnls = 2 10 | 0dbfs = 1 11 | 12 | instr nothing 13 | endin 14 | 15 | instr john 16 | prints "instrument name = " 17 | puts nstrstr(p1),1 18 | prints "instrument number = %d\n", nstrnum("john") 19 | endin 20 | 21 | instr test 22 | endin 23 | 24 | 25 | 26 | i "john" 0 0 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /docs/examples/ooo.aiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/ooo.aiff -------------------------------------------------------------------------------- /docs/examples/opcodeinfo.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -n 4 | 5 | 6 | 0dbfs=1 7 | 8 | instr 1 9 | opcodeinfo(oscili) 10 | opc:Opcode = create(oscili,3) 11 | prints("selected overload 3:\n") 12 | opcodeinfo(opc) 13 | exitnow(0) 14 | endin 15 | 16 | schedule(1,0,0) 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /docs/examples/oscbundle.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -odac 4 | 5 | 6 | 7 | instr 1 8 | Sdest[] init 2 9 | Stype[] init 2 10 | kdata[][] init 2, 2 11 | 12 | Sdest[0] = "/test/floats" 13 | Sdest[1] = "/test/ints" 14 | Stype[0] = "ff" 15 | Stype[1] = "ii" 16 | 17 | kdata fillarray 1,2,3,4 18 | 19 | OSCbundle 1, "localhost", 7000, Sdest, Stype, kdata 20 | endin 21 | 22 | 23 | 24 | i1 0 1 25 | 26 | -------------------------------------------------------------------------------- /docs/examples/oscils.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | -odac ;;;realtime audio out 5 | ;-iadc ;;;uncomment -iadc if realtime audio input is needed too 6 | ; For Non-realtime ouput leave only the line below: 7 | ; -o oscils.wav -W ;;; for file output any platform 8 | 9 | 10 | 11 | sr = 44100 12 | ksmps = 32 13 | nchnls = 2 14 | 0dbfs = 1 15 | 16 | instr 1 17 | 18 | iflg = p4 19 | asig oscils .7, 220, 0, iflg 20 | outs asig, asig 21 | 22 | endin 23 | 24 | 25 | 26 | i 1 0 2 0 27 | i 1 3 2 2 ;double precision 28 | e 29 | 30 | 31 | -------------------------------------------------------------------------------- /docs/examples/outic14.csd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/outic14.csd -------------------------------------------------------------------------------- /docs/examples/outvalue.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ;run this example in CsoundQt, a Csound editor that provides widgets 6 | ;make the Widgets-panel visible, by clicking the Widgets symbol in the menu or pressing (Alt+1). 7 | 8 | sr = 44100 9 | ksmps = 32 10 | nchnls = 2 11 | 0dbfs = 1 12 | ; written by Alex Hofmann 13 | 14 | instr 1 ;move fader 15 | 16 | kMoveUp linseg 0, 3, 1, 1, 1, 0.5, 0 17 | outvalue "movefader", kMoveUp 18 | endin 19 | 20 | 21 | 22 | i 1 0 5 23 | e 24 | 25 | 26 | -------------------------------------------------------------------------------- /docs/examples/part2txt.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -n 4 | 5 | 6 | 7 | instr 1 8 | isiz = 2048 9 | ihsiz = isiz/4 10 | S1 = "flutec3.wav" 11 | p3 = filelen(S1) 12 | ain diskin2 S1,1 13 | ffr,fphs pvsifd ain, isiz, ihsiz, 1 14 | ftrk partials ffr, fphs, 0.01, 1, 1, 500 15 | part2txt "partialsh.txt",ftrk 16 | endin 17 | 18 | 19 | 20 | i1 0 1 21 | 22 | -------------------------------------------------------------------------------- /docs/examples/paulstretch.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -o paulstretch.wav -W 4 | 5 | 6 | sr = 44100 7 | ksmps = 100 8 | 0dbfs = 1 9 | nchnls = 2 10 | 11 | giwav ftgen 0, 0, 0, 1, "fox.wav", 0, 0, 1 12 | 13 | instr 1 14 | aout paulstretch 10, 0.2, giwav 15 | outs aout, aout 16 | endin 17 | 18 | 19 | 20 | i1 0 30 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /docs/examples/pchtom.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | sr = 44100 7 | ksmps = 128 8 | nchnls = 2 9 | 0dbfs = 1.0 10 | 11 | ; Show some conversions, both at i- and at k-time 12 | 13 | instr 1 14 | imidi = pchtom(8.09) 15 | print imidi 16 | 17 | kidx init 0 18 | 19 | kpch = 8 + kidx / 100 20 | kmidi = pchtom(kpch) 21 | kidx += 1 22 | printf "kpch: %f kmidi: %f\n", kidx+1, kpch, kmidi 23 | 24 | if kidx >= 12 then 25 | turnoff 26 | endif 27 | 28 | endin 29 | 30 | 31 | 32 | i 1 0 1 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /docs/examples/peak.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | ; Audio out Audio in 5 | -odac ;;;RT audio out 6 | ; For Non-realtime ouput leave only the line below: 7 | ; -o peak.wav -W ;;; for file output any platform 8 | 9 | 10 | 11 | sr = 44100 12 | ksmps = 32 13 | nchnls = 2 14 | 0dbfs = 1 15 | 16 | instr 1 ; Capture the highest amplitude in the "drumsMlp.wav" file. 17 | 18 | asig soundin "drumsMlp.wav" 19 | kp peak asig 20 | printk .5, kp ; Print out the peak value once per second. 21 | outs asig, asig 22 | endin 23 | 24 | 25 | 26 | i 1 0 3 27 | e 28 | 29 | -------------------------------------------------------------------------------- /docs/examples/pinker.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | ksmps = 12 5 | nchnls = 1 6 | 0dbfs = 1 7 | 8 | instr 1 9 | a1 pinker 10 | out a1 11 | endin 12 | 13 | 14 | 15 | i1 0 10 16 | e 17 | 18 | 19 | -------------------------------------------------------------------------------- /docs/examples/productarray.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -n 4 | 5 | 6 | 7 | instr 1 8 | kArr1[] fillarray 1,3,2,7,4 9 | k1 product kArr1 10 | printk2 k1 11 | turnoff 12 | endin 13 | 14 | 15 | 16 | 17 | i1 0 1 18 | 19 | -------------------------------------------------------------------------------- /docs/examples/pvsdisp.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | ; Audio out Audio in 5 | -n ;;;no sound 6 | ; For Non-realtime ouput leave only the line below: 7 | ; -o pvsdisp.wav -W ;;; for file output any platform 8 | 9 | 10 | 11 | sr = 44100 12 | ksmps = 32 13 | 0dbfs = 1 14 | nchnls = 2 15 | 16 | instr 1 17 | 18 | asig soundin "fox.wav" ;select a soundifle 19 | fsig pvsanal asig, 1024, 256, 1024, 1 20 | pvsdisp fsig, 10 21 | 22 | endin 23 | 24 | 25 | 26 | i 1 0 2.7 27 | e 28 | 29 | -------------------------------------------------------------------------------- /docs/examples/r2c.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -d -o dac 4 | 5 | 6 | ksmps = 64 7 | 8 | instr 1 9 | ifftsize = 1024 10 | kcnt init 0 11 | kIn[] init ifftsize 12 | kOut[] init ifftsize 13 | 14 | a1 oscili 0dbfs/2, 440 15 | 16 | if kcnt >= ifftsize then 17 | kCmplx[] r2c kIn 18 | kSpec[] fft kCmplx 19 | kCmplx fftinv kSpec 20 | kOut c2r kCmplx 21 | kcnt = 0 22 | endif 23 | 24 | kIn[] shiftin a1 25 | a2 shiftout kOut 26 | kcnt += ksmps 27 | out a2 28 | endin 29 | 30 | 31 | i1 0 10 32 | 33 | -------------------------------------------------------------------------------- /docs/examples/readf.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -n 4 | 5 | 6 | 7 | instr 1 8 | Swd pwd 9 | printf_i "Working directory is '%s'\n", 1, Swd 10 | prints "Reading myself =):\n" 11 | read: 12 | Sline, kLinNum readf "readf.csd" 13 | printf "Line %d: %s", kLinNum, kLinNum, Sline 14 | if kLinNum != -1 then 15 | kgoto read 16 | else 17 | turnoff 18 | endif 19 | endin 20 | 21 | 22 | 23 | i1 0 1 24 | e 25 | 26 | 27 | -------------------------------------------------------------------------------- /docs/examples/readfi.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -n 4 | 5 | 6 | 7 | instr 1 8 | Swd pwd 9 | printf_i "Working directory is '%s'\n", 1, Swd 10 | prints "Reading myself =):\n" 11 | read: 12 | Sline, iLineNum readfi "readfi.csd" 13 | printf_i "Line %d: %s", iLineNum, iLineNum, Sline 14 | if iLineNum != -1 igoto read 15 | endin 16 | 17 | 18 | 19 | i1 0 0.1 20 | e 21 | 22 | 23 | -------------------------------------------------------------------------------- /docs/examples/readscore.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -d -o dac 4 | 5 | 6 | 7 | instr 1 8 | a1 flooper2 1000,p4,2,5,0.1,1 9 | out a1 10 | endin 11 | 12 | instr 2 13 | ires readscore {{ 14 | {12 COUNT 15 | i1 $COUNT 1 [1 + $COUNT/12] 16 | } 17 | }} 18 | endin 19 | 20 | 21 | 22 | f0 12 23 | f 1 0 0 1 "fox.wav" 0 0 1 24 | 25 | i2 0 1 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /docs/examples/readscratch.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | -n 5 | 6 | 7 | 8 | sr = 44100 9 | ksmps = 32 10 | nchnls = 2 11 | 0dbfs = 1 12 | 13 | instr 1 14 | 15 | ilast readscratch 16 | writescratch p2 17 | ilen readscratch 1 18 | writescratch p3, 1 19 | printf_i "last run at %f for %f\n", ilen, ilast, ilen 20 | endin 21 | 22 | 23 | 24 | i 1 0 1 25 | i 1 2 3 26 | i 1 6 10 27 | e 28 | 29 | 30 | -------------------------------------------------------------------------------- /docs/examples/release.csd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/release.csd -------------------------------------------------------------------------------- /docs/examples/resonbnk.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -odac -d 4 | 5 | 6 | 7 | sr = 44100 8 | ksmps = 64 9 | nchnls = 1 10 | 0dbfs = 1 11 | 12 | gifw ftgen 0,0,1024,20,2,1 13 | instr 1 14 | a1 diskin "fox.wav",1,0,1 15 | kcfs[],krms,kerr,kcps lpcanal a1,1,512,1024,50,gifw 16 | a2 rand 0dbfs 17 | kpar[] apoleparams kcfs 18 | kmin expseg 8000,p3/4,200,3*p3/4,600 19 | a3 resonbnk a2*krms*kerr/4,kpar,kmin,16000-kmin,512,1 20 | out a3 21 | endin 22 | 23 | 24 | 25 | 26 | 27 | 28 | i1 0 32 29 | 30 | 31 | -------------------------------------------------------------------------------- /docs/examples/reverbnoise.pvx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/reverbnoise.pvx -------------------------------------------------------------------------------- /docs/examples/rfft_complex_type.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -odac 4 | 5 | 6 | ksmps = 1024 // sets transform size 7 | nchnls = 1 8 | 0dbfs = 1 9 | 10 | instr 1 11 | Params:i[] = array(p4, p5) 12 | Audio:k[] = array(oscili(Params[0],Params[1])) 13 | Spec:Complex[] = rfft(Audio) 14 | Wave:k[] = rifft(Spec) 15 | out a(Wave) 16 | endin 17 | schedule(1,0,2,0.5,440) 18 | event_i("e",0,2) 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /docs/examples/rnd31_krate.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | ; Audio out Audio in 5 | -n ; no sound 6 | ; For Non-realtime ouput leave only the line below: 7 | ; -o rnd31_krate.wav -W ;;; for file output any platform 8 | 9 | 10 | 11 | sr = 44100 12 | ksmps = 32 13 | nchnls = 2 14 | 0dbfs = 1 15 | 16 | instr 1 17 | 18 | k1 rnd31 1, 0, 10 ; Create random numbers at k-rate in the range -1 to 1 19 | printks "k1=%f\\n", 0.1, k1 ; with a uniform distribution, seed=10. 20 | 21 | endin 22 | 23 | 24 | 25 | 26 | i 1 0 .3 27 | e 28 | 29 | -------------------------------------------------------------------------------- /docs/examples/run.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -o dac 4 | 5 | 6 | 0dbfs=1 7 | 8 | instr 1 9 | obj:Opcode create oscili 10 | a1 run obj, p4, p5, p6 11 | out a1 12 | endin 13 | 14 | schedule(1,0,1,0.5,440,-1) 15 | event_i("e",0,2) 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /docs/examples/rv_mono.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/rv_mono.wav -------------------------------------------------------------------------------- /docs/examples/rv_stereo.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/rv_stereo.wav -------------------------------------------------------------------------------- /docs/examples/scale.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | ; Audio out Audio in Silent 5 | -odac -iadc -d ;;;realtime output 6 | 7 | 8 | 9 | sr = 44100 10 | ksmps = 10 11 | nchnls = 2 12 | 13 | /*--- ---*/ 14 | 15 | instr 1 ; scale test 16 | 17 | kmod ctrl7 1, 1, 0, 1 18 | printk2 kmod 19 | 20 | kout scale kmod, 0, -127 21 | printk2 kout 22 | 23 | endin 24 | 25 | /*--- ---*/ 26 | 27 | 28 | 29 | i1 0 8888 30 | 31 | e 32 | 33 | -------------------------------------------------------------------------------- /docs/examples/scale2.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | ; Audio out Audio in Silent 5 | -odac -iadc -d ;;;realtime output 6 | 7 | 8 | 9 | sr = 44100 10 | ksmps = 10 11 | nchnls = 2 12 | 13 | /*--- ---*/ 14 | 15 | instr 1 ; scale test 16 | 17 | kmod ctrl7 1, 1, 0, 1 18 | printk2 kmod 19 | 20 | kout scale2 kmod, -127, 0 21 | printk2 kout 22 | 23 | endin 24 | 25 | /*--- ---*/ 26 | 27 | 28 | 29 | i1 0 8888 30 | 31 | e 32 | 33 | -------------------------------------------------------------------------------- /docs/examples/sekere.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | -odac ;;;realtime audio out 5 | ;-iadc ;;;uncomment -iadc if realtime audio input is needed too 6 | ; For Non-realtime ouput leave only the line below: 7 | ; -o sekere.wav -W ;;; for file output any platform 8 | 9 | 10 | 11 | sr = 44100 12 | ksmps = 32 13 | nchnls = 2 14 | 0dbfs = 1 15 | 16 | instr 1 17 | 18 | idamp = p4 ;vary damping amount 19 | asig sekere 1, 0.01, 64, idamp 20 | outs asig, asig 21 | 22 | endin 23 | 24 | 25 | 26 | i1 0 1 .1 27 | i1 + 1 .9 28 | e 29 | 30 | -------------------------------------------------------------------------------- /docs/examples/select.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | nchnls = 3 5 | 0dbfs = 1 6 | 7 | instr 1 8 | a1 oscil 0.8, 440 9 | a2 oscil 0.6, 880 10 | az = 0 11 | alow line -1, p3, -1 12 | ahigh line 1, p3, 1 13 | aout select a1,a2,alow,az,ahigh 14 | outch 1, a1, 2,a2, 3,aout 15 | endin 16 | 17 | 18 | 19 | i1 0 5 20 | e 21 | 22 | 23 | -------------------------------------------------------------------------------- /docs/examples/setcol.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -odac 4 | 5 | 6 | instr 1 7 | kcnt init 0 8 | kArr[] init 3,3 9 | kVec[] fillarray 0,1,2 10 | while kcnt < 3 do 11 | kArr setcol kVec,kcnt 12 | printf "column %d: %d %d %d\n",kcnt+1,kcnt,kArr[0][kcnt],kArr[1][kcnt],kArr[2][kcnt] 13 | kcnt += 1 14 | od 15 | endin 16 | 17 | 18 | i1 0 0.1 19 | 20 | -------------------------------------------------------------------------------- /docs/examples/sf_GMbank.sf2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/sf_GMbank.sf2 -------------------------------------------------------------------------------- /docs/examples/shiftin.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -d -odac 4 | 5 | 6 | 7 | instr 1 8 | ideltime = 0.5 9 | kDel[] init sr*0.5 10 | a1 diskin2 "fox.wav",1,0,1 11 | a2 shiftout kDel 12 | kDel shiftin a1 13 | out a1 + a2 14 | endin 15 | 16 | 17 | 18 | i1 0 10 19 | 20 | -------------------------------------------------------------------------------- /docs/examples/shiftout.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -d -odac 4 | 5 | 6 | 7 | instr 1 8 | ideltime = 0.5 9 | kDel[] init sr*0.5 10 | a1 diskin2 "fox.wav",1,0,1 11 | a2 shiftout kDel 12 | kDel shiftin a1 13 | out a1 + a2 14 | endin 15 | 16 | 17 | 18 | i1 0 10 19 | 20 | -------------------------------------------------------------------------------- /docs/examples/sing.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/sing.wav -------------------------------------------------------------------------------- /docs/examples/singFemale.aif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/singFemale.aif -------------------------------------------------------------------------------- /docs/examples/sinh.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | ; Audio out Audio in 5 | -odac -iadc ;;;RT audio I/O 6 | ; For Non-realtime ouput leave only the line below: 7 | ; -o sinh.wav -W ;;; for file output any platform 8 | 9 | 10 | 11 | ; Initialize the global variables. 12 | sr = 44100 13 | kr = 4410 14 | ksmps = 10 15 | nchnls = 1 16 | 17 | ; Instrument #1. 18 | instr 1 19 | irad = 1 20 | i1 = sinh(irad) 21 | 22 | print i1 23 | endin 24 | 25 | 26 | 27 | 28 | 29 | ; Play Instrument #1 for one second. 30 | i 1 0 1 31 | e 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /docs/examples/sininv.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | ; Audio out Audio in 5 | -odac -iadc ;;;RT audio I/O 6 | ; For Non-realtime ouput leave only the line below: 7 | ; -o sininv.wav -W ;;; for file output any platform 8 | 9 | 10 | 11 | ; Initialize the global variables. 12 | sr = 44100 13 | kr = 4410 14 | ksmps = 10 15 | nchnls = 1 16 | 17 | ; Instrument #1. 18 | instr 1 19 | irad = 0.5 20 | i1 = sininv(irad) 21 | 22 | print i1 23 | endin 24 | 25 | 26 | 27 | 28 | 29 | ; Play Instrument #1 for one second. 30 | i 1 0 1 31 | e 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /docs/examples/skf.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -odac -d 4 | 5 | 6 | 7 | 0dbfs = 1 8 | 9 | instr 1 10 | alp = diskin:a("fox.wav",1,0,1)/3 11 | af expon 100,p3,10000 12 | a3 skf alp,af,1.516,p5 13 | out a3 14 | endin 15 | 16 | 17 | 18 | i1 0 10 0.2 0 ; lowpass 19 | i1 10 10 0.2 1 ; highpass 20 | 21 | -------------------------------------------------------------------------------- /docs/examples/sorta.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -n 4 | 5 | 6 | 7 | instr 1 8 | kArr[] fillarray 1,3,2,7,4 9 | kSorted[] sorta kArr 10 | kn = 0 11 | while kn < lenarray(kSorted) do 12 | printk2 kSorted[kn] 13 | kn += 1 14 | od 15 | turnoff 16 | endin 17 | 18 | 19 | 20 | 21 | i1 0 1 22 | 23 | -------------------------------------------------------------------------------- /docs/examples/sortd.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -n 4 | 5 | 6 | 7 | instr 1 8 | kArr[] fillarray 1,3,2,7,4 9 | kSorted[] sortd kArr 10 | kn = 0 11 | while kn < lenarray(kSorted) do 12 | printk2 kSorted[kn] 13 | kn += 1 14 | od 15 | turnoff 16 | endin 17 | 18 | 19 | 20 | 21 | i1 0 1 22 | 23 | -------------------------------------------------------------------------------- /docs/examples/stereoJungle.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/stereoJungle.wav -------------------------------------------------------------------------------- /docs/examples/sterrain.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -odac -d 4 | 5 | 6 | 7 | sr = 44100 8 | ksmps = 64 9 | nchnls = 1 10 | 0dbfs = 1 11 | 12 | gisine ftgen 0,0,2^12,10,1 13 | 14 | instr 1 15 | 16 | kdclk linseg 0, 0.1, 1, p3-0.02, 1, 0.1, 0 17 | kn1 transeg 2,p3/2,-5,0.15,p3/2,5,2 18 | 19 | asig sterrain 0.5, 220, 0.5, 0.5, 0.5, 0.5, 0, gisine, gisine, 4, 4, kn1, 1, 1.5, 1.5, 1, 4 20 | asig dcblock asig 21 | out asig*kdclk 22 | 23 | endin 24 | 25 | 26 | 27 | 28 | 29 | i 1 0 20 30 | 31 | e 32 | 33 | 34 | -------------------------------------------------------------------------------- /docs/examples/sterrain2.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -odac -d 4 | 5 | 6 | 7 | sr = 44100 8 | ksmps = 64 9 | nchnls = 2 10 | 0dbfs = 1 11 | 12 | gisine ftgen 0,0,2^12,10,1 13 | 14 | instr 1 15 | 16 | kdclk linseg 0, 0.1, 1, p3-0.02, 1, 0.1, 0 17 | kb linseg 1,p3/2,1.7,p3/2,1 18 | krot linseg 0,p3,1 19 | 20 | asig sterrain 0.5, 220, 0.5, 0.5, 0.5, 0.5, krot, gisine, gisine, 2,2,0.5,2,2,0.7,kb,2 21 | asig dcblock asig 22 | asig = asig * kdclk 23 | aL,aR reverbsc asig, asig , 0.6, 12000, 44100, 0.5, 1 24 | outs aL, aR 25 | 26 | endin 27 | 28 | 29 | 30 | 31 | 32 | i 1 0 40 33 | 34 | e 35 | 36 | 37 | -------------------------------------------------------------------------------- /docs/examples/strcat.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | -odac ;;;realtime audio out 5 | ;-iadc ;;;uncomment -iadc if realtime audio input is needed too 6 | ; For Non-realtime ouput leave only the line below: 7 | ; -o strcat.wav -W ;;; for file output any platform 8 | 9 | 10 | 11 | sr = 44100 12 | ksmps = 32 13 | nchnls = 2 14 | 0dbfs = 1 15 | 16 | instr 1 17 | 18 | Sname = "beats" 19 | Sname strcat Sname, ".wav" 20 | asig soundin Sname 21 | outs asig, asig 22 | 23 | endin 24 | 25 | 26 | 27 | i 1 0 2 28 | e 29 | 30 | -------------------------------------------------------------------------------- /docs/examples/string_with_extras-16.matrxT: -------------------------------------------------------------------------------- 1 | 2 | 1 2 2 3 | 2 3 1 4 | 3 4 3 5 | 4 5 1 6 | 5 6 4 7 | 6 7 1 8 | 7 8 5 9 | 8 9 6 10 | 9 10 7 11 | 10 11 6 12 | 11 12 5 13 | 12 13 4 14 | 13 14 3 15 | 14 15 2 16 | 15 16 1 17 | 16 1 9 18 | 14 13 2 19 | 10 3 6 20 | 6 4 2 21 | 2 14 7 22 | 23 | -------------------------------------------------------------------------------- /docs/examples/strset.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | ; Audio out Audio in No messages 5 | -odac -iadc -d ;;;RT audio I/O 6 | 7 | 8 | 9 | sr = 44100 10 | ksmps = 1 11 | nchnls = 1 12 | 13 | ;Example by Andres Cabrera 2008 14 | 15 | ; \\n is used to denote "new line" 16 | strset 1, "String 1\\n" 17 | strset 2, "String 2\\n" 18 | 19 | instr 1 20 | Str strget p4 21 | prints Str 22 | endin 23 | 24 | 25 | 26 | 27 | ; p4 is used to select string 28 | i 1 0 1 1 29 | i 1 3 1 2 30 | 31 | -------------------------------------------------------------------------------- /docs/examples/sym10.txt: -------------------------------------------------------------------------------- 1 | 0.00077015980911449011 2 | 9.5632670722894754e-05 3 | -0.0086412992770224222 4 | -0.0014653825813050513 5 | 0.045927239231092203 6 | 0.011609893903711381 7 | -0.15949427888491757 8 | -0.070880535783243853 9 | 0.47169066693843925 10 | 0.7695100370211071 11 | 0.38382676106708546 12 | -0.035536740473817552 13 | -0.0319900568824278 14 | 0.049994972077376687 15 | 0.0057649120335819086 16 | -0.02035493981231129 17 | -0.00080435893201654491 18 | 0.0045931735853118284 19 | 5.7036083618494284e-05 20 | -0.00045932942100465878 21 | 22 | -------------------------------------------------------------------------------- /docs/examples/table1.inc: -------------------------------------------------------------------------------- 1 | /* table1.inc */ 2 | ; Table #1, a sine wave. 3 | f 1 0 16384 10 1 4 | /* table1.inc */ 5 | -------------------------------------------------------------------------------- /docs/examples/tambourine.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | -odac ;;;realtime audio out 5 | ;-iadc ;;;uncomment -iadc if realtime audio input is needed too 6 | ; For Non-realtime ouput leave only the line below: 7 | ; -o tambourine.wav -W ;;; for file output any platform 8 | 9 | 10 | 11 | sr = 44100 12 | ksmps = 32 13 | nchnls = 2 14 | 0dbfs = 1 15 | 16 | instr 1 17 | 18 | idamp = p4 19 | asig tambourine .8, 0.01, 30, idamp, 0.4 20 | outs asig, asig 21 | 22 | endin 23 | 24 | 25 | 26 | i 1 0 .2 0 27 | i 1 + .2 > 28 | i 1 + 1 .7 29 | e 30 | 31 | -------------------------------------------------------------------------------- /docs/examples/tan.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | ; Audio out Audio in 5 | -n ; no sound 6 | ; For Non-realtime ouput leave only the line below: 7 | ; -o tan.wav -W ;;; for file output any platform 8 | 9 | 10 | 11 | ; by Kevin Conder 12 | 13 | sr = 44100 14 | ksmps = 32 15 | nchnls = 2 16 | 0dbfs = 1 17 | 18 | instr 1 19 | 20 | irad = 25 21 | i1 = tan(irad) 22 | print i1 23 | 24 | endin 25 | 26 | 27 | 28 | i 1 0 1 29 | e 30 | 31 | -------------------------------------------------------------------------------- /docs/examples/taninv.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | ; Audio out Audio in 5 | -n ; no sound 6 | ; For Non-realtime ouput leave only the line below: 7 | ; -o taninv.wav -W ;;; for file output any platform 8 | 9 | 10 | 11 | ; by Kevin Conder 12 | 13 | sr = 44100 14 | ksmps = 32 15 | nchnls = 2 16 | 0dbfs = 1 17 | 18 | instr 1 19 | 20 | irad = 0.5 21 | i1 = taninv(irad) 22 | print i1 23 | 24 | endin 25 | 26 | 27 | 28 | i 1 0 1 29 | e 30 | 31 | -------------------------------------------------------------------------------- /docs/examples/taninv2.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ; Select audio/midi flags here according to platform 4 | ; Audio out Audio in 5 | -n ; no sound 6 | ; For Non-realtime ouput leave only the line below: 7 | ; -o system.wav -W ;;; for file output any platform 8 | 9 | 10 | 11 | ; by Kevin Conder 12 | 13 | sr = 44100 14 | ksmps = 32 15 | nchnls = 2 16 | 0dbfs = 1 17 | 18 | instr 1 19 | 20 | i1 taninv2 1, 2 ; Returns the arctangent for 1/2. 21 | print i1 22 | 23 | endin 24 | 25 | 26 | 27 | i 1 0 0 28 | e 29 | 30 | -------------------------------------------------------------------------------- /docs/examples/trighold.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | sr = 44100 7 | ksmps = 128 8 | nchnls = 2 9 | 0dbfs = 1.0 10 | 11 | instr 1 12 | km = metro(1) 13 | kt timeinsts 14 | ktrig = trighold(km, 0.5) 15 | printks "t=%f km=%f ktrig=%f\n", 0.01, kt, km, ktrig 16 | endin 17 | 18 | instr 2 19 | am = upsamp(metro(1)) 20 | aenv = trighold(am, 0.5) 21 | asig pinker 22 | outch 1, asig*aenv 23 | outch 2, asig 24 | endin 25 | 26 | 27 | 28 | i 1 0 10 29 | i 2 0 10 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /docs/examples/trigphasor.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -odac 4 | 5 | 6 | 7 | sr = 44100 8 | ksmps = 64 9 | nchnls = 2 10 | 0dbfs = 1.0 11 | 12 | gisnd ftgen 0, 0, 0, -1, "finneganswake1.flac", 0, 0, 0 13 | 14 | instr 1 15 | ; use trigphasor to read a soundfile 16 | inumsamps = nsamp(gisnd) 17 | irate = 1 ; play at original speed 18 | ktrig metro 0.25 19 | aphase trigphasor ktrig, irate, 0, inumsamps 20 | asig table3 aphase, gisnd 21 | asig *= linsegr:a(0, 0.01, 1, 0.01, 0) 22 | outch 1, asig 23 | endin 24 | 25 | 26 | 27 | i 1 0 20 28 | f0 3600 29 | 30 | 31 | -------------------------------------------------------------------------------- /docs/examples/turnoff3.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | instr 1 5 | print p2 6 | turnoff3 1 7 | schedule 1,6,0.1 8 | endin 9 | 10 | 11 | 12 | 13 | i1 0 0.1 14 | i1 1 0.1 15 | i1 2 0.1 16 | i1 3 0.1 17 | i1 4 0.1 18 | i1 5 0.1 19 | e 20 | 21 | 22 | -------------------------------------------------------------------------------- /docs/examples/tvconv.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -odac 4 | 5 | 6 | sr = 44100 7 | ksmps = 32 8 | nchnls = 2 9 | 0dbfs = 1 10 | 11 | instr 1 12 | 13 | asig diskin "fox.wav",1,0,1 14 | air diskin "drumsMlp.wav",1,0,1 15 | air buthp air/0dbfs,1000 16 | k1 linseg 0,p3/3,0,0,1,2*p3/3,1 17 | a1 oscili k1, 0.5, 1 18 | a2 oscili k1, 0.6, 1 19 | asig tvconv asig,air,1-a2,1-a1,256,1024 20 | asig clip asig,1,0dbfs 21 | outs asig, asig 22 | 23 | endin 24 | 25 | 26 | 27 | f1 0 1024 7 0 512 0 1 1 511 1 28 | i1 0 30 29 | e 30 | 31 | -------------------------------------------------------------------------------- /docs/examples/twopeaks.aiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/twopeaks.aiff -------------------------------------------------------------------------------- /docs/examples/vactrol.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -odac 4 | 5 | 6 | nchnls = 2 7 | 0dbfs = 1 8 | 9 | instr 1 10 | a1 lfo 0.3, 1, 4 11 | a2 vactrol a1 12 | a3 oscili 2, 440 13 | out a1*a3,a2*a3 14 | endin 15 | 16 | 17 | 18 | i1 0 3 19 | e 20 | 21 | -------------------------------------------------------------------------------- /docs/examples/vclpf.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -odac -d 4 | 5 | 6 | 7 | 0dbfs = 1 8 | 9 | instr 1 10 | 11 | a1 rand p4 12 | af expon 20, p3, 20000 13 | a2 vclpf a1, af, 0.7 14 | out a2 15 | 16 | endin 17 | 18 | 19 | 20 | i1 0 5 0.5 21 | 22 | -------------------------------------------------------------------------------- /docs/examples/vps.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -o dac -d 4 | 5 | 6 | 0dbfs = 1 7 | nchnls=1 8 | ksmps = 1 9 | 10 | instr 1 11 | kd = oscili:k(0.5,2) + 0.5 12 | kv = oscili:k(0.5,1.5) + 0.5 13 | aph = vps(phasor(p5),kd,kv) 14 | asig = p4*tablei:a(aph,-1,1,0.25,1) 15 | out(linenr(asig,0.1,0.1,0.01)) 16 | endin 17 | 18 | 19 | 20 | 21 | i 1 0 10 0.5 110 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /docs/examples/vtablewa.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -odac -b441 -B441 4 | 5 | 6 | 7 | 8 | sr=44100 9 | kr=4410 10 | ksmps=10 11 | nchnls=2 12 | 0dbfs = 1 13 | 14 | instr 1 15 | vcopy 2, 1, 262144 16 | ar random 0, 1 17 | vtablewa ar,2,1,ar 18 | out ar,ar 19 | endin 20 | 21 | 22 | 23 | 24 | f1 0 262144 -1 "drumsMlp.wav" 0 4 0 25 | f2 0 262144 2 0 26 | 27 | i1 0 4 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /docs/examples/vtablewk.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | ;-ovtablewa.wav -W -b441 -B441 4 | -odac -b441 -B441 5 | 6 | 7 | 8 | 9 | sr=44100 10 | kr=441 11 | ksmps=100 12 | nchnls=2 13 | 14 | instr 1 15 | ilen = ftlen(1) 16 | 17 | knew1 oscil 10000, 440, 3 18 | knew2 oscil 15000, 440, 3, 0.5 19 | kindex phasor 0.3 20 | asig oscil 1, sr/ilen , 1 21 | vtablewk kindex*ilen, 1, 0, knew1, knew2 22 | out asig,asig 23 | endin 24 | 25 | 26 | 27 | 28 | f1 0 262144 -1 "drumsMlp.wav" 0 4 0 29 | f2 0 262144 2 0 30 | f3 0 1024 10 1 31 | 32 | i1 0 10 33 | 34 | -------------------------------------------------------------------------------- /docs/examples/writescratch.csd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/examples/writescratch.csd -------------------------------------------------------------------------------- /docs/examples/zdf_1pole.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -o dac 4 | 5 | 6 | 7 | sr = 48000 8 | ksmps = 1 9 | nchnls = 2 10 | 0dbfs = 1 11 | 12 | instr 1 13 | asig = random:a(-1.0, 1.0) 14 | asig = zdf_1pole(asig, line(220, p3, 10000), p4) 15 | outc(asig, asig) 16 | endin 17 | 18 | instr 2 19 | asig = vco2(0.5, 220) 20 | asig = zdf_1pole(asig, line(220, p3, 10000), p4) 21 | outc(asig, asig) 22 | endin 23 | 24 | 25 | 26 | i1 0 4 0 27 | i1 5 4 1 28 | i1 10 4 2 29 | i2 15 4 0 30 | i2 20 4 1 31 | i2 25 4 2 32 | 33 | 34 | -------------------------------------------------------------------------------- /docs/examples/zdf_1pole_mode.csd: -------------------------------------------------------------------------------- 1 | 2 | 3 | -o dac 4 | 5 | 6 | 7 | sr = 48000 8 | ksmps = 1 9 | nchnls = 2 10 | 0dbfs = 1 11 | 12 | instr 1 13 | asig = random:a(-1.0, 1.0) 14 | alp, ahp zdf_1pole_mode asig, line(220, p3, 10000) 15 | asig = (p4 == 0) ? alp : ahp 16 | outc(asig, asig) 17 | endin 18 | 19 | instr 2 20 | asig = vco2(0.5, 220) 21 | alp, ahp zdf_1pole_mode asig, line(220, p3, 10000) 22 | asig = (p4 == 0) ? alp : ahp 23 | outc(asig, asig) 24 | endin 25 | 26 | 27 | 28 | i1 0 4 0 29 | i1 5 4 1 30 | i2 10 4 0 31 | i2 15 4 1 32 | 33 | 34 | -------------------------------------------------------------------------------- /docs/images/Chua_circuit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/Chua_circuit.png -------------------------------------------------------------------------------- /docs/images/MS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/MS.png -------------------------------------------------------------------------------- /docs/images/Mandelbrot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/Mandelbrot.png -------------------------------------------------------------------------------- /docs/images/Poisson_distribution_PMF.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/Poisson_distribution_PMF.png -------------------------------------------------------------------------------- /docs/images/SF.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/SF.png -------------------------------------------------------------------------------- /docs/images/ScannedCircular.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/ScannedCircular.png -------------------------------------------------------------------------------- /docs/images/ScannedFinite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/ScannedFinite.png -------------------------------------------------------------------------------- /docs/images/ScannedHammers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/ScannedHammers.png -------------------------------------------------------------------------------- /docs/images/ScannedHaptic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/ScannedHaptic.png -------------------------------------------------------------------------------- /docs/images/adsr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/adsr.png -------------------------------------------------------------------------------- /docs/images/cornoid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/cornoid.png -------------------------------------------------------------------------------- /docs/images/delay1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/delay1.png -------------------------------------------------------------------------------- /docs/images/delayk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/delayk.png -------------------------------------------------------------------------------- /docs/images/folium.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/folium.png -------------------------------------------------------------------------------- /docs/images/gen01_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen01_1.png -------------------------------------------------------------------------------- /docs/images/gen01_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen01_2.png -------------------------------------------------------------------------------- /docs/images/gen01_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen01_3.png -------------------------------------------------------------------------------- /docs/images/gen02_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen02_1.png -------------------------------------------------------------------------------- /docs/images/gen02_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen02_2.png -------------------------------------------------------------------------------- /docs/images/gen02_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen02_3.png -------------------------------------------------------------------------------- /docs/images/gen03_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen03_1.png -------------------------------------------------------------------------------- /docs/images/gen03_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen03_2.png -------------------------------------------------------------------------------- /docs/images/gen03_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen03_3.png -------------------------------------------------------------------------------- /docs/images/gen03_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen03_4.png -------------------------------------------------------------------------------- /docs/images/gen03_5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen03_5.png -------------------------------------------------------------------------------- /docs/images/gen04_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen04_1.png -------------------------------------------------------------------------------- /docs/images/gen04_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen04_2.png -------------------------------------------------------------------------------- /docs/images/gen04_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen04_3.png -------------------------------------------------------------------------------- /docs/images/gen04_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen04_4.png -------------------------------------------------------------------------------- /docs/images/gen05_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen05_1.png -------------------------------------------------------------------------------- /docs/images/gen05_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen05_2.png -------------------------------------------------------------------------------- /docs/images/gen06_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen06_1.png -------------------------------------------------------------------------------- /docs/images/gen06_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen06_2.png -------------------------------------------------------------------------------- /docs/images/gen07_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen07_1.png -------------------------------------------------------------------------------- /docs/images/gen07_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen07_2.png -------------------------------------------------------------------------------- /docs/images/gen07_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen07_3.png -------------------------------------------------------------------------------- /docs/images/gen08_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen08_1.png -------------------------------------------------------------------------------- /docs/images/gen08_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen08_2.png -------------------------------------------------------------------------------- /docs/images/gen09_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen09_1.png -------------------------------------------------------------------------------- /docs/images/gen09_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen09_2.png -------------------------------------------------------------------------------- /docs/images/gen09_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen09_3.png -------------------------------------------------------------------------------- /docs/images/gen09_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen09_4.png -------------------------------------------------------------------------------- /docs/images/gen10_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen10_1.png -------------------------------------------------------------------------------- /docs/images/gen10_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen10_2.png -------------------------------------------------------------------------------- /docs/images/gen10_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen10_3.png -------------------------------------------------------------------------------- /docs/images/gen10_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen10_4.png -------------------------------------------------------------------------------- /docs/images/gen11_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen11_1.png -------------------------------------------------------------------------------- /docs/images/gen11_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen11_2.png -------------------------------------------------------------------------------- /docs/images/gen11_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen11_3.png -------------------------------------------------------------------------------- /docs/images/gen12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen12.png -------------------------------------------------------------------------------- /docs/images/gen13_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen13_1.png -------------------------------------------------------------------------------- /docs/images/gen13_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen13_2.png -------------------------------------------------------------------------------- /docs/images/gen13_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen13_3.png -------------------------------------------------------------------------------- /docs/images/gen13_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen13_4.png -------------------------------------------------------------------------------- /docs/images/gen13_5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen13_5.png -------------------------------------------------------------------------------- /docs/images/gen13_6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen13_6.png -------------------------------------------------------------------------------- /docs/images/gen13_7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen13_7.png -------------------------------------------------------------------------------- /docs/images/gen14_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen14_1.png -------------------------------------------------------------------------------- /docs/images/gen14_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen14_2.png -------------------------------------------------------------------------------- /docs/images/gen14_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen14_3.png -------------------------------------------------------------------------------- /docs/images/gen14_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen14_4.png -------------------------------------------------------------------------------- /docs/images/gen15-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen15-1.png -------------------------------------------------------------------------------- /docs/images/gen15-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen15-2.png -------------------------------------------------------------------------------- /docs/images/gen15-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen15-3.png -------------------------------------------------------------------------------- /docs/images/gen15-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen15-4.png -------------------------------------------------------------------------------- /docs/images/gen15-5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen15-5.png -------------------------------------------------------------------------------- /docs/images/gen16_types.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen16_types.png -------------------------------------------------------------------------------- /docs/images/gen18_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen18_1.png -------------------------------------------------------------------------------- /docs/images/gen18_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen18_2.png -------------------------------------------------------------------------------- /docs/images/gen18_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen18_3.png -------------------------------------------------------------------------------- /docs/images/gen19_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen19_1.png -------------------------------------------------------------------------------- /docs/images/gen20_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen20_1.png -------------------------------------------------------------------------------- /docs/images/gen20_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen20_2.png -------------------------------------------------------------------------------- /docs/images/gen21_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen21_1.png -------------------------------------------------------------------------------- /docs/images/gen21_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen21_2.png -------------------------------------------------------------------------------- /docs/images/gen21_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen21_3.png -------------------------------------------------------------------------------- /docs/images/gen21_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen21_4.png -------------------------------------------------------------------------------- /docs/images/gen21_5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen21_5.png -------------------------------------------------------------------------------- /docs/images/gen23.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen23.png -------------------------------------------------------------------------------- /docs/images/gen25.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen25.png -------------------------------------------------------------------------------- /docs/images/gen27.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen27.png -------------------------------------------------------------------------------- /docs/images/gen33.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen33.png -------------------------------------------------------------------------------- /docs/images/gen34.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen34.png -------------------------------------------------------------------------------- /docs/images/gen40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen40.png -------------------------------------------------------------------------------- /docs/images/gen41.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen41.png -------------------------------------------------------------------------------- /docs/images/gen42.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen42.png -------------------------------------------------------------------------------- /docs/images/gen49.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen49.png -------------------------------------------------------------------------------- /docs/images/gen51_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen51_1.png -------------------------------------------------------------------------------- /docs/images/gen51_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen51_2.png -------------------------------------------------------------------------------- /docs/images/gen51_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen51_3.png -------------------------------------------------------------------------------- /docs/images/gen52.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gen52.png -------------------------------------------------------------------------------- /docs/images/gendy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gendy.png -------------------------------------------------------------------------------- /docs/images/gendyx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gendyx.png -------------------------------------------------------------------------------- /docs/images/genexp_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/genexp_1.png -------------------------------------------------------------------------------- /docs/images/genexp_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/genexp_2.png -------------------------------------------------------------------------------- /docs/images/genfarey-2_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/genfarey-2_1.png -------------------------------------------------------------------------------- /docs/images/genfarey-2_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/genfarey-2_2.png -------------------------------------------------------------------------------- /docs/images/genquadbezier_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/genquadbezier_1.png -------------------------------------------------------------------------------- /docs/images/genquadbezier_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/genquadbezier_2.png -------------------------------------------------------------------------------- /docs/images/genquadbezier_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/genquadbezier_3.png -------------------------------------------------------------------------------- /docs/images/gensone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gensone.png -------------------------------------------------------------------------------- /docs/images/gentanh_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gentanh_1.png -------------------------------------------------------------------------------- /docs/images/gentanh_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gentanh_2.png -------------------------------------------------------------------------------- /docs/images/gentanh_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/gentanh_3.png -------------------------------------------------------------------------------- /docs/images/grain2_rand-448x289.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/grain2_rand-448x289.png -------------------------------------------------------------------------------- /docs/images/grain3_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/grain3_2.png -------------------------------------------------------------------------------- /docs/images/image1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/image1.png -------------------------------------------------------------------------------- /docs/images/image2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/image2.png -------------------------------------------------------------------------------- /docs/images/image3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/image3.png -------------------------------------------------------------------------------- /docs/images/image4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/image4.png -------------------------------------------------------------------------------- /docs/images/image5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/image5.png -------------------------------------------------------------------------------- /docs/images/image6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/image6.png -------------------------------------------------------------------------------- /docs/images/image6a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/image6a.png -------------------------------------------------------------------------------- /docs/images/image7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/image7.png -------------------------------------------------------------------------------- /docs/images/image7a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/image7a.png -------------------------------------------------------------------------------- /docs/images/image7b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/image7b.png -------------------------------------------------------------------------------- /docs/images/image8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/image8.png -------------------------------------------------------------------------------- /docs/images/image9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/image9.png -------------------------------------------------------------------------------- /docs/images/image9a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/image9a.png -------------------------------------------------------------------------------- /docs/images/imode1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/imode1.png -------------------------------------------------------------------------------- /docs/images/imode2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/imode2.png -------------------------------------------------------------------------------- /docs/images/imode3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/imode3.png -------------------------------------------------------------------------------- /docs/images/limacon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/limacon.png -------------------------------------------------------------------------------- /docs/images/linen.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/linen.jpg -------------------------------------------------------------------------------- /docs/images/noise-filter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/noise-filter.png -------------------------------------------------------------------------------- /docs/images/pdhalf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/pdhalf.png -------------------------------------------------------------------------------- /docs/images/pdhalfy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/pdhalfy.png -------------------------------------------------------------------------------- /docs/images/poisson_equation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/poisson_equation.png -------------------------------------------------------------------------------- /docs/images/rnd31_rand.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/rnd31_rand.png -------------------------------------------------------------------------------- /docs/images/scarabeus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/scarabeus.png -------------------------------------------------------------------------------- /docs/images/spiral_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/spiral_small.png -------------------------------------------------------------------------------- /docs/images/straightline_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/straightline_small.png -------------------------------------------------------------------------------- /docs/images/talbot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/talbot.png -------------------------------------------------------------------------------- /docs/images/transeg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/transeg.png -------------------------------------------------------------------------------- /docs/images/transegb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/transegb.png -------------------------------------------------------------------------------- /docs/images/trisextic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/trisextic.png -------------------------------------------------------------------------------- /docs/images/virtualkeyboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/virtualkeyboard.png -------------------------------------------------------------------------------- /docs/images/wguide1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/wguide1.png -------------------------------------------------------------------------------- /docs/images/wguide2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/wguide2.png -------------------------------------------------------------------------------- /docs/images/xadsr2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/images/xadsr2.png -------------------------------------------------------------------------------- /docs/img/engine.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csound/manual/4329915236a55d9f34a419bd0e41f3d71f36e1d6/docs/img/engine.png -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- 1 | # Welcome to the Csound 7 Manual! 2 | 3 | -------------------------------------------------------------------------------- /docs/invoke/order-of-precedence.md: -------------------------------------------------------------------------------- 1 | # Order of precedence 2 | 3 | There are five places where options for Csound performance may be set. They are processed in the following order: 4 | 5 | 1. Csound's own defaults 6 | 2. File defined by the `CSOUND7RC` environment variable, or `.csound7rc` file in the HOME directory 7 | 3. A `.csound7rc` file in the current directory 8 | 4. The `` tag in a `.csd` file 9 | 5. Passed on the Csound command line 10 | 11 | The later options in the list will override any earlier ones. As of version 5.01 of Csound, sample and control rate override flags (-r and -k) specified anywhere override sr, kr, and ksmps defined in the orchestra header. 12 | -------------------------------------------------------------------------------- /docs/math/amp.md: -------------------------------------------------------------------------------- 1 | # **Amplitude Converters** 2 | 3 | Opcodes to convert between different amplitude measurements are: 4 | 5 | * [ampdb](../opcodes/ampdb.md) 6 | * [ampdbfs](../opcodes/ampdbfs.md) 7 | * [db](../opcodes/db.md) 8 | * [dbamp](../opcodes/dbamp.md) 9 | * [dbfsamp](../opcodes/dbfsamp.md) 10 | 11 | Use [rms](../opcodes/rms.md) to find the rms value of a signal. See also [0dbfs](../opcodes/0dbfs.md) for another way to handle amplitudes in csound. 12 | -------------------------------------------------------------------------------- /docs/math/opeqfunc.md: -------------------------------------------------------------------------------- 1 | # **Opcode Equivalents of Arithmetic Operations** 2 | 3 | Opcodes that perform the equivalent of arithmetic operations are: 4 | 5 | * [divz](../opcodes/divz.md) 6 | * [mac](../opcodes/mac.md) 7 | * [maca](../opcodes/maca.md) 8 | * [pow](../opcodes/pow.md) 9 | * [product](../opcodes/product.md) 10 | * [sum](../opcodes/sum.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/math/rndfunc.md: -------------------------------------------------------------------------------- 1 | # **Random Functions** 2 | 3 | Opcodes that perform random functions are: 4 | 5 | * [birnd](../opcodes/birnd.md) 6 | * [rnd](../opcodes/rnd.md) 7 | 8 | See the section [Random (Noise) Generators](../siggen/random.md) for opcodes that generate random signals. 9 | -------------------------------------------------------------------------------- /docs/math/trig.md: -------------------------------------------------------------------------------- 1 | # **Trigonometric Functions** 2 | 3 | Opcodes that perform trigonometric functions are: 4 | 5 | * [cos](../opcodes/cos.md), [cosh](../opcodes/cosh.md) and [cosinv](../opcodes/cosinv.md) 6 | * [sin](../opcodes/sin.md), [sinh](../opcodes/sinh.md) and [sininv](../opcodes/sininv.md) 7 | * [tan](../opcodes/tan.md), [tanh](../opcodes/tanh.md), [taninv](../opcodes/taninv.md), and [taninv2](../opcodes/taninv2.md) 8 | * [signum](../opcodes/signum.md) 9 | -------------------------------------------------------------------------------- /docs/midi/extender.md: -------------------------------------------------------------------------------- 1 | # **Event Extenders** 2 | 3 | Opcodes that let one extend the duration of an event are: 4 | 5 | * [lastcycle](../opcodes/lastcycle.md) 6 | * [release](../opcodes/release.md) 7 | * [xtratim](../opcodes/xtratim.md) 8 | -------------------------------------------------------------------------------- /docs/midi/generic.md: -------------------------------------------------------------------------------- 1 | # **Generic MIDI Input and Output** 2 | 3 | Opcodes for generic MIDI input and output are [midiin](../opcodes/midiin.md), [midiout](../opcodes/midiout.md) and [midiout_i](../opcodes/midiout_i.md) 4 | -------------------------------------------------------------------------------- /docs/midi/onoff.md: -------------------------------------------------------------------------------- 1 | # **Note-on/Note-off Output** 2 | 3 | Opcodes to output MIDI note on or off messages are: 4 | 5 | * [midiarp](../opcodes/midiarp.md) 6 | * [midion](../opcodes/midion.md) 7 | * [midion2](../opcodes/midion2.md) 8 | * [moscil](../opcodes/moscil.md) 9 | * [noteoff](../opcodes/noteoff.md) 10 | * [noteon](../opcodes/noteon.md) 11 | * [noteondur](../opcodes/noteondur.md) 12 | * [noteondur2](../opcodes/noteondur2.md) 13 | -------------------------------------------------------------------------------- /docs/midi/output.md: -------------------------------------------------------------------------------- 1 | # **MIDI Message Output** 2 | 3 | Opcodes that produce MIDI output are: 4 | 5 | * [mdelay](../opcodes/mdelay.md) 6 | * [midiout](../opcodes/midiout.md) 7 | * [midiout_i](../opcodes/midiout_i.md) 8 | * [nrpn](../opcodes/nrpn.md) 9 | * [outiat](../opcodes/outiat.md) 10 | * [outic](../opcodes/outic.md) 11 | * [outic14](../opcodes/outic14.md) 12 | * [outipat](../opcodes/outipat.md) 13 | * [outipb](../opcodes/outipb.md) 14 | * [outipc](../opcodes/outipc.md) 15 | * [outkat](../opcodes/outkat.md) 16 | * [outkc](../opcodes/outkc.md) 17 | * [outkc14](../opcodes/outkc14.md) 18 | * [outkpat](../opcodes/outkpat.md) 19 | * [outkpb](../opcodes/outkpb.md) 20 | * [outkpc](../opcodes/outkpc.md) 21 | -------------------------------------------------------------------------------- /docs/midi/realtime.md: -------------------------------------------------------------------------------- 1 | # **System Realtime Messages** 2 | 3 | Opcodes for System Realtime MIDI messages are: [mclock](../opcodes/mclock.md) and [mrtmsg](../opcodes/mrtmsg.md). 4 | -------------------------------------------------------------------------------- /docs/misc/amp.md: -------------------------------------------------------------------------------- 1 | # Sound Intensity Values 2 | 3 | ### Table C.1. Sound Intensity Values (for a 1000 Hz tone) 4 | 5 | | Dynamics | Intensity (W/m ^ 2) | Level (dB) | 6 | |-----------|---------------------|------------| 7 | | pain | 1 | 120 | 8 | | fff | 10 ^ -2 | 100 | 9 | | f | 10 ^ -4 | 80 | 10 | | p | 10 ^ -6 | 60 | 11 | | ppp | 10 ^ -8 | 40 | 12 | | threshold | 10 ^ -12 | 0 | 13 | -------------------------------------------------------------------------------- /docs/opcodes/butbp.md: -------------------------------------------------------------------------------- 1 | 5 | # butbp 6 | Same as the [butterbp](../opcodes/butterbp.md) opcode. 7 | 8 | ## Syntax 9 | === "Modern" 10 | ``` csound-orc 11 | ares = butbp(asig, kfreq, kband [, iskip]) 12 | ``` 13 | 14 | === "Classic" 15 | ``` csound-orc 16 | ares butbp asig, kfreq, kband [, iskip] 17 | ``` 18 | -------------------------------------------------------------------------------- /docs/opcodes/butbr.md: -------------------------------------------------------------------------------- 1 | 5 | # butbr 6 | Same as the [butterbr](../opcodes/butterbr.md) opcode. 7 | 8 | ## Syntax 9 | === "Modern" 10 | ``` csound-orc 11 | ares = butbr(asig, kfreq, kband [, iskip]) 12 | ``` 13 | 14 | === "Classic" 15 | ``` csound-orc 16 | ares butbr asig, kfreq, kband [, iskip] 17 | ``` 18 | -------------------------------------------------------------------------------- /docs/opcodes/buthp.md: -------------------------------------------------------------------------------- 1 | 5 | # buthp 6 | Same as the [butterhp](../opcodes/butterhp.md) opcode. 7 | 8 | ## Syntax 9 | === "Modern" 10 | ``` csound-orc 11 | ares = buthp(asig, kfreq [, iskip]) 12 | ares = buthp(asig, afreq [, iskip]) 13 | ``` 14 | 15 | === "Classic" 16 | ``` csound-orc 17 | ares buthp asig, kfreq [, iskip] 18 | ares buthp asig, afreq [, iskip] 19 | ``` 20 | -------------------------------------------------------------------------------- /docs/opcodes/butlp.md: -------------------------------------------------------------------------------- 1 | 5 | # butlp 6 | Same as the [butterlp](../opcodes/butterlp.md) opcode. 7 | 8 | ## Syntax 9 | === "Modern" 10 | ``` csound-orc 11 | ares = butlp(asig, kfreq [, iskip]) 12 | ares = butlp(asig, afreq [, iskip]) 13 | ``` 14 | 15 | === "Classic" 16 | ``` csound-orc 17 | ares butlp asig, kfreq [, iskip] 18 | ares butlp asig, afreq [, iskip] 19 | ``` 20 | -------------------------------------------------------------------------------- /docs/opcodes/cntread.md: -------------------------------------------------------------------------------- 1 | 5 | # cntRead 6 | Read current value of a counter object without changing it. 7 | 8 | Plugin opcode in counter. 9 | 10 | ## Syntax 11 | === "Modern" 12 | ``` csound-orc 13 | kval = cntRead(icnt) 14 | ``` 15 | 16 | === "Classic" 17 | ``` csound-orc 18 | kval cntRead icnt 19 | ``` 20 | 21 | ### Initialization 22 | 23 | _icnt_ -- a handle for the counter. 24 | 25 | ### Performance 26 | 27 | Reads a counter object. 28 | 29 | ## See also 30 | 31 | [Program Flow Control: Counter](../control/pgmctl.md) 32 | 33 | ## Credits 34 | 35 | By: John ffitch June 2020 36 | 37 | New in version 6.15 38 | -------------------------------------------------------------------------------- /docs/opcodes/cntreset.md: -------------------------------------------------------------------------------- 1 | 5 | # cntReset 6 | Resets a counter object to its initial state. 7 | 8 | Plugin opcode in counter. 9 | 10 | ## Syntax 11 | === "Modern" 12 | ``` csound-orc 13 | cntReset(icnt) 14 | ``` 15 | 16 | === "Classic" 17 | ``` csound-orc 18 | cntReset icnt 19 | ``` 20 | 21 | ### Initialization 22 | 23 | _icnt_ -- a handle for the counter. 24 | 25 | ### Performance 26 | 27 | Resets a counter object. 28 | 29 | ## See also 30 | 31 | [Program Flow Control: Counter](../control/pgmctl.md) 32 | 33 | ## Credits 34 | 35 | By: John ffitch June 2020 36 | 37 | New in version 6.15 38 | -------------------------------------------------------------------------------- /docs/opcodes/conj.md: -------------------------------------------------------------------------------- 1 | 5 | # conj 6 | Returns the conjugate of a complex number. 7 | 8 | 9 | ## Syntax 10 | ``` csound-orc 11 | conj(var:Complex) 12 | conj(var:Complex[]) 13 | ``` 14 | 15 | where the argument within the parentheses may be an expression. 16 | A complex number or a complex array is given as the result of this 17 | function. 18 | 19 | 20 | 21 | ## See also 22 | 23 | [Mathematical Functions](../math/mathfunc.md) 24 | -------------------------------------------------------------------------------- /docs/opcodes/convle.md: -------------------------------------------------------------------------------- 1 | 5 | # convle 6 | Same as the [convolve](../opcodes/convolve.md) opcode. 7 | -------------------------------------------------------------------------------- /docs/opcodes/cos.md: -------------------------------------------------------------------------------- 1 | 5 | # cos 6 | Returns the cosine of _x_ (_x_ in radians). 7 | 8 | ## Syntax 9 | ``` csound-orc 10 | cos(x) (no rate restriction) 11 | cos(k/i[]) (k- or i-arrays ) 12 | ``` 13 | 14 | ## Examples 15 | 16 | Here is an example of the cos opcode. It uses the file [cos.csd](../examples/cos.csd). 17 | 18 | ``` csound-csd title="Example of the cos opcode." linenums="1" 19 | --8<-- "examples/cos.csd" 20 | ``` 21 | 22 | ## See also 23 | 24 | [Trigonometric Functions](../math/trig.md) 25 | -------------------------------------------------------------------------------- /docs/opcodes/eventtype.md: -------------------------------------------------------------------------------- 1 | 5 | # eventtype 6 | Returns the event type for an instrument. 7 | 8 | 9 | ## Syntax 10 | === "Modern" 11 | ``` csound-orc 12 | type:i = eventtype() 13 | ``` 14 | 15 | === "Classic" 16 | ``` csound-orc 17 | itype eventtype 18 | ``` 19 | 20 | _type_ -- the type of event triggering this instrument, 0 - for realtime or score events, 1 - for MIDI events. 21 | 22 | 23 | ## See also 24 | 25 | [MIDI input and Initialization](../midi/input.md) 26 | 27 | ## Credits 28 | 29 | Author: Victor Lazzarini
30 | March 2025
31 | New in Csound 7
32 | -------------------------------------------------------------------------------- /docs/opcodes/ops.md: -------------------------------------------------------------------------------- 1 | 5 | # S 6 | Returns a string containg the numeric value of its argument. 7 | 8 | ## Syntax 9 | ``` csound-orc 10 | S(x) (control-rate or init-rate arg) 11 | ``` 12 | 13 | ## See also 14 | 15 | [Sample Level Operators](../sigmod/sample.md) 16 | 17 | ## Credits 18 | 19 | V Lazzarini, 2016. New in version 6.07 20 | -------------------------------------------------------------------------------- /docs/opcodes/oscilx.md: -------------------------------------------------------------------------------- 1 | 5 | # oscilx 6 | Same as the [osciln](../opcodes/osciln.md) opcode. 7 | 8 | -------------------------------------------------------------------------------- /docs/opcodes/outz.md: -------------------------------------------------------------------------------- 1 | 5 | # outz 6 | Writes multi-channel audio data from a ZAK array to an external device or stream. 7 | 8 | ## Syntax 9 | === "Modern" 10 | ``` csound-orc 11 | outz(ksig1) 12 | ``` 13 | 14 | === "Classic" 15 | ``` csound-orc 16 | outz ksig1 17 | ``` 18 | 19 | ### Performance 20 | 21 | _outz_ outputs from a ZAK array for [nchnls](../opcodes/nchnls.md) of audio. 22 | 23 | ## See also 24 | 25 | [Signal Output](../sigio/output.md) 26 | 27 | ## Credits 28 | 29 | Author: John ffitch
30 | University of Bath/Codemist Ltd.
31 | Bath, UK
32 | May 2000
33 | 34 | New in Csound Version 4.06 35 | -------------------------------------------------------------------------------- /docs/opcodes/polar.md: -------------------------------------------------------------------------------- 1 | 5 | # polar 6 | Returns a complex number in polar format. 7 | 8 | 9 | ## Syntax 10 | ``` csound-orc 11 | polar(var:Complex) 12 | polar(var:Complex[]) 13 | ``` 14 | 15 | where the argument within the parentheses may be an expression. 16 | A complex number or a complex array is given as the result of this 17 | function. 18 | 19 | 20 | 21 | ## See also 22 | 23 | [Mathematical Functions](../math/mathfunc.md) 24 | -------------------------------------------------------------------------------- /docs/opcodes/pvs2array.md: -------------------------------------------------------------------------------- 1 | 5 | # pvs2array 6 | Same as the [pvs2tab](../opcodes/pvs2tab.md) opcode. 7 | 8 | ## Syntax 9 | === "Modern" 10 | ``` csound-orc 11 | kframe = pvs2array(kvar[], fsig) 12 | kframe = pvs2array(kmags[], kfreqs[], fsig) 13 | ``` 14 | 15 | === "Classic" 16 | ``` csound-orc 17 | kframe pvs2array kvar[], fsig 18 | kframe pvs2array kmags[], kfreqs[], fsig 19 | ``` 20 | -------------------------------------------------------------------------------- /docs/opcodes/pvsfromarray.md: -------------------------------------------------------------------------------- 1 | 5 | # pvsfromarray 6 | Same as the [tab2pvs](../opcodes/tab2pvs.md) opcode. 7 | 8 | ## Syntax 9 | === "Modern" 10 | ``` csound-orc 11 | fsig = pvsfromarray(karr[] [,ihopsize, iwinsize, iwintype]) 12 | fsig = pvsfromarray(kmags[], kfreqs[] [,ihopsize, iwinsize, iwintype]) 13 | ``` 14 | 15 | === "Classic" 16 | ``` csound-orc 17 | fsig pvsfromarray karr[] [,ihopsize, iwinsize, iwintype] 18 | fsig pvsfromarray kmags[], kfreqs[] [,ihopsize, iwinsize, iwintype] 19 | ``` 20 | -------------------------------------------------------------------------------- /docs/opcodes/qinf.md: -------------------------------------------------------------------------------- 1 | 5 | # qinf 6 | Returns the number of times the argument is not a number, with the sign of the first infinity. 7 | 8 | ## Syntax 9 | ``` csound-orc 10 | qinf(x) (no rate restriction) 11 | ``` 12 | 13 | ## Examples 14 | 15 | Here is an example of the qinf opcode. It uses the file [qinf.csd](../examples/qinf.csd). 16 | 17 | ``` csound-csd title="Example of the qinf opcode." linenums="1" 18 | --8<-- "examples/qinf.csd" 19 | ``` 20 | 21 | ## See also 22 | 23 | [Mathematical Functions](../math/mathfunc.md) 24 | 25 | ## Credits 26 | 27 | Written by John ffitch. 28 | 29 | New in Csound 5.14 30 | -------------------------------------------------------------------------------- /docs/opcodes/qnan.md: -------------------------------------------------------------------------------- 1 | 5 | # qnan 6 | Returns the number of times the argument is not a number. 7 | 8 | ## Syntax 9 | ``` csound-orc 10 | qnan(x) (no rate restriction) 11 | ``` 12 | 13 | ## Examples 14 | 15 | Here is an example of the qnan opcode. It uses the file [qnan.csd](../examples/qnan.csd). 16 | 17 | ``` csound-csd title="Example of the qnan opcode." linenums="1" 18 | --8<-- "examples/qnan.csd" 19 | ``` 20 | 21 | ## See also 22 | 23 | [Mathematical Functions](../math/mathfunc.md) 24 | 25 | ## Credits 26 | 27 | Written by John ffitch. 28 | 29 | New in Csound 5.14 30 | -------------------------------------------------------------------------------- /docs/opcodes/reverb2.md: -------------------------------------------------------------------------------- 1 | 5 | # reverb2 6 | Same as the [nreverb](../opcodes/nreverb.md) opcode. 7 | 8 | ## Syntax 9 | === "Modern" 10 | ``` csound-orc 11 | ares = reverb2(asig, ktime, khdif [, iskip] [,inumCombs] [, ifnCombs] \ 12 | [, inumAlpas] [, ifnAlpas]) 13 | ``` 14 | 15 | === "Classic" 16 | ``` csound-orc 17 | ares reverb2 asig, ktime, khdif [, iskip] [,inumCombs] [, ifnCombs] \ 18 | [, inumAlpas] [, ifnAlpas] 19 | ``` 20 | -------------------------------------------------------------------------------- /docs/opcodes/rigoto.md: -------------------------------------------------------------------------------- 1 | 5 | # rigoto 6 | Transfers control during a reinit pass. 7 | 8 | Similar to [igoto](../opcodes/igoto.md), but effective only during a [reinit](../opcodes/reinit.md) pass (i.e., no-op at standard i-time). This statement is useful for bypassing units that are not to be reinitialized. 9 | 10 | ## Syntax 11 | === "Modern" 12 | ``` csound-orc 13 | rigoto(label) 14 | ``` 15 | 16 | === "Classic" 17 | ``` csound-orc 18 | rigoto label 19 | ``` 20 | 21 | ## See also 22 | 23 | [Initialization and Reinitialization](../control/reinitn.md) 24 | -------------------------------------------------------------------------------- /docs/opcodes/sense.md: -------------------------------------------------------------------------------- 1 | 5 | # sense 6 | Same as the [sensekey](../opcodes/sensekey.md) opcode. 7 | -------------------------------------------------------------------------------- /docs/opcodes/serialEnd.md: -------------------------------------------------------------------------------- 1 | 5 | # serialEnd 6 | Close a serial port for arduino. 7 | 8 | Plugin opcode in serial. 9 | 10 | ## Syntax 11 | === "Modern" 12 | ``` csound-orc 13 | serialEnd(iPort) 14 | ``` 15 | 16 | === "Classic" 17 | ``` csound-orc 18 | serialEnd iPort 19 | ``` 20 | 21 | ### Initialization 22 | 23 | _iPort_ -- port number optained from a _serialBegin_opcode. 24 | 25 | ## See Also 26 | 27 | [non-MIDI Devices](../oscnetwork/nonMIDIdevices.md) 28 | 29 | ## Credits 30 | 31 | Author: Matt Ingalls
32 | 2011
33 | 34 | New in version 5.14 35 | -------------------------------------------------------------------------------- /docs/opcodes/strchark.md: -------------------------------------------------------------------------------- 1 | 5 | # strchark 6 | Return the ASCII code of the character in Sstr at kpos (defaults to zero which means the first character), or zero if kpos is out of range. 7 | 8 | _strchark_ runs both at init and performance time. 9 | 10 | ## Syntax 11 | === "Modern" 12 | ``` csound-orc 13 | kchr = strchark(Sstr [, kpos]) 14 | ``` 15 | 16 | === "Classic" 17 | ``` csound-orc 18 | kchr strchark Sstr [, kpos] 19 | ``` 20 | 21 | ## See Also 22 | 23 | [String Conversion Opcodes](../strings/convert.md) 24 | 25 | ## Credits 26 | 27 | Author: Istvan Varga
28 | 2006
29 | 30 | New in version 5.02 31 | -------------------------------------------------------------------------------- /docs/opcodes/strcmpk.md: -------------------------------------------------------------------------------- 1 | 5 | # strcmpk 6 | Compare strings. 7 | 8 | Set the result to -1, 0, or 1 if the first string is less than, equal to, or greater than the second, respectively. _strcmpk_ does the comparison both at initialization and performance time. 9 | 10 | ## Syntax 11 | === "Modern" 12 | ``` csound-orc 13 | kres = strcmpk(S1, S2) 14 | ``` 15 | 16 | === "Classic" 17 | ``` csound-orc 18 | kres strcmpk S1, S2 19 | ``` 20 | 21 | ## See Also 22 | 23 | [String Manipulation Opcodes](../strings/manipulate.md) 24 | 25 | ## Credits 26 | 27 | Author: Istvan Varga
28 | 2005
29 | -------------------------------------------------------------------------------- /docs/opcodes/strindex.md: -------------------------------------------------------------------------------- 1 | 5 | # strindex 6 | Return the position of the first occurence of S2 in S1, or -1 if not found. If S2 is empty, 0 is returned. 7 | 8 | _strindex_ runs at init time only. 9 | 10 | ## Syntax 11 | === "Modern" 12 | ``` csound-orc 13 | ipos = strindex(S1, S2) 14 | ``` 15 | 16 | === "Classic" 17 | ``` csound-orc 18 | ipos strindex S1, S2 19 | ``` 20 | 21 | ## See Also 22 | 23 | [String Manipulation Opcodes](../strings/manipulate.md) 24 | 25 | ## Credits 26 | 27 | Author: Istvan Varga
28 | 2006
29 | 30 | New in version 5.02 31 | -------------------------------------------------------------------------------- /docs/opcodes/strlen.md: -------------------------------------------------------------------------------- 1 | 5 | # strlen 6 | Return the length of a string, or zero if it is empty. strlen runs at init time only. 7 | 8 | ## Syntax 9 | === "Modern" 10 | ``` csound-orc 11 | ilen = strlen(Sstr) 12 | ``` 13 | 14 | === "Classic" 15 | ``` csound-orc 16 | ilen strlen Sstr 17 | ``` 18 | 19 | ## See Also 20 | 21 | [String Manipulation Opcodes](../strings/manipulate.md) 22 | 23 | ## Credits 24 | 25 | Author: Istvan Varga
26 | 2006
27 | 28 | New in version 5.02 29 | -------------------------------------------------------------------------------- /docs/opcodes/strlenk.md: -------------------------------------------------------------------------------- 1 | 5 | # strlenk 6 | Return the length of a string, or zero if it is empty. strlenk runs both at init and performance time. 7 | 8 | ## Syntax 9 | === "Modern" 10 | ``` csound-orc 11 | klen = strlenk(Sstr) 12 | ``` 13 | 14 | === "Classic" 15 | ``` csound-orc 16 | klen strlenk Sstr 17 | ``` 18 | 19 | ## See Also 20 | 21 | [String Manipulation Opcodes](../strings/manipulate.md) 22 | 23 | ## Credits 24 | 25 | Author: Istvan Varga
26 | 2006
27 | 28 | New in version 5.02 29 | -------------------------------------------------------------------------------- /docs/opcodes/strlowerk.md: -------------------------------------------------------------------------------- 1 | 5 | # strlowerk 6 | Convert Ssrc to lower case, and write the result to Sdst. 7 | 8 | _strlowerk_ runs both at init and performance time. 9 | 10 | ## Syntax 11 | === "Modern" 12 | ``` csound-orc 13 | Sdst = strlowerk(Ssrc) 14 | ``` 15 | 16 | === "Classic" 17 | ``` csound-orc 18 | Sdst strlowerk Ssrc 19 | ``` 20 | 21 | ## See Also 22 | 23 | [String Conversion Opcodes](../strings/convert.md) 24 | 25 | ## Credits 26 | 27 | Author: Istvan Varga
28 | 2006
29 | 30 | New in version 5.02 31 | -------------------------------------------------------------------------------- /docs/opcodes/strrindexk.md: -------------------------------------------------------------------------------- 1 | 5 | # strrindexk 6 | Return the position of the last occurence of S2 in S1, or -1 if not found. If S2 is empty, the length of S1 is returned. 7 | 8 | _strrindexk_ runs both at init and performance time. 9 | 10 | ## Syntax 11 | === "Modern" 12 | ``` csound-orc 13 | kpos = strrindexk(S1, S2) 14 | ``` 15 | 16 | === "Classic" 17 | ``` csound-orc 18 | kpos strrindexk S1, S2 19 | ``` 20 | 21 | ## See Also 22 | 23 | [String Manipulation Opcodes](../strings/manipulate.md) 24 | 25 | ## Credits 26 | 27 | Author: Istvan Varga
28 | 2006
29 | 30 | New in version 5.02 31 | -------------------------------------------------------------------------------- /docs/opcodes/strupper.md: -------------------------------------------------------------------------------- 1 | 5 | # strupper 6 | Convert Ssrc to upper case, and write the result to Sdst. 7 | 8 | _strupper_ runs at init time only. 9 | 10 | ## Syntax 11 | === "Modern" 12 | ``` csound-orc 13 | Sdst = strupper(Ssrc) 14 | ``` 15 | 16 | === "Classic" 17 | ``` csound-orc 18 | Sdst strupper Ssrc 19 | ``` 20 | 21 | ## See Also 22 | 23 | [String Conversion Opcodes](../strings/convert.md) 24 | 25 | ## Credits 26 | 27 | Author: Istvan Varga
28 | 2006
29 | 30 | New in version 5.02 31 | -------------------------------------------------------------------------------- /docs/opcodes/strupperk.md: -------------------------------------------------------------------------------- 1 | 5 | # strupperk 6 | Convert Ssrc to upper case, and write the result to Sdst. 7 | 8 | _strupperk_ runs both at init and performance time. 9 | 10 | ## Syntax 11 | === "Modern" 12 | ``` csound-orc 13 | Sdst = strupperk(Ssrc) 14 | ``` 15 | 16 | === "Classic" 17 | ``` csound-orc 18 | Sdst strupperk Ssrc 19 | ``` 20 | 21 | ## See Also 22 | 23 | [String Conversion Opcodes](../strings/convert.md) 24 | 25 | ## Credits 26 | 27 | Author: Istvan Varga
28 | 2006
29 | 30 | New in version 5.02 31 | -------------------------------------------------------------------------------- /docs/opcodes/tanh.md: -------------------------------------------------------------------------------- 1 | 5 | # tanh 6 | Returns the hyperbolic tangent of _x_. 7 | 8 | ## Syntax 9 | ``` csound-orc 10 | tanh(x) (no rate restriction) 11 | tanh(k/i[]) (k- or i-arrays ) 12 | ``` 13 | 14 | ## Examples 15 | 16 | Here is an example of the tanh opcode. It uses the file [tanh.csd](../examples/tanh.csd). 17 | 18 | ``` csound-csd title="Example of the tanh opcode." linenums="1" 19 | --8<-- "examples/tanh.csd" 20 | ``` 21 | 22 | ## See also 23 | 24 | [Trigonometric Functions](../math/trig.md) 25 | 26 | ## Credits 27 | 28 | Author: John ffitch 29 | 30 | New in version 3.47 31 | -------------------------------------------------------------------------------- /docs/oscnetwork/Network.md: -------------------------------------------------------------------------------- 1 | # **Network** 2 | 3 | The following opcodes can stream or receive audio through UDP: 4 | 5 | * [sockrecv](../opcodes/sockrecv.md) 6 | * [socksend](../opcodes/socksend.md) 7 | -------------------------------------------------------------------------------- /docs/oscnetwork/Remote.md: -------------------------------------------------------------------------------- 1 | # **Remote Opcodes** 2 | 3 | The Remote opcodes enable transmission of score or MIDI events through a network, so remote instances (or a different local instance) can process them. The following opcodes are available: 4 | 5 | 6 | * [insglobal](../opcodes/insglobal.md) - Used to implement a remote orchestra. 7 | * [insremot](../opcodes/insremot.md) - Used to implement a remote orchestra. 8 | * [midiglobal](../opcodes/midglobal.md) - Used to implement a remote MIDI orchestra. 9 | * [midiremot](../opcodes/midremot.md) - Used to implement a remote MIDI orchestra. 10 | * [remoteport](../opcodes/remoteport.md) - Defines the port for use with the remote system. 11 | -------------------------------------------------------------------------------- /docs/pitch/tuning.md: -------------------------------------------------------------------------------- 1 | # **Tuning Opcodes** 2 | 3 | Opcodes that provide tuning functions are: 4 | 5 | * [cps2pch](../opcodes/cps2pch.md) 6 | * [cpsxpch](../opcodes/cpsxpch.md) 7 | * [cpstun](../opcodes/cpstun.md) 8 | * [cpstuni](../opcodes/cpstuni.md) 9 | -------------------------------------------------------------------------------- /docs/scoregens/x.md: -------------------------------------------------------------------------------- 1 | 5 | # x Statement 6 | Skip the rest of the current section. 7 | 8 | ## Syntax 9 | ``` csound-orc 10 | x anything 11 | ``` 12 | 13 | ### Initialization 14 | 15 | All pfields are ignored. 16 | 17 | ## Examples 18 | 19 | Here is an example of the x statement. It uses the file [x.csd](../examples/x.csd). 20 | 21 | ``` csound-csd title="Example of the x statement." linenums="1" 22 | --8<-- "examples/x.csd" 23 | ``` 24 | 25 | ## See Also 26 | 27 | [Score Statements](../score/statemnt.md) 28 | -------------------------------------------------------------------------------- /docs/siggen/additive.md: -------------------------------------------------------------------------------- 1 | # **Additive Synthesis/Resynthesis** 2 | 3 | The opcodes for additive synthesis and resynthesis are: 4 | 5 | * [adsyn](../opcodes/adsyn.md) 6 | * [adsynt](../opcodes/adsynt.md) 7 | * [adsynt2](../opcodes/adsynt2.md) 8 | * [hsboscil](../opcodes/hsboscil.md) 9 | 10 | See the section [Spectral processing](../spectral/top.md) for more information and further additive/resynthesis opcodes. 11 | -------------------------------------------------------------------------------- /docs/siggen/envelope.md: -------------------------------------------------------------------------------- 1 | # **Envelope Generators** 2 | 3 | The following envelope generators are available: 4 | 5 | * [adsr](../opcodes/adsr.md) 6 | * [gtadsr](../opcodes/gtadsr.md) 7 | * [madsr](../opcodes/madsr.md) 8 | * [mxadsr](../opcodes/mxadsr.md) 9 | * [xadsr](../opcodes/xadsr.md) 10 | * [linen](../opcodes/linen.md) 11 | * [linenr](../opcodes/linenr.md) 12 | * [envlpx](../opcodes/envlpx.md) 13 | * [envlpxr](../opcodes/envlpxr.md) 14 | * [lineto](../opcodes/lineto.md) 15 | * [tlineto](../opcodes/tlineto.md) 16 | * [linlin](../opcodes/linlin.md) 17 | * [lincos](../opcodes/lincos.md) 18 | 19 | Consult the [Linear and exponential generators](lineexp.md) section for additional methods to create envelopes. 20 | -------------------------------------------------------------------------------- /docs/siggen/fmsynth.md: -------------------------------------------------------------------------------- 1 | # **FM Synthesis** 2 | 3 | ## The FM synthesis opcodes are: 4 | 5 | * [foscil](../opcodes/foscil.md) 6 | * [foscili](../opcodes/foscili.md) 7 | * [crossfm](../opcodes/crossfm.md), [crossfmi](../opcodes/crossfm.md), [crosspm](../opcodes/crossfm.md), [crosspmi](../opcodes/crossfm.md), [crossfmpm](../opcodes/crossfm.md), and [crossfmpmi](../opcodes/crossfm.md). 8 | 9 | ## FM instrument models 10 | 11 | * [fmb3](../opcodes/fmb3.md) 12 | * [fmbell](../opcodes/fmbell.md) 13 | * [fmmetal](../opcodes/fmmetal.md) 14 | * [fmpercfl](../opcodes/fmpercfl.md) 15 | * [fmrhode](../opcodes/fmrhode.md) 16 | * [fmvoice](../opcodes/fmvoice.md) 17 | * [fmwurlie](../opcodes/fmwurlie.md) 18 | -------------------------------------------------------------------------------- /docs/siggen/granular.md: -------------------------------------------------------------------------------- 1 | # **Granular Synthesis** 2 | 3 | The granular synthesis opcodes are: 4 | 5 | * [diskgrain](../opcodes/diskgrain.md) 6 | * [fof](../opcodes/fof.md) 7 | * [fof2](../opcodes/fof2.md) 8 | * [fog](../opcodes/fog.md) 9 | * [grain](../opcodes/grain.md) 10 | * [grain2](../opcodes/grain2.md) 11 | * [grain3](../opcodes/grain3.md) 12 | * [granule](../opcodes/granule.md) 13 | * [partikkel](../opcodes/partikkel.md) 14 | * [partikkelsync](../opcodes/partikkelsync.md) 15 | * [sndwarp](../opcodes/sndwarp.md) 16 | * [sndwarpst](../opcodes/sndwarpst.md) 17 | * [syncgrain](../opcodes/syncgrain.md) 18 | * [syncloop](../opcodes/syncloop.md) 19 | * [vosim](../opcodes/vosim.md) 20 | -------------------------------------------------------------------------------- /docs/siggen/hvs.md: -------------------------------------------------------------------------------- 1 | # **Hyper Vectorial Synthesis** 2 | 3 | * [vphaseseg](../opcodes/vphaseseg.md) 4 | * [hvs1](../opcodes/hvs1.md) 5 | * [hvs2](../opcodes/hvs2.md) 6 | * [hvs3](../opcodes/hvs3.md) 7 | 8 | The opcode FLhvsBox (see widgets from the plugins repository) can be used to display the phase position for 2-dimensional Hyper Vectorial Synthesis. 9 | -------------------------------------------------------------------------------- /docs/siggen/phasors.md: -------------------------------------------------------------------------------- 1 | # **Phasors** 2 | 3 | The opcodes that generate a moving phase value: 4 | 5 | * [ephasor](../opcodes/ephasor.md) 6 | * [phasor](../opcodes/phasor.md) 7 | * [phasorbnk](../opcodes/phasorbnk.md) 8 | * [syncphasor](../opcodes/syncphasor.md) 9 | * [trigphasor](../opcodes/trigphasor.md) 10 | 11 | These opcodes are useful in combination with the [Table access](tableacc.md) opcodes. 12 | -------------------------------------------------------------------------------- /docs/siggen/waveterr.md: -------------------------------------------------------------------------------- 1 | # **Wave Terrain Synthesis** 2 | 3 | Opcodes that uses wave terrain synthesis: 4 | [sterrain](../opcodes/sterrain.md), [wterrain](../opcodes/wterrain.md) and [wterrain2](../opcodes/wterrain2.md). 5 | -------------------------------------------------------------------------------- /docs/siggen/wavguide.md: -------------------------------------------------------------------------------- 1 | # **Waveguide Physical Modeling** 2 | 3 | The opcodes that implement waveguide physical modeling are: 4 | 5 | * [pluck](../opcodes/pluck.md) 6 | * [repluck](../opcodes/repluck.md) 7 | * [wgbow](../opcodes/wgbow.md) 8 | * [wgbowedbar](../opcodes/wgbowedbar.md) 9 | * [wgbrass](../opcodes/wgbrass.md) 10 | * [wgclar](../opcodes/wgclar.md) 11 | * [wgflute](../opcodes/wgflute.md) 12 | * [wgpluck](../opcodes/wgpluck.md) 13 | * [wgpluck2](../opcodes/wgpluck2.md) 14 | * [wguide1](../opcodes/wguide1.md) 15 | * [wguide2](../opcodes/wguide2.md) 16 | -------------------------------------------------------------------------------- /docs/sigio/pdisplay.md: -------------------------------------------------------------------------------- 1 | # **Printing and Display** 2 | 3 | Opcodes for printing and displaying values are: 4 | 5 | * [dispfft](../opcodes/dispfft.md) 6 | * [display](../opcodes/display.md) 7 | * [flashtxt](../opcodes/flashtxt.md) 8 | * [ftprint](../opcodes/ftprint.md) 9 | * [print](../opcodes/print.md) 10 | * [printf](../opcodes/printf.md) 11 | * [printf_i](../opcodes/printf.md) 12 | * [printk](../opcodes/printk.md) 13 | * [printk2](../opcodes/printk2.md) 14 | * [printks](../opcodes/printks.md) 15 | * [printks2](../opcodes/printks2.md) 16 | * [println](../opcodes/println.md) 17 | * [prints](../opcodes/prints.md) 18 | * [printsk](../opcodes/printsk.md) 19 | * [printarray](../opcodes/printarray.md) 20 | -------------------------------------------------------------------------------- /docs/sigio/queries.md: -------------------------------------------------------------------------------- 1 | # **Sound File Queries** 2 | 3 | The opcodes that query information about files are: 4 | 5 | * [filebit](../opcodes/filebit.md) 6 | * [filelen](../opcodes/filelen.md) 7 | * [filenchnls](../opcodes/filenchnls.md) 8 | * [filepeak](../opcodes/filepeak.md) 9 | * [filesr](../opcodes/filesr.md) 10 | * [filevalid](../opcodes/filevalid.md) 11 | * [mp3len](../opcodes/mp3len.md) 12 | -------------------------------------------------------------------------------- /docs/sigio/softbus.md: -------------------------------------------------------------------------------- 1 | # **Software Bus** 2 | 3 | Csound implements a software bus for internal routing or routing to external software calling the Csound API. 4 | 5 | The opcodes to use the software bus are: 6 | 7 | * [chani](../opcodes/chani.md) 8 | * [chano](../opcodes/chano.md) 9 | * [chn_k](../opcodes/chn.md) 10 | * [chn_a](../opcodes/chn.md) 11 | * [chn_S](../opcodes/chn.md) 12 | * [chnclear](../opcodes/chnclear.md) 13 | * [chnexport](../opcodes/chnexport.md) 14 | * [chnget](../opcodes/chnget.md) 15 | * [chnmix](../opcodes/chnmix.md) 16 | * [chnparams](../opcodes/chnparams.md) 17 | * [chnset](../opcodes/chnset.md) 18 | -------------------------------------------------------------------------------- /docs/sigmod/ampmod.md: -------------------------------------------------------------------------------- 1 | # **Amplitude Modifiers and Dynamic processing** 2 | 3 | The opcodes that modify amplitude are: 4 | 5 | * [balance](../opcodes/balance.md) 6 | * [balance2](../opcodes/balance2.md) 7 | * [compress](../opcodes/compress.md) 8 | * [compress2](../opcodes/compress2.md) 9 | * [clip](../opcodes/clip.md) 10 | * [dam](../opcodes/dam.md) 11 | * [gain](../opcodes/gain.md) 12 | 13 | The opcode [0dbfs](../opcodes/0dbfs.md) facilitates the use of amplitude by removing the need to use of explicit sample values. 14 | -------------------------------------------------------------------------------- /docs/sigmod/compaccum.md: -------------------------------------------------------------------------------- 1 | # **Comparators and Accumulators** 2 | 3 | The following opcodes perform comparisons between signals at a-rate or k-rate, find maxima or minima, or accumulate the results of several computations or comparisons: 4 | 5 | * [clear](../opcodes/clear.md) 6 | * [cmp](../opcodes/cmp.md) 7 | * [max](../opcodes/max.md) 8 | * [max_k](../opcodes/max_k.md) 9 | * [maxabs](../opcodes/maxabs.md) 10 | * [maxabsaccum](../opcodes/maxabsaccum.md) 11 | * [maxaccum](../opcodes/maxaccum.md) 12 | * [min](../opcodes/min.md) 13 | * [minabs](../opcodes/minabs.md) 14 | * [minabsaccum](../opcodes/minabsaccum.md) 15 | * [minaccum](../opcodes/minaccum.md) 16 | * [vincr](../opcodes/vincr.md) 17 | -------------------------------------------------------------------------------- /docs/sigmod/conmorph.md: -------------------------------------------------------------------------------- 1 | # **Convolution and Morphing** 2 | 3 | The opcodes that convolve and morph signals are: 4 | 5 | * [convolve](../opcodes/convolve.md) also called [convle](../opcodes/convle.md) 6 | * [cross2](../opcodes/cross2.md) 7 | * [dconv](../opcodes/dconv.md) 8 | * [ftconv](../opcodes/ftconv.md) 9 | * [ftmorf](../opcodes/ftmorf.md) 10 | * [liveconv](../opcodes/liveconv.md) 11 | * [pconvolve](../opcodes/pconvolve.md) 12 | * [tvconv](../opcodes/tvconv.md) 13 | -------------------------------------------------------------------------------- /docs/sigmod/reverbtn.md: -------------------------------------------------------------------------------- 1 | # **Reverberation** 2 | 3 | The opcodes one can use for reverberation are: 4 | 5 | * [alpass](../opcodes/alpass.md) 6 | * [babo](../opcodes/babo.md) 7 | * [comb](../opcodes/comb.md) 8 | * [combinv](../opcodes/combinv.md) 9 | * [freeverb](../opcodes/freeverb.md) 10 | * [nestedap](../opcodes/nestedap.md) 11 | * [nreverb](../opcodes/nreverb.md) (also called [reverb2](../opcodes/reverb2.md)) 12 | * [platerev](../opcodes/platerev.md) 13 | * [reverb](../opcodes/reverb.md) 14 | * [reverbsc](../opcodes/reverbsc.md) 15 | * [valpass](../opcodes/valpass.md) 16 | * [vcomb](../opcodes/vcomb.md) 17 | -------------------------------------------------------------------------------- /docs/sigmod/sample.md: -------------------------------------------------------------------------------- 1 | # **Sample Level Operators** 2 | 3 | The opcodes one may use to modify signals are: 4 | 5 | * [a(k)](../opcodes/opa.md) 6 | * [denorm](../opcodes/denorm.md) 7 | * [diff](../opcodes/diff.md) 8 | * [downsamp](../opcodes/downsamp.md) 9 | * [fold](../opcodes/fold.md) 10 | * [i(k)](../opcodes/opi.md) 11 | * [integ](../opcodes/integ.md) 12 | * [interp](../opcodes/interp.md) 13 | * [k(i)](../opcodes/opk.md) 14 | * [ntrpol](../opcodes/ntrpol.md) 15 | * [S](../opcodes/ops.md) 16 | * [samphold](../opcodes/samphold.md) 17 | * [upsamp](../opcodes/upsamp.md) 18 | * [vaget](../opcodes/vaget.md) 19 | * [vaset](../opcodes/vaset.md) 20 | -------------------------------------------------------------------------------- /docs/sigmod/siglimit.md: -------------------------------------------------------------------------------- 1 | # **Signal Limiters** 2 | 3 | Opcodes that can be used to limit signals are: 4 | 5 | * [limit](../opcodes/limit.md) 6 | * [mirror](../opcodes/mirror.md) 7 | * [wrap](../opcodes/wrap.md) 8 | -------------------------------------------------------------------------------- /docs/sigmod/speciale.md: -------------------------------------------------------------------------------- 1 | # **Special Effects** 2 | 3 | Opcodes that generate special effects are: 4 | 5 | * [distort](../opcodes/distort.md) 6 | * [distort1](../opcodes/distort1.md) 7 | * [doppler](../opcodes/doppler.md) 8 | * [exciter](../opcodes/exciter.md) 9 | * [flanger](../opcodes/flanger.md) 10 | * [harmon](../opcodes/harmon.md) 11 | * [harmon2, 3, 4](../opcodes/harmon234.md) 12 | * [paulstretch](../opcodes/paulstretch.md) 13 | * [phaser1](../opcodes/phaser1.md) 14 | * [phaser2](../opcodes/phaser2.md) 15 | -------------------------------------------------------------------------------- /docs/sigmod/wavguide.md: -------------------------------------------------------------------------------- 1 | # **Waveguides** 2 | 3 | The opcodes that use waveguides to modify a signal are: 4 | 5 | * [streson](../opcodes/streson.md) 6 | * [wguide1](../opcodes/wguide1.md) 7 | * [wguide2](../opcodes/wguide2.md) 8 | -------------------------------------------------------------------------------- /docs/spectral/top.md: -------------------------------------------------------------------------------- 1 | # **Spectral Processing** 2 | 3 | See the section [Additive Synthesis/Resynthesis](../siggen/additive.md) for the basic resynthesis opcodes. 4 | -------------------------------------------------------------------------------- /docs/table/queries.md: -------------------------------------------------------------------------------- 1 | # **Table Queries** 2 | 3 | Opcodes to query tables for information are: 4 | 5 | * For tables loaded from a sound file (using [GEN01](../scoregens/gen01.md)): [ftchnls](../opcodes/ftchnls.md), [ftcps](../opcodes/ftcps.md), [ftexists](../opcodes/ftexists.md), [ftlen](../opcodes/ftlen.md), [ftlptim](../opcodes/ftlptim.md) and [ftsr](../opcodes/ftsr.md) 6 | * For any table: [nsamp](../opcodes/nsamp.md), [ftlen](../opcodes/ftlen.md), [tableng](../opcodes/tableng.md) 7 | 8 | The opcode [tabsum](../opcodes/tabsum.md) calculates the sum of values in a table. [getftargs](../opcodes/getftargs.md) fills a string variable with the arguments used to create a function table at k-rate. 9 | -------------------------------------------------------------------------------- /docs/table/select.md: -------------------------------------------------------------------------------- 1 | # **Table Reading with Dynamic Selection** 2 | 3 | Opcodes that let one dynamically (at k-rate) select tables are: 4 | 5 | * [tableikt](../opcodes/tableikt.md) 6 | * [tablekt](../opcodes/tablekt.md) 7 | * [tablexkt](../opcodes/tablexkt.md) 8 | -------------------------------------------------------------------------------- /docs/utility/queries.md: -------------------------------------------------------------------------------- 1 | # **File Queries (SNDINFO)** 2 | 3 | The following utilities exist for Soundfile query: 4 | 5 | * [SNDINFO](sndinfo.md): Displays information about a soundfile. 6 | -------------------------------------------------------------------------------- /docs/vectorial/delay.md: -------------------------------------------------------------------------------- 1 | # **Vectorial Control-rate Delay Paths** 2 | 3 | Vectorial Control-rate Delay Paths: 4 | 5 | * [vdelayk](../opcodes/vdelayk.md) 6 | * [vport](../opcodes/vport.md) 7 | * [vecdelay](../opcodes/vecdelay.md) 8 | -------------------------------------------------------------------------------- /docs/vectorial/tables.md: -------------------------------------------------------------------------------- 1 | # **Tables of vectors operators** 2 | 3 | The following Vectorial opocodes support read/write access to arrays of vectors (or arrays of arrays): 4 | 5 | * [vtablei](../opcodes/vtablei.md) 6 | * [vtable1k](../opcodes/vtable1k.md) 7 | * [vtablek](../opcodes/vtablek.md) 8 | * [vtablea](../opcodes/vtablea.md) 9 | * [vtablewi](../opcodes/vtablewi.md) 10 | * [vtablewk](../opcodes/vtablewk.md) 11 | * [vtablewa](../opcodes/vtablewa.md) 12 | * [vtabi](../opcodes/vtabi.md) 13 | * [vtabk](../opcodes/vtabk.md) 14 | * [vtaba](../opcodes/vtaba.md) 15 | * [vtabwi](../opcodes/vtabwi.md) 16 | * [vtabwk](../opcodes/vtabwk.md) 17 | * [vtabwa](../opcodes/vtabwa.md) 18 | -------------------------------------------------------------------------------- /docs/vectorial/top.md: -------------------------------------------------------------------------------- 1 | # **Vectorial Opcodes** 2 | 3 | The vectorial opcode family is designed to allow sections of f-tables to be treated as vectors for diverse operations on them. 4 | -------------------------------------------------------------------------------- /docs/vectorial/vectorialrandom.md: -------------------------------------------------------------------------------- 1 | # **Vectorial Random Signal Generators** 2 | 3 | These opcodes generate vectors of random numbers to be stored in tables. They generate a sort of 'vectorial band-limited noise'. All these opcodes work at k-rate. 4 | 5 | Vectorial random signal generators: [vrandh](../opcodes/vrandh.md) and [vrandi](../opcodes/vrandi.md). 6 | 7 | Cellular automata vectors can be generated using: [vcella](../opcodes/vcella.md). 8 | --------------------------------------------------------------------------------