Audacity 3.2.0
|
#include <cassert>
Go to the source code of this file.
Functions | |
constexpr auto | MapToPositiveHalfIndex (int index, int fullSize) |
Useful when dealing with symmetric spectra reduced only to their positive half. See tests below for more details. More... | |
|
constexpr |
Useful when dealing with symmetric spectra reduced only to their positive half. See tests below for more details.
fullSize | The size of the original vector. Must be strictly positive and even, or the function will return 0. |
Definition at line 12 of file MapToPositiveHalfIndex.h.
Referenced by MIR::anonymous_namespace{GetMeterUsingTatumQuantizationFit.cpp}::GetBeatSelfSimilarityScore(), and anonymous_namespace{FormantShifter.cpp}::ResampleFreqDomain().