Browse Source

SEQ3 initialize triggers to be all on

tags/v0.5.0
Andrew Belt 7 years ago
parent
commit
efd4dc5903
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      src/SEQ3.cpp

+ 4
- 2
src/SEQ3.cpp View File

@@ -58,7 +58,9 @@ struct SEQ3 : Module {
GateMode gateMode = TRIGGER;
PulseGenerator gatePulse;

SEQ3() : Module(NUM_PARAMS, NUM_INPUTS, NUM_OUTPUTS, NUM_LIGHTS) {}
SEQ3() : Module(NUM_PARAMS, NUM_INPUTS, NUM_OUTPUTS, NUM_LIGHTS) {
reset();
}
void step() override;

json_t *toJson() override {
@@ -106,7 +108,7 @@ struct SEQ3 : Module {

void reset() override {
for (int i = 0; i < 8; i++) {
gateState[i] = false;
gateState[i] = true;
}
}



Loading…
Cancel
Save