You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
361B

  1. #if !defined(QWELK_COMMON_H)
  2. #include "rack.hpp"
  3. using namespace rack;
  4. typedef uint8_t byte;
  5. // struct TinyKnob : RoundSmallBlackKnob {
  6. // TinyKnob();
  7. // };
  8. byte minb(byte a, byte b);
  9. byte maxb(byte a, byte b);
  10. int clampi(int v, int l, int h);
  11. float slew(float v, float i, float sa, float min, float max, float shape);
  12. #define QWELK_COMMON_H
  13. #endif