Audacity 3.2.0
|
Class that helps EffectPaulStretch. It does the FFTs and inner loop of the effect. More...
Public Member Functions | |
PaulStretch (float rap_, size_t in_bufsize_, float samplerate_) | |
virtual | ~PaulStretch () |
void | process (float *smps, size_t nsmps) |
size_t | get_nsamples () |
size_t | get_nsamples_for_fill () |
Public Attributes | |
const size_t | out_bufsize |
const Floats | out_buf |
const size_t | poolsize |
Private Member Functions | |
void | process_spectrum (float *WXUNUSED(freq)) |
Private Attributes | |
const float | samplerate |
const float | rap |
const size_t | in_bufsize |
const Floats | old_out_smp_buf |
const Floats | in_pool |
double | remained_samples |
const Floats | fft_smps |
const Floats | fft_c |
const Floats | fft_s |
const Floats | fft_freq |
const Floats | fft_tmp |
Class that helps EffectPaulStretch. It does the FFTs and inner loop of the effect.
Definition at line 37 of file PaulstretchBase.cpp.
PaulStretch::PaulStretch | ( | float | rap_, |
size_t | in_bufsize_, | ||
float | samplerate_ | ||
) |
Definition at line 373 of file PaulstretchBase.cpp.
|
virtual |
Definition at line 391 of file PaulstretchBase.cpp.
size_t PaulStretch::get_nsamples | ( | ) |
Definition at line 477 of file PaulstretchBase.cpp.
References out_bufsize, poolsize, rap, and remained_samples.
Referenced by PaulstretchBase::ProcessOne().
size_t PaulStretch::get_nsamples_for_fill | ( | ) |
Definition at line 498 of file PaulstretchBase.cpp.
References poolsize.
Referenced by PaulstretchBase::ProcessOne().
void PaulStretch::process | ( | float * | smps, |
size_t | nsmps | ||
) |
Definition at line 395 of file PaulstretchBase.cpp.
References eWinFuncHann, FFT(), fft_c, fft_freq, fft_s, fft_smps, fft_tmp, in_pool, M_PI, old_out_smp_buf, out_buf, out_bufsize, poolsize, process_spectrum(), rap, RealFFT(), staffpad::audio::simd::sqrt(), and WindowFunc().
Referenced by PaulstretchBase::ProcessOne().
|
inlineprivate |
Definition at line 53 of file PaulstretchBase.cpp.
Referenced by process().
|
private |
Definition at line 76 of file PaulstretchBase.cpp.
Referenced by process().
|
private |
Definition at line 76 of file PaulstretchBase.cpp.
Referenced by process().
|
private |
Definition at line 76 of file PaulstretchBase.cpp.
Referenced by process().
|
private |
Definition at line 76 of file PaulstretchBase.cpp.
Referenced by process().
|
private |
Definition at line 76 of file PaulstretchBase.cpp.
Referenced by process().
|
private |
Definition at line 57 of file PaulstretchBase.cpp.
|
private |
Definition at line 72 of file PaulstretchBase.cpp.
Referenced by process().
|
private |
Definition at line 64 of file PaulstretchBase.cpp.
Referenced by process().
const Floats PaulStretch::out_buf |
Definition at line 61 of file PaulstretchBase.cpp.
Referenced by process(), and PaulstretchBase::ProcessOne().
const size_t PaulStretch::out_bufsize |
Definition at line 60 of file PaulstretchBase.cpp.
Referenced by get_nsamples(), process(), and PaulstretchBase::ProcessOne().
const size_t PaulStretch::poolsize |
Definition at line 68 of file PaulstretchBase.cpp.
Referenced by get_nsamples(), get_nsamples_for_fill(), process(), and PaulstretchBase::ProcessOne().
|
private |
Definition at line 56 of file PaulstretchBase.cpp.
Referenced by get_nsamples(), and process().
|
private |
Definition at line 74 of file PaulstretchBase.cpp.
Referenced by get_nsamples().
|
private |
Definition at line 55 of file PaulstretchBase.cpp.