Tag: Max/MSP

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/

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

Phasor clock

A sample accurate version of the Max metro object.

Screen Shot 2015-03-09 at 10.34.27 PM

Detects state change when a phasor goes from one to zero. I first saw this in a patch by jhno. Here is a tutorial by Cycling 74: https://cycling74.com/wiki/index.php?title=MSP_Sequencing_Tutorial_1:_Audio-Rate_Sequencing

This patch is used as a clock in an RTTY (frequency shift keying) project. https://reactivemusic.net/?p=8893. It uses the count~ object instead of phasor~ because its easier to restart the clock at zero phase.



folder: phasor-clock


  • phasor-clock.maxpat

Random walk synthesizer

40 voices of “drunken” motion in Max

Audio engine and concept stolen from Sam Tarakajian

Screen Shot 2015-03-09 at 9.19.38 PM



folder: poly-synth-drunk.maxpat


  • poly-synth-drunk.maxpat
  • boids_poly-tz.maxpat

You may notice similarities to dude837’s Boids sonificiation patch. https://reactivemusic.net/?p=18388 The swarm was replaced by drunken dots.