hmmm, a setable receive symbols for arrays could be interesting. I see the message it gets is just a 'bang' whenever there is a click, but being able to retrieve the index and value of the changed element in a receive symbol seems like a nice thing to have. Though I have lived without this just fine and I'm not really sure about the use cases.
I had kind of a use case for this, but I realized that what I wanted was a multislider GUI, so I made one that just works nicely as one. Using arrays as a hack for multislider is a problem for me because I didn't want just the 'jump on click' behaviour. So I'm not sure about just requesting this functionality on its own, now that I have my 'true' multislider. I'd go for it if we could also expand arrays and also add a 'steady on click' mode, and also a 'bar visualization mode'... but then maybe that's adding too many things just so arrays work like something else. Nonetheless, maybe just adding this functionality on its own could indeed be a good thing. One way to always 'poll' the values, of course, is with [tabread~], and it works at signal rate cheers Em sáb., 10 de ago. de 2024 às 03:20, Bukvic, Ivica <i...@vt.edu> escreveu: > Perhaps vanilla could port the pd-l2ork's <arrayname>_changed send that is > attached to each array and is used in conjunction with the global > presetting mechamism (preset_hub and preser_node objects). IIRC, canvas > hosting the array should also trigger the "clicked" event. > > Best, > > Ico > -- > Ivica Ico Bukvic, D.M.A. > Director, Creativity + Innovation > Director, Human-Centered Design iPhD > Institute for Creativity, Arts, and Technology > > Virginia Tech > Creative Technologies in Music > School of Performing Arts – 0141 > Blacksburg, VA 24061 > (540) 231-6139 > i...@vt.edu > > ci.icat.vt.edu > l2ork.icat.vt.edu > ico.bukvic.net > ------------------------------ > *From:* Pier Bar <pier.ba...@gmail.com> > *Sent:* Friday, August 9, 2024 5:50:43 PM > *To:* pd-list@lists.iem.at <pd-list@lists.iem.at> > *Subject:* [PD] "Click" and "Change" Notifications for Array Elements in > Data Structures > > Hello, > > I've noticed that while structures in Pure Data usually can send "click" > and "change" notifications when modified, this behavior doesn't seem to > apply to the elements of an array within these structures (apart from > polling solutions like using [metro]). > > How difficult would it be to change this behavior in the future, or would > Pure Data's architecture not easily allow for it? > > Best regards, > > Pierpaolo Barbiero > --- > Pd-list - pd-list@lists.iem.at > > https://lists.iem.at/hyperkitty/list/pd-list@lists.iem.at/message/JOZZ4J7IURUAVIPT7RBYMTUFWLHABUGA/ > > To unsubscribe send an email to pd-list-le...@lists.iem.at mailing list > UNSUBSCRIBE and account-management -> https://lists.iem.at/
--- Pd-list - pd-list@lists.iem.at https://lists.iem.at/hyperkitty/list/pd-list@lists.iem.at/message/ZB2ADMFEPD2TMTZ6R3KNKTXGBYMP5UWS/ To unsubscribe send an email to pd-list-le...@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/