Home » Support » Knowledge Base » Knowledge Base

Knowledge Base

Programming buttons to toggle functions on/off (Oxygen Series)
Text size [-] [+]

When standard MIDI CC numbers are assigned to buttons (or the Sustain pedal) on Oxygen Series keyboards, they will toggle between two values.  This means that one value is sent the first time it is pressed, and another value is sent the next time it is pressed.  By default, the buttons on your Oxygen Series (blue or silver) keyboard may already be configured to operate as toggle switches. When configuring a button (or the sustain pedal) to operate in toggle mode, the following three values need to be specified:


The following example will configure a button to use CC102 as a Toggle Function.  When it is pressed the first time it will to turn a function “on” by sending a value of 127, and "off" when it is pressed a second time by sending a value of “0”:

  1. Press to select a button
  2. Press the Advanced button
  3. Press the Control Assign key
  4. Type 102 using the number keys. This assigns MIDI CC number 102 to the button.
  5. Press the Enter key
  6. Press the Advanced button
  7. Press the Data 2 key
  8. Type 0 using the number keys to assign the "second button press" (minimum) value
  9. Press the Enter key
  10. Press the Advanced button
  11. Press the Data 3 key
  12. Type 127 using the number keys to assign the "first button press" (maximum) value
  13. Press the Enter key


Note: While many programs utilize alternating values of 0 and 127 to toggle functions off and on, others may only utilize a value of 127 to toggle the current status of a function.  If you find that the desired control only responds (toggles) with every other press, assign the Data 2 parameter to 127.

MIDI CC messages are sent on a specific MIDI Channel, which by default is Channel 1.  Please see this article for instructions on assigning an Oxygen control to a specific MIDI channel.  After programming your device, please refer to this article to store your changes to memory.