aboutsummaryrefslogtreecommitdiff
path: root/modules/fdn.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/fdn.c')
-rw-r--r--modules/fdn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/fdn.c b/modules/fdn.c
index 22fcc40..9fbfee7 100644
--- a/modules/fdn.c
+++ b/modules/fdn.c
@@ -311,11 +311,11 @@ static void fdn_updatedamping(t_fdn *x)
}
static void fdn_timelow(t_fdn *x, t_float f){
- x->x_ctl.c_timelow = f;
+ x->x_ctl.c_timelow = fabs(f);
fdn_updatedamping(x);
}
static void fdn_timehigh(t_fdn *x, t_float f){
- x->x_ctl.c_timehigh = f;
+ x->x_ctl.c_timehigh = fabs(f);
fdn_updatedamping(x);
}