diff --git a/Makefile b/Makefile index da9d7af..006c5ec 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ SLUG = AudibleInstruments -VERSION = 0.5.0 +VERSION = 0.6.0dev FLAGS += \ -DTEST \ diff --git a/src/Elements.cpp b/src/Elements.cpp index 06934ef..1c6924c 100644 --- a/src/Elements.cpp +++ b/src/Elements.cpp @@ -306,7 +306,7 @@ struct ElementsModalItem : MenuItem { elements->setModel(model); } void step() override { - rightText = (elements->getModel() == model) ? "✔" : ""; + rightText = CHECKMARK(elements->getModel() == model); MenuItem::step(); } }; diff --git a/src/Kinks.cpp b/src/Kinks.cpp index eba809c..2e78dc8 100644 --- a/src/Kinks.cpp +++ b/src/Kinks.cpp @@ -34,9 +34,7 @@ struct Kinks : Module { SchmittTrigger trigger; float sample = 0.0; - Kinks() : Module(NUM_PARAMS, NUM_INPUTS, NUM_OUTPUTS, NUM_LIGHTS) { - trigger.setThresholds(0.0, 0.7); - } + Kinks() : Module(NUM_PARAMS, NUM_INPUTS, NUM_OUTPUTS, NUM_LIGHTS) {} void step() override; }; @@ -46,7 +44,7 @@ void Kinks::step() { float noise = 2.0 * randomNormal(); // S&H - if (trigger.process(inputs[TRIG_INPUT].value)) { + if (trigger.process(inputs[TRIG_INPUT].value * 0.7)) { sample = inputs[SH_INPUT].normalize(noise); } diff --git a/src/Rings.cpp b/src/Rings.cpp index ccece3a..33a1f5f 100644 --- a/src/Rings.cpp +++ b/src/Rings.cpp @@ -118,9 +118,6 @@ Rings::Rings() : Module(NUM_PARAMS, NUM_INPUTS, NUM_OUTPUTS, NUM_LIGHTS) { strummer.Init(0.01, 44100.0 / 24); part.Init(reverb_buffer); string_synth.Init(reverb_buffer); - - polyphonyTrigger.setThresholds(0.0, 1.0); - modelTrigger.setThresholds(0.0, 1.0); } void Rings::step() { diff --git a/src/Warps.cpp b/src/Warps.cpp index 5e42f94..b3ecbd8 100644 --- a/src/Warps.cpp +++ b/src/Warps.cpp @@ -73,8 +73,6 @@ struct Warps : Module { Warps::Warps() : Module(NUM_PARAMS, NUM_INPUTS, NUM_OUTPUTS, NUM_LIGHTS) { memset(&modulator, 0, sizeof(modulator)); modulator.Init(96000.0f); - - stateTrigger.setThresholds(0.0, 1.0); } void Warps::step() {