commit 39add14edf1747fb97da9d4df190903a6f1fdad1
parent b121d41a227fde961d54dd1150832e6e4330e86d
Author: Adam Malone <1319733+freddyz@users.noreply.github.com>
Date: Thu, 15 Nov 2018 17:19:51 -0600
thoughts on extending randomization cookies
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/ComputerscareILoveCookies.cpp b/src/ComputerscareILoveCookies.cpp
@@ -305,13 +305,14 @@ void ComputerscareILoveCookies::step() {
}
}
//outputs[TRG_OUTPUT + i].value = params[KNOB_PARAM + activeKnob].value;
+ // how to handle a randomization input here?
+ // negative integers?
if(activeKnobIndex[i] < 26) {
knobRawValue = params[activeKnobIndex[i]].value;
}
else {
knobRawValue = inputs[SIGNAL_INPUT + activeKnobIndex[i] - 26].value;
}
-
outputs[TRG_OUTPUT + i].value = mapKnobValue(knobRawValue,i);
if(inputs[CLOCK_INPUT + i].active) {
outputs[FIRST_STEP_OUTPUT + i].value = (currentTriggerIsHigh && atFirstStep) ? 10.f : 0.0f;