ar wguide1 asig, xfreq, xcutoff, kfeedback ar wguide2 asig, xfreq1, xfreq2, kcutoff1, kcutoff2, kfeedback1, kfeedback2
Simple waveguide blocks
asig – the input of excitation noise
xfreq – the frequency (i.e. the inverse of delay time) Changed to x-rate in Csound version 3.59.
kcutoff – the filter cutoff frequency in Hz
xcutoff – the filter cutoff frequency in Hz. Changed to x-rate for wguide1 in Csound version 3.59.
kfeedback – the feedback factor
wguide1 is the most elemental waveguide model, consisting of one delayline and one first-order lowpass filter.
wguide2 is a model of beaten plate consisting of two parallel delaylines and two first-order lowpass filters. The two feedback lines are mixed and sent to the delay again each cycle.
Implementing waveguide algoritms as opcodes, instead of as orc instr, allows the user to set kr different than sr, allowing better performance particulary when using real-time.
October, 1998 (New in Csound version 3.49)