sox_utils¶
Module to change the configuration of libsox, which is used by I/O functions like
sox_io_backend
and sox_effects
.
get_buffer_size¶
list_effects¶
list_read_formats¶
list_write_formats¶
set_buffer_size¶
set_seed¶
set_use_threads¶
- torchaudio.utils.sox_utils.set_use_threads(use_threads: bool)[source]¶
Set multithread option for sox effect chain
- Parameters:
use_threads (bool) – When
True
, enableslibsox
’s parallel effects channels processing. To use mutlithread, the underlyinglibsox
has to be compiled with OpenMP support.
See also