ASPiK SDK
Loading...
Searching...
No Matches
WDFIdealRLCBPF Class Reference

The WDFIdealRLCBPF object implements an ideal RLC BPF using the WDF library. More...

#include <fxobjects.h>

Inheritance diagram for WDFIdealRLCBPF:
IAudioSignalProcessor

Public Member Functions

virtual bool reset (double _sampleRate)
 
virtual bool canProcessAudioFrame ()
 
virtual double processAudioSample (double xn)
 
void createWDF ()
 
WDFParameters getParameters ()
 
void setParameters (const WDFParameters &_wdfParameters)
 
- Public Member Functions inherited from IAudioSignalProcessor
virtual bool reset (double _sampleRate)=0
 
virtual double processAudioSample (double xn)=0
 
virtual bool canProcessAudioFrame ()=0
 
virtual void setSampleRate (double _sampleRate)
 
virtual void enableAuxInput (bool enableAuxInput)
 
virtual double processAuxInputAudioSample (double xn)
 
virtual bool processAudioFrame (const float *inputFrame, float *outputFrame, uint32_t inputChannels, uint32_t outputChannels)
 

Protected Attributes

WDFParameters wdfParameters
 object parameters
 
WdfSeriesAdaptor seriesAdaptor_LC
 adaptor for LC
 
WdfParallelTerminatedAdaptor parallelTerminatedAdaptor_R
 adaptor for R
 
double sampleRate = 1.0
 

Detailed Description

The WDFIdealRLCBPF object implements an ideal RLC BPF using the WDF library.

Audio I/O:

  • Processes mono input to mono output.

Control I/F:

Author
Will Pirkle http://www.willpirkle.com
Remarks
This object is included in Designing Audio Effects Plugins in C++ 2nd Ed. by Will Pirkle
Version
Revision : 1.0
Date
Date : 2018 / 09 / 7

Member Function Documentation

◆ canProcessAudioFrame()

virtual bool WDFIdealRLCBPF::canProcessAudioFrame ( )
inlinevirtual

return false: this object only processes samples

Implements IAudioSignalProcessor.

◆ createWDF()

void WDFIdealRLCBPF::createWDF ( )
inline

create the WDF structure

◆ getParameters()

WDFParameters WDFIdealRLCBPF::getParameters ( )
inline

get parameters: note use of custom structure for passing param data

Returns
WDFParameters custom data structure

◆ processAudioSample()

virtual double WDFIdealRLCBPF::processAudioSample ( double  xn)
inlinevirtual

process input x(n) through the WDF Ideal RLC filter to produce return value y(n)

Parameters
xninput
Returns
the processed sample

Implements IAudioSignalProcessor.

◆ reset()

virtual bool WDFIdealRLCBPF::reset ( double  _sampleRate)
inlinevirtual

reset members to initialized state

Implements IAudioSignalProcessor.

◆ setParameters()

void WDFIdealRLCBPF::setParameters ( const WDFParameters _wdfParameters)
inline

set parameters: note use of custom structure for passing param data

Parameters
WDFParameterscustom data structure

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