Use Non-Frames Version Previous Page Next Page
The Csound Quick Reference

Signal Generators


Signal Generators: Linear and Exponential Generators

k/ar line ia, idur1, ib
k/ar expon ia, idur1, ib
k/ar linseg ia, idur1, ib[, idur2, ic[...]]
k/ar linsegr ia, idur1, ib[, idur2, ic[...]], irel, iz
k/ar expseg ia, idur1, ib[, idur2, ic[...]]
k/ar expsegr ia, idur1, ib[, idur2, ic[...]], irel, iz
ar expsega ia, idur1, ib[, idur2, ic[...]]
k/ar adsr iatt, idec, islev, irel[, idel]
k/ar madsr iatt, idec, islev, irel[, idel]
k/ar xadsr iatt, idec, islev, irel[, idel]
k/ar mxadsr iatt, idec, islev, irel[, idel]
k/ar transeg ibeg, idur, itype, ival
kr loopseg kfreq, ktrig, ktim0, kval0[, ktim1, kval1,...ktimN, kvalN]
kr lpshold kfreq, ktrig, ktim0, kval0[, ktim1, kval1,...ktimN, kvalN]

Signal Generators: Table Access

i/k/ar table i/k/andx, ifn[, ixmode[, ixoff[, iwrap]]]
i/k/ar tablei i/k/andx, ifn[, ixmode[, ixoff[, iwrap]]]
i/k/ar table3 i/k/andx, ifn[, ixmode[, ixoff[, iwrap]]]
kr oscil1 idel, kamp, idur, ifn
kr oscil1i idel, kamp, idur, ifn
ar osciln kamp, ifrq, ifn, itimes

Signal Generators: Phasors

k/ar phasor k/xcps[, iphs]
k/ar phasorbnk k/xcps, kindx, icnt [, iphs]

Signal Generators: Basic Oscillators

k/ar oscil k/xamp, k/xcps, ifn[, iphs]
k/ar oscili k/xamp, k/xcps, ifn[, iphs]
k/ar oscil3 k/xamp, k/xcps, ifn[, iphs]
k/ar poscil kamp, kcps, ifn[, iphs]
k/ar poscil3 kamp, kcps, ifn[, iphs]
k/ar lfo kamp, kcps[, itype]

Signal Generators: Dynamic Spectrum Oscillators

ar buzz xamp, xcps, knh, ifn[, iphs]
ar gbuzz xamp, xcps, knh, klh, kr, ifn[, iphs]
ar vco kamp, kfqc[, iwave][, ipw][, ifn][, imaxd]
ar mpulse kamp, kfreq[, ioffset]

Signal Generators: Additive Synthesis/Resynthesis

ar adsyn kamod, kfmod, ksmod, ifilcod
ar adsynt kamp, kcps, iwfn, ifreqfn, iampfn, icnt[, iphs]
ar hsboscil kamp, ktone, kbrite, ibasfreq, iwfn, ioctfn[, ioctcnt [, iphs]]
ar oscbnk kcps, kamd, kfmd, kpmd, iovrlap, iseed, kl1minf, kl1maxf, kl2minf, kl2maxf, ilfomode, keqminf, keqmaxf, keqminl, keqmaxl, keqminq, keqmaxq, ieqmode, kfn, il1fn, il2fn, ieqffn, ieqlfn, ieqqfn[, itabl[, ioutfn]]

Signal Generators: FM Synthesis

ar foscil xamp, kcps, kcar, kmod, kndx, ifn[, iphs]
ar foscili xamp, kcps, kcar, kmod, kndx, ifn[, iphs]
ar fmvoice kamp, kfreq, kvowel, ktilt, kvibamt, kvibrate, ifn1, ifn2, ifn3, ifn4, ivibfn
ar fmbell kamp, kfreq, kc1, kc2, kvdepth, kvrate, ifn1, ifn2, ifn3, ifn4, ivfn
ar fmrhode kamp, kfreq, kc1, kc2, kvdepth, kvrate, ifn1, ifn2, ifn3, ifn4, ivfn
ar fmwurlie kamp, kfreq, kc1, kc2, kvdepth, kvrate, ifn1, ifn2, ifn3, ifn4, ivfn
ar fmmetal kamp, kfreq, kc1, kc2, kvdepth, kvrate, ifn1, ifn2, ifn3, ifn4, ivfn
ar fmb3 kamp, kfreq, kc1, kc2, kvdepth, kvrate, ifn1, ifn2, ifn3, ifn4, ivfn
ar fmpercfl kamp, kfreq, kc1, kc2, kvdepth, kvrate, ifn1, ifn2, ifn3, ifn4, ivfn

