shithub: orca

Download patch

ref: 73ceecdec47633af90ba738ddedf19a6795d1639
parent: ab277f5773219a587fe44166211ed26c24be62d8
author: cancel <cancel@cancel.fm>
date: Sun Dec 9 13:44:11 EST 2018

Increase maximum bar divisor to 36

--- a/sim.c
+++ b/sim.c
@@ -447,7 +447,7 @@
   oe->octave = (U8)usz_clamp(index_of(channel_g), 1, 9);
   oe->note = note_num;
   oe->velocity = midi_velocity_of(velocity_g);
-  oe->bar_divisor = (U8)usz_clamp(index_of(length_g), 1, 16);
+  oe->bar_divisor = (U8)usz_clamp(index_of(length_g), 1, 36);
 END_PHASE
 
 BEGIN_DUAL_PHASE_0(add)