Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::audio::OnsetDetectionConfig Struct Reference

#include <onset_detector.hpp>

Public Attributes

OnsetDetectionMethod method = OnsetDetectionMethod::EnergyFlux
std::uint32_t frame_size = 1024
std::uint32_t hop_size = 256
std::uint32_t adaptive_window_frames = 8
std::uint64_t min_spacing_frames = 1024
double threshold_multiplier = 1.5
double min_confidence = 0.05
std::size_t max_markers = 1024

Member Data Documentation

◆ adaptive_window_frames

std::uint32_t pulp::audio::OnsetDetectionConfig::adaptive_window_frames = 8

◆ frame_size

std::uint32_t pulp::audio::OnsetDetectionConfig::frame_size = 1024

◆ hop_size

std::uint32_t pulp::audio::OnsetDetectionConfig::hop_size = 256

◆ max_markers

std::size_t pulp::audio::OnsetDetectionConfig::max_markers = 1024

◆ method

OnsetDetectionMethod pulp::audio::OnsetDetectionConfig::method = OnsetDetectionMethod::EnergyFlux

◆ min_confidence

double pulp::audio::OnsetDetectionConfig::min_confidence = 0.05

◆ min_spacing_frames

std::uint64_t pulp::audio::OnsetDetectionConfig::min_spacing_frames = 1024

◆ threshold_multiplier

double pulp::audio::OnsetDetectionConfig::threshold_multiplier = 1.5

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