Arduino project for MIDI controlled drummer. MIDI signals come in on the serial port (RX). A snare and bass drum are struck by 12V solenoid motors connected to ports 8, 9 and 10. If the pedal on port 4 is pressed, the MIDI activity is ignored and the drums stop.

MIDI input circuit from this Instructable

Schematic