Implementation of Canfield-Dafilou and Abel's "Group Delay-Based Allpass Filters for Abstract Sound Synthesis and Audio Effect Processing".
First build the package itself with cargo build --release
, then create some
example.rs file inside the irs/ directory with a fn tau(w: f64) -> f64
function, like
fn tau(w: f64) -> f64 {
48000. * (50. * w).cos()
}
To build the example, run ./build.sh example.rs
. The generated executable
example now accepts two parameters: an output file and a number of samples for
the impulse response. By default the output wav file will have a sample rate of
48000 Hz.