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@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