ITP Notebook [2020 - 2022]

Neural Networks: Study

November 20, 2020

Code of Music

This week I started work on a program that I will eventually use for my Physical Computing Project 3. The project will be a miniature physical drumming device that plays rhythms based on an initial beat that the user taps out. My P5 Sketch uses DrumsRNN to generate short loops based on a user defined beat. It allows you to play the drum kit using the keyboard and switch between your rhythm and the generated rhythm.

I eventually want to change the interaction so that instead of an already defined loop, the loop starts recording when the user starts playing and ends with a key press. Then the timing of the individual hits will be inferred and quantized based on the overall time. Then the new rhythm will be generated based on those parameters.