The online compiler has not been updated yet, so the compiled .mxo do not work.

Stéphane 

> Le 4 mai 2020 à 12:29, bonardi <[email protected]> a écrit :
> 
> Dear Stéphane,
> 
> Thank you for your precise answers.
> 
> But there is a problem on my side using the @param_name syntax to change the 
> parameter values with messages.
> 
> I have tested with a very simple dsp code:
> 
> import("stdfaust.lib");
> gain = hslider("gain", 0.5, 0, 1, 0.001) : si.smoo;
> process = *(gain);
> 
> I have generated the mygain~.mxo object for Max /OS X and tested the 3 modes 
> you mentioned in the following patch (screenshot under).
> 
> When I try to send a message like @gain 0.2 or @gain 0.05 to the object 
> mygain~ nothing happens.
> 
> Best,
> 
> Alain
> 
> <mygaintest.png>
> 
> 
> 
> 
>> 
>>> Le 3 mai 2020 à 19:56, Stéphane Letz <[email protected]> a écrit :
>>> 
>>> Hi Alain,
>>> 
>>> I’ve recently added  @param_name attribute handling in faust2msp/faust2max 
>>> which allows to create the object with values at init time, like [foo 
>>> @param1 0.5 @param2  0.6] kind of syntax. This can be quite convenient. 
>>> 
>>> Now I I realise that parameters have to be preceded with this @ character 
>>> to make them work with messages ! So the parameter handling code has to be 
>>> fixed to deal with this new naming scheme. This has been fixed in 
>>> https://github.com/grame-cncm/faust/commit/1c4ffa40cb4019fe55d4157c40de539d4a08cfb7
>>> 
>>> To summarize:
>>> 
>>> - @param_name attribute handling  is now supported at object create time
>>> 
>>> - @param_name syntax has to be used now to change the parameters value with 
>>> messages
>>> 
>>> - or the complete path can be alternatively used like before.
>>> 
>>> This fix be available in the next deployment of the remote compiler. 
>>> 
>>> Stéphane 
>>> 
>>> 
>>>> Le 3 mai 2020 à 15:44, bonardi <[email protected]> a écrit :
>>>> 
>>>> Hi dear members of the list,
>>>> 
>>>> Hope you are fine.
>>>> 
>>>> I would like to know if there has been some recent change in the Faust 
>>>> compilation to OS X Max (I use FaustLive 2.15.11 on my Mac).
>>>> 
>>>> Here is a dsp Faust code (abc_substractsynth4.dsp) I compiled las sunday 
>>>> (april 26th).
>>>> 
>>>> When I recompiled it yesterday (may 2nd) I got a major change in the 
>>>> management of the controls.
>>>> For instance, for this line:
>>>> gain = hslider("v:SubstractSynth/h:General/gain [unit:dB]", -10, -127, 18, 
>>>> 0.01) : dbtogain;
>>>> 
>>>> I could until now just send a Max message [gain -20] to the generated .mxo 
>>>> and it updated the value of the gain.
>>>> From now on, with the new version compiled yesterday, the Max [gain -20] 
>>>> message does not work any longer (no error but no modification of the 
>>>> gain), I have to send a message like this : [/SubstractSynth/General/gain 
>>>> -20].
>>>> 
>>>> 
>>>> Thank you in advance for your help.
>>>> 
>>>> Best,
>>>> 
>>>> Alain
>>>> 
>>>> 
>>>> <abc_substractsynth4.dsp>_______________________________________________
>>>> Faudiostream-users mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
>>> 
>> 
> 



_______________________________________________
Faudiostream-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to