Periodic/Constant: Fix inversion of attack/fade lengths

Fixes #5