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
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
Code is in: https://github.com/reduzent/netpd-instruments/blob/master/abs/fl_filterplot....
Roman
there's also this on the horizon https://github.com/pure-data/pure-data/pull/711
Em sex., 28 de mai. de 2021 às 09:07, Roman Haefeli reduzent@gmail.com escreveu:
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
Code is in:
https://github.com/reduzent/netpd-instruments/blob/master/abs/fl_filterplot....
Roman
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
On Fri, 2021-05-28 at 09:27 -0300, Alexandre Torres Porres wrote:
there's also this on the horizon https://github.com/pure-data/pure-data/pull/711
Oh, that would be nice to have!
Roman
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
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 reduzent@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
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
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 jmmmpais@gmail.com:
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
Out of the blue, it would be possible to do it in gem. That might be the best way.
hans w. koch hansw.koch@gmail.com 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 jmmmpais@gmail.com:
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 ->