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

A detected event, including its locally measured attack/body interval. More...

#include <OfflineTransientAnalyzer.h>

Public Attributes

std::int64_t begin = 0
 
std::int64_t peak = 0
 
std::int64_t end = 0
 Exclusive; begin <= peak < end <= source frames.
 
double strength = 0
 Normalized novelty, or normalized RMS for energy restarts.
 
double contrast = 0
 Local power-rise contrast, not a probability.
 
double peakAmplitude = 0
 Linked pooled-channel peak in the event.
 
double sustainRms = 0
 Local body/noise reference after the event.
 
bool endLimited = false
 Body transition not resolved before the search boundary.
 
bool overlapsNext = false
 
bool energyRestart = false
 Source-energy restart instead of a spectral candidate.
 
bool bandRefined = false
 Attack/body localized above 800 Hz under a lower-frequency bed.
 

Detailed Description

template<FloatType T>
struct dspark::OfflineTransientAnalyzer< T >::Event

A detected event, including its locally measured attack/body interval.

Definition at line 64 of file OfflineTransientAnalyzer.h.

Member Data Documentation

◆ bandRefined

template<FloatType T>
bool dspark::OfflineTransientAnalyzer< T >::Event::bandRefined = false

Attack/body localized above 800 Hz under a lower-frequency bed.

Definition at line 76 of file OfflineTransientAnalyzer.h.

◆ begin

template<FloatType T>
std::int64_t dspark::OfflineTransientAnalyzer< T >::Event::begin = 0

Definition at line 66 of file OfflineTransientAnalyzer.h.

◆ contrast

template<FloatType T>
double dspark::OfflineTransientAnalyzer< T >::Event::contrast = 0

Local power-rise contrast, not a probability.

Definition at line 70 of file OfflineTransientAnalyzer.h.

◆ end

template<FloatType T>
std::int64_t dspark::OfflineTransientAnalyzer< T >::Event::end = 0

Exclusive; begin <= peak < end <= source frames.

Definition at line 68 of file OfflineTransientAnalyzer.h.

◆ endLimited

template<FloatType T>
bool dspark::OfflineTransientAnalyzer< T >::Event::endLimited = false

Body transition not resolved before the search boundary.

Definition at line 73 of file OfflineTransientAnalyzer.h.

◆ energyRestart

template<FloatType T>
bool dspark::OfflineTransientAnalyzer< T >::Event::energyRestart = false

Source-energy restart instead of a spectral candidate.

Definition at line 75 of file OfflineTransientAnalyzer.h.

◆ overlapsNext

template<FloatType T>
bool dspark::OfflineTransientAnalyzer< T >::Event::overlapsNext = false

Definition at line 74 of file OfflineTransientAnalyzer.h.

◆ peak

template<FloatType T>
std::int64_t dspark::OfflineTransientAnalyzer< T >::Event::peak = 0

Definition at line 67 of file OfflineTransientAnalyzer.h.

◆ peakAmplitude

template<FloatType T>
double dspark::OfflineTransientAnalyzer< T >::Event::peakAmplitude = 0

Linked pooled-channel peak in the event.

Definition at line 71 of file OfflineTransientAnalyzer.h.

◆ strength

template<FloatType T>
double dspark::OfflineTransientAnalyzer< T >::Event::strength = 0

Normalized novelty, or normalized RMS for energy restarts.

Definition at line 69 of file OfflineTransientAnalyzer.h.

◆ sustainRms

template<FloatType T>
double dspark::OfflineTransientAnalyzer< T >::Event::sustainRms = 0

Local body/noise reference after the event.

Definition at line 72 of file OfflineTransientAnalyzer.h.


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