From 5414bf29966bf440fba17c9d4e6998a88d443321 Mon Sep 17 00:00:00 2001 From: Cyrille Henry Date: Mon, 1 Jun 2009 13:51:40 +0000 Subject: add work in progress tarbreadi svn path=/trunk/externals/nusmuk/; revision=11605 --- tab/tabosc4c~.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tab/tabosc4c~.c') diff --git a/tab/tabosc4c~.c b/tab/tabosc4c~.c index f4a5a66..ad4e7a2 100644 --- a/tab/tabosc4c~.c +++ b/tab/tabosc4c~.c @@ -126,7 +126,7 @@ static t_int *tabosc4c_tilde_perform(t_int *w) int n = (int)(w[4]); int normhipart; union tabfudge tf; - double a3,a1,a2; // CH + double a3,a1,a2; // CH : for the interpolation t_float fnpoints = x->x_fnpoints; int mask = fnpoints - 1; t_float conv = fnpoints * x->x_conv; @@ -139,7 +139,6 @@ static t_int *tabosc4c_tilde_perform(t_int *w) tf.tf_d = UNITBIT32; normhipart = tf.tf_i[HIOFFSET]; -#if 1 while (n--) { t_sample frac, a, b, c, d, cminusb; @@ -169,7 +168,7 @@ static t_int *tabosc4c_tilde_perform(t_int *w) *out++ = ((a3 * frac + a2) * frac + a1) * frac + b; } -#endif + tf.tf_d = UNITBIT32 * fnpoints; normhipart = tf.tf_i[HIOFFSET]; -- cgit v1.2.1