Common scheme for mixed smoothed/non-smoothed control-/audio-rate parameter modulation.
According to this scheme, a modulated parameter is controlled by various parameters/signals, namely a smoothed control-rate parameter, a non-smoothed control-rate parameter, and a non-smoothed audio-rate modulation signal.
These three values are fed into a given modulation function to determine the instantaneous modulated parameter value.
Version: 1.0.1
License: proprietary license
Part of Brickworks Pro.
This algorithm is not licensed by itself, but rather in bundle with other algorithms that use it.
Module type: Foundation
typedef float (*bwp_mod_func)(float x, float x_mod_ctrl, float x_mod_audio);
Modulation function type.
It takes the smoothed control-rate parameter x, the non-smoothed control-rate parameter x_mod_ctrl, and the non-smoothed audio-rate modulation signal sample x_mod_audio, and returns the instantaneous modulated parameter value
static float bwp_mod_func_sum(
float x,
float x_mod_ctrl,
float x_mod_audio);
Returns x + x_mod_ctrl + x_mod_audio.
static float bwp_mod_func_pow2(
float x,
float x_mod_ctrl,
float x_mod_audio);
Returns x * bw_pow2f(x_mod_ctrl + x_mod_audio).