The value object allows you to share data with all other value objects that have the same name in in any open max patch. Any message received in the inlet stores that message in all instances of value with the same name. Sending a bang to any particular value will output the message from that instance of the object. Value supports ints, floats, symbols and lists.

Like the {{maxword|name=int}} and {{maxword|name=float}} objects, you can use value to store a value and then retreive it with a bang. Unlike the other two, value works with lists and symbols as well as ints and floats. This patch uses this capability along with the {{maxword|name=route}} object to distinguish between ints, floats, (numerical) lists, and symbols.

+

<maxpat>

+

<pre><code>

+

----------begin_max5_patcher----------

+

1228.3oc0Y88ihaCD9Y3uBq7LE437K3dpsOToJ0mZUepp5jI3ExsI1Hamkkd

+

59euiGGVX2ENfPfMmzt3DGi827Mey3IluNbPvL0yBS.4Sj+gLXvWGNX.1kqi

+

AM2OHnh+bdI2fCKnRXL7EhfQ9mYEOaw9msHWUpzjvwu721wHqqJjkBKNArlN

+

Wws4KKjK9rVja8.fQoioiHQIotlvPeyjwTx+talT01sSUXSuEyQDnl8keJjl

+

tcUePIsRdk.e1unK3kaeheJraVI7qaPvKKf6KYJ9O7AgrwTWuea3P2GitRBh

+

kPllboTRXCWDG6ZRnsgQB+nYDsorXtPew1db3dxAusyhNpsydusOMK3koWCF

+

tUn+rPxmUhVC8nF+Hj.5PeeWDbDF6iJZZZgTHsaUBawpVXDRK2VnjuBuYHBi

+

hbMzlOZEq9PoBrsCRXgGmvxRGm7V0C8RTOozyQ8bATIXGbqSbMiKWzoQXfsL

+

6HAXeGFBchWCCkLoiYnB4sgexUUUB2b+l3x+TTIbLGwtjaIOwKqEj0J8iFBO

+

OWqLPaYIQsRHIH+ILiI+kBLzBHRmrQUSVW.CXMWZIVEAhDr5hb35kBhYIWC7

+

sqeNw.WUJZlD8Xxuo7q4HbRx4RRsAd7SujVnrPJxU0R69T+AcrOnWLCo6cQj

+

u2Uit3nIXHQRy1rGOUJ8.t5jSm63BSPfnHlk4vzUke3Xd2ecCvpNWfFrMwHx

+

ZAxzU7GAuSsV385NektXwR3JPHRTOPZxhSVn.mL391MhUk7bwMxEwhvvQ1Tj

+

PXoSagSJtqcRgS7vflc0YwOlW52kqpsDtbyK7NP4Xn33wiCtZZ0mjyylrz3S

+

jj6PjZzsQ4mk8Asw3zDbiYJqso8iY+vrw3wDcPHsj.9l4PtY2hRV65.Sn2jK

+

G.oSW5h8eSUccbbuWfxnQ6oPurv9X5kqPaSQFh0vp8NpbErKmk7yqTqpWQBa

+

WMHgYgdMI8xiOilz8I8PvjL8lky6OJdTfRKG0wAUHFAP.yA.g40EE3qJATjF

+

qB1yh2zg6agpXsvpEEOAykEpFwtrQQOl72xxsKiB9.J3XsZTy2dtaqMoB1QS

+

nePoqH4J4SBsAHBCN09pfv4qrvX8cZ1TMSUBWCOQ.08.sfAX1YAlCW+RTGEj

+

f9kDF1DmcQhjzNWjfJ1qWhbduxH8Jdkwoos9MFin80SSAzmyMs8zT1equKiP

+

XYezDxQxBik3hoS7oRbAsGjdhO46CR8EIA2k7cyEGefCboMryn89+i+khil3

+

OmoV+Rww+f7NwypsVkrc6W2POrSQOG77HmdTSswFuyFSS5f1YLY2.iokB2rq

