Depending on what you are doing I would suggest flext for most uses, the API is cleaner, has more helper functions and is easier to learn that native PD externals.
you can look at the source for "pso" which outputs complex lists and has multiple outlets. in externals/bbogart/externals (uses flext).
off hand I can't remember how to output lists in native externals, output_list?
B.
Florian Grond wrote:
Dear List,
I' ve managed to program simple objects for pd so far where inlets and outlets were only scalars. But the amount of numbers I want to send out increased and it makes no sense to have for everything an outlet:
Could anybody briefly tell me how to output a list through an outlet, say a list, containing three floats.
In particular, how to I have to change these lines?
x->list_out = outlet_new(&x->x_obj, &s_???????????????);
outlet_???????(x->list_out, x->???????????);
A quick reply would be very appreciated,
Thanks,
Florian
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list