KentoNishi / torch-time-stretch

Time-stretch audio clips quickly with PyTorch (CUDA supported)! Additional utilities for searching efficient transformations are included.
https://kentonishi.github.io/torch-time-stretch/
MIT License
36 stars 3 forks source link

Example ratios are reversed. #1

Closed hdemmer closed 3 years ago

hdemmer commented 3 years ago

Love it, thanks for making this! Tiny thing: In the example test_time_stretch_2_up should use 1/2 as a ratio, not 2/1. test_time_stretch_2_down should use that 2/1 (it's stretching the clip length by 2x).

KentoNishi commented 3 years ago

right, thanks for pointing that out! i'll update the examples