[PD] variable signal outlets and inlets?

IOhannes m zmölnig zmoelnig at iem.at
Sun Aug 30 21:47:24 CEST 2015


On 08/30/2015 09:36 PM, Rama Gottfried wrote:
> hi dave!
> check out the dsp_addv function, I think it’s meant for exactly this. I don’t have any code right in front of me… oh wait, I do …  I’m pretty sure this works:

yes, dsp_addv() should do the trick.

anyhow, i found that in most cases i use dsp_add() but don't pass the
signal pointers directly, but store them in the objects structure.

see iemmatrix' [mtx_*~] code for an example.

gmfdsrt
IOhannes

[mtx_*~]:
https://svn.code.sf.net/p/pure-data/svn/trunk/externals/iem/iemmatrix/src/mtx_mul~.c

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


More information about the Pd-list mailing list