Skip to content

nwoeanhinnogaehr/pvoc-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages