This is an alternative implementation of PitchShiftPA, separating the write and read/synthesis stages, allowing for a more flexible use e.g. with real-time triggering. Use together with PitchShiftPAWr.
See PitchShiftPA for more information about the algorithm, the implementation, and use cases.
phase |
Phase signal from PitchShiftPAWr (audio rate!) |
bufnum |
Buffer used by PitchShiftPAWr |
trackingFreq |
The tracked frequency of the input signal (e.g. using Pitch UGen) |
synthFreq |
The desired frequency for the re-synthesis. It may be derived from the trackingFreq, but doesn't have to be. |
formantRatio |
The ratio of the formant shift (1 = original, 0.5 = octave down, 2 = octave up). |
grainsPeriod |
Number of grains per period of the original signal, also known as 'wave packet' quality, or Q (2 grains per period = 1Q). |
timeDispersion |
Amount of randomness in the frequency for triggering individual grains. This helps to minimize the amount of combing effect when multiple grains overlap (if |
re-syntehsized signal