Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::signal::OfflineStretchT< SampleType >::Window Struct Reference

Material-adaptive window/overlap recommendation. More...

#include <offline_stretch.hpp>

Public Attributes

int fft_size
int analysis_hop

Detailed Description

template<typename SampleType = float>
struct pulp::signal::OfflineStretchT< SampleType >::Window

Material-adaptive window/overlap recommendation.

Analyzes the input and returns the {fft_size, analysis_hop} to set on OfflineStretchOptions before prepare(). Ear-validated geometry: percussive (high crest) -> 1024 / 128 (time resolution: sharp, natural attacks) bass / low-fundamental-heavy -> 8192 / 512 (16× overlap; resolves closely-spaced low partials so the stretch doesn't wobble) everything else -> {0, 0} (engine default 4096/512) Order matters: a kick-heavy break is BOTH low and percussive — transients win, or the long window smears every hit. lo_band is the energy fraction below 200 Hz; crest is peak/mean of a short-window energy envelope.

Member Data Documentation

◆ analysis_hop

template<typename SampleType = float>
int pulp::signal::OfflineStretchT< SampleType >::Window::analysis_hop

◆ fft_size

template<typename SampleType = float>
int pulp::signal::OfflineStretchT< SampleType >::Window::fft_size

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