Signal Generators: Sample Playback

ar[, ar2] loscil xamp, kcps, ifn[, ibas[, imod1, ibeg1, iend1[, imod2, ibeg2, iend2]]]
ar[, ar2] loscil3 xamp, kcps, ifn[, ibas[, imod1, ibeg1, iend1[, imod2, ibeg2, iend2]]]
ar lposcil kamp, kfreqratio, kloop, kend, ifn[, iphs]
ar lposcil3 kamp, kfreqratio, kloop, kend, ifn[, iphs]
 
ir sfload "filename"
  sfpassign istartndx, ifilhandle
ir sfpreset iprog, ibank, ifilhandle, iprendx
  sfplist ifilhandle
  sfilist ifilhandle
ar1, ar2 sfplay ivel, inotnum, xamp, xfreq, iprendx [, iflag]
ar sfplaym ivel, inotnum, xamp, xfreq, iprendx [, iflag]
ar1, ar2 sfinstr ivel, inotnum, xamp, xfreq, instrnum, ifilhandle [, iflag]
ar sfinstrm ivel, inotnum, xamp, xfreq, instrnum, ifilhandle [, iflag]

Signal Generators: Granular Synthesis

ar fof xamp, xfund, xform, koct, kband, kris, kdur, kdec, iolaps, ifna, ifnb, itotdur[, iphs[, ifmode]]
ar fof2 xamp, xfund, xform, koct, kband, kris, kdur, kdec, iolaps, ifna, ifnb, itotdur, kphs, kgliss
ar fog xamp, xdens, xtrans, xspd, koct, kband, kris, kdur, kdec, iolaps, ifna, ifnb, itotdur[, iphs[, itmode]]
ar grain xamp, xpitch, xdens, kampoff, kpitchoff, kgdur, igfn, iwfn, imgdur[, igrnd]
ar grain2 kcps, kfmd, kgdur, iovrlp, kfn, iwfn[, irpow[, iseed[, imode]]]
ar grain3 kcps, kphs, kfmd, kpmd, kgdur, kdens, imaxovr, kfn, iwfn, kfrpow, kprpow[, iseed[, imode]]
ar granule xamp, ivoice, iratio, imode, ithd, ifn, ipshift, igskip, igskip_os, ilength, kgap, igap_os, kgsize, igsize_os, iatt, idec[, iseed[, ipitch1[, ipitch2[, ipitch3[, ipitch4[, ifnenv]]]]]]]]
ar[, ac] sndwarp xamp, xtimewarp, xresample, ifn1, ibeg, iwsize, irandw, ioverlap, ifn2, itimemode
ar1, ar2 [,ac1, ac2] sndwarpst xamp, xtimewarp, xresample, ifn1, ibeg, iwsize, irandw, ioverlap, ifn2, itimemode

Signal Generators: Scanned Synthesis

  scanu init, irate, ifnvel, ifnmass, ifnstif, ifncentr, ifndamp, kmass, kstif, kcentr, kdamp, ileft, iright, kpos, kstrngth, ain, idisp, id
ar scans kamp, kfreq, ifn, id[, iorder]

Signal Generators: Waveguide Physical Modeling

ar pluck kamp, kcps, icps, ifn, imeth[, iparm1, iparm2]
ar wgpluck icps, iamp, kpick, iplk, idamp, ifilt, axcite
ar repluck iplk, xam, icps, kpick, krefl, axcite
ar wgpluck2 iplk, xam, icps, kpick, krefl
ar wgbow kamp, kfreq, kpres, krat, kvibf, kvamp, ifn[, iminfreq]
ar wgflute kamp, kfreq, kjet, iatt, idetk, kngain, kvibf, kvamp, ifn[, iminfreq[, kjetrf[, kendrf]]]
ar wgbrass kamp, kfreq, iatt, kvibf, kvamp, ifn[, iminfreq]
ar wgclar kamp, kfreq, kstiff, iatt, idetk, kngain, kvibf, kvamp, ifn[, iminfreq]
ar wgbowedbar kamp, kfreq, kpos, kbowpres, kgain[, kconst, ktvel, kbowpos, ilow]

Signal Generators: Models and Emulations

