pub fn crossfade<F: Flt>(v1: F, v2: F, mix: F) -> F
Expand description

Linear crossfade.

  • 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