Skip to content

This phase vocoder allows for time stretching and pitch shifting.

License

Notifications You must be signed in to change notification settings

Bistanium/phase_vocoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

This phase vocoder allows for time stretching and pitch shifting.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published