I don't think so... I think you access the "w" array based on the order you passed things into the perform function. In your dsp_add function, it looks like ref would be w[1], as you have it, but n would be w[9] I think. You're accessing it as w[7].
Chad
-----Original Message----- From: pd-list-admin@iem.at [mailto:pd-list-admin@iem.at]On Behalf Of foolish Sent: Friday, August 15, 2003 6:05 PM To: Philanthropists Subject: [PD] Chad's response to Please, may I have s'more...
One thing I noticed from your code is that it looks like you're only computing one sample in your perform function. I think you should be looping through every sample in the block. That's what you pass "n" or whatever the value is to the function.
I have a little while (n--) thing going in the perform function. Do I have the pointers set right at the beginning of the function?
Thanks for the reply
-pdman "lever, pull"
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list