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

#include <spectral_band_mask.hpp>

Public Attributes

std::uint32_t active_bands = 32
SampleType min_hz = SampleType{20}
SampleType max_hz = SampleType{20000}
SpectralBandSpacing spacing = SpectralBandSpacing::logarithmic
SpectralBandEdgePolicy edge_policy = SpectralBandEdgePolicy::mute_outside
SpectralMaskBoundaryKernel boundary_kernel
SampleType transition_fraction = SampleType{0.08}
 Half-width of each boundary transition as a fraction of one band in the selected coordinate system.
std::uint32_t transition_frames = 4
 Requested frame-domain transition duration.
std::uint64_t version = 0
std::array< SpectralBandT< SampleType >, kSpectralBandMaskMaximumBands > bands {}

Member Data Documentation

◆ active_bands

template<typename SampleType>
std::uint32_t pulp::signal::SpectralBandLayoutT< SampleType >::active_bands = 32

◆ bands

template<typename SampleType>
std::array<SpectralBandT<SampleType>, kSpectralBandMaskMaximumBands> pulp::signal::SpectralBandLayoutT< SampleType >::bands {}

◆ boundary_kernel

template<typename SampleType>
SpectralMaskBoundaryKernel pulp::signal::SpectralBandLayoutT< SampleType >::boundary_kernel
Initial value:

◆ edge_policy

template<typename SampleType>
SpectralBandEdgePolicy pulp::signal::SpectralBandLayoutT< SampleType >::edge_policy = SpectralBandEdgePolicy::mute_outside

◆ max_hz

template<typename SampleType>
SampleType pulp::signal::SpectralBandLayoutT< SampleType >::max_hz = SampleType{20000}

◆ min_hz

template<typename SampleType>
SampleType pulp::signal::SpectralBandLayoutT< SampleType >::min_hz = SampleType{20}

◆ spacing

template<typename SampleType>
SpectralBandSpacing pulp::signal::SpectralBandLayoutT< SampleType >::spacing = SpectralBandSpacing::logarithmic

◆ transition_fraction

template<typename SampleType>
SampleType pulp::signal::SpectralBandLayoutT< SampleType >::transition_fraction = SampleType{0.08}

Half-width of each boundary transition as a fraction of one band in the selected coordinate system.

0 is a hard step; 0.5 lets adjacent transitions meet at band centers without overlapping.

◆ transition_frames

template<typename SampleType>
std::uint32_t pulp::signal::SpectralBandLayoutT< SampleType >::transition_frames = 4

Requested frame-domain transition duration.

The static builder stores this metadata; a streaming processor owns interpolation over time.

◆ version

template<typename SampleType>
std::uint64_t pulp::signal::SpectralBandLayoutT< SampleType >::version = 0

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