               {
                 params.vals.slew_rate = 16;
               }
-              seq_values.slew_rate = (float)params.vals.slew_rate / 16.0;
+              seq_values.slew_rate = params.vals.slew_rate;
               display->fill_rect(57, 3, 16, 5, DUINO_SSD1306::White);
               display_slew_rate(57, 3, params.vals.slew_rate, DUINO_SSD1306::Black);
               break;

  bool stage_slew[8];
  uint8_t stage_count;
  bool diradd_mode;
  float slew_rate;
  float gate_time;
  uint16_t clock_period;
  bool clock_ext;
};


    return ((float)note - 36.0) / 12.0;
  }

  unsigned long bpm_to_us(uint8_t bpm)
  {
    return 6000000 / (unsigned long)bpm;
  }

  void display_slew_rate(int16_t x, int16_t y, uint8_t rate, DUINO_SSD1306::SSD1306Color color)
