![]() |
Audacity 3.2.0
|
Functions | |
| float | lagrange6 (const float(&smp)[6], float t) |
| void | generateRandomPhaseVector (float *dst, size_t size, std::mt19937 &gen) |
| float | _unwrapPhase (float arg) |
| void | _unwrapPhaseVec (float *v, int n) |
| void | _fft_shift (float *v, int n) |
| rotate even-sized array by half its size to align fft phase at the center More... | |
| void | _lr_to_ms (float *ch1, float *ch2, int n) |
| void | _ms_to_lr (float *ch1, float *ch2, int n) |
Variables | |
| constexpr double | twoPi = 6.28318530717958647692f |
| void staffpad::anonymous_namespace{TimeAndPitch.cpp}::_fft_shift | ( | float * | v, |
| int | n | ||
| ) |
rotate even-sized array by half its size to align fft phase at the center
Definition at line 205 of file TimeAndPitch.cpp.
References staffpad::audio::simd::perform_parallel_simd_aligned().
Referenced by staffpad::TimeAndPitch::_process_hop().
| void staffpad::anonymous_namespace{TimeAndPitch.cpp}::_lr_to_ms | ( | float * | ch1, |
| float * | ch2, | ||
| int | n | ||
| ) |
Definition at line 216 of file TimeAndPitch.cpp.
References staffpad::audio::simd::perform_parallel_simd_aligned().
Referenced by staffpad::TimeAndPitch::_process_hop().
| void staffpad::anonymous_namespace{TimeAndPitch.cpp}::_ms_to_lr | ( | float * | ch1, |
| float * | ch2, | ||
| int | n | ||
| ) |
Definition at line 225 of file TimeAndPitch.cpp.
References staffpad::audio::simd::perform_parallel_simd_aligned().
Referenced by staffpad::TimeAndPitch::_process_hop().
|
inline |
Definition at line 193 of file TimeAndPitch.cpp.
References staffpad::audio::simd::rint().
Referenced by staffpad::TimeAndPitch::_time_stretch().
| void staffpad::anonymous_namespace{TimeAndPitch.cpp}::_unwrapPhaseVec | ( | float * | v, |
| int | n | ||
| ) |
Definition at line 199 of file TimeAndPitch.cpp.
References staffpad::audio::simd::perform_parallel_simd_aligned(), and staffpad::audio::simd::rint().
Referenced by staffpad::TimeAndPitch::_process_hop().
| void staffpad::anonymous_namespace{TimeAndPitch.cpp}::generateRandomPhaseVector | ( | float * | dst, |
| size_t | size, | ||
| std::mt19937 & | gen | ||
| ) |
Definition at line 48 of file TimeAndPitch.cpp.
References size.
Referenced by staffpad::TimeAndPitch::setup().
|
inline |
6-point lagrange interpolator SNR ~ -35.2db interpolates between samples 2 and 3 using t.
smp pointer to a memory region containing 6 samples t fractional sample to interpolate t >= 0 && t < 1 return value the interpolated sample
Definition at line 30 of file TimeAndPitch.cpp.
Referenced by staffpad::TimeAndPitch::feedAudio().
|
constexpr |
Definition at line 20 of file TimeAndPitch.cpp.
Referenced by staffpad::TimeAndPitch::setup().