This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
An implementation of the Bjorklund algorithm in JavaScript | |
Inspired by the paper 'The Euclidean Algorithm Generates Traditional Musical Rhythms' | |
by Godfried Toussaint | |
This is a port of the original algorithm by E. Bjorklund which I | |
found in the paper 'The Theory of Rep-Rate Pattern Generation in the SNS Timing Systems' by | |
E. Bjorklund. |