Audacity 3.2.0
|
Functions | |
void | GetOffsetBuffer (float **offsetBuffer, float *const *buffer, size_t numChannels, size_t offset) |
int | GetFftSize (int sampleRate, bool formantPreservationOn) |
std::unique_ptr< staffpad::TimeAndPitch > | CreateTimeAndPitch (int sampleRate, size_t numChannels, const TimeAndPitchInterface::Parameters ¶ms, FormantShifter &shifter) |
std::unique_ptr< FormantShifterLoggerInterface > | GetFormantShifterLogger (int sampleRate) |
Variables | |
constexpr auto | maxBlockSize = 1024 |
std::unique_ptr< staffpad::TimeAndPitch > anonymous_namespace{StaffPadTimeAndPitch.cpp}::CreateTimeAndPitch | ( | int | sampleRate, |
size_t | numChannels, | ||
const TimeAndPitchInterface::Parameters & | params, | ||
FormantShifter & | shifter | ||
) |
Definition at line 44 of file StaffPadTimeAndPitch.cpp.
References GetFftSize(), TimeAndPitchExperimentalSettings::GetReduceImagingOverride(), maxBlockSize, params, FormantShifter::Process(), and anonymous_namespace{ClipSegmentTest.cpp}::sampleRate.
Referenced by StaffPadTimeAndPitch::InitializeStretcher().
int anonymous_namespace{StaffPadTimeAndPitch.cpp}::GetFftSize | ( | int | sampleRate, |
bool | formantPreservationOn | ||
) |
Definition at line 25 of file StaffPadTimeAndPitch.cpp.
References TimeAndPitchExperimentalSettings::GetFftSizeOverride(), fast_float::round(), and anonymous_namespace{ClipSegmentTest.cpp}::sampleRate.
Referenced by CreateTimeAndPitch(), StaffPadTimeAndPitch::OnFormantPreservationChange(), and StaffPadTimeAndPitch::StaffPadTimeAndPitch().
std::unique_ptr< FormantShifterLoggerInterface > anonymous_namespace{StaffPadTimeAndPitch.cpp}::GetFormantShifterLogger | ( | int | sampleRate | ) |
Definition at line 70 of file StaffPadTimeAndPitch.cpp.
References TimeAndPitchExperimentalSettings::GetLogSample(), and anonymous_namespace{ClipSegmentTest.cpp}::sampleRate.
void anonymous_namespace{StaffPadTimeAndPitch.cpp}::GetOffsetBuffer | ( | float ** | offsetBuffer, |
float *const * | buffer, | ||
size_t | numChannels, | ||
size_t | offset | ||
) |
Definition at line 17 of file StaffPadTimeAndPitch.cpp.
Referenced by StaffPadTimeAndPitch::GetSamples().
|
constexpr |
Definition at line 15 of file StaffPadTimeAndPitch.cpp.
Referenced by CreateTimeAndPitch(), StaffPadTimeAndPitch::GetSamples(), PCMImportFileHandle::Import(), ImportRaw(), StaffPadTimeAndPitch::InitializeStretcher(), SBSMSBase::Process(), StatefulEffectBase::SetBlockSize(), EffectInstanceWithBlockSize::SetBlockSize(), StatefulEffectBase::Instance::SetBlockSize(), StatefulPerTrackEffect::SetBlockSize(), VSTInstance::SetBlockSize(), VST3Instance::SetBlockSize(), and staffpad::TimeAndPitch::setup().