AuLib  1.0beta
Public Member Functions | Protected Member Functions | List of all members
AuLib::BandR Class Reference

#include <AuLib/BandR.h>

Inheritance diagram for AuLib::BandR:
Inheritance graph
[legend]
Collaboration diagram for AuLib::BandR:
Collaboration graph
[legend]

Public Member Functions

 BandR (double cf, double bw, uint32_t vframes=def_vframes, double sr=def_sr)
 
- Public Member Functions inherited from AuLib::BandP
 BandP (double cf, double bw, uint32_t vframes=def_vframes, double sr=def_sr)
 
const double * process (const double *sig, double cf, double bw)
 
const BandPprocess (const AudioBase &obj, double cf, double bw)
 
- Public Member Functions inherited from AuLib::LowP
 LowP (double cf, uint32_t vframes=def_vframes, double sr=def_sr)
 
const double * process (const double *sig, double cf)
 
const LowPprocess (const AudioBase &obj, double cf)
 
const LowPoperator() (const AudioBase &obj, double cf)
 
- Public Member Functions inherited from AuLib::Iir
 Iir (const double *a, const double *b, uint32_t vframes=def_vframes, double sr=def_sr)
 
 Iir (uint32_t vframes=def_vframes, double sr=def_sr)
 
const double * process (const double *sig)
 
const double * process (const double *sig, const double *a, const double *b)
 
const Iirprocess (const AudioBase &obj)
 
const Iirprocess (const AudioBase &obj, const double *c, bool iir=true)
 
const Iirprocess (const AudioBase &obj, const double *a, const double *b)
 
const Iiroperator() (const AudioBase &obj)
 
template<typename T >
const Iiroperator() (const AudioBase &obj, T a)
 
template<typename T , typename U >
const Iiroperator() (const AudioBase &obj, T a, U b)
 
- Public Member Functions inherited from AuLib::AudioBase
 AudioBase (uint32_t nchnls=def_nchnls, uint32_t vframes=def_vframes, double sr=def_sr)
 
virtual const AudioBaseoperator*= (double scal)
 
virtual const AudioBaseoperator*= (const double *sig)
 
virtual const AudioBaseoperator*= (const AudioBase &obj)
 
virtual const AudioBaseoperator+= (double offs)
 
virtual const AudioBaseoperator+= (const double *sig)
 
virtual const AudioBaseoperator+= (const AudioBase &obj)
 
double & operator[] (uint32_t ndx)
 
const double & operator[] (uint32_t ndx) const
 
iterator begin ()
 
iterator end ()
 
const_iterator cbegin () const
 
const_iterator cend () const
 
const AudioBaseset (const AudioBase &obj)
 
const AudioBaseset (const double *sig)
 
const double * set (double v)
 
double set (double v, uint32_t p)
 
 operator const std::vector< double > & () const
 
 operator const double * () const
 
const double * vector () const
 
double vector (uint32_t frndx, uint32_t chn) const
 
uint32_t vframes (uint32_t frames)
 
uint32_t resize_exact (uint32_t frames)
 
uint32_t vframes () const
 
uint32_t vsamps () const
 
uint32_t nchnls () const
 
uint32_t sr () const
 
uint32_t error () const
 
virtual const char * error_message () const
 

Protected Member Functions

virtual void update ()
 
- Protected Member Functions inherited from AuLib::Iir
virtual const double * dsp (const double *sig)
 

Additional Inherited Members

- Public Types inherited from AuLib::AudioBase
typedef std::vector< double >::iterator iterator
 
typedef std::vector< double >::const_iterator const_iterator
 
- Protected Attributes inherited from AuLib::BandP
double m_bw
 
- Protected Attributes inherited from AuLib::LowP
double m_freq
 
- Protected Attributes inherited from AuLib::Iir
double m_del [2]
 
double m_a [3]
 
double m_b [2]
 
double m_scal
 
- Protected Attributes inherited from AuLib::AudioBase
uint32_t m_nchnls
 
uint32_t m_vframes
 
std::vector< double > m_vector
 
double m_sr
 
uint32_t m_error
 

Detailed Description

2nd-order Butterworth band-reject filter

Constructor & Destructor Documentation

◆ BandR()

AuLib::BandR::BandR ( double  cf,
double  bw,
uint32_t  vframes = def_vframes,
double  sr = def_sr 
)
inline

BandR constructor

cf - centre frequency
bw - bandwidth
vframes - vector size
sr - sampling rate

Member Function Documentation

◆ update()

void AuLib::BandR::update ( )
protectedvirtual

Coefficients update

Reimplemented from AuLib::BandP.


The documentation for this class was generated from the following files: