'usbMIDI' was not declared in this scope

im trying to make usb midi device and i download dj tech tools’s source code. I edited a bit but when i try to compile program says “‘usbMIDI’ was not declared in this scope” . Help pls!

#include <frequencyToNote.h>
#include <MIDIUSB.h>
#include <pitchToFrequency.h>
#include <pitchToNote.h>

#include <MIDI.h>
#include <Bounce2.h>
MIDI_CREATE_DEFAULT_INSTANCE();

// define how many pots are active up to number of available analog inputs
#define analogInputs 3
// make arrays for input values and lagged input values
int inputAnalog[analogInputs];
int iAlag[analogInputs];
// make array of cc values
int ccValue[analogInputs];
// index variable for loop
int i;

// cc values for buttons
int cc_off = 0;
int cc_on = 65;
int cc_super = 127;

// map buttons to cc for button
int cc0 = 2;
int cc1 = 3;
int cc2 = 4;
int cc3 = 5;
int cc4 = 6;
int cc5 = 7;

Bounce button0 = Bounce(0, 3);
Bounce button1 = Bounce(1, 3);
Bounce button2 = Bounce(2, 3);
Bounce button3 = Bounce(3, 3);
Bounce button4 = Bounce(4, 3);
Bounce button5 = Bounce(5, 3);

void setup() {
// MIDI rate
Serial.begin(31250);
pinMode(2, INPUT_PULLUP);
pinMode(3, INPUT_PULLUP);
pinMode(4, INPUT_PULLUP);
pinMode(5, INPUT_PULLUP);
pinMode(6, INPUT_PULLUP);
pinMode(7, INPUT_PULLUP);
pinMode(8, INPUT_PULLUP);
pinMode(A1, INPUT_PULLUP);
pinMode(A2, INPUT_PULLUP);
pinMode(A3, INPUT_PULLUP);

}

void loop() {
// loop trough active inputs for knobs
for (i=0;i<analogInputs;i++){
// read current value at i-th input
inputAnalog = analogRead(i);

  • // if magnitude of difference is 8 or more…*
    if (abs(inputAnalog - iAlag*) > 7){*
    * // calc the CC value based on the raw value*
    ccValue = inputAnalog*/8;*
    * // send the MIDI*
    _ usbMIDI.sendControlChange(i, ccValue*, 3);
    // set raw reading to lagged array for next comparison*

    iAlag = inputAnalog*;*
    * }
    delay(5); // limits MIDI messages to reasonable number*

    * }*_

* // Push Button code*
* button0.update();*
* button1.update();*
* button2.update();*
* button3.update();*
* button4.update();*
* button5.update();*

* if (button0.fallingEdge())*
* {*
* usbMIDI.sendControlChange(cc0, cc_on, 3);
_ }
if (button1.fallingEdge())
{_

usbMIDI.sendControlChange(cc1, cc_on, 3);
_ }
if (button2.fallingEdge())
{_

usbMIDI.sendControlChange(cc2, cc_on, 3);
_ }
if (button3.fallingEdge())
{_

usbMIDI.sendControlChange(cc3, cc_on, 3);
_ }
if (button4.fallingEdge())
{_

usbMIDI.sendControlChange(cc4, cc_on, 3);
_ }
if (button5.fallingEdge())
{_

usbMIDI.sendControlChange(cc5, cc_on, 3);
_ }*_

* if (button0.risingEdge())*
* {*
* usbMIDI.sendControlChange(cc0, cc_off, 3);
_ }
if (button1.risingEdge())
{_

usbMIDI.sendControlChange(cc1, cc_off, 3);
_ }
if (button2.risingEdge())
{_

usbMIDI.sendControlChange(cc2, cc_off, 3);
_ }
if (button3.risingEdge())
{_

usbMIDI.sendControlChange(cc3, cc_off, 3);
_ }
if (button4.risingEdge())
{_

usbMIDI.sendControlChange(cc4, cc_off, 3);
_ }
if (button5.risingEdge())
{_

usbMIDI.sendControlChange(cc5, cc_off, 3);
_ }*_

}

Start here