[PD-dev] help with some new multichannel tools

Alexandre Torres Porres porres at gmail.com
Sun Jul 23 02:22:18 CEST 2023


ok, I was able to compile a version that does not blow pd up

obviously I have no idea of what I am doing and I did some things based on
warnings I was getting, but then, I do copy the input first and then
reorder the channels but I do get the exact same result as before, so it
was all for nothing.

here's my new attempt, hopefully not too far from getting things right
https://github.com/porres/pd-else/blob/master/Code_source/Compiled/signal/remap~.c#L34

cheers

Em sáb., 22 de jul. de 2023 às 21:02, Alexandre Torres Porres <
porres at gmail.com> escreveu:

>
>
> Em sáb., 22 de jul. de 2023 às 18:39, Christof Ressi <
> info at christofressi.com> escreveu:
>
>> if the input and output signals have the same channel count, they will
>> alias each other, just like in regular single-channel objects.
>>
> actually, funny stuff happens for 4 multichannel input and 3 multichannel
> output, but I've seen that issue with single channel objects and I tried
> copying stuff from other objects in ELSE into this multichannel idea and
> failed.
>
>> You first need to copy the whole input signal to a temporary buffer
>> (probably allocated in your object) and then copy the corresponding
>> channels to the output signal.
>>
>
> I wonder if you can give me a better detailed strategy/steps.
>
> thanks
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20230722/399e519e/attachment.htm>


More information about the Pd-dev mailing list