Csound Csound-dev Csound-tekno Search About

[Csnd] "Limited" Opcodes of Extended Csound?

Date1999-11-24 21:13
FromJeremy Johnson
Subject[Csnd] "Limited" Opcodes of Extended Csound?
Do you guys feel the much smaller set of opcodes available in Extended
Csound is a major limitation when compared to current Csound
distributions?

Here's the Extended Csound quick reference.  Opcodes with an astrisk (*)
are XTCsound specific.

__EXTENDED CSOUND QUICK REFERENCE__

VALUE CONVERTERS
int(x) (init- or control-rate args only)
frac(x)  
dbamp(x)  
i(x) (control-rate arg only)
abs(x) (no rate restriction)
exp(x)  
log(x)  
sqrt(x)  
sin(x)  
cos(x)  
ampdb(x)  
rnd(x) (int- or control-rate only)
birnd(x) " "
ftlen(x) (init-rate args only)
ftlptim(x)* "

PITCH CONVERTERS
octpch(pch) (init- or control-rate args only)
pchoct(oct)  
cpspch(pch)  
octcps(cps)  
cpsoct(oct) (no rate restriction)

GENERAL CONTROL
igoto label
tigoto label
kgoto label
goto label
if ia R ib igoto label
if ka R kb kgoto label
if ia R ib goto label
timout istrt, idur, label
reinit label
rigoto label
rireturn
turnon insno1, insno2, ...
ihold
turnoff

STRING SET, PRESET and PROGRAM SET VARIABLES
strset ndx, string
pset con1, con2, ...
vset con1, con2, ...
gvset con1, con2, ...
vdim con1
pgminit pgmno, ival1, ival2, ....
dpgminit dpgmno, ival1, ival2, ....
vprogs pgmno1, pgmno2, ...
dvprogs dpgmno1, dpgmno2, ...
dpkeys* dpgmno, ikey1, ikey2, ....
dpexclus* dpgmno, ikey1, ikey2, ....
id ftsplit* isets, jsize, i1j1,i1j2, ...,i2j1,i2j2,...
i1,i2,...i8 mtsplit* id
autopgms*

MIDI CONTROLLERS and CONVERTERS
massign ichnl, insno
ctrlinit ichnl, ictlno1, ival1[, ctrlno2, ival2[, ictlno3, ... ival32]]
pctrlinit pgmno, ictlno1, ival1[, ictlno2, ival2[, ictlno3, ... ival32]]

dpctrlinit dpgmno, ictlno1, ival1[, ictlno2, ival2[, ictlno3, ...
ival32]]
uctrlmap* ictlno[, ilow, ihigh]
dsctrlmap* iparm[, ilow, ihigh]
ival midictrl ictlno[, ilow, ihigh]
kval midictrl ictlno[, ilow, ihigh]
ival chanctrl ichnl, ictlno[, ilow, ihigh]
kval chanctrl ichnl, ictlno[, ilow, ihigh]
ival dsctrl* iparm
ival notnum
ival veloc [ilow, ihigh]
icps cpsmidi
icps cpsmidib [imaxb]
kcps cpsmidib [imaxb]
ioct octmidi
ioct octmidib [imaxb]
koct octmidib [imaxb]
ipch pchmidi
ipch pchmidib [imaxb]
kpch pchmidib [imaxb]
iamp ampmidi iscal[, ifn]
kaft polyaft [ilow, ihigh]
kaft aftouch [ilow, ihigh]
ibnd pchbend [ilow, ihigh]
kbnd pchbend [ilow, ihigh]
veloffs*

