mcs.amxd~ Reference

Host Max for Live devices

mcs.amxd~

Description

Use the mcs.amxd~ object to load a Max for Live device and use it in MSP. With mcs.amxd~ the audio inputs are combined into a single multichannel input and its audio outputs are combined into a single multichannel output.

Arguments

devicename [symbol]

Name of the Max for Live device to load.

Attributes

active [int] (default: 1)

Setting active to false will disable audio and MIDI processing.

annotation_name [symbol] (default: )

The string that is prepended to annotations. This shows up in the Info pane in Live, and the clue window in Max.

autosize [int] (default: 1)

Automatically calculate the window size for the Max for Live device on load.

mcisolate [int] (default: 0)

Isolate parameter changes to a specified channel.

parameter_enable [int]

Enables use of this object with Max for Live Parameters and allows for setting initial parameter values in the Max environment.

patchername [symbol] (default: <none>)

Specify the Max for Live device to be loaded

showheader [int] (default: 1)

Show a Header for the Max for Live device.

Common Box Attributes

Snapshot Attributes

Parameter Attributes

Messages

anything

Arguments

Parameter [list]
Control Parameter values with a message consisting of the parameter name and the value e.g.: "Gain -6"

(drag)

Drag a Max for Live .amxd file from the patcher window sidebar or the Finder/Explorer onto an mcs.amxd~ object to load the Max for Live device into the object.

(mouse)

Sending the "open 1" message to an mcs.amxd~ object, will open the UI editor where you can adjust parameters with your mouse.

drag_replace

In an unlocked patch, drag any Max for Live device onto the mcs.amxd~ object to replace the loaded device.

getinfo

Arguments

parameter-name [symbol]
Get info about a specific parameter out of the 3rd outlet.

getparams

Get a list of all available parameters out of the 3rd outlet.

getvalue

Arguments

parameter-name [symbol]
Get the value of a specific parameter out of the 3rd outlet.

midievent

Arguments

MIDI-message (2 to 4 numbers) [list]
The word midievent, followed by two to four numbers, sends a MIDI event to the Max for Live device. The first three number arguments are the bytes of the MIDI message. The fourth, optional, argument is a detune parameter used for MIDI note messages. The value ranges from -63 to 64 cents, with 0 being the default.

midiin

Arguments

MIDI [int]
In the second inlet, send MIDI messages to the Max for Live device.

open

Arguments

window-coordinates [list]
The open message with no arguments opens a floating window for the Max for Live device. If the window was previously opened, then the edit window location will be brought to the front.

signal

Input to be processed by the Max for Live device. If the device is an instrument plug-in, the input will be ignored.

Snapshot Messages

See Also

Name Description
rewire~
vst~
amxd~