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

One partial of the bank: a frequency in Hz and a linear weight. More...

#include <square_osc_bank.hpp>

Public Attributes

SampleType frequency = SampleType{0}
SampleType amplitude = SampleType{1}

Detailed Description

template<typename SampleType = float>
struct pulp::signal::SquareOscBankT< SampleType >::Partial

One partial of the bank: a frequency in Hz and a linear weight.

The weight is applied to that oscillator's +/-1 square before summing, so the summed output is bounded by set_level() times the sum of the absolute weights.

Member Data Documentation

◆ amplitude

template<typename SampleType = float>
SampleType pulp::signal::SquareOscBankT< SampleType >::Partial::amplitude = SampleType{1}

◆ frequency

template<typename SampleType = float>
SampleType pulp::signal::SquareOscBankT< SampleType >::Partial::frequency = SampleType{0}

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