DSPark 1.8.0
Header-only C++20 DSP for real-time and offline audio
Loading...
Searching...
No Matches
dspark::OfflineTransientAnalyzer< T > Class Template Referencefinal

Source-bound attack and pulse maps for offline Dynamics. More...

#include <OfflineTransientAnalyzer.h>

Classes

class  Analysis
 Read-only analysis with source provenance; no owned audio samples. Threading: energy() is an owner-thread reference view, not an atomic publication. Const readers may share a completed analysis while it remains alive and unmoved; no reader may overlap a move or other mutable access. More...
 
struct  Event
 A detected event, including its locally measured attack/body interval. More...
 
struct  FeatureFrame
 Distinct novelty functions and SuperFlux registers from one spectrum. More...
 
struct  Options
 
struct  Result
 

Public Member Functions

Result analyze (OfflineAudioSource< T > &source, Options options={}, const OfflineJobOptions &jobOptions={}) const
 Analyzes immutable mono/stereo audio at 8-384 kHz on the calling worker.
 

Static Public Attributes

static constexpr std::uint32_t algorithmRevision = 4
 

Detailed Description

template<FloatType T>
class dspark::OfflineTransientAnalyzer< T >

Source-bound attack and pulse maps for offline Dynamics.

Definition at line 51 of file OfflineTransientAnalyzer.h.

Member Function Documentation

◆ analyze()

template<FloatType T>
Result dspark::OfflineTransientAnalyzer< T >::analyze ( OfflineAudioSource< T > &  source,
Options  options = {},
const OfflineJobOptions &  jobOptions = {} 
) const
inline

Analyzes immutable mono/stereo audio at 8-384 kHz on the calling worker.

A full-source peak normalizes analysis PCM before the FFT. This avoids overflow for extreme finite input and makes source gain a neutral operation apart from floating-point rounding. Processing audio is never normalized. Failure publishes no partial/stale analysis. The source must remain unchanged across both scans; fingerprints check content as well as source metadata.

Definition at line 191 of file OfflineTransientAnalyzer.h.

Member Data Documentation

◆ algorithmRevision

template<FloatType T>
constexpr std::uint32_t dspark::OfflineTransientAnalyzer< T >::algorithmRevision = 4
staticconstexpr

Definition at line 54 of file OfflineTransientAnalyzer.h.


The documentation for this class was generated from the following file: