Skip to main content

vec_comb_parallel

Function vec_comb_parallel 

Source
pub fn vec_comb_parallel(
    bufs: &mut [&mut [f32]],
    positions: &mut [usize],
    damp: &mut [OnePoleState],
    dst: &mut [&mut [f32]],
    src: &[f32],
    time: &[&[f32]],
    feedback: f32,
    damping: f32,
)
Expand description

Parallel comb filter: N independent delay lines, same input, no cross-feedback.

Each line gets the full src input and feeds back only into itself. Outputs are written to separate buffers so the caller can sum/weight them however they like (e.g. different weights for L/R stereo width).

Use for: Schroeder reverb (parallel combs → series allpasses), Moorer reverb, any topology with independent delay+feedback lines.