Crates.io | fft-convolver |
lib.rs | fft-convolver |
version | 0.2.0 |
source | src |
created_at | 2022-12-03 14:30:15.875333 |
updated_at | 2023-10-19 07:49:31.533968 |
description | Audio convolution algorithm in pure Rust for real time audio processing |
homepage | https://neodsp.com/ |
repository | https://github.com/neodsp/fft-convolver |
max_upload_size | |
id | 729128 |
size | 21,191 |
Port of HiFi-LoFi/FFTConvolver to pure rust.
use fft_convolver::FFTConvolver;
let mut impulse_response = vec![0_f32; 100];
impulse_response[0] = 1.;
let mut convolver = FFTConvolver::default();
convolver.init(16, &impulse_response);
let input = vec![0_f32; 16];
let mut output = vec![0_f32; 16];
convolver.process(&input, &mut output);