[PD-dev] Buggy fft/soundfiler in 0_38 devel?
Tim Blechmann
TimBlechmann at gmx.net
Thu Feb 10 23:51:02 CET 2005
> Unfortunately I can't access cvs right now, so I can't test it.
> Would You be so kind and mail me apropriate/fixed source files?
diff -u -r1.3.4.11 -r1.3.4.12
--- d_ctl.c 26 Jan 2005 19:23:16 -0000 1.3.4.11
+++ d_ctl.c 10 Feb 2005 21:54:49 -0000 1.3.4.12
@@ -149,7 +149,7 @@
static void line_tilde_slope(t_float* out, t_int n, t_float* value,
t_float*
slopes, t_float* slopestep) {
- t_float slope = slopes[0];
+ t_float slope = slopes[1];
t_float f = *value;
n>>=3;
while (n--)
@@ -185,11 +185,19 @@
if (x->x_retarget)
{
int nticks = x->x_inletwas * x->x_dspticktomsec;
+ int i;
if (!nticks) nticks = 1;
x->x_ticksleft = nticks;
x->x_biginc = (x->x_target - x->x_value)/(float)nticks;
x->x_inc = x->x_1overn * x->x_biginc;
x->x_retarget = 0;
+
+ /* tb: rethink!!! this us ugly */
+ for (i = 0; i != 4; ++i)
+ {
+ x->x_slopes[i] = i*x->x_inc;
+ }
+ x->x_slopestep = 4 * x->x_inc;
}
if (x->x_ticksleft)
{
>
> BTW. Am I the only one having problems with sourceforge's cvs?
> I can't access any project cvs repository.
> For instance after:
>
> cvs -z3 d:pserver:anonymous at cvs.sourceforge.net:/cvsroot/pure-data \
> co -r devel_0_38 pd
sourceforge seems to have problems with the anonymous cvs (i think
since yesterday)...
cheers ... tim
--
mailto:TimBlechmann at gmx.de ICQ: 96771783
http://www.mokabar.tk
latest mp3:
http://jokebux.klingt.org/gro.tgnilk/mp3s/2317/index.html
After one look at this planet any visitor from outer space
would say "I want to see the manager."
William S. Burroughs
More information about the Pd-dev
mailing list