Struct thl::dsp::slicing::TransientAnalysis#

struct TransientAnalysis#

Collaboration diagram for thl::dsp::slicing::TransientAnalysis:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "1" [label="thl::dsp::slicing::TransientAnalysis" tooltip="thl::dsp::slicing::TransientAnalysis" fillcolor="#BFBFBF"] "2" [label="std::vector< float >" tooltip="std::vector< float >"] "1" -> "2" [dir=forward tooltip="usage"] }

Onset-strength curve of one sample, one value per hop.

Computed once per sample by TransientSlicer::analyse(); picking a different slice count only re-runs TransientSlicer::pick().

Public Functions

inline bool empty() const#

Public Members

std::vector<float> m_strength#

>= 0 per hop.

size_t m_hop_frames = {256}#
size_t m_num_frames = {0}#

Frames of the analysed sample.

double m_sample_rate = {0.0}#