Hi Stéphane,

Thank you for testing.
I tried in Max, either using faustgen~ or generating an .mxo object.

The compilation is successfull. When I send a r0000 1 message, I get the 
following error message: ‘Unknown parameter: r0000’
The same with r0001, … r0009.
And it does not work at all when you try to send a noise in through the first 
10 inlets using r000X messages.
For any other value (r0010) no problem, it perfectly works.

Best,

Alain

P.S. When compiling to PureData target, everything works well.


> Le 11 déc. 2018 à 20:42, Stéphane Letz <l...@grame.fr> a écrit :
> 
>> 
>> 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

Reply via email to