Pierre, That is really helpful! So, do we not know the vector size until the *_dsp method then? There is EXTERN int sys_getblksize(void); in m_pd.h, it would probably be useful if we added comments indicating the usage of that if it isn't giving us the block size that we should expect in _perform Another thing I wasn't sure about is if you need to explicitly free symbols after you gensym if they're being used for variables etc [like to get a "value"]. would be nice to add into the header docs. Maybe these questions are answered "how to make an external" doc but I didn't see it. It could be useful to create an updated doc.
On Fri, Feb 23, 2018 at 8:02 AM, Alexandre Torres Porres porres@gmail.com wrote:
2018-02-23 10:59 GMT-03:00 Pierre Guillot guillotpierre6@gmail.com:
(...) And to this code : https://github.com/pierregui llot/pd.dummies/blob/master/src/leeloo_tilde.c
Wow, that's *exactly* what I needed :) it couldn't be easier than that for me, haha, thanks!
Pd-dev mailing list Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev