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

The NestedDelayAPF object implements a pair of nested Delaying APF structures. These are labled the outer and inner APFs. The outer APF's LPF and LFO may be optionally enabled. You might want to extend this object to enable and use the inner LPF and LFO as well. More...

#include <fxobjects.h>

Inheritance diagram for NestedDelayAPF:
DelayAPF IAudioSignalProcessor

Public Member Functions

virtual bool reset (double _sampleRate)
 
virtual double processAudioSample (double xn)
 
NestedDelayAPFParameters getParameters ()
 
void setParameters (const NestedDelayAPFParameters &params)
 
void createDelayBuffers (double _sampleRate, double delay_mSec, double nestedAPFDelay_mSec)
 
- Public Member Functions inherited from DelayAPF
virtual bool reset (double _sampleRate)
 
virtual double processAudioSample (double xn)
 
virtual bool canProcessAudioFrame ()
 
DelayAPFParameters getParameters ()
 
void setParameters (const DelayAPFParameters &params)
 
void createDelayBuffer (double _sampleRate, double delay_mSec)
 
- 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)
 

Additional Inherited Members

- Protected Attributes inherited from DelayAPF
DelayAPFParameters delayAPFParameters
 obeject parameters
 
double sampleRate = 0.0
 current sample rate
 
double bufferLength_mSec = 0.0
 total buffer length in mSec
 
SimpleDelay delay
 delay
 
LFO modLFO
 LFO.
 
double lpf_state = 0.0
 LPF state register (z^-1)
 

Detailed Description

The NestedDelayAPF object implements a pair of nested Delaying APF structures. These are labled the outer and inner APFs. The outer APF's LPF and LFO may be optionally enabled. You might want to extend this object to enable and use the inner LPF and LFO as well.

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

◆ createDelayBuffers()

void NestedDelayAPF::createDelayBuffers ( double  _sampleRate,
double  delay_mSec,
double  nestedAPFDelay_mSec 
)
inline

createDelayBuffers – note there are two delay times here for inner and outer APFs

◆ getParameters()

NestedDelayAPFParameters NestedDelayAPF::getParameters ( )
inline

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

Returns
BiquadParameters custom data structure

◆ processAudioSample()

virtual double NestedDelayAPF::processAudioSample ( double  xn)
inlinevirtual

process mono audio input

Parameters
xninput
Returns
the processed sample

Reimplemented from DelayAPF.

◆ reset()

virtual bool NestedDelayAPF::reset ( double  _sampleRate)
inlinevirtual

reset members to initialized state

Reimplemented from DelayAPF.

◆ setParameters()

void NestedDelayAPF::setParameters ( const NestedDelayAPFParameters params)
inline

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

Parameters
BiquadParameterscustom data structure

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