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

The ModulatedDelay object implements the three basic algorithms: flanger, chorus, vibrato. More...

#include <fxobjects.h>

Inheritance diagram for ModulatedDelay:
IAudioSignalProcessor

Public Member Functions

virtual bool reset (double _sampleRate)
 
virtual double processAudioSample (double xn)
 
virtual bool canProcessAudioFrame ()
 
virtual bool processAudioFrame (const float *inputFrame, float *outputFrame, uint32_t inputChannels, uint32_t outputChannels)
 
ModulatedDelayParameters getParameters ()
 
void setParameters (ModulatedDelayParameters _parameters)
 
- 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)
 

Detailed Description

The ModulatedDelay object implements the three basic algorithms: flanger, chorus, vibrato.

Audio I / O : -Processes mono input to mono OR stereo output.

Control I / F : -Use ModulatedDelayParameters structure to get / set object params.

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 ModulatedDelay::canProcessAudioFrame ( )
inlinevirtual

return true: this object can process frames

Implements IAudioSignalProcessor.

◆ getParameters()

ModulatedDelayParameters ModulatedDelay::getParameters ( )
inline

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

Returns
ModulatedDelayParameters custom data structure

◆ processAudioFrame()

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

process STEREO audio delay of frames

Reimplemented from IAudioSignalProcessor.

◆ processAudioSample()

virtual double ModulatedDelay::processAudioSample ( double  xn)
inlinevirtual

process input sample

Parameters
xninput
Returns
the processed sample

Implements IAudioSignalProcessor.

◆ reset()

virtual bool ModulatedDelay::reset ( double  _sampleRate)
inlinevirtual

reset members to initialized state

Implements IAudioSignalProcessor.

◆ setParameters()

void ModulatedDelay::setParameters ( ModulatedDelayParameters  _parameters)
inline

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

Parameters
ModulatedDelayParameterscustom data structure

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