pub fn crossfade_drive_tanh(v1: f32, v2: f32, mix: f32) -> f32
Expand description

Linear (f32) crossfade with driving the v2 result through a tanh().

  • v1 - signal 1, range -1.0 to 1.0
  • v2 - signal 2, range -1.0 to 1.0
  • mix - mix position, range 0.0 to 1.0, mid is at 0.5