Tag: Max/MSP

Silhouettes

Various methods of separating foreground from background.

Making Connections, Camera data (Max)

By Andrew Benson

https://cycling74.com/2009/10/26/making-connections-camera-data/ 

Screen Shot 2015-04-05 at 3.43.57 PM

cv.jit

By Jean-Marc Pelletier

cv.jit.binedge

Extract edge pixels from a binary image

cv.jit.floodfill

Isolate a single connected component from a binary image

Screen Shot 2015-04-05 at 3.58.08 PM

(a sock-monkey)

Kinect (depth camera)

Synapse http://synapsekinect.tumblr.com

by Ryan Challinor

Screen Shot 2015-04-05 at 4.08.17 PM

(Using jit.synapse from: http://synapsekinect.tumblr.com/post/6307752257/maxmsp-jitter – Can you find the sock monkey?)

See yourself in Code

“Commissioned for the BBC’s make it digital event, the brief was ‘to get children into code’. My installation downloaded the event’s twitter feed in real time and displayed the page’s body text inside the bodies of passing people. Moving their hands around allowed people to scroll through the html/js/CSS.”

By Robin Price

http://robinprice.net/2015/03/do-you-see-yourself-in-code/

20150227-Robin-10-1024x683

 

This project uses:

  • maxurl
  • jit.gl.text2d
  • jit.openni
  • kinect

https://cycling74.com/project/do-you-see-yourself-in-code/

RF mixer simulation in Max

Audio simulation of an RF circuit.

Screen Shot 2015-03-29 at 4.49.36 PM

The simulation serves no purpose, but its fun. There are 4 versions. I think the third one sounds best (rf-mixer-sim3.maxpat). Its interesting to hear how much spectral distortion happens from multiplying sawtooth waves.

Screen Shot 2015-03-29 at 4.46.55 PM

Download

https://github.com/tkzic/max-projects/

folder: rf-mixer

patches:

Note: please set the signal vector size to 1 (or as low as possible) and enable overdrive and audio interrupt

Screen Shot 2015-03-29 at 5.22.30 PM

Four versions:

  • rf-mixer-sim.maxpat (initial attempt)
  • rf-mixer-sim2.maxpat (uses sah~ and rate~ objects)
  • rf-mixer-sim3.maxpat (uses gate~ objects with a phasor~ clock)
  • rf-mixer-sim4.maxpat (bandpass filter on RF input)

 

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

Download

https://github.com/tkzic/max-projects 

folder: 12throotof2

patch: 12throotof2.maxpat