A newer version of Max is available. Click here to access the latest documentation.

plugstore

Store multiple plug-in parameter values

Description

Note: plug-in building for hosts other than Ableton Live is no longer supported. For more information to help you make the transition to creating plug-ins in Max for Live, see Max for Live for Pluggo Developers.

The plugstore object works with plugmultiparam to allow you to get values into and out of plugmultiparam from multiple locations in a patcher.

Arguments

Name Type Opt Description
number-of-elements int Obligatory. Sets the number of elements stored in the plugstore object's list.

Messages

bang Sends the stored list out the object's outlet.
int parameter-value [int]
Stores the integer as every parameter value (up to the size of the object) and repeats it to the object's outlet.
float parameter-value [float]
Stores the float as every parameter value (up to the size of the object) and repeats it to the object's outlet.
list parameter-values [list]
Stores the elements of the list (up to the size of the object) and repeats them to the object's outlet.
nth parameter-index [int]
Instructs plugstore to output the value stored at the parameter-index specified by an argument to the nth message.
select parameter-index and parameter-value [list]
The word select, followed by an index and value, stores the value at the specified index (starting at 1 for the first element) and sends the stored list out the object's outlet.
set parameter-index and parameter-value [list]
The word set, followed by an index and value, stores the value at the specified index (starting at 1 for the first element) but does not output the stored list.

Information for box attributes common to all objects

Output

list: The stored list is output whenever a list, bang, or select message is received.

Examples

See Also

Name Description
plugconfig Configure the behavior of a plug-in
plugmidiin Receive MIDI events from a plug-in host
plugmidiout Send MIDI messages to a plug-in host
plugmod Modify plug-in parameter values in other plug-ins
plugmorph Generate parameter values created by morphing between other presets
plugmultiparam Define an array of plug-in parameters
pp Define a plug-in parameter
pptempo Define plug-in tempo and sync parameters
pptime Define time-based plug-in parameter
plugin~ Define a Max for Live device's audio inputs
plugout~ Define a plug-in's audio outputs