SuperCollider CLASSES

PV_PhaseShift

Shift phase.

Description

Shift phase of all bins.

Class Methods

*new (buffer, shift, integrate: 0)

Arguments:

buffer

FFT buffer.

shift

Phase shift in radians.

integrate

If greater than zero, integrate the phase-shift across calls (for an accumulating phase shift).

Inherited class methods

Instance Methods

Inherited instance methods

Examples

s.boot;

(
SynthDef("help-phaseShift", { arg out=0;
        var in, chain;
        in = SinOsc.ar(500);
        chain = FFT(LocalBuf(2048), in);
        chain = PV_PhaseShift(chain, LFNoise2.kr(1, 180, 180));
        Out.ar(out, 0.1 * IFFT(chain).dup);
}).play(s);
)