Euclidean Rhythms: Björklund's Algorithm in Python
After encountering some buzz about it online, I read and was inspired by Godfried Toussaint’s paper, “The Euclidean Algorithm Generates Traditional Musical Rhythms”. In short, he demonstrates how many classic rhythms, particularly of African origin, can be described by a ubiquitous mathematical principle first documented by Euclid and even used for timing patterns in neutron accelerators.
Copyright (c) 2011 Brian House
This code is released under the MIT License and is completely free to use for any purpose. See the LICENSE file for details.