Closed hbredin closed 2 years ago
Audio.rms_normalize currently only works for (channel, time)-shaped samples.
This PR adds support for (batch_size, channel, time)-shaped samples as well, which is the usual shape of selected_samples in randomize_parameters and apply_transform.
selected_samples
randomize_parameters
apply_transform
Thanks for this :) I would love a unit test. If you don't have one, I can probably make one in the coming days
Audio.rms_normalize currently only works for (channel, time)-shaped samples.
This PR adds support for (batch_size, channel, time)-shaped samples as well, which is the usual shape of
selected_samples
inrandomize_parameters
andapply_transform
.