Making Generative Music in the Browser

Making Generative Music in the Browser

5 years ago
Anonymous $Dftgs0JzgE

https://medium.com/@metalex9/making-generative-music-in-the-browser-bfb552a26b0b

After making generative music systems on generative.fm for the better part of a year now, I’ve received numerous requests for an explanation of how I create the systems featured on the site. Rather than replying to everyone individually, I thought it would be best to explain my process here for anyone interested.

Before I do that, you should know that I work full-time as a software developer. Specifically, I’m a frontend web developer, meaning I write JavaScript code for web browsers every day. It was therefore natural for me to build my generative music systems in JavaScript. To keep this post as brief as possible, I won’t be teaching you how to code. If you’re not familiar with programming or JavaScript, I recommend you read the free book Eloquent JavaScript. There are other methods of building generative music systems which don’t require programming knowledge, but I don’t use them.