The Patchbay_

torchaudio

PyTorch's audio library: I/O, datasets, and transforms (spectrograms, MFCC) for audio ML.

LanguagePython
CategoryAudio analysis
LicenseBSD-2-Clause
PlatformsmacOS Windows Linux
Installpip install torchaudio
First released~2018
MaintainedYes
LinksWebsite · Source

Strengths

Limitations

Best for

Audio feature extraction and dataset/transform pipelines within PyTorch ML.

Minimal example

import torchaudio
wav, sr = torchaudio.load('audio.wav')
spec = torchaudio.transforms.MelSpectrogram()(wav)

Alternatives to torchaudio

librosaaubiomadmomEssentia

← Back to all tools