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

Public Member Functions

void processModFX (deluge::dsp::StereoBuffer< q31_t > 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

deluge::dsp::StereoSample< q31_t > phaserMemory {0, 0}
deluge::dsp::StereoSample< q31_t > allpassMemory [kNumAllpassFiltersPhaser]
deluge::dsp::StereoSample< q31_t > * modFXBuffer {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 (deluge::dsp::StereoBuffer< q31_t > 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>
deluge::dsp::StereoSample< q31_t > processOneModFXSample (deluge::dsp::StereoSample< q31_t > sample, int32_t modFXDelayOffset, int32_t thisModFXDelayDepth, int32_t feedback, int32_t lfoOutput, int32_t lfo2Output)
deluge::dsp::StereoSample< q31_t > processOnePhaserSample (deluge::dsp::StereoSample< q31_t > sample, int32_t modFXDepth, int32_t feedback, int32_t lfoOutput)

The documentation for this class was generated from the following files:
  • src/deluge/model/mod_controllable/ModFXProcessor.h
  • src/deluge/model/mod_controllable/ModFXProcessor.cpp