     int idx = map(note, 0, 1023, 0, idx_range);
     // int mod -> which degree
     // int div -> which octave
-    int val = (idx % scale_size) + (octave * (idx / scale_size));
+    int val = scale[(idx % scale_size)] + (octave * (idx / scale_size));
 
     // Quant Secondary
     int val2= map(seq.getSecondary(), 0, 1023, 0, 24);

    */

    // Write
    analogWrite(OUT_PIN_1, val * 5);
    analogWrite(OUT_PIN_2, val2 * 5);

    // Quant Tempo off Analog input

#define OUT_PIN_2 5
#define TEMPO_PIN 2

#define OCTAVES 1

/*
    To play around with the Sequencer, wire a photo resitor to A0