ar moog kamp, kfreq, kfiltq, kfiltrate, kvibf, kvamp, iafn, iwfn, ivfn
ar shaker kamp, kfreq, kbeans, kdamp, ktimes[, idecay]
ar marimba kamp, kfreq, ihrd, ipos, imp, kvibf, kvamp, ivibfn, idec[, idoubles[, itriples]]
ar vibes kamp, kfreq, ihrd, ipos, imp, kvibf, kvamp, ivibfn, idec
ar mandol kamp, kfreq, kpluck, kdetune, kgain, ksize, ifn[, iminfreq]
ar gogobel kamp, kfreq, ihrd, ipos, imp, kvibf, kvamp, ivibfn
ar voice kamp, kfreq, kphoneme, kform, kvibf, kvamp, ifn, ivfn
ax, ay, az lorenz ks, kr, kb, kh, ix, iy, iz, iskip
ax, ay, az planet kmass1, kmass2, ksep, ix, iy, iz, ivx, ivy, ivz, idelta, ifriction
ar cabasa iamp, idettack[, knum, kdamp, kmaxshake]
ar crunch iamp, idettack[, knum, kdamp, kmaxshake]
ar sekere iamp, idettack[, knum, kdamp, kmaxshake]
ar sandpaper iamp, idettack[, knum, kdamp, kmaxshake]
ar stix iamp, idettack[, knum, kdamp, kmaxshake]
ar guiro iamp, idettack[, knum, kdamp, kmaxshake, kfreq, kfreq1]
ar tambourine iamp, idettack[, knum, kdamp, kmaxshake, kfreq, kfreq1, kfreq2]
ar bamboo iamp, idettack[, knum, kdamp, kmaxshake, kfreq, kfreq1, kfreq2]
ar dripwater iamp, idettack[, knum, kdamp, kmaxshake, kfreq, kfreq1, kfreq2]
ar sleighbells iamp, idettack[, knum, kdamp, kmaxshake, kfreq, kfreq1, kfreq2]

Signal Generators: STFT Resynthesis (Vocoding)

ar pvoc ktimpnt, kfmod, ifilcod, ifn, ibins[, ibinoffset, ibinincr, iextractmode, ifreqlim, igatefn]
ar vpvoc ktimpnt, kfmod, ifile[, ispecwp]
  tableseg ifn1, idur1, ifn2[, idur2, ifn3[...]]
  tablexseg ifn1, idur1, ifn2[, idur2, ifn3[...]]
kfr, kap pvread ktimpnt, ifile, ibin
  pvbufread ktimpnt, ifile
ar pvinterp ktimpnt, kfmod, ifile, kfreqscale1, kfreqscale2, kampscale1, kampscale2, kfreqinterp, kampinterp
ar pvcross ktimpnt, kfmod, ifile, kamp1, kamp2[, ispecwp]
 
ar pvadd ktimpnt, kfmod, ifilcod, ifn, ibins[, ibinoffset, ibinincr, iextractmode, ifreqlim, igatefn]
fr pvsanal asig, ifftsize, ioverlap, iwinsize, iwintype[,iformat, init]
fr pvsread ktimpnt, ifilcod[,ichan]
ar pvsynth fsig
ar pvsadsyn fsig, inoscs, kfmod[,ibinoffset, ibinincr, init]
kr pvsftw fsig, ifnamp[, ifnfreq]
  pvsftr fsig, ifnamp[, ifnfreq]
fr pvsmaska fsig, ifn, kdepth
fr pvscross fsig1, fsig2, kamp1, kamp2
overlap, inumbins,
iwinsize, iformat
pvsinfo fsig

Signal Generators: LPC Resynthesis

krmsr, krmso, kerr, kcps lpread ktimpnt, ifilcod[, inpoles[, ifrmrate]]
ar lpreson asig
ar lpfreson asig, kfrqratio
  lpslot islot
  lpinterp islot1, islot2, kmix

Signal Generators: Random (Noise) Generators

k/ar rand k/xamp[, iseed[, isize[, koffset]]]
k/ar randh k/xamp, k/xcps[, iseed[, isize[, koffset]]]
k/ar randi k/xamp, k/xcps[, iseed[, isize[, koffset]]]
i/k/ar rnd31 i/k/kscl, i/k/krpow[, iseed]
i/k/ar linrand krange
i/k/ar trirand krange
i/k/ar exprand krange
i/k/ar bexprnd krange
i/k/ar cauchy kalpha
i/k/ar pcauchy kalpha
i/k/ar poisson klambda
i/k/ar gauss krange
i/k/ar weibull ksigma, ktau
i/k/ar betarand krange, kalpha, kbeta
i/k/ar unirand krange
ar pinkish xin[, imethod, inumbands, iseed, iskip]
ar noise xamp, kbeta
i/k/ar duserrnd i/xfn
i/k/ar cuserrnd i/xfn

Use Non-Frames Version Previous Page Next Page
The Csound Quick Reference