Re: "Click" and "Change" Notifications for Array Elements in Data Structures

Alexandre Torres Porres <[email protected]>
Newsgroups gmane.comp.multimedia.puredata.general
Message-ID <CAEAsFmj3PTcNpsgeyTvKnvu2UQJ7kw5VSE9YkS5c3s7Z0d2AJg@mail.gmail.com>
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 <[email protected]> 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
> [email protected]
>
> ci.icat.vt.edu
> l2ork.icat.vt.edu
> ico.bukvic.net
> ------------------------------
> *From:* Pier Bar <[email protected]>
> *Sent:* Friday, August 9, 2024 5:50:43 PM
> *To:* [email protected] <[email protected]>
> *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 - [email protected]
>
> https://lists.iem.at/hyperkitty/list/[email protected]/message/JOZZ4J7IURUAVIPT7RBYMTUFWLHABUGA/
>
> To unsubscribe send an email to [email protected] mailing list
> UNSUBSCRIBE and account-management -> https://lists.iem.at/

 ---
Pd-list - [email protected]
https://lists.iem.at/hyperkitty/list/[email protected]/message/ZB2ADMFEPD2TMTZ6R3KNKTXGBYMP5UWS/

To unsubscribe send an email to [email protected] mailing list
UNSUBSCRIBE and account-management -> https://lists.iem.at/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.