Implementation of algorythm for changing the signal duration without changing the pitch.
- Download the repository.
- Go to the code directory.
- Install the required packages from requirements.txt. This can be done by:
$ pip install -r requirements.txt
- 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>
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.