Skip to content

Commit e2bda73

Browse files
committed
Bump maximum bpm to 300
Signed-off-by: falkTX <[email protected]>
1 parent 1d86a71 commit e2bda73

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/effects.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2649,9 +2649,9 @@ static int ProcessGlobalClient(jack_nframes_t nframes, void *arg)
26492649
// set a sane low limit
26502650
if (dvalue <= 20.0)
26512651
g_transport_bpm = 20;
2652-
// >280 BPM over MIDI is unreasonable
2653-
else if (dvalue >= 280.0)
2654-
g_transport_bpm = 280.0;
2652+
// >300 BPM over MIDI is unreasonable
2653+
else if (dvalue >= 300.0)
2654+
g_transport_bpm = 300.0;
26552655
// we are good!
26562656
else
26572657
g_transport_bpm = dvalue;
@@ -7271,7 +7271,7 @@ int effects_licensee(int effect_id, char **licensee_ptr)
72717271
int effects_set_beats_per_minute(double bpm)
72727272
{
72737273
int result = SUCCESS;
7274-
if ((20.0 <= bpm) && (bpm <= 280.0)) {
7274+
if ((20.0 <= bpm) && (bpm <= 300.0)) {
72757275
// Change the current global value and set a flag that it was changed.
72767276
g_transport_bpm = bpm;
72777277
g_transport_reset = true;

0 commit comments

Comments
 (0)