|René Nyffenegger's collection of things on the web|
René Nyffenegger on Oracle - Most wanted - Feedback
- Follow @renenyffenegger
reson (Csound opcode)
Reson is a second-order filter in which kcf controls the center frequency, or frequency position of the peak response, and kbw controls its bandwidth (the frequency difference between the upper and lower half-power points).
ar reson asig, kcf, kbw[, iscl, iskip]
kcf: center frequency
kbw: bandwith (frequency difference between the upper and the lower half points)
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.