mc.makelist Reference

Create a list from non-signal output of MC objects

mc.makelist

Description

The mc.makelist~ object creates a list of values whose size is determined by the highest voice number it receives in its right inlet or specified by the value of its voices attribute.

Examples

Arguments

None.

Attributes

mode [symbol]

The mode attribute determines how mc.makelist outputs its list in response to incoming values.

Possible values:

'passive' ( passive mode )
Lists are output only when any message is received at the left inlet. The passive mode is useful when you want to decouple list output from incoming values.

'pak' ( passive mode )
Any value arriving at the middle inlet will trigger an output (default value of the mode attribute).

'buddy' ( buddy mode )
The buddy mode (named for the buddy object) outputs a list when at least one value for each list position has been received since the last output. In order to work properly in buddy mode, mc.makelist needs an initial value for its voices attribute so it knows how many voices to keep track of.

'auto' ( auto mode )
The auto mode outputs a list immediately after a voice number received in the right inlet repeats for the first time after the last list output. This mode is useful when the list size might change over time.

'hitrig' ( hitrig mode )
The hitrig mode outputs a list immediately after a value for the highest voice number (as determined by the value of voices attribute) is received.

voices [int]

The voices attribute sets the maximum voice number mc.makelist will monitor as well as the size of its output list. If you set a voice number number higher than this value, value inputs in the middle inlet will be ignored.

Common Box Attributes

Messages

bang

Left inlet triggers output.

int

Arguments

value [int]
Left inlet triggers output, middle inlet sets value of list at current voice number position, right inlet sets voice number for next value received in the middle inlet.

float

Arguments

value [float]
Left inlet triggers output, middle inlet sets value of list at current voice number position, right inlet sets voice number for next value received in the middle inlet.

list

Arguments

value [list]
Left inlet triggers output, middle inlet sets value of list at current voice number position using the first element in the input list, right inlet sets voice number for next value received in the middle inlet using the first element in the input list.

anything

Arguments

value [list]
Left inlet triggers output, middle inlet sets value of list at current voice number position using the first element in the input list, right inlet sets voice number for next value received in the middle inlet using the first element in the input list.

voice

Arguments

index [int]
When sent to the middle or ight inlets, the word voice, followed by a number, sets the position in the list where the next value received in the middle inlet will be stored.

See Also

Name Description
mc.route
mc.target
Processing Events from MC Objects Processing Events from MC Objects
New MC Event Objects New MC Event Objects
Polyphony Using mc.poly~ Polyphony Using mc.poly~