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
_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list