+

rr9PZxOHR2ijCzWZS0lEkpY6P0EprylbdUhdP0PTOc2gtfYZ9MHZIyvtULCN

+

Frby27yXgFhq+WSWFUsNe6JzjulryTlKL1BIVr2diA8r6MpkEymKj6GULuv3

+

BTPS9vNtyEOXBxdFhhNCDM8NhmryhgX2QDkzyPDquQQtWknm4yXmAhbmtvcB

+

PwrdFC498B6Ytr9FhbI8hNIdRgQE1avyzr6J8v5Wv4TrSJsWAmjI2U3D1uXG

+

5shc7UMxWsp4POQr3PBTN8WTZ2soivaKj9awpZCzhmJ1Nd7TMC3ZnbYKTqbs

+

1WS6ySRCF5VmuM7+Ak6Fz0B

+

-----------end_max5_patcher-----------

+

</code></pre>

+

</maxpat>

+

+

Sometimes you may want a local pv object to update immediately and have the others wait for a bang. Here we use {{maxword|name=trigger}} to make it happen:

+

<maxpat>

+

<pre><code>

+

----------begin_max5_patcher----------

+

579.3oc2VssbaBCD8Y3qXGd10CfuT69V+F5icxjQ.qsUFPhQr3KMS926JgI1

+

Mw1ghSbu7BvdgUmyYkV3QeufD8VrJ.9B7cvy6QeOOmKqCu81dAEhso4hJWZA

+

o5hBTQACZhQ3Vx4+a5BjjEXErAgMBEAjFJ42BnUHjqSE4PlfDfje+Lofv7cP

+

RMAZE+PcIGCAAXvBM+vZQdMB5jGvTB1rBUfjfkHUwojHTKG1t94RElpqUNPD

+

u2optPpx4rsNi16bgYYh0NbX3dOkBJckTs7dCuJMZvXNHLxcINzciMf6NTWc

+

M0V31xHybB.C1OMeZKtVnUjRTftPe0HE4GGoR9CWjn3ggVuO46auLni8fE4Z

+

FJAWhsmiaQibrahibVJdFxEeBxMN34haXpQn4dTIRxwiUiyS7lpS6JwF7Xog

+

f2HAA1NZvy.4Ol.EEM6Zkn3+ykH2dnww8UelM4eF8QgaXD+pwbDj.K5kp8Ym

+

dEE1GYqCiUdkz3TjAsRz6ozvSsIspmmt3MOSZ3+EUgnSnBytLWg6d+ZyMe+o

+

X2xbcxAM92cPR33t0xOEYm2iV9s3.v0oLiuVcYd3Gkt3xw8+Du3+gbzv5+WE

+

qJcsIscEZaYvApjgUjTIHIeT4PR1uPbTRqjYYn53geYxJ67PGiOcaqy3YVGv

+

yK.8GIdrst2VeFe6zGdpJD8V3I71hmv+hvyjtr+YZOwSywMQY4ZzTsulNnvS

+

gdParlSG3LkpFS2zf.CtV1l+HmGggmxP7HlZSyvfsLn7sqyS9+z90kvZ

+

-----------end_max5_patcher-----------

+

</code></pre>

+

</maxpat>

==Third-Party Max externals similar to the {{maxword|name=value}} object==

==Third-Party Max externals similar to the {{maxword|name=value}} object==

The value object allows you to share data with all other value objects that have the same name in in any open max patch. Any message received in the inlet stores that message in all instances of value with the same name. Sending a bang to any particular value will output the message from that instance of the object. Value supports ints, floats, symbols and lists.

Like the int and float objects, you can use value to store a value and then retreive it with a bang. Unlike the other two, value works with lists and symbols as well as ints and floats. This patch uses this capability along with the route object to distinguish between ints, floats, (numerical) lists, and symbols.

-- Pasted Max Patch, click to expand. --

Copy all of the following text.Then, in Max, select New From Clipboard.