daisysp::PitchShifter¶
#include <pitchshifter.h>
Public Functions¶
Name | |
---|---|
PitchShifter() | |
~PitchShifter() | |
void | Init(float sr) |
float | Process(float & in) |
void | SetTransposition(const float & transpose) |
void | SetDelSize(uint32_t size) |
void | SetFun(float f) |
Detailed Description¶
Todo:
- move hash_xs32 and myrand to [dsp.h] and give appropriate names
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;
Public Functions Documentation¶
function PitchShifter¶
function ~PitchShifter¶
function Init¶
Initialize pitch shifter
function Process¶
process pitch shifter
function SetTransposition¶
sets transposition in semitones
function SetDelSize¶
sets delay size changing the timbre of the pitchshifting
function SetFun¶
sets an amount of internal random modulation, kind of sounds like tape-flutter
---¶
Updated on 2024-01-03 at 19:38:46 +0000