Re: [PD] is there a way to color the points/curve in an array ?
On Sat, 2021-05-29 at 10:17 +0200, Jean-Yves Gratius wrote: > You should try my sarray abstraction (based on this discussion https://forum.pdpatchrepo.info/topic/11184/colarray-a-graphical-array-where-color-and-line-width-can-be-set ) > > download here https://github.com/jyg/mob/releases/tag/mob-0.1 Awesome! Roman signature.asc Description: This is a digitally signed message part ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Re: [PD] is there a way to color the points/curve in an array ?
Great ! If your project is to create a fixed-size oscilloscope abstraction, may be it's a good idea to check also the original discussion and patch by Ingox (https://forum.pdpatchrepo.info/topic/11184/colarray-a-graphical-array-where-color-and-line-width-can-be-set) , as my work was mainly to embed it with some extra features (dynamic patching, properties gui, state saving, mobmuplat export) that make complexity grow. J.Y.G. On 29/05/2021 11:18, hans w. koch wrote: thanks jean-yves, thats some serious wizzardry and it seems that i could build my oscilliscope from that :-) have to study it a bit more to really understand, whats going on under the hood. in the meantime i built sth with purr data, which has a properties dialogue with a colorpicker. for arrays. (i wanted sth simple + workable quickly). ultimately i think, that would be good to have in pd as well. also will check out your mob collection, as i am a big fan of mobmuplat, which sadly seems dormant but still keeps working on the newest iOS. best hans Am 29.05.2021 um 10:17 schrieb Jean-Yves Gratius : Hi hans, You should try my sarray abstraction (based on this discussion https://forum.pdpatchrepo.info/topic/11184/colarray-a-graphical-array-where-color-and-line-width-can-be-set) download here https://github.com/jyg/mob/releases/tag/mob-0.1 There is some trickery to get an array name with $0 tag, but it's explained J.Y.G. Re: [PD] is there a way to color the points/curve in an array? From: "hans w. koch" Date: 28/05/2021 à 22:02 To: Pd-List thank you, roman and alexandre, for the pointers! it seems, the best option is to wait, till the discussion alexandre referenced (https://github.com/pure-data/pure-data/pull/711) comes to fruition. purr data has implemented such a color picker for arrays, so that would be the second best option. i looked into Jmmmp multiarray, but i seemed to be better suited at displaying static waveforms. maybe i overlooked something. i am (ab)using pd as an eight channel oszilloscope. things get messy pretty fast without colors. Am 28.05.2021 um 14:59 schrieb Roman Haefeli : On Fri, 2021-05-28 at 14:04 +0200, Roman Haefeli wrote: On Fri, 2021-05-28 at 13:31 +0200, hans w. koch wrote: using 4 superimposed arrays to show different waveforms (e.g. phase differences), i was wondering, if there is a way to assign a unique color to each array, to visually better separate the waveforms. i found a discussion "[PD] Array Enhancements" about that (and other things, like "Hide Array name” - still not working) from 2009 [1] and another one "[PD] colored arrays?” from 2007 [2], but no tangible result - or i missed that, then sorry! As someone mentioned in one of the other threads, you could achieve colored array displays with data structures. An example is here: https://www.netpd.org/fl-hishv.png Probably much closer to what you actually need is the [multiarray] from the jmmmp library. It's in Deken. Roman ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list ___ Pd-list mailing list Pd-list@lists.iem.at to manage your subscription (including un-subscription) see https://lists.puredata.info/listinfo/pd-list ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Re: [PD] is there a way to color the points/curve in an array?
Out of the blue, it would be possible to do it in gem. That might be the best way. hans w. koch schrieb am Sa., 29. Mai 2021, 11:09: > thanks joao, > > i looked into multiarray which of course is great, > just for my purpose of creating an oscilloscope, where updating at > audiorate is crucial, it didn´t seem to be the right candidate. > your answer about limiting data refresh rate seems to confirm my > (admittedly quick) asessment. > > i am trying to kind of model the mordax data eurorack module ( > https://www.mordax.net/products/data) with 8 channels. > > best > hans > > > Am 29.05.2021 um 00:57 schrieb João Pais : > > > > A solution already exists for several months, [jmmmp/multiarray]. It is > of course an abstraction using the available ressources based on data > structures, as since they rely so heavily on tcl/tk are far from efficient. > A practical compromise could be to limit the data's velocity, at the > expense of the refresh rate (and still not really being cpu efficient). > > > > > >> using 4 superimposed arrays to show different waveforms (e.g. phase > differences), i was wondering, if there is a way to assign a unique color > to each array, to visually better separate the waveforms. > >> i found a discussion "[PD] Array Enhancements" about that (and other > things, like "Hide Array name” - still not working) from 2009 [1] and > another one "[PD] colored arrays?” from 2007 [2], > >> but no tangible result - or i missed that, then sorry! > >> > >> if not, would that warrant a sensible feature request? > >> > >> thanks > >> hans > > > > > > > > > > ___ > > Pd-list@lists.iem.at mailing list > > UNSUBSCRIBE and account-management -> > https://lists.puredata.info/listinfo/pd-list > > ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Re: [PD] is there a way to color the points/curve in an array ?
(resending to the list, as i answered to jean-yves privatley only by mistake - sorry) > > > thanks jean-yves, > > thats some serious wizzardry and it seems that i could build my oscilliscope > from that :-) > have to study it a bit more to really understand, whats going on under the > hood. > > in the meantime i built sth with purr data, which has a properties dialogue > with a colorpicker. for arrays. > (i wanted sth simple + workable quickly). > ultimately i think, that would be good to have in pd as well. > > also will check out your mob collection, as i am a big fan of mobmuplat, > which sadly seems dormant but still keeps working on the newest iOS. > > best > hans > > >> Am 29.05.2021 um 10:17 schrieb Jean-Yves Gratius : >> >> Hi hans, >> >> You should try my sarray abstraction (based on this discussion >> https://forum.pdpatchrepo.info/topic/11184/colarray-a-graphical-array-where-color-and-line-width-can-be-set) >> >> download here https://github.com/jyg/mob/releases/tag/mob-0.1 >> >> There is some trickery to get an array name with $0 tag, but it's explained >> >> J.Y.G. >> >>> Re: [PD] is there a way to color the points/curve in an array? >>> From: "hans w. koch" >>> Date: 28/05/2021 à 22:02 >>> To: Pd-List >>> >>> thank you, roman and alexandre, for the pointers! >>> >>> it seems, the best option is to wait, till the discussion alexandre >>> referenced (https://github.com/pure-data/pure-data/pull/711) comes to >>> fruition. >>> purr data has implemented such a color picker for arrays, so that would be >>> the second best option. >>> i looked into Jmmmp multiarray, but i seemed to be better suited at >>> displaying static waveforms. >>> maybe i overlooked something. >>> >>> i am (ab)using pd as an eight channel oszilloscope. >>> things get messy pretty fast without colors. >>> >>> >>> >>> >>> >>> Am 28.05.2021 um 14:59 schrieb Roman Haefeli : On Fri, 2021-05-28 at 14:04 +0200, Roman Haefeli wrote: > On Fri, 2021-05-28 at 13:31 +0200, hans w. koch wrote: >> using 4 superimposed arrays to show different waveforms (e.g. phase >> differences), i was wondering, if there is a way to assign a unique >> color to each array, to visually better separate the waveforms. >> i found a discussion "[PD] Array Enhancements" about that (and >> other >> things, like "Hide Array name” - still not working) from 2009 [1] >> and >> another one "[PD] colored arrays?” from 2007 [2], >> but no tangible result - or i missed that, then sorry! > > As someone mentioned in one of the other threads, you could achieve > colored array displays with data structures. > > An example is here: > https://www.netpd.org/fl-hishv.png Probably much closer to what you actually need is the [multiarray] from the jmmmp library. It's in Deken. Roman ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list >>> >>> >>> >>> ___ >>> Pd-list mailing list >>> >>> Pd-list@lists.iem.at >>> >>> to manage your subscription (including un-subscription) see >>> >>> https://lists.puredata.info/listinfo/pd-list >> >> >> ___ >> Pd-list@lists.iem.at mailing list >> UNSUBSCRIBE and account-management -> >> https://lists.puredata.info/listinfo/pd-list > ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Re: [PD] is there a way to color the points/curve in an array?
thanks joao, i looked into multiarray which of course is great, just for my purpose of creating an oscilloscope, where updating at audiorate is crucial, it didn´t seem to be the right candidate. your answer about limiting data refresh rate seems to confirm my (admittedly quick) asessment. i am trying to kind of model the mordax data eurorack module (https://www.mordax.net/products/data) with 8 channels. best hans > Am 29.05.2021 um 00:57 schrieb João Pais : > > A solution already exists for several months, [jmmmp/multiarray]. It is of > course an abstraction using the available ressources based on data > structures, as since they rely so heavily on tcl/tk are far from efficient. A > practical compromise could be to limit the data's velocity, at the expense of > the refresh rate (and still not really being cpu efficient). > > >> using 4 superimposed arrays to show different waveforms (e.g. phase >> differences), i was wondering, if there is a way to assign a unique color to >> each array, to visually better separate the waveforms. >> i found a discussion "[PD] Array Enhancements" about that (and other things, >> like "Hide Array name” - still not working) from 2009 [1] and another one >> "[PD] colored arrays?” from 2007 [2], >> but no tangible result - or i missed that, then sorry! >> >> if not, would that warrant a sensible feature request? >> >> thanks >> hans > > > > > ___ > Pd-list@lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > https://lists.puredata.info/listinfo/pd-list ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Re: [PD] Retrieving tcl/tk messages
Am 29. Mai 2021 08:26:06 MESZ schrieb Jeppi Jeppi : > Hi all, > Is It possible to know exactly the messages that are sent to PD by the > GUI while building or playing with a patch? I mean, capturing or > logging them somehow... start Pd with "-d 1" to see the core->gui messages, with "-d 2" for gui->core (or was it the other way round?) and OR the values to see the messages in both directions. printout is on stderr mfg.hft.fsl IOhannes ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list