Midterm Review

(You can bring this sheet to the the exam.)


Orchestra Opcodes Covered To Date (10/13/06)

Delimiters:

	instr	i, j, ...
	endin

Assignment Statements:

ir	=	iarg
kr	=	karg
ar	=	xarg
kr	init	iarg
ar	init	iarg

Envelope 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, icI...]]
kr	expseg	ia, idur1, ib[, idur2, ic[...]]
ar	expseg	ia, idur1, ib[, idur2, ic[...]]
kr	linen	kamp, irise, idur, idec
ar	linen	xamp, irise, idur, idec
kr	envlpx	kamp, irise, idur, idec, ifn, iatss, iatdec[,ixmod]
ar	envlpx	xamp, irise, idur, idec, ifn, iatss, iatdec[,ixmod]

Signal Generators:

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	buzz	xamp, xcps, knh, ifn[, iphs]
ar	gbuzz	xamp, xcps, knh, klh, kr, ifn[, iphs]
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]
kr	phasor	kcps[, iphs] 
ar	phasor	xcps[, iphs]
 
Table Lookup Units:

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]
kr	oscil1		idel, kamp, idur, ifn
kr	oscil1i		idel, kamp, idur, ifn
 
Filters:

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	butterhp	asig, kfreq [,iskip]
ar	butterlp	asig, kfreq [,iskip]
ar	butterbp	asig, kfreq, kband [,iskip]
ar	butterbr	asig, kfreq, kband [,iskip]
ar	pareq	asig, kc, kv, kq, [,imode]

Level control units:

kr	rms		asig[, ihp, istor]
nr	gain		asig, krms[, ihp, istor]
ar	balance		asig, acomp[, ihp, istor]

Soundfile Input and Output:

a1		soundin		ifilcod[, iskptim][, iformat]
a1, a2		soundin		ifilcod[, iskptim][, iformat]
ar1[,ar2]	loscil		xamp, kcps, ifn[, ibas][,imod1,ibeg1,iend1] \
				[, imod2,ibeg2,iend2]
	out	asig
	outs	asig1, asig2

Debugging Opcodes:

	print	iarg[, iarg,...]
	display	xsig, iprd[, iwtflg]

Program Control Opcodes:

	igoto	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

Csound Functions Utilized:

	int(x)		(init- or control-rate args only)
	frac(x)		(init- or control-rate args only)
	dbamp(x)	(init- or control-rate args only)
	i(x)		(control-rate args only)
	abs(x)		(no rate restriction)
	ampdb(x)	(no rate restriction)
	octpch(pch)	(init- or control-rate args only) 
	pchoct(oct)	(init- or control-rate args only) 
	cpspch(pch)	(init- or control-rate args only) 
	octcps(cps)	(init- or control-rate args only) 
	cpsoct(oct)	(no rate restriction)


Score Topics Covered


Opcodes: i, e, f, s, and e

Special Operators: . + < > np pp

The Carry Feature

Gen Subroutines: 1, 2, 3, 4,  5, 7, 9, 10, 11, 13, 14, 19

F0 statements


NOTE: The exam will focus on the Csound language, but you are also responsible for basic concepts covered in the lectures and in the assigned readings. See Reading Assignments.