[PD-dev] naming loaders: pdlua, tclpd, etc.
Albert Graef
Dr.Graef at t-online.de
Fri Mar 14 13:26:35 CET 2008
Frank Barknecht wrote:
> This point however is a bit tricky with loaders, see the difference
> between the loader functionality in pdlua and the "luax" objectclass.
Yeah, that's because for the Lua external each object class is
associated with its own Lua source. In Pd/Q this is done differently;
there's only one main script which defines all the Q objects in a patch
(which are in fact just Q functions), but this script can be reloaded
dynamically through a special "q" receiver. This operation is a bit on
the heavy side, but in Q you can also create new functions at runtime,
so with a little preparation you can also change the behaviour of
objects written in Q by just sending them Pd messages encoding Q
functions, for instance.
Albert
--
Dr. Albert Gr"af
Dept. of Music-Informatics, University of Mainz, Germany
Email: Dr.Graef at t-online.de, ag at muwiinfa.geschichte.uni-mainz.de
WWW: http://www.musikinformatik.uni-mainz.de/ag
More information about the Pd-dev
mailing list