torchaudio.sox_effects.init_sox_effects¶
- torchaudio.sox_effects.init_sox_effects()[source]¶
Initialize resources required to use sox effects.
Note
You do not need to call this function manually. It is called automatically.
Once initialized, you do not need to call this function again across the multiple uses of sox effects though it is safe to do so as long as
shutdown_sox_effects()
is not called yet. Onceshutdown_sox_effects()
is called, you can no longer use SoX effects and initializing again will result in error.