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

The TPT state-variable coefficients for a sample rate, cutoff and resonance (Q): g = tan(pi fc / fs), k = 1 / Q, a1 = 1 / (1 + g (g + k)), a2 = g a1, a3 = g a2. More...

#include <svf.hpp>

Public Attributes

SampleType g
SampleType k
SampleType a1
SampleType a2
SampleType a3

Detailed Description

template<typename SampleType = float>
struct pulp::signal::SvfT< SampleType >::Coefficients

The TPT state-variable coefficients for a sample rate, cutoff and resonance (Q): g = tan(pi fc / fs), k = 1 / Q, a1 = 1 / (1 + g (g + k)), a2 = g a1, a3 = g a2.

Member Data Documentation

◆ a1

template<typename SampleType = float>
SampleType pulp::signal::SvfT< SampleType >::Coefficients::a1

◆ a2

template<typename SampleType = float>
SampleType pulp::signal::SvfT< SampleType >::Coefficients::a2

◆ a3

template<typename SampleType = float>
SampleType pulp::signal::SvfT< SampleType >::Coefficients::a3

◆ g

template<typename SampleType = float>
SampleType pulp::signal::SvfT< SampleType >::Coefficients::g

◆ k

template<typename SampleType = float>
SampleType pulp::signal::SvfT< SampleType >::Coefficients::k

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