[PD] Chad's response to Please, may I have s'more...

Chad A. Wood chad at sphericle.com
Sat Aug 16 01:37:47 CEST 2003

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].


> -----Original Message-----
> From: pd-list-admin at iem.at [mailto:pd-list-admin at 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 at iem.at
> http://iem.at/cgi-bin/mailman/listinfo/pd-list

More information about the Pd-list mailing list