|René Nyffenegger's collection of things on the web|
René Nyffenegger on Oracle - Most wanted - Feedback
resonr (Csound opcode)
A bandpass filter with variable frequency response.
ar resonz asig, kcf, kbw[, iscl, iskip]
kcf: center (cutoff) frequency
kbw: bandwith (frequency difference between the upper and the lower half points)
iskip: default 0. 0 will clear storage space.
This demonstration is similar to the one of the butterbp filter which produces almost the same output.
The following score on orchestra file can be used to show how reson filters frequncies. a440 is a signal that oscilates with 440 Hz. kfrq220_660 is the center frequency for reson and moves from 220 Hz up to 660 Hz. The filtered signal (afiltered) is sent to one channel while a440 is sent to the other channel. The filtered signal reaches the same amplitude as a440 after a second and is otherwise attenuated.
f1 0 2048 10 1 i1 0 2
Other Csound opcodes.