[PD] I'm stuck in a corner, please help! RE: [delta~] object
Frank Barknecht
fbar at footils.org
Sat Mar 22 00:08:13 CET 2008
Hallo,
Claude Heiland-Allen hat gesagt: // Claude Heiland-Allen wrote:
> Hi,
>
> Using the source:
>
> pd/src/d_filter.c/sigrzero_perform()
>
> t_sample next = *in1++;
> t_sample coef = *in2++;
> *out++ = next - coef * last;
> last = next;
>
>
> pure-data/externals/cxc/delta~.c/delta_perform()
>
> float f = *(in++);
> // *out++ = (f > 0 ? f : -f);
> *out++ = (f > x->x_last ? fabs(f - x->x_last) : -fabs(f -
> x->x_last));
> x->x_last = f;
>
Oops, another nameclash: I wasn't aware of delta~ from cxc and was
referring to delta~ from Cyclone. Anyway, seems they do the same in the
end.
Ciao
--
Frank
More information about the Pd-list
mailing list