Part of a series of Patches that use L-Systems to generate something like ragas.
The all use structures like:
// Grains, after P. Bourke
axiom: Y
rules:
X => dX[-F+FF]cg[+F-FF]dFX
Y => eYFX[+Y][-Y]
carnatic [1, 16/15, 9/8, 6/5, 5/4, 4/3, 45/32, 3/2, 8/5, 27/16, 9/5, 15/8, 2]
Naadana-amakriya
U 2*15/8, 1, 16/15, 5/4, 4/3, 3/2, 8/5, 15/8
D 15/8, 8/5, 3/2,, 4/3, 5/4, 16/15, 1 2*15/8
Audio example: https://poetaster.de/supercollider-lsystems/grains-2.mp3
Some more notes and numerous other examples can be found here: https://github.com/poetaster/supercollider-lsystems
Three of the patches can be seen in action at: https://poetaster.de/sc-ls/