Final Project Progress

Finalized concept for the project

A music device that teaches kids how to read music notes. The way it works is that there will be a tutorial in the beginning that the user has to follow and then the user plays a game for about a minute and he/she should should collect as much points as he/she can, each correct note is +10 points and each wrong note is -5 points. The device is consisted of 9 buttons each button is allocated to a note starting from (E, F, G, A, B, C, D ,E, F).

I want to color code each button to correspond to the following chart:

Arduino Program

The Arduino code defines each button for each digital pin, and it defines a digital pin for the potentiometer. The potentiometer sends value to the P5 program to adjust the volume. It also sends the button index to the P5 so it can play the note corresponding to the button pressed.

P5 Program

The P5 program holds the sound frequencies for each note. It gets a signal from Arduino of which button is being pressed (digital pins) and it plays the note allocated to that button. It has the display of the music staff and the notes drawn. It displays one note at a time if you get the note wrong it will keep displaying the note until you get it correct and if you get it correct it moves to the next note.

Documentation of progress

Github

Leave a Reply