bind pattr to a list object?
pattr can bind to an int box (as demonstrated in the documentation).
it will also store floats, ints and symbols.
what object can pattr bind to in order to store list data? (the list is of indefinite length, and contains floats, ints, and symbols in an unknown order, just any list)
pattr can’t interpolate symbols, so if you need interpolation, stick to floats and ints. maybe use [table] or [multislider] for these, works fine. Not sure about how to store lists of symbols in pattr, anyone else have a thought on that?
If your numerical lists are of indefinite length, go with [multislider] which will auto-adapt to the list length. However, if you store slots which have different list lengths, interpolation also will not work. To ensure lists are all the same length (if you need that) use [zl slice].
i do not need to interpolate anything at all.
i just want to collect list data (containing symbols ints and floats) into pattr objects, save the data using pattrstorage, and output data from pattrs when pattrstorage objects are loaded with xml files.
-- Pasted Max Patch, click to expand. --Copy all of the following text. Then, in Max, select New From Clipboard.----------begin_max5_patcher---------- 711.3ocyV90bhBCD.+Y7SQFdVcjfHk6Sv8z8E3lNNAXolNPhCIX0qS+teIa. psUYv1qd9fDYYSX2e6+34Id9ox8fxm7CxuIddOOwyCEYE30dumeEaeVISgp4 mIqp.g1ep6YZXuFkusQST5lhBhRVAOsApAx74y6zSzTwEkfFOjfWEJazcRWz JsPJzJ9e.TS57NwaqAk4EyzboXcMjocVcPRjQER3pD6xh1Kj661ESmsgKd3n cPWDi6HAUNHBWnAGsIdN5RxzGmED4ejYIXUnY4+SnbGn4YLxufFv2pwKSlXu L8KxQkVZHmij+a42GIQXHRhjvw.hkeSfP.OYN+tCeGqt+r0afYo7GlYYyLEa GT+wrNlVWSNuhi.agCiMml5CaAGy78m19anbr.JlUFsDIa3pAIKcLjsUESQf MAo0VJkrbk0XjE1q47hBScmMqxlHYRgr+IiIrKof8poL0tvQQ1hT6JlmQhVM kDmXJLluzVCYbgUgwlmd.vWwQK8dgk04qMNgwwWaCE7zFsqehWe31BnZiWog 50ffkVhV+B7YXtxklwTAJE6A3CICYk.6zQd5Ii7AWZjenH9cwtXL00MBi6Im IfG7MUJcNvv1tED4DXGHHUu1dQcnJUV1t7+hagQNVcmq6CkND4RtxfSAZBVi QjEj9pqV7YpqHo.wN3iKHcC7LkQlpHaQTeMDwTyz8q6UTxEPlrQneGluprmF Efzl5xcSbyECOM6iuJ8+6QeswU.Bd636kS+L8xGrO9cXG7vHDMqnC0Gm9MAH KCfbt9TiHqNfC9byDdOBuBYtgiO1r7SDa3tQYiMLQCceRWrqkxhEmo+6EFnv y.8628kxnkXk+1nmR1Tm04FcS3IA8lRtYFNWfeH6wJYz4UycCOOGDG+YcU77 sRCPZsAx8mLUZzlzaec2BlTxMmEEeyYQiIpQ+BVj4lWl7WvtpH1x -----------end_max5_patcher-----------
omg! textedit! how could i have overlooked that!
it works EXACTLY how i want it to work as well. it outputs NOTHING unless data is loaded into a nearby pattr storage. thank you so much pid!
pattr stores anything, just send a list into a pattr and it will store it. There is no obligation to bind it to another object…
Forums > MaxMSP