What is the state of 'true' if statements in Faust at the moment? My
current understanding was that if i have a series of block diagrams

f(0) = a;
f(1) = b;
...

and I want to be able to choose which block-diagram to execute without the
others being executed in the background, it could be done with the control
primitive, e.g.

in = hslider("Choice",0,0,N,1) : int;
process = par( i, N, control(f(i),in==i) ) :> _;

I also saw in an old thread that this requires the -es 1 compiler flag.
However, this results in a compiler error, referring to SigEnable.

How correct is my understanding, and should this work?

- Jonatan

PS: compiler version is 2.10.0
_______________________________________________
Faudiostream-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to