diff --git a/artiq/wavesynth/coefficients.py b/artiq/wavesynth/coefficients.py index 313913667..e43b03aae 100644 --- a/artiq/wavesynth/coefficients.py +++ b/artiq/wavesynth/coefficients.py @@ -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):