         const float min_val = 0, max_val = 40.0; //set desired range
         float new_value = min_val + (max_val - min_val)*val;
         input_gain_dB = new_value;
-        audioHardware.setInputGain_dB(input_gain_dB); // set input volume, 0-47.5dB in 0.5dB setps
+        myTympan.setInputGain_dB(input_gain_dB); // set input volume, 0-47.5dB in 0.5dB setps
         Serial.print("servicePotentiometer: Input Gain (dB) = "); Serial.println(new_value); //print text to Serial port for debugging
       #else
         //use the potentiometer to set the freq-domain low-pass filter

  if ((curTime_millis - lastUpdate_millis) > updatePeriod_millis) { //is it time to update the user interface?

    //read potentiometer
    float val = float(analogRead(POT_PIN)) / 1024.0; //0.0 to 1.0
    val = (1.0/15.0) * (float)((int)(15.0 * val + 0.5)); //quantize so that it doesn't chatter...0 to 1.0

    //send the potentiometer value to your algorithm as a control parameter

// LowpassFilter_FD
//
// Demonstrate audio procesing in the frequency domain through the use of a very simple
// lowpass filter.
//
// Created: Chip Audette, Initial 2017
//
// Approach:
//    * Take samples in the time domain
