28 void setupChorus(
const ModFXType& modFXType, int32_t modFXDepth, int32_t* postFXVolume,
29 UnpatchedParamSet* unpatchedParams, LFOType& modFXLFOWaveType, int32_t& modFXDelayOffset,
30 int32_t& thisModFXDelayDepth)
const;
33 void setupModFXWFeedback(
const ModFXType& modFXType, int32_t modFXDepth, int32_t* postFXVolume,
34 UnpatchedParamSet* unpatchedParams, LFOType& modFXLFOWaveType, int32_t& modFXDelayOffset,
35 int32_t& thisModFXDelayDepth, int32_t& feedback)
const;
37 template <ModFXType modFXType>
38 void processModFXBuffer(std::span<StereoSample> buffer, int32_t modFXRate, int32_t modFXDepth,
39 LFOType& modFXLFOWaveType, int32_t modFXDelayOffset, int32_t thisModFXDelayDepth,
40 int32_t feedback,
bool stereo);
42 template <ModFXType modFXType>
43 std::pair<int32_t, int32_t> processModLFOs(int32_t modFXRate, LFOType modFXLFOWaveType);
45 template <ModFXType modFXType,
bool stereo>
47 int32_t feedback, int32_t lfoOutput, int32_t lfo2Output);
53 ModFXProcessor::modFXBuffer =
nullptr;
54 ModFXProcessor::modFXBufferWriteIndex = 0;
55 memset(allpassMemory, 0,
sizeof(allpassMemory));
60 delugeDealloc(modFXBuffer);
67 uint16_t modFXBufferWriteIndex{0};
70 void processModFX(std::span<StereoSample> buffer,
const ModFXType& modFXType, int32_t modFXRate, int32_t modFXDepth,
71 int32_t* postFXVolume,
UnpatchedParamSet* unpatchedParams,
bool anySoundComingIn);
75 void tickLFO(int32_t numSamples, int32_t phaseIncrement) {
77 modFXLFO.tick(numSamples, phaseIncrement);
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
Definition ModFXProcessor.cpp:100
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.
Definition ModFXProcessor.cpp:28