COURSE NOTES
Filters and Subtractive Synthesis

Subtractive Synthesis

Filtering in the Frequency Domain

Filtering in the Time Domain

Convolution

Digital Filter Properties

Digital Filter Equation

The Z Transform

Poles and Zeroes of a Filter

Filter Example

Program filter.cpp

Csound Noise Sources

Types of Filters

Filters In Csound

Csound example (subtractive synthesis using white noise)

; p4 = noise amp, p5 = peak bw, p6 = rate of bandwidth open
and close
instr 1
  a1 rand p4
  k1 oscil p5, p6, 1
  a2 tone a1, kl
     out a2
endin

f1 0 1024 8 0 256 0.5 256 1 256 0.5 256 0   ; in score

(GEN08 - generates a cubic spline point through endpoints; smooth curve, no discontinuities)

Csound example (subtractive synthesis using pink noise)

; p4 = note amp, p5 = note fundamental frequency
instr 1
  a1 buzz p4, p5, 6, 1
  a2 reson a1, p5, p5/2
  a3 reson a1, 3*p5, p5/2
  a4 reson a1, 5*p5, p5/2
  a5 balance a2+a3+a4, a1     ; equalize power with original signal
     out a5
endin

f1 0 8192 10 1		; in score

COURSE INFORMATION | HOMEWORK ASSIGNMENTS
COURSE PROJECT | CS240 HELP DESK