Oh, FFS, I give up! How DO you trigger a SuckahPicker with a bang?

zibethicus@hotmail.com's icon

Hi, all. Really, this ought to be simple, but once I reach the active screaming stage my blood pressure reaches dangerous levels.

I have a video of a simulation of moving fluids (from https://haxiomic.github.io/GPU-Fluid-Experiments/html5/?q=UltraHigh). I thought I would 'sonify' some of this as a way of 'virtualising' some of my experiments with aeolian harps etc. All I wanted to do was to get some real-time samples of an array of (preferably) single pixels within the video and report the RGB values of each of these for use for determining tonality etc.

After several days of generally faffing around (and admitted inability to get my head around jit.matrix) I stumbled on the SuckahPicker and rejoiced that it seemed both perfect and comprehensible. However, as it apparently won't work off a bang rather than a mouse click it's not as useful as it seems, at least for this purpose. I have just spent a couple more hours faffing around the 'send a virtual mouse click' zone, and I'm starting to scream again...

Does anyone know anything that can help me? It's one of those Max things where no doubt I'm missing some simple and brilliant object which does just what I need, provided I'm willing to endure looking around for it for a fortnight...

...just thought I'd ask...

Max Gardener's icon

Open the second Jitter tutorial (Tutorial 2: Create a Matrix ), and read the section titled "Setting and querying values in a matrix" - paying particular attention to the message getcell. The tutorial patch for the example contains about as clear an example of grabbing values from any pixel in a matrix as can probably be found.

zibethicus@hotmail.com's icon