Audacity 3.2.0
Namespaces | Functions | Variables
MirUtils.cpp File Reference
#include "MirUtils.h"
#include <cmath>
#include <numeric>
Include dependency graph for MirUtils.cpp:

Go to the source code of this file.

Namespaces

namespace  MIR
 
namespace  MIR::anonymous_namespace{MirUtils.cpp}
 

Functions

constexpr bool MIR::anonymous_namespace{MirUtils.cpp}::IsPrimeDecompositionTwoThreeOnly (int n)
 
std::vector< int > MIR::anonymous_namespace{MirUtils.cpp}::GetPowersOf2And3 (int lower, int upper)
 
std::vector< int > MIR::GetPossibleBarDivisors (int lower, int upper)
 Function to generate numbers whose prime factorization contains only twos or threes. More...
 
std::vector< int > MIR::GetPeakIndices (const std::vector< float > &x)
 
std::vector< float > MIR::GetNormalizedHann (int size)
 

Variables

constexpr auto MIR::anonymous_namespace{MirUtils.cpp}::bpmStdDev = 29.7953
 
constexpr auto MIR::anonymous_namespace{MirUtils.cpp}::pi = 3.141592653589793