Re: [PD] [PD-dev] Rewrite wrap~ to allow an extra block

2016-09-29 Thread Ed Kelly via Pd-list
Thanks Pierre. Trying it now. This thing doesn't immediately crash or segfault, so I'm onto a winner eventually :) I understand my brain is slightly more dead than it was. But we can move forward now.Cheers,Ed  Lone Shark releases: Light Vessel Automatic available now on 12" vinyl.Build Your

Re: [PD] [PD-dev] Rewrite wrap~ to allow an extra block

2016-09-29 Thread Pierre Guillot
Hi Ed, The prototype of your perform method is wrong. You should have something like: static t_int *wrap_overshoot_tilde_perform(t_int *w) { t_wrap_overshoot_tilde *x = (t_wrap_overshoot_tilde *)(w[1]); t_sample *in = (t_sample *)(w[2]); t_sample *out = (t_sample *)(w[3]); t_int n