audtorch.transforms

The transforms can be provided to audtorch.datasets as an argument and work on the data before it will be returned.

Note

All of the transforms work currently only with numpy.array as inputs, not torch.Tensor.

Compose

Crop

RandomCrop

Pad

RandomPad

Replicate

RandomReplicate

Expand

Downmix

Upmix

Remix

Normalize

Resample

Spectrogram

LogSpectrogram

RandomAdditiveMix