On 1/23/23 16:18, Alexandre Torres Porres wrote:

*static* *void* nchs_tilde_dsp(t_check *x, t_signal **sp){

     x->x_nchans = sp[0]->s_nchans;

     dsp_add(check_perform, 4, x, sp[0]->s_n, sp[0]->s_vec, sp[1]->s_vec);
}

multichannel objects must create the output signals themselves.
(as the object might change the number of channels).

see the example (mostly: pack~)

gfmdas
IOhannes

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
Pd-dev mailing list
[email protected]
https://lists.puredata.info/listinfo/pd-dev

Reply via email to