diff options
-rw-r--r-- | pmpd_core.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pmpd_core.c b/pmpd_core.c index a56753d..91254b5 100644 --- a/pmpd_core.c +++ b/pmpd_core.c @@ -17,6 +17,11 @@ t_float sqr(t_float x) return x*x ; } +t_float mix(t_float X, t_float Y, t_float mix) +{ + return (1-mix)*X + mix*Y ; +} + t_float tabread2(t_pmpd *x, t_float pos, t_symbol *array) { t_garray *a; |