Audio Processing Framework (APF) version 0.5.0
Classes | Namespaces | Functions
biquad.h File Reference

Second order recursive filter and more. More...

#include <iosfwd>
#include <cmath>
#include <complex>
#include <vector>
#include <cassert>
#include "apf/denormalprevention.h"
#include "apf/math.h"

Go to the source code of this file.

Classes

struct  apf::SosCoefficients< T >
 Coefficients of digital recursive filter (second order section). More...
 
struct  apf::LaplaceCoefficients< T >
 Coefficients of analog recursive filter. More...
 
class  apf::BiQuad< T, DenormalPrevention >
 Direct Form II recursive filter of second order. More...
 
class  apf::Cascade< S, Container >
 Cascade of filter sections. More...
 

Namespaces

namespace  apf
 Audio Processing Framework.
 

Functions

template<typename T >
void apf::internal::roots2poly (T Roots[2][2], T &poly1, T &poly2)
 Roots-to-polynomial conversion. More...
 
template<typename T >
SosCoefficients< T > apf::bilinear (LaplaceCoefficients< T > coeffs_in, int fs, int fp)
 Bilinear transform. More...
 

Detailed Description

Second order recursive filter and more.

Definition in file biquad.h.

Function Documentation

◆ roots2poly()

template<typename T >
void apf::internal::roots2poly ( Roots[2][2],
T &  poly1,
T &  poly2 
)

Roots-to-polynomial conversion.

Template Parameters
Tprecision of data
Parameters
Roots2x2 roots matrix
poly1reference to first-order-coefficient of output polynomial
poly2reference to second-order-coefficient of output polynomial
Note
zeroth-order is ignored for this special case!

Definition at line 254 of file biquad.h.

References apf::internal::roots2poly().

Referenced by apf::internal::roots2poly().