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 <j...@gumo.fr>:

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" <hansw.k...@gmail.com>
Date: 28/05/2021 à 22:02
To: Pd-List <pd-list@lists.iem.at>

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.



<oszi8.pd.jpg>


Am 28.05.2021 um 14:59 schrieb Roman Haefeli <reduz...@gmail.com>:

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

Reply via email to