[PD] outlets with lists

Mathieu Bouchard matju at artengine.ca
Fri Apr 8 17:05:37 CEST 2005


On Fri, 8 Apr 2005, Mathieu Bouchard wrote:

> t_atom t[4];
> SETFLOAT(t[0],2);
> SETFLOAT(t[1],3);
> SETFLOAT(t[2],5);
> SETFLOAT(t[3],7);
> outlet_anything(my_outlet,gensym("list"),sizeof(t)/sizeof(t_atom),t);

Actually Carmen's code is better, as it has less typos.

(Sigh)

  ,-o---------o---------o---------o-. ,----.                            |
  | The Diagram is the Program (TM) | |  ,-o----------------------------o-.
  `-o-----------------------------o-' |  | Mathieu Bouchard               |
    |                             |---'  |      http://artengine.ca/matju |
    |                             |      `-o------------------------------'




More information about the Pd-list mailing list