Now load
notes
. Call spin
again. Now it generates
rhythms to be used as a basis for fugues. In the output, c
means crotchet;
m
minim, and q
quaver. This is taken from a
previous practical project, namely a fugue-generating
program written by Lucy Mackintosh, which first generated a basic
two-bar rhythm
structure, then superimposed a melody, and finally constructed other
harmonically-related melodies for the other voices. The melody generator is
rather too complicated for this stage of the course, so what I've shown
you is just the rhythm part.