2 summary:: Buffer based all pass delay line with cubic interpolation.
3 related:: Classes/BufAllpassL, Classes/BufAllpassN, Classes/AllpassC
4 categories:: UGens>Delays>Buffer
9 All pass delay line with cubic interpolation which uses a buffer for its
10 internal memory. See also link::Classes/BufAllpassN:: which uses no
11 interpolation, and which link::Classes/BufAllpassL:: uses linear
12 interpolation. Cubic interpolation is more computationally expensive
13 than linear, but more accurate.
27 Delay time in seconds.
30 Time for the echoes to decay by 60 decibels. If this time is negative then the feedback coefficient will be negative, thus emphasizing only odd harmonics at an octave lower.
34 For reasons of efficiency, the effective buffer size is limited to the previous power of two. So, if 44100 samples are allocated, the maximum delay would be 32768 samples.
42 b = Buffer.alloc(s,44100,1);
44 // Since the allpass delay has no audible effect as a resonator on
45 // steady state sound ...
47 { BufAllpassC.ar(b.bufnum, WhiteNoise.ar(0.1), XLine.kr(0.0001, 0.01, 20), 0.2) }.play;
49 // ...these examples add the input to the effected sound and compare variants so that you can hear
50 // the effect of the phase comb:
54 z = WhiteNoise.ar(0.2);
55 z + BufAllpassN.ar(b.bufnum, z, XLine.kr(0.0001, 0.01, 20), 0.2)
60 z = WhiteNoise.ar(0.2);
61 z + BufAllpassL.ar(b.bufnum, z, XLine.kr(0.0001, 0.01, 20), 0.2)
66 z = WhiteNoise.ar(0.2);
67 z + BufAllpassC.ar(b.bufnum, z, XLine.kr(0.0001, 0.01, 20), 0.2)
70 // used as an echo - doesn't really sound different than Comb,
71 // but it outputs the input signal immediately (inverted) and the echoes
72 // are lower in amplitude.
73 { BufAllpassN.ar(b.bufnum, Decay.ar(Dust.ar(1,0.5), 0.2, WhiteNoise.ar), 0.2, 3) }.play;