packages feed

hsc3-0.2: Help/UGen/Buffer/bufAllpassC.help.lhs

bufAllpassC buf in delayTime decayTime

Buffer based all pass delay line with cubic interpolation

All pass delay line with cubic interpolation which uses a buffer
for its internal memory. See also BufAllpassN which uses no
interpolation, and BufAllpassL which uses linear
interpolation. Cubic interpolation is more computationally
expensive than linear, but more accurate.

See also AllpassC.

buf       - buffer number.
in        - the input signal.
delaytime - delay time in seconds.
decaytime - 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.

> withSC3 (\fd -> async fd (b_alloc 0 44100 1))

> do { d <- dust AR 1
>    ; n <- whiteNoise AR
>    ; let x = decay d 0.2 * n * 0.25
>      in audition (out 0 (bufAllpassC 0 x 0.25 6)) }