Open
Description
When running the below code,
from scipy.io.wavfile import read
import sox
import numpy as np
path = 'input.wav'
sr, wav = read(path)
tfm = sox.Transformer()
tfm.set_globals(verbosity=0)
stretch_ratio = np.random.normal(1.05,0.125)
tfm.tempo(stretch_ratio, audio_type='s')
wav = tfm.build_array(input_array=wav, sample_rate_in=sr)
I get a warning that says
'For this stretch factor, the stretch effect has better performance.'.
I want to turn this off, but it seems that
tfm.set_globals(verbosity=0)
does nothing.
What can I do to turn that warning off?
Metadata
Metadata
Assignees
Labels
No labels