[PD-dev] help designing multichannel aware externals

IOhannes m zmoelnig zmoelnig at iem.at
Mon Jan 23 18:33:43 CET 2023


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20230123/74157e89/attachment-0001.sig>


More information about the Pd-dev mailing list