2 summary:: Time domain pitch shifter.
3 categories:: UGens>Filters>Pitch
8 A time domain granular pitch shifter. Grains have a triangular amplitude
9 envelope and an overlap of 4:1.
23 The size of the grain window in seconds. This value cannot be
29 The ratio of the pitch shift. Must be from 0 to 4.
32 argument::pitchDispersion
34 The maximum random deviation of the pitch from the
39 argument::timeDispersion
41 A random offset of from zero to
43 code::timeDispersion:: seconds is added to the
44 delay of each grain. Use of some dispersion can alleviate a hard
45 comb filter effect due to uniform grain placement. It can also be
47 code::timeDispersion:: can be
54 Output will be multiplied by this value.
59 This value will be added to the output.
68 z = Blip.ar(800, 6, 0.1);
69 PitchShift.ar(z, 0.02, Line.kr(0.1,4,20), 0, 0.0001)
73 // pitch shift input - USE HEADPHONES to prevent feedback.
76 AudioIn.ar([1,2]), // stereo audio input
78 MouseX.kr(0,2), // mouse x controls pitch shift ratio
79 0, // pitch dispersion
80 0.004 // time dispersion
85 // use PitchShift to granulate input - USE HEADPHONES to prevent feedback.
86 // upper left corner is normal playback. x = pitch dispersion, y = time dispersion
93 1, // nominal pitch rate = 1
94 MouseX.kr(0,1), // pitch dispersion
95 MouseY.kr(0, grainSize) // time dispersion