Fixed version (to test) sent by WeTransfer.

Can you fully test and report ?

Stéphane 


> Le 11 déc. 2018 à 22:45, bonardi <[email protected]> a écrit :
> 
> Here is a zipped file containing the test patch (test_toggles2a.maxpat) with 
> the faustgen~ object  embedding the code, and the .dsp file.
> When you switch on/off the toggles above r0000 and r0009 messages, you get an 
> error in the Max console and the signal does not go through.
> When you do that above r0011 and r0121 messages, it works well.
> 
> Thank you.
> 
> Alain
> 
> 
> <test_toggles_faustgen.zip>
> 
>> Le 11 déc. 2018 à 22:24, Stéphane Letz <[email protected]> a écrit :
>> 
>> Can you send me a test patch?
>> 
>> Thanks.
>> 
>> Stéphane 
>> 
>>> Le 11 déc. 2018 à 22:02, bonardi <[email protected]> a écrit :
>>> 
>>> 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 <[email protected]> a écrit :
>>>> 
>>>>> 
>>>>> Le 11 déc. 2018 à 11:58, Alain Bonardi <[email protected]> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to