SIGNAL GENERATORS
kr line ia, idur1, ib
ar line ia, idur1, ib
kr expon ia, idur1, ib
ar expon ia, idur1, ib
kr linseg ia, idur1, ib[, idur2, ic[...]]
ar linseg ia, idur1, ib[, idur2, ic[...]]
kr linsegr ia, idur1, ib[, idur2, ic[...]], irel, iz
ar linsegr ia, idur1, ib[, idur2, icI...]], irel, iz
kr expseg ia, idur1, ib[, idur2, ic[...]]
ar expseg ia, idur1, ib[, idur2, ic[...]]
kr expsegr ia, idur1, ib[, idur2, ic[...]], irel, iz
ar expsegr ia, idur1, ib[, idur2, icI...]], irel, iz
kr dexponr* ival, idel, idecrat, irel
ar dexponr* ival, idel, idecrat, irel
kr phasor kcps[, iphs]
ar phasor xcps[, iphs]
ir table indx, ifn[, ixmode][, ixoff][, iwrap]
ir tablei indx, ifn[, ixmode][, ixoff][, iwrap]
kr table kndx, ifn[, ixmode][, ixoff][, iwrap]
kr tablei kndx, ifn[, ixmode][, ixoff][, iwrap]
ar table andx, ifn[, ixmode][, ixoff][, iwrap]
ar tablei andx, ifn[, ixmode][, ixoff][, iwrap]
ir dtable* indx, ifn
kr oscil1 idel, kamp, idur, ifn
kr oscil1i idel, kamp, idur, ifn
ar oscil1 idel, xamp, idur, ifn
ar oscil1i idel, xamp, idur, ifn
ar osciln kamp, ifrq, ifn, itimes
kr oscil kamp, kcps, ifn[, iphs]
kr oscili kamp, kcps, ifn[, iphs]
ar oscil xamp, xcps, ifn[, iphs]
ar oscili xamp, xcps, ifn[, iphs]
ar foscil xamp, kcps, kcar, kmod, kndx, ifn[, iphs]
ar foscili xamp, kcps, kcar, kmod, kndx, ifn[, iphs]
ar coscil* kamp, kcps, kcents, ifn[, iphs]
ar1 [,ar2] loscil xamp, kcps, ifn[, ibas][, imod1,ibeg1,iend1]
[, imod2,ibeg2,iend2]
ar1 [,ar2] doscil xamp, ifn
ar loscil1* kamp, kcps, ifno[, ibas]
ar1,ar2 loscil2* kamp, kcps, ifno[, ibas]
ar doscilp* kamp, kcps, ifno[, ibas]
ar poscil kamp, kcps, kfrac[, iphs]
ar buzz xamp, xcps, knh, ifn[, iphs]
ar gbuzz xamp, xcps, knh, kih, kr, ifn[, iphs]
ar adsyn kamod, kfmod, ksmod, ifilcod
ar pvoc ktimpnt, kfmod, ifilcod[, ispecwp]
ar fof xamp, xfund, xform, koct, kband, kris, kdur, kdec,
iolaps, ifna, ifnb, itotdur[, iphs][, ifmode]
ar harmon asig, kestfrq, kmaxvar, kgenfreq1, kgenfreq2, imode,
iminfrq, iprd
ar harmon2* asig, koct, kfrq1, kfrq2, icpsmode, ilowest
ar grain xamp, xcps, xdens, kampdev, kcpsdev, kgdur,
igfn, iwfn, imaxdur
ar pluck kamp, kcps, icps, ifn, imeth [, iparm1, iparm2]
ar pluck2* ifrq, iamp, ipickup, ipluck, iaw0, iawPi, aamp
kr rand xamp[, iseed]
kr randh kamp, kcps[, iseed]
kr randi kamp, kcps[, iseed]
ar rand xamp[, iseed]
ar randh xamp, xcps[, iseed]
ar randi xamp, xcps[, iseed]
xr linrand krange[, ipol]
xr exprand krange[, ipol]
xr cauchy kalpha[, ipol]
xr poisson klambda
xr gauss krange
xr weibull ksigma, ktau
xr beta krange, kalpha, kbeta

SIGNAL MODIFIERS
kr linen kamp, irise, idur, idec
ar linen xamp, irise, idur, idec
kr linenr kamp, irise, idec[, irind]
ar linenr xamp, irise, idec[, irind]
kr envlpx kamp, irise, idur, idec, ifn, iatss, iatdec[, ixmod]
ar envlpx xamp, irise, idur, idec, ifn, iatss, iatdec[, ixmod]
kr envlpxr kamp, irise, idec, ifn, iatss, iatdec[, ixmod]
ar envlpxr xamp, irise, idec, ifn, iatss, iatdec[, ixmod]
kr adsr* ksig,ibeg,iris,ipkval,idec,issval,irel,iendval[, iveloc][,
irind]
ar adsr* xsig,ibeg,iris,ipkval,idec,issval,irel,iendval[, iveloc][,
irind]
kr port ksig, ihtim[, isig]
ar tone asig, khp[, istor]
ar atone asig, khp[, istor]
ar reson asig, kcf, kbw[, iscl, istor]
ar areson asig, kcf, kbw[, iscl, istor]
ar filter*asig, kfreq, kdamp, imode[, istor]
ar butterhp asig, kcps[, istor]
ar butterlp asig, kcps[, istor]
ar butterbp asig, kcf, kbw[, istor]
ar butterbr asig, kcf, kbw[, istor]
krmsr,krmso,kerr,kcps lpread ktimpnt, ifilcod[, inpoles][, ifrmrate]
ar lpreson asig
ar lpfreson asig, kfrqratio
kr rms asig[, ihp, istor]
nr gain asig, krms[, ihp, istor]
ar balance asig, acomp[, ihp, istor]
kr downsamp asig[, iwlen]
ar upsamp ksig
ar interp ksig[, istor]
kr integ ksig[, istor]
ar integ asig[, istor]
kr diff ksig[, istor]
ar diff asig[, istor]
kr samphold xsig, kgate[, ival, ivstor]
ar samphold asig, xgate[, ival, ivstor]
ar octup* asig, isegtim, irmptim
ar octdown* asig, isegtim, irmptim
ar delayridlt[, istor]
delayw asig
ar delay asig, idlt[, istor]
ar delay1 asig[, istor]
ar vdelay asig, adlt, imaxdlt[, istor]
ar deltap kdlt
ar deltapi xdlt
ar comb asig, krvt, ilpt[, istor]
ar alpassasig, krvt, ilpt[, istor]
ar reverb asig, krvt[, istor]
ar reverb2 asig, krvt, khfabs[, istor]
ar chorus1* asig, krat1,krat2,krat3, idel1,idel2,idel3,
ipred, idpth, ifdbk, ifsin
a1,a2 chorus2* asig, krat1,krat2,krat3,krat4, idel1,idel2,idel3,idel4,
ipred, idpth, ifdbk, ifsin
a1 flange1* asig, krate, idel, ifdbk, ifn
a1,a2 flange2* asig, krate, idel, ideff, ifdbk, ifn

