8 releases
Uses old Rust 2015
0.1.7 | Feb 7, 2021 |
---|---|
0.1.6 | Jan 11, 2021 |
0.1.5 | Feb 23, 2020 |
0.1.4 | May 18, 2016 |
0.1.3 | Feb 29, 2016 |
#630 in Audio
21 downloads per month
17KB
283 lines
pvoc-rs
A phase vocoder written in Rust.
Example usage
use pvoc::{PhaseVocoder, Bin};
let mut pvoc = PhaseVocoder::new(1, 44100.0, 256, 4);
pvoc.process(&input_samples,
&mut output_samples,
|channels: usize, bins: usize, input: &[Vec<Bin>], output: &mut [Vec<Bin>]| {
for i in 0..channels {
for j in 0..bins {
output[i][j] = input[i][j]; // change this!
}
}
});
Check out pvoc-plugins for some LADSPA plugins that use this library.
Dependencies
~3MB
~57K SLoC