8MUSIC
In this chapter, we’ll continue exploring randomness in art with sound and music. We’ll begin generating sound via random samples, random walks through frequency space, and random walks up and down a musical scale. These projects will prepare us for the chapter’s most ambitious experiment: evolving pleasant melodies from scratch. While we can’t really quantify such a melody, that won’t stop us from trying.
Creating Random Sounds
At first blush, generating a random sound seems straightforward. For instance, if we have some way of creating a sound file, like a WAV (.wav file extension), it follows that we should just need random sound samples ...
Get The Art of Randomness 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.