Week #10

Musical composition

This week we learned about sound in p5 — playing it but also generating it. I tried creating a generative sound system, but having zero knowledge of music theory, I failed miserably. I spent a lot of time watching videos, trying different notes and different functions, and trying to find out how these things work. I do feel like I have a better understanding of sound after all that, but I did not however manage to create something that is even remotely nice to listen to.

First tryout was just playing notes in random order:

Second tryout was combining several notes at the same time as well as a sine wave oscillation:

This one kept bringing up a weird error which seems to happen when I use low numbers in the setInterval() function (seems to be a known problem).

Third tryout was a couple of oscillators whose frequency and amplitude were dictated by a noise function:

I feel a bit overwhelmed by the possibilities of sound generation because I don't fully understand all these new things, and it's hard for me to figure out what I want my sketch to be like, and to come up with "sound ideas". That said, I'm very excited to learn all about it and hopefully I get to do so in the near future.

X button icon

Jasmine Nackash is a multidisciplinary designer and developer intereseted in creating unique and innovative experiences.