Skip to content

Spread Controller

Description

Outputs in all dimensions the value received by a one dimensional channel input controller.

Syntax and Default Values

The 'spread controller can be created using the following Mlys (Max), mlys.lua, or Lisp syntax:

In Modalys for Max, this object is named mlys.spread:

[mlys.spread @name MySpread @dimension 2 @period -1]

The input controller that is spread must connected to the spread controller's inlet.

modalys.create_controller{ kind="spread",
                           dimension=2,
                           controller=<input controller>,
                           period=-1,
                           name="MySpread" }
(make-controller 'spread
                  dimension
                  period
                  controller)

Parameters

The 'spread controller takes three arguments:

  • dimension: number of dimensions of the output controller.
  • period: re-sampling period of the controller (in seconds).
  • controller: one-dimensional input controller.

As always, the period defines the time between the updates of the controller. It is -1 (automatic) by default. It should not be changed in general, unless you know exactly what you're doing.

The input controller should be a one-dimensional controller.