> Le 11 déc. 2018 à 11:58, Alain Bonardi <alain.bona...@gmail.com> a écrit : > > Hello everyone, > > I have a problem when trying to address an array of checkboxes. > > Here is my code, that builds a matrix of checkboxes (121 inputs, 16 outputs): > > import("stdfaust.lib"); > Ninputs = 121; > Noutputs = 16; > > toggle(ind) = checkbox("r%4ind"); > inputblock = par(i, Ninputs, _); > elementaryblock(ind) = par(i, Ninputs, *(toggle(ind * Ninputs + i))) :> _; > > process = inputblock <: par(i, Noutputs, elementaryblock(i)); > > It compiles correctly, but when I try to use it, I get an error (unknown > parameter) if I try to access r0000 to r0009 checkboxes.
I tried compiled here with faust2caqt and faust2jaqt and it seems to work normally, I could connect r0000 and so on. How do you compile the DSP ? which faust2wxx tool are you using ? What exactly does give this error ? Stéphane _______________________________________________ Faudiostream-users mailing list Faudiostream-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/faudiostream-users