Using jit.catch~ with jit.gen (particles)
So i'm trying to develop a patch that will allow a system of particles to react to visuals. I've seen this done before, and i can do it with jit.gridshape objects. I just cant figure out how i would get catch~ to talk to gen.
I'll fully admit that jitter (mainly Gl, and gen) is not my strong point, at all. So if i'm missing something painfully obvious, then please tell me.
Any help would be appreciated.
Im not sure that jit.catch~ is what you want. It converts audio streams to jitter matrices. To react to visuals, what you would want to do is to import an image of some kind into a jitter matrix, I guess.
Thanks for the reply!
Sorry i was really tired last night when i posted this and made a huge error!
What i meant was i want the particles to react to audio, not visuals! Sorry for the confusion.
As i said i have done it with gridshape objects and such. I just cant seem to figure out how to get catch~ to get its data to gen.
Sorry again. But if you could offer any advice, you would help so much.
jit.catch 3 will require 3 audio signals.
make 3 cycle objects plug each one into each inlet of jit.catch , set to low numbers on cycle objects.
This gives a 3 plane matrix, xyz.
Use this data in jit.gen to drive particle positions.
Sample size with catch determines array size for the 3 plane matrix.
To do this with stereo is harder (stereo is only xy axis), maybe split the sound up into 3 bands , bass, mid, high, send each one into
snapshot ~ 33
then to slide to smooth out the skippy data.
plug each one into an inlet of the catch object.