Grain Set #6 from further down this article.

A few years back I wrote an article here on L-systems with granular synthesis. I was rather unsatisfied with it at the time, and today I wince even looking at it. The current article is an attempt to correct this injustice with a far more ambitious project which generates audio with L-systems and granular synthesis. In this article, I will give a detailed walkthrough of the entire construction of the system, called EvoGrain, and discuss what I went through to build it. You can hear a sample of its output above, and more examples further down the article.

Source code for EvoGrain is on GitHub.