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 <alain.bona...@gmail.com> 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
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users



_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to