In my previous post, I discussed my idea for creating what I call "Intentional Music Programming". I have managed to finish the first iteration of my intentional music algorithm and I've created my first few tracks. They are available on my bandcamp page.

Here is the album:

Here are the relavant lines of code that define the intent of the first piece in the album:

// Create tracks
let trackA = track(patch: .cello, trackName: "Drone", period: 30, affluence: 3)
let trackB = track(patch: .flute, trackName: "Lead", period: 15, affluence: 9)
let trackC = track(patch: .clarinet, trackName: "secondary", period: 15, affluence: 7)