Deluge Firmware 1.3.0
Build date: 2025.04.16
Loading...
Searching...
No Matches
ModFXProcessor Class Reference
Collaboration diagram for ModFXProcessor:

Public Member Functions

void processModFX (std::span< StereoSample > buffer, const ModFXType &modFXType, int32_t modFXRate, int32_t modFXDepth, int32_t *postFXVolume, UnpatchedParamSet *unpatchedParams, bool anySoundComingIn)
 NOT GRAIN! - this only does the comb filter based mod fx.
 
void resetMemory ()
 
void setupBuffer ()
 
void disableBuffer ()
 
void tickLFO (int32_t numSamples, int32_t phaseIncrement)
 

Public Attributes

StereoSample phaserMemory {0, 0}
 
StereoSample allpassMemory [kNumAllpassFiltersPhaser]
 
StereoSamplemodFXBuffer {nullptr}
 
uint16_t modFXBufferWriteIndex {0}
 
LFO modFXLFO
 
LFO modFXLFOStereo
 

Private Member Functions

void setupChorus (const ModFXType &modFXType, int32_t modFXDepth, int32_t *postFXVolume, UnpatchedParamSet *unpatchedParams, LFOType &modFXLFOWaveType, int32_t &modFXDelayOffset, int32_t &thisModFXDelayDepth) const
 
void setupModFXWFeedback (const ModFXType &modFXType, int32_t modFXDepth, int32_t *postFXVolume, UnpatchedParamSet *unpatchedParams, LFOType &modFXLFOWaveType, int32_t &modFXDelayOffset, int32_t &thisModFXDelayDepth, int32_t &feedback) const
 flanger, phaser, warble - generally any modulated delay tap based effect with feedback
 
template<ModFXType modFXType>
void processModFXBuffer (std::span< StereoSample > buffer, int32_t modFXRate, int32_t modFXDepth, LFOType &modFXLFOWaveType, int32_t modFXDelayOffset, int32_t thisModFXDelayDepth, int32_t feedback, bool stereo)
 
template<ModFXType modFXType>
std::pair< int32_t, int32_t > processModLFOs (int32_t modFXRate, LFOType modFXLFOWaveType)
 
template<ModFXType modFXType, bool stereo>
StereoSample processOneModFXSample (StereoSample sample, int32_t modFXDelayOffset, int32_t thisModFXDelayDepth, int32_t feedback, int32_t lfoOutput, int32_t lfo2Output)
 
StereoSample processOnePhaserSample (StereoSample sample, int32_t modFXDepth, int32_t feedback, int32_t lfoOutput)
 

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