Namespaces

Variants
Actions

jit.xfade

From Cycling '74 Wiki
(Difference between revisions)
Jump to: navigation, search
(Initial upsert from JITobjectUZ list)
Line 2: Line 2:
  
 
==Using the {{maxword|name=jit.xfade}} object==
 
==Using the {{maxword|name=jit.xfade}} object==
 +
{{maxword|name=jit.xfade}} performs a crossfade between two input matrices using the formula in1 * (1-amt) + in2*amt. A value of 0. essentially passes the left input unaltered and a value of 1. passes the right, however, you can achieve interesting effects by going above and below those values.
  
 
=={{maxword|name=jit.xfade}} Tutorials==
 
=={{maxword|name=jit.xfade}} Tutorials==
 +
*{{maxword|name=jit.xfade}} is introduced in [http://www.cycling74.com/docs/max6/dynamic/c74_docs.html#jitterchapter08 Jitter Tutorial 8: Simple Mixing]
 +
*{{maxword|name=jit.xfade}} is also used in:
 +
**[http://www.cycling74.com/docs/max6/dynamic/c74_docs.html#jitterchapter26 Jitter Tutorial 26: MIDI Control of Video], for the edge detection effect.
 +
**[http://www.cycling74.com/docs/max6/dynamic/c74_docs.html#jitterchapter37 Jitter Tutorial 37: Geometry Under the Hood] to mix noise into the geometry output matrix of {{maxword|name=jit.gl.gridshape}}
 +
**[http://www.cycling74.com/docs/max6/dynamic/c74_docs.html#jitterchapter39 Jitter Tutorial 39: Spatial Mapping] to stretch and warp an input matrix.
  
 
=={{maxword|name=jit.xfade}} Tips and Workarounds==
 
=={{maxword|name=jit.xfade}} Tips and Workarounds==
 +
*{{maxword|name=jit.xfade}} is also a great way to introduce feedback processes into a patch.
 +
<maxpat>
 +
<pre><code>
 +
----------begin_max5_patcher----------
 +
792.3ocqVErbhCCC8L7U3ImYYRbJTXO08GXOs21oCiShB31D6L1N.sc5+9Jq
 +
jPSaCTVJGHLV1RVumdx1uLdTPhdOXCX+j8W1nQuLdzHxj2vn1wiBJE6SKDVZ
 +
YAo5xRP4BlzLmC16H6+YCvRKzVvvdRWyVCNlSyhlNg4vYJ0FfUYzJcsJExHa
 +
PdNj5lx9s1ISAzjvwj4MdqYhhBZU6DO4Cj1vf8o.5ZWHkkh03zRbcI.lU.K2
 +
neFTSX61HK.LFR0ZbpB8NV3TlT4L5r5TvxT5sPQ61amx5fRgTgwoVQ3YVqQU
 +
coTU.NB7QsFyMqS7iCmF1YQqbV4y.sp3ClQu00tN26rlTmjT.8CXkArHoJbR
 +
sZkASqlJBeFGCEiG4+F19gcemSBW5FDi8bHdN4vxYjaMduHtmOxLpXoSd3GQ
 +
7fdIuRTRYTvuLRQQfehWGO1+Yx2VXHsrTCHbH0KXVYYEVcxwRYhH8Qun.qIV
 +
rlJdzWv7kVjyppcLcNM5Aoa59bQFvDVxfQtdCJUT3ZNR0i+MpdK9hp2Pztmm
 +
INOdws9+t41iv4QWWN2SM4U100xfSh3yQcx+B7cSzRRNQ5v34CCv4m.esyzr
 +
ktmpflfGDLA+wt+Bfuv4LWCn2sXe7n.Sxs9J4U6jYtM94nNrixT7YDWEwmS+
 +
Etrq+cP0vkPVWDQofc3F9oVy25rtC2nU9Tv2f46MY2IU72YYPZleMUXQKI5J
 +
Nb1oXMN+BnMDoqJENib+kq1Rn7FLCRDmVXczyLZPZbXinY1vHN9vN1A1LnTu
 +
UlA5oXFhA+bv8EgYuBoZmTko2cx1riTnG9ZsvCWmwuoA4K5eul+Zg0F7n7ry
 +
gB4w7iFo98Z29eb9CE.5FkO7zHJI71eOkY00lztv01YydKMx.qSpHVn2Z753
 +
dKZiLKCT8kRkxrJ7MLt1bfim7Ly2jzJVNL3s8QZE3CKHPGNXw9by+OjaCC.O
 +
kdR.b8xm3qAed8RmOf7gym4WX5zH9DUUaAisMjTlfclOno6mlOgFJUMCoVj.
 +
CrU1s9XxhvfcLNrco1zbrw9EywWYf6yqi+moVhdw
 +
-----------end_max5_patcher-----------
 +
</code></pre>
 +
</maxpat>
 +
 +
{{maxword|name=jit.xfade}} is also featured in a number of jitter example patches.
 +
*./examples/jitter-examples/render/jit.gl.gridshape-morph.maxpat uses jit.xfade on the float32 geometry output from jit.gl.gridshape to mix between different geometries.
 +
*./examples/jitter-examples/render/jit.gl.render.xfade-shapes.maxpat and jit.gl.render.xfade-shapes2.maxpat expand on this idea.
 +
*./examples/jitter-examples/render/path/path.morph.contour.maxpat morphs between contour shapes created using jit.path.
 +
*./examples/jitter-examples/video/audio/jit.poke~-asteroidgrowth.maxpat.
 +
*./examples/jitter-examples/video/color/jit.xfade-sat+desat.maxpat is a  simple and efficient method for saturation/desaturation.
 +
*./examples/jitter-examples/video/matrix/bline-xfader.maxpat shows how to create an event (bang) based crossfade using the {{maxword|name=bline}} object.
 +
*./examples/jitter-examples/video/op/jit.op-blur.maxpat creates a 4-point blur with feedback using jit.op.
 +
*./examples/jitter-examples/video/op/jit.op-xfade.maxpat emulates the behavior of jit.xfade using jit.op, however, it does not produce the same behavior as jit.xfade when set below 0. or above 1.
 +
*./examples/jitter-examples/video/spatial/jit.convolve-blur.maxpat uses jit.xfade feedback to create a convolution based directional blur.
 +
*./examples/jitter-examples/video/spatial/jit.rota-feedback.maxpat creates video feedback with jit.rota, allowing rotation, offset, scaling, and skew operations.
 +
A gen version of jit.xfade is included for use with jit.pix and jit.gl.pix (xfade.genjit).
 +
*./examples/jitter-examples/video/gen/jit.gl.pix.xfade.maxpat.
 +
*./examples/jitter-examples/video/gen/jit.pix.xfade.maxpat.
  
 
==Third-Party Max externals similar to the {{maxword|name=jit.xfade}} object==
 
==Third-Party Max externals similar to the {{maxword|name=jit.xfade}} object==
Line 12: Line 58:
  
 
==People who looked at/used this object also looked at....==
 
==People who looked at/used this object also looked at....==
 +
*{{maxword|name=jit.alphablend}}
 +
*{{maxword|name=jit.chromakey}}
 +
*{{maxword|name=jit.expr}}
 +
*{{maxword|name=jit.keyscreen}}
 +
*{{maxword|name=jit.lumakey}}
 +
*{{maxword|name=jit.op}}
  
 
==Errors or Clarifications==
 
==Errors or Clarifications==

Revision as of 00:08, 13 July 2013

Contents

jit.xfade online refpage

Using the jit.xfade object

jit.xfade performs a crossfade between two input matrices using the formula in1 * (1-amt) + in2*amt. A value of 0. essentially passes the left input unaltered and a value of 1. passes the right, however, you can achieve interesting effects by going above and below those values.

jit.xfade Tutorials

jit.xfade Tips and Workarounds

  • jit.xfade is also a great way to introduce feedback processes into a patch.
-- Pasted Max Patch, click to expand. --

jit.xfade is also featured in a number of jitter example patches.

  • ./examples/jitter-examples/render/jit.gl.gridshape-morph.maxpat uses jit.xfade on the float32 geometry output from jit.gl.gridshape to mix between different geometries.
  • ./examples/jitter-examples/render/jit.gl.render.xfade-shapes.maxpat and jit.gl.render.xfade-shapes2.maxpat expand on this idea.
  • ./examples/jitter-examples/render/path/path.morph.contour.maxpat morphs between contour shapes created using jit.path.
  • ./examples/jitter-examples/video/audio/jit.poke~-asteroidgrowth.maxpat.
  • ./examples/jitter-examples/video/color/jit.xfade-sat+desat.maxpat is a simple and efficient method for saturation/desaturation.
  • ./examples/jitter-examples/video/matrix/bline-xfader.maxpat shows how to create an event (bang) based crossfade using the bline object.
  • ./examples/jitter-examples/video/op/jit.op-blur.maxpat creates a 4-point blur with feedback using jit.op.
  • ./examples/jitter-examples/video/op/jit.op-xfade.maxpat emulates the behavior of jit.xfade using jit.op, however, it does not produce the same behavior as jit.xfade when set below 0. or above 1.
  • ./examples/jitter-examples/video/spatial/jit.convolve-blur.maxpat uses jit.xfade feedback to create a convolution based directional blur.
  • ./examples/jitter-examples/video/spatial/jit.rota-feedback.maxpat creates video feedback with jit.rota, allowing rotation, offset, scaling, and skew operations.

A gen version of jit.xfade is included for use with jit.pix and jit.gl.pix (xfade.genjit).

  • ./examples/jitter-examples/video/gen/jit.gl.pix.xfade.maxpat.
  • ./examples/jitter-examples/video/gen/jit.pix.xfade.maxpat.

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

Maxobjects.com listing for the jit.xfade 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)