Link to p5: Week 6 HW

Coding Exercise

For this week’s assignment, I made a pitch classifier. I recorded seven notes in GarageBand on my iPad as input to train the model, hoping to build one that could recognize different pitches. Then I imported it into p5.js and created some simple visuals for each note.

One limitation is that the model is quite unstable — although it can recognize the notes, it often misclassifies them as other pitches.

Demo:

https://drive.google.com/file/d/1PK9O9EdGSVcOsdr0JEMc4JN586J1a-_N/view?usp=sharing