Crates.io | pitch_shift |
lib.rs | pitch_shift |
version | 1.0.0 |
source | src |
created_at | 2022-08-13 22:10:20.865278 |
updated_at | 2022-08-13 22:10:20.865278 |
description | pitch-shifting using the phase vocoder technique |
homepage | |
repository | https://github.com/NathanRoyer/pitch_shift |
max_upload_size | |
id | 645067 |
size | 15,193 |
This crate has one library and one program inside.
The library is a rust port of the code at https://github.com/cpuimage/pitchshift/.
It implementes the "Phase Vocoder" technique which shifts the pitch without stretching the recording and without bringing in too many artifacts.
It exposes one type, PitchShifter
, which allows you to shift the pitch of audio buffers.
It's up to you to bring the audio, maybe from a file or from your computer's microphone.
See https://docs.rs/pitch_shift for library usage instructions.
The program at examples/shift-wav.rs
allows you to shift the pitch of WAV files from your command line.
It can be installed this way:
cargo install pitch_shift --example shift-wav
Run it without any argument to learn how to use it.