Better scopes - gl, perhaps?

Wetterberg's icon

so yeah, I'm looking for something, that'll outperform scope~, really.
I'm kind of sad that they don't operate in the way that I'd expect them to.

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

Basically like the reverse point scroll on a multislider, but for audio...

Any takers?
I was thinking about doing it with jit.gl.path, but I'm not that skilled with that object yet.

stringtapper's icon

Have you looked at [plot~]?

Pedro Santos's icon

Or you could use jit.catch~ + jit.gl.graph. See jit.gl.graph's help file. The graphic can be drawn with a line or be filled depending on the circpoints value.

Wetterberg's icon

I'm leaning towards doing a gl one, so that I can do stuff like 48 seconds into this video:
http://vimeo.com/21317325

...but I'd like the path properties, rather than the simpler jit.gl.graph lines. I'll have a playabout with it, see if I can get it fast enough.

Mark Durham's icon

I'd be really interested to use it if you could get it working, have had similar feelings about scope~

Great link btw...

Wetterberg's icon

I'm trying to make a running buffer type of thing for matrices right now... I'm not a smart man, hehe.

in the meantime, the visuals above were made by this guy, who has done what seems like a lot of work into visualising sound in cool ways:
http://wuestenarchitekten.com/

Wetterberg's icon

-doublepost while switching out videos, hehe -

Wetterberg's icon

Preliminary tests are underway. jit.gl.path took some wielding, since the "insert" command doesn't seem to work properly - it'll just accumulate forever, instead of overwriting like the helpfile says.

I ended up going with [zl stream] to manage the points - does a matrix equivalent of it exist?

Anyway, I've got my lissajous hat on now, and I'm grooving to some music.
http://i.imgur.com/hr0kR3c.png
https://www.youtube.com/watch?v=JQXlYXwdBj0

vichug's icon

have you lookged at [plot~] though ? it can do some things, i'm curious as to how complicated/personnalized those things can be.

Wetterberg's icon

yeah, I just don't think it's as smooth for regular scopey things - it's great for visualising audio, especially the spectral and buffer-showing stuff. It also appears the "defineline curve" doesn't work properly, so I can't get that interpolation looking properly :(

And lastly, I think it's great to be able to do a small gl window OR integrate the reading into a greater gl context in the group.

catniptwinz's icon

You might be a step ahead of this already, but there's no reason you couldn't use jit.catch~ to create that running buffer and send its output matrix to any appropriate gl object. Making ctlmatrixes for jit.gl.nurbs like this can be nice, for example.

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

This should get you into the ballpark; the example uses plain vanilla jit.gl.graph, but like I said, that matrix could go anywhere…

Wetterberg's icon

yeah, I've been doing a/b testing tonight to see, why catch isn't really up to the task for me. It's acting weirdly, BUT it's phase-locky-scope-emulating "mode 3" is *really* good, better than the scope~, from what I can tell.

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

Tanx Catniptwinz, just what I needed. Here's the same slightly altered for XY scoping:

catniptwinz's icon

Here’s the same slightly altered for XY scoping

Looking good!

Graham Wakefield's icon

Maybe you're already beyond this, but there's a couple of gl / matrix based scopes I made here:
http://www.mat.ucsb.edu/~wakefield/code/waaa.zip

"waaa.gl.scope~ / waaa.jit.scope~: like scope~, but output to an OpenGL window or a Jitter matrix." Useful?

Mark Durham's icon

Some cool stuff in there Graham, I really like waaa.qt.wave~ too.

I'm hoping that some more aesthetically pleasing scopes are on the way... Plot~ can be a bit nicer, but I often finish something and think that scope~ and waveform~ let it down aesthetically. They look pretty dated when compared to current software/plugins.