Baroque fugue applies deterministic transformations (stretto, inversion, augmentation, diminution, retrograde) that map directly onto code operations
Contrapuntal fugue, as perfected by J. S. Bach, applies formal pattern transformations to a musical subject: stretto (overlapping entries), inversion (turning the pattern upside down), augmentation (lengthening durations), diminution (shortening durations), retrograde (backwards), and retrograde inversion. These are systematic, rule-based operations on melodic sequences — the same kinds of operations pattern libraries in computer music implement. Counterpoint composition is a highly mathematical task, which is why computational-creativity systems such as Kemal Ebcioglu’s CHORAL have been successful at generating new fugues. The connection between fugue technique and algorithmic music is not metaphorical: the operations are the same.
Examples
Take a subject, apply inversion (flip the intervals), augmentation (double durations), and stretto (overlap entries) — each expressible as an array or list transformation in SuperCollider or Tidal.
Assessment
List four fugue pattern transformations and, for each, name the computational operation it corresponds to. Why have algorithmic systems been especially successful at generating fugues?