Build your own MIDI circuits
FAQ
Frequently Asked Questions.
Details
 
MIDI & Music
MIDI and Music Information
Details
 
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.

 

 

PCB_N0_DIP.jpg (122586 bytes)

 

MIDI DRUM ANALYSER

ITEM#: MIDIDRUMANAL

PRICE:  €35.00


 

 

 

 

  

  

  

 

The MIDI Drum Analyser unit utilizes:

  • A Miduino kit including a suitable pre-programmed Atmega168,
  • A 2.1mm power socket, and associated LED, 
  • Select MIDI channel at power-on, in programme mode, 
  • Pre-select MIDI drum choices in programme mode, 
  • A MIDI 5-pin DIN input socket,
  • A MIDI 5-pin DIN output socket,
  • The circuit schematic is available,
  • A MIDI mode switch and associated LED, to allow unit to work with MIDI via USB cable

 

 

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. 

 

Operation: 

The switch SW1 allows this unit to operate with the MIDI IN/OUT DIN connectors (at 31250 Baud), if the switch is closed. If the switch is open-circuit (or the switch is not connected) the unit can operate via the USB cable (at 38400 Baud).

 

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.

 

This unit can utilize MIDI IN/OUT via USB with the FTDI USB cable or with the standard MIDI IN/OUT connectors. If the USB cable is used to operate MIDI IN/OUT on the Miduino,  then the MIDI to USB drivers need to be installed.

 

Assembly:

The assembly is straightforward and well documented. This design does not include a USB chip, it is designed to use a FTDI USB 232-TTL cable to program the microcontroller.  However since the cable plugs directly into the Miduino, you can use this one cable for multiple projects.

   

MIDI Wiring:

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.

 

Download:

Open the  source code file and copy and paste it into the Arduino programme and save it as a .PDE file.

 

MIDI Specification: 

 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

MIDI 

Channel

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

 

 

  

 

MIDI Specification: 

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.

 

Expansion:

The MIDI to 16 output units can be combined/expanded by connecting the MIDI OUT of one unit to the MIDI IN of the following unit.