< Back to IRCAM Forum

Mlys.signal target attribute

Hi all,
Since a number of modalys incremental updates, it is no longer possible in the mlys environment to select the parameter of a connection to be varied in signal. (one has to do that in Lisp or modify by hand the real-time script).
Varying the parameters of a connection in signal is a handy function for fine-control certain parameters.
This could be achieved by creating an input-point connected to an mlys.signal with a @target-attribute followed by the name of the control to vary in signal.
For example, it is much better to control the air-pressure of a reed connection in signal rather than in Max continuous data.
Why has this function been eliminated? Can it be restored?
See an example in the attached patch.


----------begin_max5_patcher----------
2647.3oc2arsiiZj8Y2eEHz9Xaq5NvtuzJ6K6JsqTzp7VRTKLtZ2jACdAbeI
QY91yotgAC1l1FOyj3dL1T0w0oNWqyEle6tY9KKdSV468289QuYy9s6lMSOj
ZfY16m4uI9sjr3JMX9IEa1Hyq8u2LWs7sZ83+vyoUdv+xK7xJxWKK8hSRjaq
kq7V9tW8yRuMYuW4IyeIsrHWsD2C.V7Iu3Z8rIE4UEYRumJJ02KKKgusQVUE
uVtvgtrzbYRwtbMNo1AWta4xLYU5JoZThcz7caRyyj05sMtCnaKRMq.ZAxNQ
5JMUTr7WlS82uBE6pcKApyRzdQ2FWm7bZ95GKkI0FdImnVZOLMT8AAquSHVf
79Y0u42u6N0k6GIOOW9Jrw5wxULzEZZYdZ91c0dOj7bbdtLyC6fMoHqnzrkv
ps.p4BVsWbjz5CgqykF3Fjkp1Ns94niilV73P7vLY2hZFp98sRyp562rJCvs
IQLMtDFTFPzLcRKTWE+hb0i.lgeyiw00koK2UaT7m0vzA1kg+0ZmLyecbZtd
.mtBrmi2n2W9euh4+uU7de8TZ45TJcqRWmGm48fBidwoky2VBVD6JkdOTGWt
VVOugX5L8.xeqLgSUuTeCKBEjfu5ZBhafl.AoQIUYwcYZBMh3Nb0IWHmUDuZ
Yb9Z2DOUjW+TbRG2KCxqawAOCCTsjUo+pYIIMN75wW0aiSwaCLhQiqL1dF6E
vMN1gHLDBcMrBl3z9t6vK167eHhkQVvu2iizDJkpI8vIlbuJZkFNUzpvPqrP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9w6tHZvtK1oug8DdC10PwfcMbyFSHryCPinqhmFSitmhrqumhGKx1
hUwPvseVEL6zEwJZgfIDzHSxX3ff.823LdD8lUZgnSWX2Sn9OhXY4lGqgnnK
M3UHCpjzC5h9TJHK8TsF9K5yDL5ZDWQSY9F1R.YivgQtYUXuJoLca8fbYcDB
5xOP9pWkMwMnz4Fd6k+b2CwYkIm6Zqo+J45R49TT1rKqNssuvCLXLmI02pQu
Kzc.5f+GtnID03ckzUE6JSbjsUOzaOs.ITUmlGuOuvFWKs.ZSZmdbhE5G.Sl
.oi9Hn0cGQ+ar6M0yM+Y2bphKAduuRLgGAlbamqBSpGNzyhINeBvj5Qw7rXJ
XRvzHPjJ+lqFQ7wPR7IASiRLQmBLQM5uml6MEhI1XnIZWfdNc0JYm3cKJWYp
OB51uYNsiGtPmgCmqez9M9cz2zJjc6dEec6UzXXbSgZmpoummqLE9gniwimJ
GzV.MQrywiZbeTecZczwHII3If+RFyAqzIAShOfkz0gI7XOO9ZwDdL1ASAya
Tph8oHSXWwa29hrzEilFGPnz+hIX0v602llatUWJC+R4KMwzoSLyOtDh2rFB
cz1cI+2DltkoKucY9tTqAm9IN1WGltJ85ps1mRdcz728628G.FJt.+C
-----------end_max5_patcher-----------

Ciao Lorenzo!

@target-attribute has been badly maintained, I agree. Sorry about that! Iā€™ll see if we can put it back on tracks in a next maintenance release of 3.8.
But mlys.lua offers options to get to essentially what you want: have more control!
Enclosed is you modified example.

Robert
PS: I strongly advised to dowload the latest beta version :wink:


