The software of the fork-o-drumbot is simple, but it uses a number of tricks that I would like to show you here.
The concept is very straightforward:
- the MIDI source sends to the Arduino the note of the percussion to be played;
- the software recognizes the note and sends a PWM signal to the related solenoid, proportional to the intensity of the note.
Seems easy, doesn’t it? But often simple things hide something complex. Let’s go in depth!