[CM] fux.lisp

Anders Vinjar anders at avinjar.no
Thu Nov 26 08:12:11 PST 2026


Ref recent posts about Bills "Fux" - Automatic Counterpoint - project -
book-chapter and report.

I've set up a Common Lisp version in fux.lisp:

  https://github.com/andersvi/fux/releases/latest

together with some example calls, and output scores and sound:

  https://github.com/andersvi/fux/releases/tag/examples

fux.lisp is based on other code:

  https://github.com/namin/metasolfeggio/tree/master/classics

I've compared output from fux.lisp with the example cantus'es in the
source-files, and the report and book-chapter.  It's mostly identical,
with a couple of exceptions for penalties close to the end of the score
in figure 16.8 of the book chapter.  Not sure why.  I've included quite
many checks vs the originals (C-version), available if you clone the
whole repo.

NB! you should probably compile fux.lisp before loading, some searches
quickly get cpu and memory-hungry.

This is alpha-code, expect changes.

Have fun!

-anders


More information about the Cmdist mailing list