Skip to content

Commit

Permalink
update to v2.6.4
Browse files Browse the repository at this point in the history
  • Loading branch information
sickozell committed Jan 27, 2024
1 parent acf70aa commit b60d422
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SickoLooper1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1709,9 +1709,9 @@ struct SickoLooper1 : Module {

void detectTempo() {
if (beatMaxPerBar[int(params[SIGNATURE_KNOB_PARAM].getValue())] < 6)
params[BPM_KNOB_PARAM].setValue(int(600 * (double)sampleRate * beatMaxPerBar[int(params[SIGNATURE_KNOB_PARAM].getValue())] / totalSampleC) * params[MEAS_KNOB_PARAM].getValue());
params[BPM_KNOB_PARAM].setValue(int(600 * (double)sampleRate * beatMaxPerBar[int(params[SIGNATURE_KNOB_PARAM].getValue())] / totalSampleC * 2) * params[MEAS_KNOB_PARAM].getValue());
else
params[BPM_KNOB_PARAM].setValue(int(300 * (double)sampleRate * beatMaxPerBar[int(params[SIGNATURE_KNOB_PARAM].getValue())] / totalSampleC) * params[MEAS_KNOB_PARAM].getValue());
params[BPM_KNOB_PARAM].setValue(int(300 * (double)sampleRate * beatMaxPerBar[int(params[SIGNATURE_KNOB_PARAM].getValue())] / totalSampleC * 2) * params[MEAS_KNOB_PARAM].getValue());
}

bool isInternalClockAlwaysOn() {
Expand Down

0 comments on commit b60d422

Please sign in to comment.