Skip to main content

modulation_delta

Function modulation_delta 

Source
pub fn modulation_delta(
    source: f64,
    amount: f64,
    bipolar: bool,
    stored_span: f64,
) -> f64
Expand description

The change a modulation route adds to the stored value of its destination: (source - 0.5 * bipolar) * amount * (max - min). It adds before the engine scale of the destination is applied.