 void setup() {
   AudioMemory(100);
   InLevel = float(EEPROM.read(0)/255.0);
+  outLevel = float(EEPROM.read(1));
   dc2.amplitude(InLevel, 20);
   sgtl5000_1.enable();  // Enable the audio shield
   sgtl5000_1.inputSelect(myInput);

    }
  else analogWrite(ledPin2, (peak_3)*100);  //modulation active
  
//******************** SET filter handling**********************  
  if (CV1Value <8.0 && modulationMode == 1){  //Check if CVinput is active
    modFreq = CV1Value;    //expression pedal overrides the potmeter
    }
  
  if ((CV2Value <80)||(CV2Value > 1400)) spanfreq = Pot3Value;  //Check if exp pedal is active
  else spanfreq = CV2Value;
  
  if (SW2Value == 3) movingfreq = peak*2 * spanfreq + spanfreq ;
  else if (SW2Value == 5) movingfreq = -peak *2* spanfreq + spanfreq ;
  else if (SW2Value == 1) movingfreq = spanfreq;    //not moving filter

if ((spanfreq > spanfreqOld+ 4) || (spanfreq < spanfreqOld - 4)){
  filter1.frequency(spanfreq);
  filter2.frequency(spanfreq);
  filter3.frequency(spanfreq);
  filter4.frequency(spanfreq);
}
if ((Pot2Value > Pot2ValueOld+ 0.1) || (Pot2Value < Pot2ValueOld - 0.1)){
  filter1.resonance(Pot2Value);
  filter2.resonance(Pot2Value);

    }
    else if (SW1Value == 5) { //LowPass
       if (filterOrder == 12) { //   12db/dec
        mixer4.gain(0, outLevel);
        mixer4.gain(1, 0);
        mixer2.gain(0, 1);
        mixer2.gain(1, 0);  
