MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
Relation.hpp File Reference
+ Include dependency graph for Relation.hpp:

Go to the source code of this file.

Classes

struct  MayaFlux::Kinesis::LagRelation
 A candidate offset between two streams and how strongly the windows support it. More...
 

Namespaces

namespace  MayaFlux
 Main namespace for the Maya Flux audio engine.
 
namespace  MayaFlux::Kinesis
 

Functions

double MayaFlux::Kinesis::approach_rate (std::span< const double > a, std::span< const double > b, double dt) noexcept
 Rate at which two streams approach or separate.
 
double MayaFlux::Kinesis::coherence (std::span< const std::span< const double > > streams) noexcept
 How tightly a set of streams move together.
 
double MayaFlux::Kinesis::correlation (std::span< const double > a, std::span< const double > b) noexcept
 Pearson correlation between two equal-length windows.
 
double MayaFlux::Kinesis::relation_at_lag (std::span< const double > a, std::span< const double > b, long lag) noexcept
 Correlation between two spans at a single fixed lag.
 
LagRelation MayaFlux::Kinesis::relation_lag (std::span< const double > a, std::span< const double > b, long max_lag) noexcept
 Search a bounded lag range for the offset at which two streams correlate most strongly.