OPERATIONS USING SPECTRAL DATA TYPES
wsig spectrum xsig, iprd, iocts, ifrqs, iq[, ihann, idbout, idisprd,
idsines]
wsig specaddm wsig1, wsig2[, imul2]
wsig specdiff wsigin
wsig specscal wsigin, ifscale, ifthresh
wsig spechist wsigin
wsig specfilt wsigin, ifhtim
koct, kamp specptrk wsig, kvar, ilo, ihi, istrt, idbthresh, inptls,
irolloff[, iodd,
iconfs, interp, ifprd, iwtflg]
ksum specsum wsig[, interp]
specdisp wsig, iprd[, iwtflg]

SENSING & CONTROL
ktemp tempest kin, iprd, imindur, imemdur, ihp, ithresh, ihtim, ixfdbak,

istartempo, ifn[, idisprd, itweek]
kx, ky xyin iprd, ixmin, ixmax, iymin, iymax[, ixinit, iyinit]
tempo ktempo, istartempo
aramp iftime* idgrlvl, label[, idec, iris][, iprop]
acum timegate* aramp, anew, acum

SIGNAL INPUT & OUTPUT
a1 in
a1, a2 ins
a1, a2, a3, a4 inq
a1[, a2][, a3, a4] soundin ifilcod[, iskptim][, iformat]
soundout asig1, ifilcod[, iformat]
soundouts asig1, asig2, ifilcod[, iformat]
out asig
outs1 asig
outs2 asig
outs asig1, asig2
outq1 asig
outq2 asig
outq3 asig
outq4 asig
outq asig1, asig2, asig3, asig4
ar addin* asig, klevel
a1, a2, a3, a4 maddin* asig, ilvl1, ilvl2, ilvl3, ilvl4
outs12* asig
panouts* asig, kprop
a1, a2, a3, a4 pan asig, kx, ky, ifn[, imode][, ioffset]
k1 kread ifilname, iformat, iprd[, interp]
k1, k2 kread2 ifilname, iformat, iprd[, interp]
k1, k2, k3 kread3 ifilname, iformat, iprd[, interp]
k1, k2, k3, k4 kread4 ifilname, iformat, iprd[, interp]
kdump ksig, ifilname, iformat, iprd
kdump2 ksig1, ksig2, ifilname, iformat, iprd
kdump3 ksig1, ksig2, ksig3, ifilname, iformat, iprd
kdump4 ksig1, ksig2, ksig3, ksig4, ifilname, iformat, iprd

SIGNAL DISPLAY
print iarg[, iarg,...]
display xsig, iprd[, inprds][, iwtflg]
dispfft xsig, iprd, iwsiz[, iwtyp][, idbout][, iwtflg]

FTABLES
iafno ftgen ifno, itime, isize, igen, iarga[, iargb, ...iargz]
iafno ftload* ifilnam[, iskiptime, iformat, ichnl]
iafno ftstep* ix1, ia, ix2, ib[, ix3, ic, ...], ixn
ftscale* ifno, iscale

MACROS
macro name
endm

GEN ROUTINES
f # time size 1 filcod skiptime format channel
f # time size 2 v1 v2 v3 . . .
f # time size 3 xval1 xval2 c0 c1 c2 . . . cn
f # time size 4 source # sourcemode
f # time size 5 a n1 b n2 c . . .
f # time size 7 a n1 b n2 c . . .
f # time size 6 a n1 b n2 c n3 d . . .
f # time size 8 a n1 b n2 c n3 d . . .
f # time size 9 pna stra phsa pnb strb phsb . . .
f # time size 10 str1 str2 str3 str4 . . . .
f # time size 19 pna stra phsa dcoa pnb strb phsb dcob . . .
f # time size 11 nh lh r
f # time size -12 xint
f # time size 13 xint xamp h0 h1 h2 . . . hn
f # time size 14 xint xamp h0 h1 h2 . . . hn
f # time size 15 xint xamp h0 phs0 h1 phs1 h2 phs2 . . .
f # time size 17 x1 a x2 b x3 c . . .
f # time size 20 window max opt
f # time size 21 distr range opt1 opt2


Thanks!!!!

--
   .: jeremy.johnson@oip.gatech.edu :.
.: interactive.media.technology.center :.
  .: georgia.institute.of.technology :.


--