wavesynth: duration sign

This commit is contained in:
Robert Jördens 2016-02-21 23:27:57 +01:00
parent 1b410abc2c
commit d7f5904d16

View File

@ -139,7 +139,7 @@ class CoefficientSource:
coefficients.shape[0])[:, None, None]
if cutoff:
coefficients[np.fabs(coefficients) < cutoff] = 0
return build_segment(durations, coefficients, target=target,
return build_segment(np.fabs(durations), coefficients, target=target,
variable=variable)
def extend_segment(self, segment, *args, **kwargs):