• Docs >
  • torchaudio.utils >
  • Old version (stable)
Shortcuts

torchaudio.utils

torchaudio.utils module contains utility functions to configure the global state of third party libraries.

Warning

Starting with version 2.8, we are refactoring TorchAudio to transition it into a maintenance phase. As a result: - sox_utils and ffmpeg_utils` are deprecated in 2.8 and will be removed in 2.9. - The decoding and encoding capabilities of PyTorch for both audio and video

are being consolidated into TorchCodec.

Please see https://github.com/pytorch/audio/issues/3902 for more information.

sox_utils

Module to change the configuration of libsox, which is used by I/O functions like sox_io_backend and sox_effects.

ffmpeg_utils

Module to change the configuration of FFmpeg libraries (such as libavformat).

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources