Open hbredin opened 2 years ago
Good! Yeah, I agree, let's get rid of the librosa dependency. I haven't followed the progress in torchaudio closely. Did they speed up their resampling since https://github.com/asteroid-team/torch-audiomentations/issues/37#issuecomment-724691882 ?
Since version 0.8.0 the resampling in torchaudio is based on julius.
Leveraged julius resampling implementation to make resampling faster. (https://github.com/pytorch/audio/pull/1087)
torchaudio
now does a good job loading and resampling audio.Would be nice to get rid of (sometimes tricky to install)
librosa
in favor oftorchaudio
.Related: #9