3d oscilloscope
Hi i'm new at Jitter, i started building a 3d oscilloscope for audio signals of three sinusoidal oscillators and got stuck. I tried two ways: one is using 3 jit.gl.graphs, my problem is how to integrate their individual information in one 3d data object for display in the jit.gl.render. The second way was using a jit.poke~. although it looks nicer i casnnot manage to have a 3d display, just 2d.
I join my code for the first one because the second i not much more than the poke~ help file. Maybe you can give me some advice...
Cheers
Alberto
can you share your version with poke~?
Hey Jestern,
This might be a starting point:
The patch captures an incoming audio stream and transforms it into a matrix (with value = amplitude and cell X coordinates = time). This works with any audio signal, but you could also consider an analytical approach if you want to visualize just sine waves.
EDIT:
This is a possible analytical approach:
I hope this helps!
I'm also going for an XY Oscilloscope... but seems like [jit.catch~] sooner or later makes max crash. I'll give it a try to your approach, thanks.
Hey MATTEO MARSON, that second patch, would it work with signals too?
Hey Joe,
no, it doesn't. It just mimics the shape of sinewaves; so, if you're planning to use signals different from sinusoids, you should refer to the first one for that job
Hey Matteo,
oh yeah... wouldn't [jit.poke~] work like the first one? or is there a way for [jit.catch~] to not crash the app?
on the first patch you provided, what does the [p trails] subpatch does?
the setup i had didn't had that and this one seems to be optimized...
the one I'm using is not with [jit.world] but with [jit.window] and [jit.render]... is it better with just [jit.world]?
Well, I edited your first patch... got it running for a long time and it was really stable...
I got it to create a sphere with 1 phasor and the sphere parametrical equation...
I'll share it here (turn the volume down a bit):
thanks for sharing!
I'm still a bit new to [jit...] objects...