MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
SpectralAnalyzer.hpp File Reference

Windowed spectral descriptors computed on the GPU, exactly, with no fp64 on the device. More...

Include dependency graph for SpectralAnalyzer.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MayaFlux::Yantra::ChannelSpectrum
 Spectral descriptors of one channel, one entry per window. More...
struct  MayaFlux::Yantra::SpectralAnalyzer< InputType, OutputType >::ContextKey
struct  MayaFlux::Yantra::SpectralAnalysis
 Analysis result of a SpectralAnalyzer. More...
class  MayaFlux::Yantra::SpectralAnalyzer< InputType, OutputType >
 Windowed spectral descriptors of every channel, run on the GPU. More...
struct  MayaFlux::Yantra::SpectralAnalyzerConfig
 Settings of a SpectralAnalyzer. More...
struct  MayaFlux::Yantra::SpectralAnalyzer< InputType, OutputType >::SpectralBuffer
 Where the descriptors of the latest record are on the device. More...

Namespaces

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

Typedefs

using MayaFlux::Yantra::ContainerSpectralAnalyzer = SpectralAnalyzer<std::shared_ptr<Kakshya::SignalSourceContainer>, Eigen::MatrixXd>
 Container spectral analyzer: SignalContainer -> MatrixXd.
using MayaFlux::Yantra::StandardSpectralAnalyzer = SpectralAnalyzer<std::vector<Kakshya::DataVariant>, Eigen::MatrixXd>
 Standard spectral analyzer: DataVariant -> MatrixXd.

Enumerations

enum class  MayaFlux::Yantra::SpectralMethod : uint8_t { MayaFlux::Yantra::TOTAL_POWER , MayaFlux::Yantra::CENTROID , MayaFlux::Yantra::FLUX }
 The per-window value a SpectralAnalyzer reports as its output data. More...

Detailed Description

Windowed spectral descriptors computed on the GPU, exactly, with no fp64 on the device.

Each window is tapered, transformed and reduced against rows of weights on the device, so only a handful of doubles per window come back. That makes the analysis cheap to run over many windows, such as every grain of a long corpus.

Definition in file SpectralAnalyzer.hpp.