Namespaces

Variants
Actions

jit.glue

From Cycling '74 Wiki
Revision as of 21:14, 22 August 2013 by Corymetcalf (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

jit.glue online refpage

Using the jit.glue object

The jit.glue creates an output matrix composed of a number of incoming matrices. The number of inputs is determined by the typed arguments for rows and columns, with a maximum of 16 for each attribute. The size (dim) of the output matrix generated by jit.glue will be equal to the size of all the smaller matrices put together (e.g. four 160x120 matrices in will yield one 320x240 matrix out).

jit.glue Tutorials

jit.scissors is covered in Jitter Tutorial 13: Scissors and Glue.

It is also used in these example patches:

  • ./examples/jitter-examples/render/jit.gl.gridshape-scissors.maxpat
  • ./examples/jitter-examples/video/analysis/jit.fft-mask.maxpat
  • ./examples/jitter-examples/video/spatial/cutandpaste.maxpat

And in Jitter recipe 16.

jit.glue Tips and Workarounds

You can change the rows and columns settings with a message, however, the number of inlets remains fixed to the total of the typed arguments, so it is best to determine your maximum number of desired inlets at object creation.

Scripting is your friend! When using objects like jit.scissors and jit.glue you sometimes have to connect a lot of inlets and outlets, particularly if you use something like a router in between. In these cases it can be really useful to take advantage of the script message to the thispatcher object. This patch creates 256 outlet jit.scissors and jit.glue objects (16 rows and 16 columns) connected through a router with 256 inlets and outlets and automatically patches it all together, along with a receive to the leftmost inlet of router to control the patching, all with the click of a button:

-- Pasted Max Patch, click to expand. --

Third-Party Max externals similar to the jit.glue object

Maxobjects.com listing for the jit.glue object

People who looked at/used this object also looked at....

Errors or Clarifications

(please list things that you believe to be errors or omissions from the existing refpage)