I have a vanilla spectroscope abstraction: g_spectroscope. It's pretty simple and good enough for showing a graph, not really for scientific precision. There are also update & dimension controls plus you can turn it off to save CPU.

https://github.com/danomatika/rc-patches/tree/master/rc

On Jan 20, 2022, at 6:01 PM, pd-list-request@lists.iem.at wrote:

Date: Thu, 20 Jan 2022 16:46:02 +0000
From: Pierre Alexandre Tremblay <tremblap@gmail.com>
To: Pd-List <pd-list@lists.iem.at>
Subject: [PD] A strange question (yet again)
Message-ID: <12F096C2-A42D-42BA-8146-B784978F6464@gmail.com>
Content-Type: text/plain; charset="utf-8"

Sorry again for my obsessions with pd-vanilla which makes everything harder - this one might be impossible!

I?m trying to draw a spectrogram in pd-vanilla to match our waveform visualisation options in FluCoMa for Max and SuperCollider. I saw the example with the peaks in the documentation, and did myself a sort of grid of objects (arrays) but the former is not precise enough and the latter was clogging the machine as you might imagine?

As I am not the best Pd coder, although getting less worse by the day thanks to you all, I just want to confirm that it is definitely no possible in any other way than doing the structure of arrays of rectangles.

Any pointer welcome (pun intended again)

p

--------
Dan Wilcox
@danomatika
danomatika.com
robotcowboy.com