mirror of
https://codeberg.org/armin/wavetable.git
synced 2026-09-01 05:50:46 +02:00
Add more fx
This commit is contained in:
parent
8a793ba5b4
commit
b20f153c84
15 changed files with 5211 additions and 22 deletions
|
|
@ -3,6 +3,9 @@
|
|||
#include <JuceHeader.h>
|
||||
|
||||
#include "WavetableVoice.h"
|
||||
#include "FX/DeRez2.h"
|
||||
#include "FX/FireAmp.h"
|
||||
#include "FX/GrindAmp.h"
|
||||
|
||||
constexpr auto fxGate = 0;
|
||||
constexpr auto fxChorus = 1;
|
||||
|
|
@ -232,13 +235,46 @@ public:
|
|||
{
|
||||
FXParams() = default;
|
||||
|
||||
gin::Parameter::Ptr fx1, fx2, fx3, fx4, fx5;
|
||||
gin::Parameter::Ptr fx1, fx2, fx3, fx4, fx5, distMode;
|
||||
|
||||
void setup (WavetableAudioProcessor& p);
|
||||
|
||||
JUCE_DECLARE_NON_COPYABLE (FXParams)
|
||||
};
|
||||
|
||||
struct BitCrusherParams
|
||||
{
|
||||
BitCrusherParams() = default;
|
||||
|
||||
gin::Parameter::Ptr rate, rez, hard, mix;
|
||||
|
||||
void setup (WavetableAudioProcessor& p);
|
||||
|
||||
JUCE_DECLARE_NON_COPYABLE (BitCrusherParams)
|
||||
};
|
||||
|
||||
struct FireAmpParams
|
||||
{
|
||||
FireAmpParams() = default;
|
||||
|
||||
gin::Parameter::Ptr gain, tone, output, mix;
|
||||
|
||||
void setup (WavetableAudioProcessor& p);
|
||||
|
||||
JUCE_DECLARE_NON_COPYABLE (FireAmpParams)
|
||||
};
|
||||
|
||||
struct GrindAmpParams
|
||||
{
|
||||
GrindAmpParams() = default;
|
||||
|
||||
gin::Parameter::Ptr gain, tone, output, mix;
|
||||
|
||||
void setup (WavetableAudioProcessor& p);
|
||||
|
||||
JUCE_DECLARE_NON_COPYABLE (GrindAmpParams)
|
||||
};
|
||||
|
||||
//==============================================================================
|
||||
gin::ModSrcId modSrcPressure, modSrcTimbre, modSrcPitchbend, modScrPitchBend,
|
||||
modSrcFilter, modSrcNote, modSrcVelocity, modSrcStep, modSrcMonoStep;
|
||||
|
|
@ -264,6 +300,9 @@ public:
|
|||
DistortionParams distortionParams;
|
||||
DelayParams delayParams;
|
||||
ReverbParams reverbParams;
|
||||
BitCrusherParams bitcrusherParams;
|
||||
FireAmpParams fireAmpParams;
|
||||
GrindAmpParams grindAmpParams;
|
||||
UIParams uiParams;
|
||||
|
||||
//==============================================================================
|
||||
|
|
@ -274,6 +313,9 @@ public:
|
|||
gin::GainProcessor outputGain;
|
||||
gin::AudioFifo scopeFifo { 2, 44100 };
|
||||
float distortionVal = 0.0f;
|
||||
DeRez2 bitcrusher;
|
||||
FireAmp fireAmp;
|
||||
GrindAmp grindAmp;
|
||||
|
||||
juce::OwnedArray<gin::BandLimitedLookupTable> osc1Tables;
|
||||
juce::OwnedArray<gin::BandLimitedLookupTable> osc2Tables;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue