With the new Ircam Forum website coming, the user groups will be migrated towards a new platform.
Please plan user groups downtime between Monday, March 25th and Tuesday, March 26th.

Group Admins

  • Profile picture of Robert P.


Public Group active 4 days, 12 hours ago

Modalys physical modeling sound synthesis user group

Mlys dynamic controller params

Author 2 Subscribed Users |
Profile photo of coraliediatkine


Question about mlys~ scripts, dynamic controllers.
What does the third argument stand for?

Hammer_c2 = make_controller('DYNAMIC',1,-1,0.5,'Hammer@large-mass')

here, a dynamic controller, one dimension, ???, intial value, target.

The principle is different in Modalys: we have the type, number of dimensions, PERIOD, initial values and message name.
Should I understand that -1 is sampling period? I am confused.

Also posted in the maxapps forum.

August 20, 2016 at 15:29 #18833
Robert P.
Robert P.

Hi Coralie,

The 3rd argument is the update period for the controller.
0 means “every sample” and -1 “when necessary”, so -1 is better! I guess it’s some legacy parameter, but to my opinion, it should not even be exposed.
To be short: -1 is safe in every case.


September 20, 2016 at 15:00 #19089

You must be logged in to reply to this topic.

Log in now