Music Lab, An Arduino Project
About the project
What is "Arduino Music Lab"? It is a project based on an Arduino microcontroller and a buzzer (a little acoustic signaler that can make sounds) which is able to play some traits of famous songs!
Estimated time: 1 hour
Items used in this project
Software apps and online services
During the quarantine, I tried to create a project which combine Arduino to one of my biggest passions: the musical world.
From this idea, I made the music lab with an Arduino microcontroller and a buzzer (a little acoustic signaler) which is able to play some traits of very famous songs!
As you can see in the project's video, the music lab is based on the buzzer reproduction of a single instrument at a time, which synchronized with a video-editing software to the other instruments, can reproduce the original song, as much as possible similiar to the original.
How can you create this? This is really simple!
[Suggestions and Comments]
- More tracks in a MIDI file equals to a better audio/video final result.
- Not every track can be played by Arduino: the buzzer may not be able to reproduce all the original notes from some generated codes.
- Arduino Uno boards can't use more than a buzzer at a time.
- You can also implement others devices, including an LCD display or an IR sensor with its remote in order to make this project even more interesting!
- I used Wondershare Filmora 9 as a video-editing software but you can use whatever video-editing program you want.
- You can use LEDs (like in the video) in order to facilitate the video-sync process.
- Buzzer works only on analogic pins (A0-A5) and PVM pins [~] (3/5/6/9/10/11/13).
- The first thing to do is to get some MIDI files (.mid extension) from the Internet (If you don't know what MIDI files are, they're not audio files - like mp3, flac or wav files. This kind of file saves all the information about the notes, instruments, effects just like in a text file!).
- Then, you need to open https://www.extramaster.net/tools/midiToArduino/ and import your previously-downloaded midi file.
- Select the track (instrument) you want to play.
- Scroll down and adjust the Midi Speed Factor to 1.0x.