Physics simulation driven by audio

From tutorial 21b by dude837

https://www.youtube.com/watch?v=COl3ft1PPNU

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

Download

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

Folder: physics

Project: bumper-phsyics

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

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.

Download

Screen Shot 2015-03-10 at 12.01.12 AM

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

folder: push

patches:

  • 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.

Download

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

folder: phasor-clock

patches:

  • phasor-clock.maxpat

ep-341 Max/MSP – Spring 2015 week 7

The Live Object Model in Max for Live.

Screen Shot 2015-03-04 at 12.43.39 PM

Several ways of working with Ableton Live parameters in a M4L patch. (This is an improved version of the patch we built in class) https://reactivemusic.net/?p=18401

The Live Object Model description: https://cycling74.com/docs/max5/refpages/m4l-ref/m4l_live_object_model.html

In the coming weeks we will build synthesizers and work with control surfaces in M4L

Assignment

Build 3 or more M4L devices, including one of each of the following

  • An audio effect
  • An instrument
  • A Midi effect

Its ok to adapt and “improve” an existing device.

Please bring in your work in progress for next week and be prepared to demonstrate something. The entire assignment will not be due until March 31.