HART  0.2.0
High level Audio Regression and Testing
Loading...
Searching...
No Matches
hart_max_cross_correlation.hpp File Reference
#include <algorithm>
#include <cmath>
#include "hart_accurate_sum.hpp"
#include "hart_audio_buffer.hpp"
#include "hart_exceptions.hpp"
#include "metrics/hart_metric_query.hpp"
#include "metrics/hart_metrics_common.hpp"
#include "hart_slice.hpp"
#include "hart_units.hpp"
#include "hart_utils.hpp"
Include dependency graph for hart_max_cross_correlation.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  hart
 

Functions

template<typename SampleType >
MetricQuery< double > maxCrossCorrelation (const AudioBuffer< SampleType > &bufferA, const AudioBuffer< SampleType > &bufferB, double maxLagSeconds, CorrelationSearchMode searchMode=bestAbsoluteCorrelation)
 Calculates maximum normalized cross-correlation between two audio buffers.