Skip to content

Сhange the signal duration without changing the pitch.

License

Notifications You must be signed in to change notification settings

TimkaMLG/Phase_Vocoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Phase Vocoder

Implementation of algorythm for changing the signal duration without changing the pitch.

Install

  1. Download the repository.
  2. Go to the code directory.
  3. Install the required packages from requirements.txt. This can be done by:

$ pip install -r requirements.txt

  1. Run by bash script run.sh, you should provide path to input wav file, path to output wav file and scaling factor. Scaling factor should be > 0 and < 1 for compressing audio duration or > 1 for adjusting audio duration.

$ run.sh <input_path.wav> <output_path.wav> <scaling_factor>

Pay attention

Due to calculation errors, the resulting audio is quite noisy, so when playing the result, lower the volume to a minimum to avoid injury to hearing.

About

Сhange the signal duration without changing the pitch.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published