[PD-dev] writing wrapper objects in C

Nicola Bernardini nicb at centrotemporeale.it
Tue Aug 27 10:58:54 CEST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Sorry if this is a really trivial question that has been answered a
number of times: it must have escaped me. Should that be the case,
please be patient and give me a pointer to previous threads.

With the SOb group in Verona we are building some really cool physical
model objects which are soon going to be turned in the pool of pd externals
available to everybody to use.  These models work really well, but they
are really hard to use: they have lots of tweaking parameters which need
to be used by (really) expert people.

So here's what I am trying to do: while preserving the full fledged
object for experimentation, I would like to build some wrapper modules
in C which hide a lot of the number-crunching done for control and show
to users some less abstract parameters. I would like to use the DSP code
'as-is' (= without rewriting any of it) and keeping the data hiding
operated by it (e.g. without unnecessary exporting of data structures
and/or functions).

I have seen that this task is not trivial. I would like to know if:

a) it is at all possible
b) anyone has already done something like that so that I can look at the
   code
c) there is some documentation about how to do it someplace

Thank you very much in advance

nicb

+--------------------------------------------------------------------+
|Nicola Bernardini                                                   |
|E-mail: nicb at centrotemporeale.it                                    |
|GPG Fingerprint = 6AE6 AF21 E160 D9B3 396E  EBAC 906C CFAE 4D65 D910|
|Neither MS-Word nor MS-PowerPoint attachments please:               |
|http://www.fsf.org/philosophy/no-word-attachments.html              |
+--------------------------------------------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Made with pgp4pine 1.75-6

iD8DBQE9az9SkGzPrk1l2RARAuYoAKDb8UAI38T7iuEbn+vhoCtcxyPeOQCfaMO5
NEe9S0uOBPzeYqNdK7Oub4E=
=suhL
-----END PGP SIGNATURE-----






More information about the Pd-dev mailing list