Deluge Firmware 1.3.0
Build date: 2025.09.12
Loading...
Searching...
No Matches
Patcher Class Reference
Collaboration diagram for Patcher:

Classes

struct  Config

Public Member Functions

 Patcher (const Config &config, std::span< int32_t > source_values, std::span< int32_t > param_final_values)
void performInitialPatching (Sound &sound, ParamManager &param_manager)
void performPatching (uint32_t sources_changed, Sound &sound, ParamManagerForTimeline &param_manager)
void recalculateFinalValueForParamWithNoCables (int32_t param, Sound &sound, ParamManagerForTimeline &param_manager)

Private Member Functions

int32_t combineCablesLinearForRangeParam (Destination const *destination, ParamManager &param_manager)
int32_t combineCablesLinear (Destination const *destination, uint32_t param, Sound &sound, ParamManager &param_manager)
int32_t combineCablesExp (Destination const *destination, uint32_t param, Sound &sound, ParamManager &param_manager)

Static Private Member Functions

static int32_t cableToLinearParamWithoutRangeAdjustment (int32_t running_total, int32_t source_value, int32_t cable_strength)
static int32_t cableToLinearParam (int32_t running_total, const PatchCable &cable, int32_t source_value, int32_t cable_strength)
static int32_t cableToExpParamWithoutRangeAdjustment (int32_t running_total, int32_t source_value, int32_t cable_strength)
static int32_t cableToExpParam (int32_t running_total, const PatchCable &cable, int32_t source_value, int32_t cable_strength)

Private Attributes

const Configconfig
std::span< int32_t > source_values_
std::span< int32_t > param_final_values_

The documentation for this class was generated from the following files:
  • src/deluge/modulation/patch/patcher.h
  • src/deluge/modulation/patch/patcher.cpp