Hello all,

I am working on creating a simple faust program to convert some things for me, but I have run into an interesting problem. I'm sure the solution is simple, but I can't seem to figure it out.

How do I add two four channel variables?:


    
import("stdfaust.lib");

a = no.noise,no.noise,no.noise,no.noise;
b = no.noise,no.noise,no.noise,no.noise;

process = a+b;

I realize the code is silly and seemingly nonsensical, but if I'm working with variables that have 4 channels, how does one sum them together. What I really want is:

Output 1 of a adds to input 1 of b

Output 2 of a adds to input 2 of b

...

and have this pattern continue to output 4. The compiled program should just have 4 outputs with the channels added.


Thank you very much for any help,

Brandon Hale