Reproduce jit.scope's waveform mode

Léopold Frey's icon

Hi there, I'm trying to reproduce jit.scope's waveform mode
but I'm missing something on how to accumulate frames over time.

Can someone have a look at the patch below and give me hints ?

Thanks

Max Patch
Copy patch and select New From Clipboard in Max.

Leopold

Matth's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Hello, wath do you think abaout that, ther is just no accum.

Léopold Frey's icon

That's a very good start,

now I'll have to find how to reproduce the accum parameter of the jit.scope.
maybe with some alpha on the points ?

Merci Matthieu

Léo

Léopold Frey's icon

Hello there,

I finally managed to reproduce almost exactly jit.scope's waveform mode by reverse engineering it with little matrices.
The aim was to be able to output this waveform as a matrix and use for something else than just analysing.

I first made a lazy java prototype as I had no idea how to implement this in jitter directly without OpenGL (I still don't).
Then I made my first jitter object in C.

java & c sources included.

Edit : the file attached was the developpement version, deployement version here :
http://maxobjects.com/?v=objects&id_objet=4617

319.jit.wavescope_v0.1.zip
zip
yaniki's icon

Dear Leopold, dear Friends

From my perspective the [jit.wavescope] is extremely useful and I'm still using this external in some projects. Leopold, thanks for creating it.

I just updated original code a little bit (hope it's not prohibited). Changes are rather "cosmetic", but important for my workflow, and maybe for others... So, I updated the source for latest SDK and 64bit (what was the main reason to dig into it) and tweaked routine to avoid "noisy" artefacts in produced image (especially when "accum" is set to relatively high values) - now [jit.wavescope] act even more like [jit.scope] (but you can use "legacy_mode 1" message to restore previous behavior).

Source, compiled external and help file are in attached ZIP. OSX only, but it should be simple port it for Windows.

Tested with Max 7.0.5 (64bit), OSX 10.10.5.

jit.wavescope.zip
zip
nennen he's icon

Dear yaniki ,

Léopold
The jit.wavescope seems not work in M1 & M2 macOs ... Could you please update it ?
Much appreciated!

Léopold Frey's icon

Hello,

I managed to compile it with the new SDK.

It should be intel compatible but I can't test it right now.

Léo

jit.wavescopeM1.zip
application/zip 23.46 KB

nennen he's icon

yes! it works!
this is a really amazing tool!
thanks for updating it in 2023.
I believe more users would enjoy it now