Line segment function as a musical motive

This example is from my Algorithmic Composition blog, and is explained there.

This patch uses the table object to calculate a probablility distribution to make the short notes occur much more often than the long notes. We’ll discuss that in a future class, but feel free to read about it now if you’re interested.