Build your own MIDI circuits
Frequently Asked Questions.
MIDI & Music
MIDI and Music Information
MIDI Drum Analyser


MIDI Drum Detector/Analyser

This unit utilizes MIDI Note ON/OFF data from a MIDI file player or sequencer to switch ON/OFF  LEDS, corresponding to the pre-selected MIDI drums. So  by watching the LEDs, which can be attached beside real or practice drums, you can follow, practice and learn a MIDI drum pattern.






PRICE:  €50.00









The MIDI Drum Analyser unit utilizes:

  • An assembled, built and tested Arduino board including a suitable pre-programmed microcontroller,
  • A 2.1mm power socket, and associated LED, 
  • Select MIDI channel via 4-way DIP switch, 
  • Pre-selected MIDI drum choices,
  • A MIDI 5-pin DIN input socket,
  • A MIDI 5-pin DIN output socket,
  • The circuit schematic is available,



The MIDI Drum Analyser also requires:

  • A 9v battery or equivalent DC power source
  • 8 Light Emitting Diodes (LEDs) and associated resistors


Normal Mode:

The unit detects the incoming MIDI data and if the MIDI channel corresponds to the correct MIDI channel setting, when a corresponding Note-on is detected, (to the pre-set MIDI drum selection), the corresponding output LED is switched on (+5 Volts) and stays on until the corresponding note-off is detected and the output is switched off (0 Volts). This allows each output LED to operate independently. 



The MIDI drum analyser unit can be operated live in real time from a MIDI keyboard or from a hardware/software sequencer with pre-programmed MIDI Note on/off data. The outputs can be used to switch on LEDs for each selected drum so that you can 'see' as well as hear a drum pattern being played, allowing you to copy and learn that pattern.


Drum Assignment:

The 8 drum inputs can be pre-assigned to any user requested MIDI drum inputs. The standard pre- assigned drums are:


  • drum1 42 Closed HH,
  • drum2 35 Kick rim,
  • drum3 38 Snare,
  • drum4 49 Crash1,
  • drum6 43 Tom 3,
  • drum7 47 Tom 2 rim,
  • drum8 51 Ride Cymbal.






     *Click to Enlarge*

The MIDI IN and OUT connectors use  5-Pin 180 degree DIN sockets. Note that the MIDI IN/OUT wiring is polarised and the correct pins should be used.





Pin Wiring Connections:


Power Supply: 

External  power can come either from an AC-to-DC adapter  or battery. The adapter can be connected by plugging a 2.1mm center-positive plug  into the board's power jack. Leads from a battery can be inserted in the Gnd and Vin pin headers of the POWER connector. .


The board can operate on an external supply of 7 to 20 volts. If supplied with less than 7V, however, the 5V pin may supply less than five volts and the board may be unstable. If using more than 12V, the voltage regulator may overheat and damage the board. The recommended range is 7 to 12 volts.



MIDI Specification: 

This unit operates with the MIDI IN/OUT DIN connectors at 31250 Baud. The unit detects the incoming MIDI data, which corresponds to the DIP switch MIDI channel (1-16) setting.

Generally, MIDI drums are recorded/transmitted on MIDI channel 10. However any channel (1-16) can be selected using the 4-way DIP switch selection shown in Table 1. 



DIP Switch Selections



4 3 2 1
on on on on 1
on on on off 2
on  on  off on 3
on on off off 4
on off on on 5
on off on off 6
on off off on 7
on off off off 8
off on on on 9
off on on off 10
off on  off on 11
off on off off 12
off off on on 13
off off on off 14
off off off on 15
off off off off 16

Table 1 MIDI Channel






The LED outputs are switched ON via MIDI 'Note-On' commands and OFF by MIDI 'Note-off' commands. These MIDI commands are all channel (1-16) dependent. Also, the outputs will switch off if  a correct MIDI Note On with a velocity of 00  is received. The unit also works in MIDI Running Status mode.