pseeth/soxbindings

mcompand not functional

RanoRaraku opened this issue · 0 comments

Hi,
what is an issue with this mcompand command:

tfm.mcompand(
n_bands=3,
crossover_frequencies=[6500, 8000],
attack_time=[0.001, 0.001, 0.001],
decay_time=[0.020, 0.020, 0.020],
soft_knee_db=[None, 2.0, None],
tf_points=[
[(-40, -40), (0, 0)],
[(-40, -40), (-30, -38), (-20, -36), (0, -34)],
[(-40, -40), (0, 0)]],
gain = [0,0,0]
)
I get an error :
mcompand: mcompand accepts only an odd number of arguments:rgc mcompand quoted_compand_args [crossover_freq quoted_compand_args [...]]

In fact, I get this error even if I do

tfm.mcompand()