I was using sox to remove silences with the following command:
sox input.wav output.wav silence 1 0.1 0.5% 1 0.1 0.5% : restart
Now, I need to run the same command with sox Python wrapper specifically.
I have seen silence() is available in sox.Transformers
But I am not sure if the restart functionality, which will move back to the first effects chain, was implemented in this wrapper.