Mutable Instruments Open-source FIRMWARE HACKING

Mutable Instruments

https://mutable-instruments.net/modules/peaks/open_source/
Anyone tried this or keen to?
I’m planning to make a new split mode for Peaks so i can control pitch & decay on kick/snare.

    if (function_ == PROCESSOR_FUNCTION_SNARE_DRUM ||
        function_ == PROCESSOR_FUNCTION_HIGH_HAT) {
      uint16_t tone_parameter = control_mode_ == CONTROL_MODE_FULL
          ? parameter_[1] : parameter_[0];
      uint16_t snappy_parameter = control_mode_ == CONTROL_MODE_FULL
          ? parameter_[2] : parameter_[1];
      if (tone_parameter >= 65000 && snappy_parameter >= 65000) {
        if (function_ != PROCESSOR_FUNCTION_HIGH_HAT) {
          set_function(PROCESSOR_FUNCTION_HIGH_HAT);
        }
      } else if (tone_parameter <= 64500 || snappy_parameter <= 64500) {
        if (function_ != PROCESSOR_FUNCTION_SNARE_DRUM) {
          set_function(PROCESSOR_FUNCTION_SNARE_DRUM);
        }
      }
    }
    (this->*callbacks_.configure_fn)(&parameter_[0], control_mode_);
  }
  
  ControlMode control_mode_;
  ProcessorFunction function_;
  uint16_t parameter_[4];
2 Likes