2018-02-23 13:02 GMT-03:00 Alexandre Torres Porres :
>
> Wow, that's *exactly* what I needed :) it couldn't be easier than that
> for me, haha, thanks!
>
Well, it got hard again. I actually needed an extra main signal inlet, so,
when I added it, I managed to make it work and build and stuff... bu
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
A
2018-02-23 10:59 GMT-03:00 Pierre Guillot :
> (...)
> And to this code : https://github.com/pierreguillot/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-
Hi Alexandre,
You can also look at this thread on the forum.pdpatchrepo.info:
https://forum.pdpatchrepo.info/topic/10466/matrices-and-reallocating-memory.
And to this code :
https://github.com/pierreguillot/pd.dummies/blob/master/src/leeloo_tilde.c
2018-02-22 18:41 GMT+01:00 Miller Puckette :
Check that the input addresses are different from the output ones - usually
in a case like that Pd will re-use the memory from the inputs for the outputs,
so your object needs to be able to operate in-place.
(hint: allocate a bunch of temporary signals on teh stack using alloca(), and
put the outp