Tag: Max/MSP


“Abstract cinema, generative systems, and interactive visuals.”

By Brecht Debackere


harmonograph: http://www.autofasurer.net/wp/?cat=3&paged=4

Mr. Matrix

“Re-order Max patchers on the fly without interruptions.”

By LeafcutterJohn

Download patch: http://leafcutterjohn.com/?p=1778


Simple number sorting in Max

By LeafcutterJohn

Download patch: http://leafcutterjohn.com/?p=1914

(local file in max teaching examples/simple-number-sorting.maxpat)

12th root of 2

The note relationships in a chromatic scale are based on the 12th root of 2.

An octave has a ratio of 2. An octave is divided into 12 equal steps.

For example, to find the ratio of one semi-tone (half step), on a scientific calculator, use this button:

Screen Shot 2015-03-23 at 12.36.27 PM

Here’s the result where x = 2 and y = 12

Screen Shot 2015-03-23 at 12.47.48 PM

In a computer program, you could use the pow() function calculate 2 to the 1/12 power. Here’s an example in javascript:

Screen Shot 2015-03-23 at 12.44.03 PM

This Max patch shows the relationships between any two notes and how to calculate the pitch of a note based on the semi-tone interval. You might use it as a starting point to design your own scales. For example, a 13 note chromatic scale.  Or relationships based on randomness.

Screen Shot 2015-03-23 at 12.32.36 PM



folder: 12throotof2

patch: 12throotof2.maxpat

Basis function generator

jit.bfg provides basis functions including various noise contours.

Here is yet another example co-opted from dude837 tutorial 30: https://www.youtube.com/watch?v=hoCpbxslvS8

This is a set of color bars composited with a noise gradient.

Screen Shot 2015-03-23 at 1.59.10 AM

Original components:



Noise gradient function

Screen Shot 2015-03-23 at 1.59.26 AM

A few minor changes were made to the original patch, including addition of comments and presets.



folder: bfg

patch: dude837-tut30-tz.maxpat

Physics simulation driven by audio

From tutorial 21b by dude837


Screen Shot 2015-03-23 at 1.46.04 AM

What’s different?

There was a problem with the spheres not returning to the resting position. They were constantly expanded outward. By removing the frame rate trigger from qmetro, and triggering only when audio data is received, the response was improved. You can also set signal amplitude going into the bonk~ object.

Screen Shot 2015-03-23 at 1.45.47 AM



Folder: physics

Project: bumper-phsyics

External objects: bonk~ from: http://vud.org/max/

Basic synth in Max – part 1

Yet another basic synthesizer design.

Screen Shot 2015-03-19 at 1.16.19 PM

First in a 3 part series for Berklee EP-341 Max/MSP course


  • Midi input
  • Waveform selection
  • LFO
  • portamento
  • ADSR
  • Low pass filter
  • presets
  • Sampler



Folder: Synth-design-2

patch: synth-thing1

GLSL optical flow

With high quality texture displacement.

By Andrew Benson

A self portrait made with the Max patch below.

Screen Shot 2015-03-11 at 7.42.46 PM

Download patch: hsflowdistort.zip

Screen Shot 2015-03-11 at 10.42.38 PM

More from Andrew Benson:

An example by Axiom Cruz:


Portrait series

Optical flow, a depth camera, and edge detection.

By Matt Romein



Portrait of Margo Cramer from http://mattromein.squarespace.com/#/portrait-series/

The programming uses the following external code:

jit.gl.hap – Rob Ramirez
ab.hsflow.jxs – Andrew Benson
jit.openni – DiabloDale
cv.jit – Jean-Marc Pelletier


Ableton Push as a low resolution video display

Is 8 x 8 enough?

Adapted from a tutorial by Darwin Grosse

This Max tutorial, from Cycling 74, connects the builtin-camera to a Push display matrix, using Midi sysex codes. https://cycling74.com/wiki/index.php?title=Push_Programming_Oct13_03

If you set the frame rate high enough, you can clearly see motion.

I thought it would be interesting to display icons at this resolution, but its not very impressive. Here’s an example.

Screen Shot 2015-03-10 at 12.00.56 AM

The 8 x 8 version is on the left. The original, on the right, is 57 x 57. Another problem is that the RGB quality of the Push is not very accurate for anything beyond primary colors. Here is the modified version of the patch.


Screen Shot 2015-03-10 at 12.01.12 AM


folder: push


  • pushpix-tz.maxpat