diff options
author | Cyrille Henry <nusmuk@users.sourceforge.net> | 2009-06-01 13:51:40 +0000 |
---|---|---|
committer | Cyrille Henry <nusmuk@users.sourceforge.net> | 2009-06-01 13:51:40 +0000 |
commit | 5414bf29966bf440fba17c9d4e6998a88d443321 (patch) | |
tree | 462bfd5d0092d2b72ae77480e92690bd4cf94c61 /tab/tabosc4c~.c | |
parent | 15a64f39e37e1066885e8fa5df89e87e1dbdbe8f (diff) |
add work in progress tarbreadi
svn path=/trunk/externals/nusmuk/; revision=11605
Diffstat (limited to 'tab/tabosc4c~.c')
-rw-r--r-- | tab/tabosc4c~.c | 5 |
1 files changed, 2 insertions, 3 deletions
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]; |