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

Constant power 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