MIDI CC Controller Don't Work

Why the DAW can receive midi message from my Teensy , but the vst plugin cann't(like below shows). I tried Reaper too, still can cann't work on controll midi cc copntroller. just the button work well on studio one. it's that something wong on my code or something?

Please help me that.
note: for the attached picture, you can zoom the web page for the details.

#include <Control_Surface.h> // Include the Control Surface library

// Instantiate a MIDI over USB interface.
USBMIDI_Interface midi;

///////////////////////////////////////////////////////////////////////////////
// Instantiate an array of CCPotentiometer objects
CCPotentiometer potentiometers[] {
  {A5, 0x15},
  {A6, 0x01},
  {A7, 0x0B},
};

////////////////////////////////////////////////////////////////////////////////
// Instantiate a CCButton object
CCButton button1 = { 2, {MIDI_CC::General_Purpose_Controller_1, CHANNEL_1}, };    
CCButton button2 = { 3, {MIDI_CC::General_Purpose_Controller_2, CHANNEL_2}, }; 
CCButton button3 = { 4, {MIDI_CC::General_Purpose_Controller_3, CHANNEL_3}, };
//--------------------------------------------------------------------------
// Instantiate the LED that will light up when General_Purpose_Controller is 127
CCLED led1 = {8, {MIDI_CC::General_Purpose_Controller_1, CHANNEL_1}, };
CCLED led2 = {5, {MIDI_CC::General_Purpose_Controller_2, CHANNEL_1}, };
CCLED led3 = {6, {MIDI_CC::General_Purpose_Controller_3, CHANNEL_1}, };


void setup() {
  Control_Surface.begin(); // Initialize Control Surface
}

void loop() {
  Control_Surface.loop(); // Update the Control Surface
}

nnn

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.