Chapter 6

Randomness and Choices

Topics: Randomness and creativity, Mozart, indeterminism, serialism, Python random functions, stochastic music, Iannis Xenakis, probabilities, wind chimes, melody generator, selection, Python if statement, flipping a coin, Russian roulette, throwing dice, realistic drums, relational and logical operators, generative music.

6.1 Overview

Creative acts start with a flash of inspiration—a new idea, a new something—which gets channeled through our knowledge, experiences, and aesthetics to be transformed (hopefully) into something structured yet appealing and that is inspiring to others. In a way, creativity is perhaps the act of taking untamed, open possibilities and shaping them into an artifact (e.g., a poem, a ...

Get Making Music with Computers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.