DaisySP
|
#include <pitchshifter.h>
Public Member Functions | |
void | Init (float sr) |
float | Process (float &in) |
void | SetTransposition (const float &transpose) |
void | SetDelSize (uint32_t size) |
void | SetFun (float f) |
time-domain pitchshifter
Author: shensley
Based on "Pitch Shifting" from ucsd.edu
t = 1 - ((s *f) / R)
where: s is the size of the delay f is the frequency of the lfo r is the sample_rate
solving for t = 12.0 f = (12 - 1) * 48000 / SHIFT_BUFFER_SIZE;
|
inline |
Initialize pitch shifter
|
inline |
process pitch shifter
|
inline |
sets delay size changing the timbre of the pitchshifting
|
inline |
sets an amount of internal random modulation, kind of sounds like tape-flutter
|
inline |
sets transposition in semitones