PitchShift:
Filter:
Classes | UGens > Filters > Pitch

PitchShift : UGen : AbstractFunction : Object

Time domain pitch shifter.

Description

A time domain granular pitch shifter. Grains have a triangular amplitude envelope and an overlap of 4:1, and use linear interpolation of the buffer.

Class Methods

PitchShift.ar(in: 0.0, windowSize: 0.2, pitchRatio: 1.0, pitchDispersion: 0.0, timeDispersion: 0.0, mul: 1.0, add: 0.0)

Arguments:

in

The input signal.

windowSize

The size of the grain window in seconds. This value cannot be modulated. The minimum value is 3 sample periods. If you supply a smaller value, it will be rounded up to the minimum.

pitchRatio

The ratio of the pitch shift. Must be from 0 to 4.

pitchDispersion

The maximum random deviation of the pitch from the

pitchRatio .

timeDispersion

A random offset of from zero to

timeDispersion seconds is added to the delay of each grain. Use of some dispersion can alleviate a hard comb filter effect due to uniform grain placement. It can also be an effect in itself. timeDispersion can be no larger than windowSize .

mul

Output will be multiplied by this value.

add

This value will be added to the output.

Inherited class methods

Instance Methods

Inherited instance methods

Examples