What it does
It can play preinstalled music, any uploaded mp3 file or you can create your own music!
How we built it
With style 😎.
Challenges we ran into
Making the mp3 file sound good on the arduino.
The problem was that the Fast Fourier Transform (FFT) transformation is not perfect. Choosing the correct note to play was a challenge.
Accomplishments that we're proud of
The display of the arduino reacts to the music being played.
anonymous reviewer
"I cannot take my eyes off of the display! It is so cool!"
MDS
Our MDS consists of two numbers: the first denotes the frequency of the note in Hertz (Hz), and the second represents the duration of the note in milliseconds (ms).
For instance, a whole A4 note played at a tempo of 120 would be denoted as "440 2000". Similarly, a half-note rest at 120 tempo would be represented as "0 1000".
A beginning of a song (Despacito) could look like this:
0 100 330 500 740 100 0 100 330 200 554 100 330 400 0 100 494 200 370 400 0 300 370 200 494 100 554 200 587 200 659 200 587 200 554 200 587 100
MP3 to MDS
Our program initially transforms the .mp3 file using Fast Fourier Transform (FFT), then proceeds to sample the file at a constant rate, identifying the most significant note.
Log in or sign up for Devpost to join the conversation.