Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 1.83 KB

File metadata and controls

45 lines (36 loc) · 1.83 KB

Phase Vocoder in Python

https://github.com/Bistanium/phase_vocoder

English 日本語

Phase vocoders enable time stretching and pitch shifting.

Required Libraries

Library Version
numba 0.61.2
numpy 2.2.6
resampy 0.4.3
scipy 1.16.1
soundfile 0.13.1
tqdm 4.67.1

How to Use

  1. Run the start.bat file.
  2. Select a wav file (any file you want to process).
  3. Enter a value (time-stretch rate or target pitch).

Additional note

  • There is a section in the program where the user can modify the resampling variable.
    • By default, resampling is set to 0, which performs time stretching.
    • To perform pitch shifting instead, set resampling to 1.
image image

Result

  • The waveform shown on top is the original, and the one below is the result of time-stretching the signal by a factor of 1.5.
image

Reference