I’m a VJ now

Over the past few weeks I have been working on my first ‘patch’ – an interface for controlling an audio-visual performance. Here is a still-shot of something made by the patch:

A patch runs in program called Max – also known as Max/MSP/Jitter. It is my first use of a new tool to link sight and sound, as I have done with p5, processing, and animation in the past.

UPDATE: I performed using this patcher

Note: patch code is at the bottom of this post. You can just copy it and paste it into your own version of Max like so.

The A/V manipulation is done with a control panel specifically designed to create some chromatic and fade effects between two videos. It looks like this:

How it works:

This patcher takes in one audio source and two video sources to create a mashed-up result with sound influencing part of the video.

The sound signal is played aloud and also converted into a matrix of data using the jit.grab object. The series of operations that happen after that are designed to imitate the data flow below:

using FFT to create a frequency selector

The steering wheel is intended to select a set of frequencies to be processed (i.e. 0-to-128, or 896-to-1024, or even something like 193-to-321. That selection of frequencies is converted into a set of RGB values. These values are used as a background in the video.

The video layering creates a lot of trichromatic effects such as these by using two sets of jit.chromakey manipulations.

Patch details:

While the control panel looks nice, here is what it looks like “under the hood”:

under the hood of this Max patcher

The patch also uses gates to route the flows of the (three) matrices to the appropriate place. As the control panel shows, this patch is designed to have 5 “stages”

[Intro] One video, plain and simple, with music in the background

[Act 1] One video with the sound matrix chromakeyed behind it

[Intermission] back to one video, plain and simple

[Act 2] One video with another video chromakeyed behind it

[Act 3] The same as stage act 2 above, but with the second video chromakeyed like the first is in act 1

Max code:

<pre><code> ----------begin_max5_patcher---------- 6462.3oc6cs0jaaik9Y6eEbTk211xD2Imp1phimdSRsdrcY6L6lM6VcwVhca FSIpgjpsSlZxu8E23M0jhfjfRs8XmXYIRId.9vA3bEG7Od7iVbcxmByV37mc 9EmG8n+wiezijWRbgGo+7iVrI3SqhCxjesEaC+Xx0+5hKT2JO7S4xKmEFGtJ 2AUbis62DsMNLW9if5KtKHe06i1d6Uo7uqhnLBcouqqKDegCvErz0Cg.nKbH vktW3.4u57+U8HS1me3yLZsj971zS7nETW88x+scgJpr35fs2t3BmEKJeZY4 +Vr7tKVHtv+7wOV7xEFhBqR1rIba98fgWmFlwudPdTxVmMIq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cLgY7LT6PKvz3P8.nJvFSE9HQ4Q u5rpU2XxMYixmni5AOc.tfDPsMiu5SVeM.yxJgChyu0lJaRP8K85fEnU+SkQ ViV.SkAaAZgLUfoEnE1TwbSjVnoG33hHESopp2P0mlbqyHsGg9VAILSLs2rX 4ggDeVRoV.xzn30siyAt0bzOnzQ+PWZKWepiTP+y3HkgDedFofLa3RkZ6sWH efqL1a0kTWciIOZgLFvlrhLP3zyqjhDIg1XuZPmdj6.vou8d706uGrTkkx82 CdNzYwnrSvnVqLlnj19DU1An.RwGr97UiBK3QYHpmLHLHWplWwY2JYIhvU4k 180wPE6CTVCJjeZpbQ.SxY+xYBSjVFogExJZyALJRTTarLgjT.SHEzJjBZBo l7Bs.iMwXxiUtPS1gJViR8pbhq0HUuYYsU7dn4pZ1o+NH3h3hHOAF3Jciw99 DP6WC4I0M2GQqh7lmETPebIihptvDra2cgoY5usjFK1D7qpRPC6hGqN+HUeT VVJWjFdWTw2WVSgWDjt58Q4gqx2mpJ4MexSU8Nk07lzs6izBB48tGqKMNGTK ZJq1npJu42EuO7I556KuGcSv937lnPvpUghBL4Pp4QpN+EZvMk+6OrJ8rXCm PQEB7pOXbPC7mCEk+xi2DqW3RE4X2RWBeX2qbjpktfGj.j8.lGvCHKDQDeRY 49wNcf8atNL86ShWOXDt2Z71vaf7ey+7w++fZ2cEg -----------end_max5_patcher----------- </code></pre>

One thought on “I’m a VJ now”

Leave a Reply

Your email address will not be published. Required fields are marked *