Audacity 3.2.0
Namespaces | Functions
MirDsp.cpp File Reference
#include "MirDsp.h"
#include "IteratorX.h"
#include "MathApprox.h"
#include "MemoryX.h"
#include "MirTypes.h"
#include "MirUtils.h"
#include "PowerSpectrumGetter.h"
#include "StftFrameProvider.h"
#include <cassert>
#include <cmath>
#include <numeric>
#include <pffft.h>
Include dependency graph for MirDsp.cpp:

Go to the source code of this file.

Namespaces

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

Functions

float MIR::anonymous_namespace{MirDsp.cpp}::GetNoveltyMeasure (const PffftFloatVector &prevPowSpec, const PffftFloatVector &powSpec)
 
std::vector< float > MIR::anonymous_namespace{MirDsp.cpp}::GetMovingAverage (const std::vector< float > &x, double hopRate)
 
std::vector< float > MIR::GetNormalizedCircularAutocorr (const std::vector< float > &x)
 Get the normalized, circular auto-correlation for a signal x whose length already is a power of two. Since the output is symmetric, only the left-hand side is returned, i.e., of size N/2 + 1, where N is the power of two the input was upsampled to. More...
 
std::vector< float > MIR::GetOnsetDetectionFunction (const MirAudioReader &audio, const std::function< void(double)> &progressCallback, QuantizationFitDebugOutput *debugOutput)