Dummy \do

Link: Molecular music box

An interesting implementation of the rather curious generative algorithm described here. What I find unusual is the use of the \do key in the Pbind. This seems to be a dummy key to allow the placement of a Prout. Since Prout takes the current event as an argument, multiple keys can be set at once. Coded by grigz and hosted at sccode.org.

Update: Here’s another implementation, also courtesy of scode.org.