Code for analyzing John Cage's Number Pieces.
See the following papers for more theoretical details:
- Popoff, Alexandre. “John Cage's Number Pieces: The Meta-Structure of Time-Brackets and the Notion of Time.” Perspectives of New Music, vol. 48, no. 1, 2010, pp. 65–82.
- Popoff A. (2011) Indeterminate Music and Probability Spaces: The Case of John Cage’s Number Pieces. Mathematics and Computation in Music. MCM 2011. Lecture Notes in Computer Science, vol 6726. Springer
- Popoff A. (2015) A Statistical Approach to the Global Structure of John Cage’s Number Piece Five5. Mathematics and Computation in Music. MCM 2015. Lecture Notes in Computer Science, vol 9110. Springer
The C code is provided as is, though it is quite dirty. It provides code for analyzing John Cage's Five5, Four2, Four, and Three2.
The Python code reads the output of the C program and builds the corresponding heatmaps and graphs.