----------begin_max5_patcher----------
3099.3oc2az0aiai74jeE7DtG1sv1PjRjRpEAXaKNfq.s3Jtqu0TDHaw3ntx
RtRxYS1E69a+FNjRlxVwQ1Vt354rQwhbzLbFNyv4Cse55qblW7jrxg70jekb
0Ue55qtBGRMvUl6uxYU7SKxhqPvbxkenX9u6LQOUs7oZb3UYOWMaQQVlbQcQ
Yyz4aVklmIqwGktcvhM06NZZBhG.2S8adbMX0OuVpWgNNjeyL0535EOjlu7t
Rff5Y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d
D.zgz1npGJ9PyZc.EQX6211doIJlrxpMSCuWQZ6.g4cevSW3AwI0bniu+Nt8
1emNctYuMud6ain291rZkNa6oAtCnuNGlRCtqN9meWcdoXc0u5ueQEd6v8w6
NS3KDdQ5DzgzfBvuw84QdidHsryJ0tHmWW8eHN00MfNJ5TilcMfwzc5i4XtQ
VRTMm6funHmVZHXeP7TevfdvW99KVFHQmXFHB6VC3ytX03z7dyO5I6gQ0f06
hc4pxg3b9+ohOC4f.1ImNW9xL4zl9B4jHWVJ2lyxpMY0o19B2wfQelz9VM3p
.qA+N+uBBYD03c2oqJ1TtngsMZbjs7BjgUcZd71DEachXAzpzNcYhJvWANeg
KF8Qf0cuf92PWapWZsWcwwM.cVTR8Jh8pTJXTnz.HjJMfylP7gvR7QgRCZax
aLnjBIzWS5MFaS9Cgm75BzCoIIxNwFVTlnKtf6kewbXiTt.yFfywWDYsMJdi
U3sl0J87VqtCYsNF6PCgNhQfPdCgR9GzCIS+RBKv2Gxfs2btqL5PTRYc.Zj1
lGNoo6S5yyZvaPZXzQXmmMjCG8FEJINBK7yiRzyVaNTWXAAcq1Ldy4txF9B6
rnyfzb2mP5HshWu9QYYSXYHMfnm+ccjngSvaSy02hUuvoT9XaXbXpbNwkPHl
0PzhaJ0wB9jP2WcrD2k4aRM1m3q4oCFYtJi5p0l2BYL.9q+70+W.47grR
-----------end_max5_patcher-----------

Thank you Robert,
Yes, it would be fine to have it back already in the mlys environment because essentially this is a basic possibility and function (itā€™s just a signal input for a target parameter).
Of course, I know that everything can be done in code inside lua, but it is much more complicated to have to write 10 lines of code for a function that can be realised in a simpler and more direct way.

Hi Robert,

Iā€™ve dowloaded the beta version you indicated, and, using the patch I have just a tuned noise, nothing remembering a blow connectionā€¦

Thank your for your patience. Iā€™ll look into all this.
Robert

Yet on the subject, curiously, although mlys gives an error because the air-pressure is not variable in signal via the @target-attribute, in this patch the script is correctly compiled and this parameter can be controlled in signal!


----------begin_max5_patcher----------
3297.3oc2bs0biaaE9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INNvIsEO3bB3TJI7AE4RP96OQ5Dplsb4Cz51ZYTMGCVj8S5bzlLT8qrR8
upN52A0zG5p8QUx9GjUmKyYeN2bV2C9DQetopxvntbEy3aRPc2JuEYYMMxCM
oYo4jiUIR+1e81+2J3unA
-----------end_max5_patcher-----------

Hi Lorenzo,

Yes, this is a peculiarity of the mlys.jet object: if a controller is connected to it, it is used for the air-pressure. So you can actually remove the ā€œtarget-attributeā€ thing from the your mlys.signal.
That said, target-attribute is officially back in the upcoming build (b3).

Regarding my mlys.lua translation attempt, I found out that the Modalys documentation has been wrong for ages regarding the reed connection: tube and reed access are in wrong order!! I was fooled by it when coding the lua API, and now it is fixed as well as the documentation, and my mlys.lua version works exactly as your original approach.

I will publish b3 later (probably tomorrowā€¦)

That all said, I feel you should not underestimate the tremendous potential of mlys.lua. This is with power users such as you in mind that I have developed it, because I know you are looking for super fine control on things :smiling_imp:

Robert

1 Like

Here you go:

1 Like

Thank you Robert,
Your patch now works!
and the 3.8.1b3 too!
Looking forward to deep dive in mlys.lua world!

Wonderful!