diff --git a/modules/gin b/modules/gin index b5bd0e3..f4331da 160000 --- a/modules/gin +++ b/modules/gin @@ -1 +1 @@ -Subproject commit b5bd0e3725ab46c698982483577ad882ae8c5460 +Subproject commit f4331da4af33c58defae01341c7a7bf44c67e2a1 diff --git a/modules/juce b/modules/juce index 6c32c4d..e265be5 160000 --- a/modules/juce +++ b/modules/juce @@ -1 +1 @@ -Subproject commit 6c32c4df87ae34f7387445cf2ef9410db62c438c +Subproject commit e265be5a031a3ab8552502c00926c4b8d0cdba13 diff --git a/plugin/Source/PluginProcessor.cpp b/plugin/Source/PluginProcessor.cpp index 8dcd444..2bb2982 100644 --- a/plugin/Source/PluginProcessor.cpp +++ b/plugin/Source/PluginProcessor.cpp @@ -226,6 +226,8 @@ void WavetableAudioProcessor::LFOParams::setup (WavetableAudioProcessor& p, int offset = p.addExtParam (id + "offset", nm + "Offset", "Offset", "", { -1.0, 1.0, 0.0, 1.0 }, 0.0, 0.0f); fade = p.addExtParam (id + "fade", nm + "Fade", "Fade", "s", { -60.0, 60.0, 0.0, 0.2f, true }, 0.0f, 0.0f); delay = p.addExtParam (id + "delay", nm + "Delay", "Delay", "s", { 0.0, 60.0, 0.0, 0.2f }, 0.0f, 0.0f); + xgrid = p.addIntParam (id + "xgrid", nm + "XGrid", "XGrid", "", { 2.0, 32.0, 1.0, 1.0 }, 8.0, 0.0f); + ygrid = p.addIntParam (id + "ygrid", nm + "YGrid", "YGrid", "", { 2.0, 32.0, 1.0, 1.0 }, 2.0, 0.0f); } //============================================================================== diff --git a/plugin/Source/PluginProcessor.h b/plugin/Source/PluginProcessor.h index fb33a1e..4416810 100644 --- a/plugin/Source/PluginProcessor.h +++ b/plugin/Source/PluginProcessor.h @@ -120,7 +120,7 @@ class WavetableAudioProcessor : public gin::Processor, { LFOParams() = default; - gin::Parameter::Ptr enable, sync, retrig, wave, rate, beat, depth, phase, offset, fade, delay; + gin::Parameter::Ptr enable, sync, retrig, wave, rate, beat, depth, phase, offset, fade, delay, xgrid, ygrid; void setup (WavetableAudioProcessor& p, int idx);