diff --git a/src/SHASR.cpp b/src/SHASR.cpp index 9e3c183..6512034 100644 --- a/src/SHASR.cpp +++ b/src/SHASR.cpp @@ -32,6 +32,7 @@ struct SHASR : Module { SHASR() { config(PARAMS_LEN, INPUTS_LEN, OUTPUTS_LEN, LIGHTS_LEN); configSwitch(RND_PARAM, 0.f, 1.f, 0.f, "Randomize"); + getParamQuantity(RND_PARAM)->description = "Normalize \"Sample 1 input\" to a random 0-10 V signal"; configButton(PUSH_PARAM, "Push"); configButton(CLEAR_PARAM, "Clear"); for (int i = 0; i < 8; i++) { @@ -41,6 +42,10 @@ struct SHASR : Module { } } + void onRandomize(const RandomizeEvent& e) override { + // Don't call super method + } + void onReset(const ResetEvent& e) override { for (int i = 0; i < 8; i++) { values[i] = 0.f;