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

One single-cycle wavetable plus the maximum playback frequency it remains bandlimited at. More...

#include <wavetable.hpp>

Public Attributes

std::vector< SampleType > samples
 one period of bandlimited audio
SampleType max_frequency_hz = SampleType{22050.0f}
 upper bound where this table stays alias-free

Detailed Description

template<typename SampleType = float>
struct pulp::signal::WavetableEntryT< SampleType >

One single-cycle wavetable plus the maximum playback frequency it remains bandlimited at.

Tables in a Wavetable are kept sorted by max_frequency_hz ascending.

Member Data Documentation

◆ max_frequency_hz

template<typename SampleType = float>
SampleType pulp::signal::WavetableEntryT< SampleType >::max_frequency_hz = SampleType{22050.0f}

upper bound where this table stays alias-free

◆ samples

template<typename SampleType = float>
std::vector<SampleType> pulp::signal::WavetableEntryT< SampleType >::samples

one period of bandlimited audio


The documentation for this struct was generated from the following file:
  • /home/runner/work/pulp/pulp/core/signal/include/pulp/signal/wavetable.hpp