(back to lochland.gitlab.io)

Uncommon time

Groove combinatorics
Check out the code at gitlab.
Input a number of beats to be played in the bar, and a list of possible permutations of strong and weak beats will be returned, with the following rules:
  1. the first beat of the bar must be strong;
  2. no two strong beats may occur sequentially;
  3. only two weak beats may occur sequentially;
  4. the number of beats must be greater than 4, and less than 17 (mostly for the sake of not crashing the browser!).
Rendering uses the terrific VexFlow.
Number of beats: