ASPiK SDK
Loading...
Searching...
No Matches
IAudioSignalProcessor Class Referenceabstract

Use this interface for objects that process audio input samples to produce audio output samples. A derived class must implement the three abstract methods. The others are optional. More...

#include <fxobjects.h>

Inheritance diagram for IAudioSignalProcessor:
AnalogFIRFilter AudioDelay AudioDetector AudioFilter Biquad BitCrusher ClassATubePre CombFilter DelayAPF DynamicsProcessor EnvelopeFollower ImpulseConvolver LRFilterBank ModulatedDelay PSMVocoder PeakLimiter PhaseShifter ReverbTank SimpleDelay SimpleLPF TriodeClassA TwoBandShelvingFilter WDFBesselBSF3 WDFButterLPF3 WDFConstKBPF6 WDFIdealRLCBPF WDFIdealRLCBSF WDFIdealRLCHPF WDFIdealRLCLPF WDFTunableButterLPF3 ZVAFilter

Public Member Functions

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)
 

Detailed Description

Use this interface for objects that process audio input samples to produce audio output samples. A derived class must implement the three abstract methods. The others are optional.

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()

◆ enableAuxInput()

virtual void IAudioSignalProcessor::enableAuxInput ( bool  enableAuxInput)
inlinevirtual

switch to enable/disable the aux input

Reimplemented in DynamicsProcessor.

◆ processAudioFrame()

virtual bool IAudioSignalProcessor::processAudioFrame ( const float *  inputFrame,
float *  outputFrame,
uint32_t  inputChannels,
uint32_t  outputChannels 
)
inlinevirtual

for processing objects with a sidechain input or other necessary aux input — optional processing function e.g. does not make sense for some objects to implement this such as inherently mono objects like Biquad BUT a processor that must use both left and right channels (ping-pong delay) would require it

Reimplemented in AudioDelay, ModulatedDelay, and ReverbTank.

◆ processAudioSample()

◆ processAuxInputAudioSample()

virtual double IAudioSignalProcessor::processAuxInputAudioSample ( double  xn)
inlinevirtual

for processing objects with a sidechain input or other necessary aux input the return value is optional and will depend on the subclassed object

Reimplemented in DynamicsProcessor.

◆ reset()

◆ setSampleRate()

virtual void IAudioSignalProcessor::setSampleRate ( double  _sampleRate)
inlinevirtual

set or change the sample rate; normally this is done during reset( ) but may be needed outside of initialzation

Reimplemented in AudioFilter, and AudioDetector.


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