I use the teachable machine to train my model to recognize different pitch I play with my Ukulele. After the model was trained, I took it to p5.js and made it to out put the note I was playing whenever it detects a not, and it should say “you are not playing” when it only detect the background noise. This is a simple and fun project, I enjoy the process of it. It is amazing that this program allows us to use the data we chose and train our machine to differentiate them. I noticed that the more data you use the more accurate the model gets. To take this to a next level, I think I can use the pitch to do some game, where the player can use different pitch to control how high and or how far the character jumps.The hardest part of this project was to record the samples. The results is accurate most of the times, but when two notes have very similar waveform, it will mix them up and give the wrong result. I think that can be fixed with more data.
Categories