I'm trying to make an "overdub" like feature running on a patch loaded by libpd on iOS. I need to simply add the values of one array to the values of another and store them in a third.
I've been struggling to get tab_add to work, but because I can't dynamically link its pd_darwin library I don't see that happening.
Does anyone know of an alternative that I could compile myself?
Maybe there is an alternative way? There doesn't seem to be a way to add two arrays together in vanilla pd.
In the meantime I'm going to work reading the arrays into c arrays and trying to do the addition there, then feed the result back.
Thanks for reading! I appreciate any help or tips in the right direction.
- Jon