For this exercise, I made a “Girlboss identifier” machine. A corresponding LED would light up in response to whether “gatekeep”, “gaslight” or “girlboss” was said into in the microphone.
I first trained Google’s Teachable Machine with sound samples for each word as well as background noise. I then let Teachable Machine do the work. Here’s the resulting model:
https://teachablemachine.withgoogle.com/models/iWxErI2RF/
I used adjusted sample code provided by my professor to take in the three inputs in p5.js and to connect to the correct port on my computer.
[P5.js sketch](https://editor.p5js.org/marthajanicki/sketches/VCPNTMgSs])
I also adjust code provided by my professor for the Arduino to output settings on three LEDs instead of 2.
https://gist.github.com/marthajanicki/19aff5889ba636cf8fb1f260349d1767
Here is the output as a video:
Alternative ideas: