Computer Representation and Generation of Karnatak Rhythms
SuperCollider code from my 2009 undergraduate dissertation Computer Representation and Generation of Karnatak Rhythms.
Installation
Clone this repository, or copy the folder to your SuperCollider application support directory (e.g. ~/Library/Application Support/SuperCollider/Extensions/
on mac). Make sure it is named karnatak-rhythms
.
Dependencies
Requires the PV classes from sc3-plugins, install these as per instructions.
Partitions >= 40
If you want to use the partitioning algorithm for integers >= 40, you can use the precomputed values in partitions.zip
, just unzip it. These were generated in SuperCollider using approach used in KonaGenerator.allPartitions
, so in theory these binary files don't need to be included. In practice, that code is lost so I've taken the easy way out.
Examples
See examples/basic.scd
for example usage with samples and MIDI. Longer examples are in examples/turing-test.scd
.
Samples
All samples have phase vocoder analysis pre-computed into .scpv
files. The code to do this is provided in phase-vocoder-analysis.scd
Thanks
- Nick Collins, my supervisor.
- Ezio Taeggi for inspiring me to clean this up (slightly) and put it online
Author
Arthur Carabott