[PD] [libPD] Generation of patches

IOhannes m zmölnig zmoelnig at iem.at
Wed Apr 5 18:37:38 CEST 2017


On 04/05/2017 05:45 PM, François Zajéga wrote:
> libpd_symbol( "pd-empty.pd", ";\nobj 10 10 osc~ 440" );

no.
rather something like:

 t_atom v[4];
 libpd_set_float (v+0, 10);
 libpd_set_float (v+1, 10);
 libpd_set_symbol(v+2, "osc~");
 libpd_set_float (v+3, 440);
 libpd_message("pd-empty.pd", "obj", 4, v);

amds
IOhannes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20170405/5f7b4f53/attachment.sig>


More information about the Pd-list mailing list