torch-audiomentations
torch-audiomentations copied to clipboard
Fast audio data augmentation in PyTorch. Inspired by audiomentations. Useful for deep learning.
I use PitchShift wih min=-0.9 and max = 1.1, then it raise `No fast pitch-shift ratios could be computed for the given sample rate and transpose range.`. I dont face...
Boost background_noise performance. 1. Reduce audio decode and file io 2. Reduce rms compute. maybe a diffrenece between rms(partial audio) and rms(full audio)
Implemented spectral gating based on https://timsainburg.com/noise-reduction-python.html Can you check this and let me know what you think? @iver56 I will implement the tests after the review if that's fine.
Implemented VLTP as introduced in http://www.cs.toronto.edu/~hinton/absps/perturb.pdf. Adopted from the numpy code here: https://github.com/makcedward/nlpaug/blob/master/nlpaug/model/audio/vtlp.py Additional notes: - Only supports single channel for now - At the moment, the entire batch will...
Implements #68 Todo - [ ] per-channel, per-batch, per-example - [ ] Add unit tests - [ ] Add examples
This transform takes a fraction of the end or the start of the audio and treats that part as padding. We can implement several modes: - [x] constant (zero) -...
Here are some ideas for Spliceout improvements: - [ ] Add a param for crossfade window size? 10 ms may actually be a bit on the large side for a...