pvoc

Crates.iopvoc
lib.rspvoc
version0.1.7
sourcesrc
created_at2016-02-28 22:34:44.270293
updated_at2021-02-07 05:11:55.773502
descriptionA phase vocoder for making audio effects
homepage
repositoryhttps://github.com/nwoeanhinnogaehr/pvoc-rs
max_upload_size
id4325
size50,381
Noah Weninger (nwoeanhinnogaehr)

documentation

README

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.

Commit count: 59

cargo fmt