new logo JPEG.jpgCMD LC-1.png        
The CMD LC-1 is a Trigger-Based MIDI Module with a 4x8 Button Grid and Multi-Colour LED Feedback. For some applications it's beneficial to set the LED colours. For example you may wish to set drum loop triggers to red and bass loop triggers to blue to help you differentiate easily when using the controller. The following is a guide to custom mapping the LEDs on the CMD LC-1.   Firstly you will want to consult the MIDI map for the unit to determine which buttons send and receive which CC values: CMD-LC-1 MIDI Map.png   One of the simplest ways to send MIDI data to your CMD LC-1 is to use Hex sent through SysEx messages, Hex is a way to represent MIDI values. From the MIDI map above we can determine which MIDI notes determine the control of which LED button, for the purpose of this article we will focus on the G#1 button (top left). So the next step is to convert the MIDI note G#1 to a Hex value. The chart on the following web page is a useful resource for this.   From this chart we can see that the MIDI note G#1 has a Hex value of 20. Now we can begin to compile our Hex message using the data with have at hand. We will first need a software that is capable of sending Hex (SysEx) messages to our CMD LC-1. A suitable software for this is Bome Send SX which is available for free download online. Please there is other software available which can perform the same task we are just using Bome SendSX for this article/ example.    When you open Bome SendSX on your computer the program will look like this:   Bome SendSX.png   If you plug CMD into your computer via USB you will be able to select it as the MIDI out and MIDI in device. Now any MIDI messages that are sent by the Bome SendSX software are going to be received by the CMD-LC1.    Bome SendSX MIDI Out.png   We can now go about writing our SysEx messages in the MIDI Out box to send to our CMD LC-1. Each message will consist of 3 bytes with each byte consisting of 2 characters. The CMD LC-1 button LEDs respond to note on messages so the first character of the first byte will be a 9 which is the Hex value for a note on message. The second character will determine the MIDI channel the message is sent on. The following table shows how MIDI channels are determined using Hex values:  
MIDI ChannelHex Value
For this example let's say our CMD LC-1 is set to send and receive messages on MIDI channel 14. This means our first byte will be 9D. 9= Note On, D= Channel 14. If you wish to change the channel your CMD LC-1 is operating on please consult the following Knowledge Base article:   CMD- How Do I Change MIDI Channel On My CMD Controller   Our next byte will be determined which button LED we wish to change, as in our example we are changing the G#1 button, this will be 20.   Our final byte is determined by the LED status we want to program. By consulting the MIDI map we can see to change the LED to Blue (On Solid) the value will be 05. It is worth noting that because we are dealing in HEX the value 127 for OFF (No LED) is 7F.   Now we have our complete Hex message to turn the G#1 Button LED Blue:   9D 20 05   To recap this message has been determined by the following steps.   1st byte- note on = 9 and MIDI channel = D  2nd byte = Note number (G#1) in Hex = 20 (consult chart) 3rd byte= velocity in hex (consult MIDI map) remember 7F= 127 in Hex.   So if we go into Bome SendSX and enter our message into the MIDI Out box and hit Send (F4) the top left button of the CMD LC1 (G#1 on the MIDI map) will turn blue.   Bome SendSX Hex Message.png   Here are some further examples of Hex Messages.To change G#1 button LED on MIDI channel 14:  
LED StateHex Message
Off (Amber Backlight) 9D 20 00
Solid Green9D 20 01
Blinking Green9D 20 02
Solid Purple9D 20 03
Blinking Purple9D 20 04
Solid Blue9D 20 05
Blinking Blue9D 20 06
Solid Amber9D 20 07
Blinking Amber9D 20 08
Off (No LED)9D 20 7F
  To change G#1 button LED on MIDI channel 8:  
LED StateHex Message
Off (Amber Backlight) 97 20 00
Solid Green97 20 01
Blinking Green97 20 02
Solid Purple97 20 03
Blinking Purple97 20 04
Solid Blue97 20 05
Blinking Blue97 20 06
Solid Amber97 20 07
Blinking Amber97 20 08
Off (No LED)97 20 7F
Note that above the D in the first byte has been changed to 7 which represents MIDI channel 8 in Hex.   To change D#4 Button LED Colour on MIDI channel 8:  
LED StateHex Message
Off (Amber Backlight) 97 3F 00
Solid Green97 3F 01
Blinking Green97 3F 02
Solid Purple97 3F 03
Blinking Purple97 3F 04
Solid Blue97 3F 05
Blinking Blue97 3F 06
Solid Amber97 3F 07
Blinking Amber97 3F 08
Off (No LED)97 3F 7F
Note that the second byte has changed from 20 to 3F which represents the D#4 button in Hex.