[PD-dev] pd-core lib + SIMD

geiger geiger at xdv.org
Thu Jan 19 19:02:24 CET 2006


On Thu, 19 Jan 2006, Hans-Christoph Steiner wrote:
> > Sounds good, this is how I structured PDa, so it would reduce the
> > differences between PDa and standard pd.
>
> Do you have any documentation on this?  It would be good to have Pd and
> PDa as similar as possible.  Plus its always good to have an example to
> start from.

You can download PDa and look at the source. But it is so trivial to
change the behaviour (in some cases), that it is not even necessary.

Just delete the xxx_setup() function from the pd source and move all
the xxx_* code into a separate file and treat it as an external.

But then, there are some things which make this a bit more complicated in
some cases. e.g. as Thomas noted if you want to reuse code in several
"internals/externals".
This might be important in the SIMD case, but maybe you can factor
out standard operations into macros and reuse those.
For PDa I had to come up with a workaround for sine tables that are used
by some oscillators.

And, I just made the signal processing objects external up to now, so
I don't know what problems will arise with others ...

Guenter

>
> .hc
>
> >
> > Günter
> >
> >>
> >> .hc
> >>
> >> ______________________________________________________________________
> >> __
> >> ____
> >>
> >>             "The arc of history bends towards justice."
> >>                                             - Dr. Martin Luther King,
> >> Jr.
> >>
> >>
> >> _______________________________________________
> >> PD-dev mailing list
> >> PD-dev at iem.at
> >> http://lists.puredata.info/listinfo/pd-dev
> >>
> >>
>
> ________________________________________________________________________
> ____
>
>                              http://at.or.at/hans/
>
>
>
> _______________________________________________
> PD-dev mailing list
> PD-dev at iem.at
> http://lists.puredata.info/listinfo/pd-dev
>




More information about the Pd-dev mailing list