Build your own MIDI projects
FAQ
Frequently Asked Questions.
Details
 
MIDI & Music
MIDI and Music Information
Details
 
MIDI Filter Control Change to Program Change

 

MIDI Filter Control Change to Program Change

 

The MIDI Filter Control Change to Program Change unit can be used as a midi controller that can convert MIDI Control Change (CC) messages to MIDI Program Change messages for switching effects in real-time. The unit operates on MIDI Channel 1. It  blocks all other MIDI messages on this channel and on channels 2 to 16 to reduce MIDI throughput. The unit also provides a MIDI THRU output connection which provides a direct unfiltered copy of the MIDI IN connection.

 

 

 

*Click to Enlarge*

 

 

 

The MIDI Filter Control Change to Program Change unit utilizes:

  • An assembled, built and tested Arduino board including a suitable pre-programmed Atmega microcontroller,
  • A 2.1mm power socket, and associated LED, 
  • A MIDI detection LED,
  • A 150mm wired MIDI 5-pin DIN Input socket,
  • A 150mm wired MIDI 5-pin DIN Output socket, 
  • A 150mm wired MIDI 5-pin DIN Thru socket, 
  • The circuit schematic is available,
  • The MIDI IN, OUT, THRU wiring is available.

 

 

The MIDI Filter Control Change to Program Change unit requires:

  • A 9 Volt battery or equivalent 9 Volt DC external power source, or USB Connector.

 

 

MIDI IN/OUT Wiring:

 MIDI_IN_OUT_CONNECTIONS.JPG (212235 bytes)

     *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.

 

 

 

 

Operation:

The unit detects the incoming MIDI data and if the MIDI channel corresponds to the DIP switch MIDI channel setting, when a corresponding MIDI Control Change (CC) channel event  is detected, then the MIDI data is converted to a Program Change command and sent to the MIDI output. So for example, when you receive Control Change #10 on MIDI Channel 1 you transmit Program Change #10 on MIDI Channel 1, when you receive Control Change #14 on MIDI Channel 1 you transmit Program Change #14 on MIDI Channel 1.

 

However if MIDI data from another MIDI channel is detected it is filtered out and it is not transferred to the output.

Also any non-channel events are filtered out. So any System Common, Realtime or Exclusive events are ignored.

 

The unit also provides a MIDI THRU output connection which provides a direct unfiltered copy of the MIDI IN connection.

 

 

    

MIDI Specification: 

 The MIDI Channel Filter commands are all channel (1-16) dependent. The system will also work with MIDI running status.

  

Power Supply:

The  Arduino can be powered via the USB connection or with an external power supply. The power source is selected automatically.

  

External (non-USB) power can come either from an AC-to-DC adapter (wall-wart) 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. A low dropout regulator provides improved energy efficiency.

 

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.