*Why not use the primitive :> which does exactly this?? For example:*

import("stdfaust.lib");

a = si.bus(4);
b = a;
c = b;
process = a, b :> c;

Byebye,
Giulio Romano De Mattia


Il giorno dom 17 ago 2025 alle ore 09:22 Klaus Scheuermann <kla...@posteo.de>
ha scritto:

> Hi Brandon,
> how about this?
> Cheers, Klaus
>
>
>
> import("stdfaust.lib");
>
> n = 4;
>
> a = si.bus(n);
> b = si.bus(n);
>
> process = a,b : summing(n);
>
> summing(n) = si.bus(n*2) : ro.interleave(n,2) : par(i,n,( _,_ :> _ ));
>
>
>
>
>
>
> Klaus Scheuermann
> kla...@posteo.de
> +491716565511
>
> > On 17. Aug 2025, at 04:34, Brandon Hale <bthaleproducti...@gmail.com>
> wrote:
> >
> > Hello all,
> >
> > I'm working on some faust code that adds some multichannel signals
> together. Below is an example of what I'm trying to do:
> >
> > import("stdfaust.lib");
> >
> > a = no.noise,no.noise,no.noise,no.noise;
> > b = no.noise,no.noise,no.noise,no.noise;
> >
> > process = a+b;
> >
> > My idea for what I'm trying to do is:
> >
> > chan 1 of a gets added to chan 1 of b
> > chan 2 of a gets added to chan 2 of b
> > ... and so on
> >
> > So the audio output of the dsp would be 4 channels.
> >
> >
> > I know this code above is nonsensical, but I'm trying to figure out how
> one would do this in faust, as I have some Ambisonics code that I'm working
> through.
> >
> > Thank you very much for your help,
> > Brandon Hale
> >
> >
> > _______________________________________________
> > Faudiostream-users mailing list
> > Faudiostream-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/faudiostream-users
>
>
>
> _______________________________________________
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
>
_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to