mc.generate~ Reference

Generate Values for a Range of Channels

mc.generate~

Description

The mc.generate~ object allows signal-rate updating of MC Wrapper features such as deviate, spread, and harmonic as a trigger signal or parameter inputs change. One wrapper message is assigned as an operator.

Arguments

initial-parameter-1 [float]

Optional

Initial value for parameter 1

initial-parameter-2 [float]

Optional

Initial value for parameter 2

initial-parameter-3 [float]

Optional

Initial value for parameter 3

Attributes

chans [int]

The chans attribute sets the number of channels in the output multi-channel signal. If the chans attribute is changed while the audio is on, the number of channels will change when the audio is restarted.

op [symbol]

Use op to select the operator used to generate values. Possible values are deviate, increment, spread, spreadinclusive, spreadexclusive, spreadincludesecond, spreadincludefirst, harmonic, subharmonic, exponential, scaledexponential, and decide. For information on these operators, see the MC Wrapper Messages guide. Possible values:

'decide'
'deviate'
'ease.in_back'
'ease.in_bounce'
'ease.in_circular'
'ease.in_cubic'
'ease.in_elastic'
'ease.in_exponential'
'ease.in_out_back'
'ease.in_out_bounce'
'ease.in_out_circular'
'ease.in_out_cubic'
'ease.in_out_elastic'
'ease.in_out_exponential'
'ease.in_out_quadratic'
'ease.in_out_quartic'
'ease.in_out_quintic'
'ease.in_out_sine'
'ease.in_quadratic'
'ease.in_quartic'
'ease.in_quintic'
'ease.in_sine'
'ease.linear'
'ease.out_back'
'ease.out_bounce'
'ease.out_circular'
'ease.out_cubic'
'ease.out_elastic'
'ease.out_quadratic'
'ease.out_quartic'
'ease.out_quintic'
'ease.out_sine'
'exponential'
'harmonic'
'increment'
'randomrange'
'scaledexponential'
'smoothstep'
'spread'
'spreadexclusive'
'spreadincludefirst'
'spreadincludesecond'
'spreadinclusive'
'subharmonic'

p1 [float]

Sets the value of the first operator parameter

p2 [float]

Sets the value of the second operator parameter

p3 [float]

Sets the value of the third operator parameter

ramptime [float]

If the ramptime attribute is zero, the values of new operator calculations are output immediately and will be discontinuous with previous values. A non-zero ramptime specifies the number of milliseconds for the output signals to ramp to the newly calculated values. The new values are effectively delayed by the ramp time.

Common Box Attributes

Messages

int

Converted to float

float

A number in the second inlet sets value of the first parameter. A number in the third inlet sets the value of the second parameter. A number in the right inlet sets the third parameter.

signal

A signal in the left inlet triggers a calculation of the current operator. Signals in the other three inlets set parameter values.