Skip to content

Commit

Permalink
enforce low CV boundary
Browse files Browse the repository at this point in the history
  • Loading branch information
scanner-darkly committed May 22, 2024
1 parent 736a3e0 commit c987563
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/SDOrcasHeartV2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,7 @@ struct SDOrcasHeartV2 : Module {

// prevent feedback if a note CV is connected to TRANS
if (cv > 10.f) cv = 10.f;
else if (cv < -10.f) cv = -10.f;

outputs[CV_1_OUTPUT + n].setVoltage(cv);
outputs[GATE_1_OUTPUT + n].setVoltage(g);
Expand Down

0 comments on commit c987563

Please sign in to comment.