Live 2 Processing (max4live plugin)

Download Zip (3k)
Download raw (23k)


A Max4Live plugin which sends numerical audio peak data to Processing via OSC.
Any program that can tap into OSC can use the data (Super Collider, Blender, etc.)

Reporting Interval = will wait 1-60 frames per second before sending next data.
Curve = define the data curve (linear, log, etc.)
Scale = define the max value for data.

The data from the left channel is labeled with varX.
The data from the right channel is labeled with varY.

More info about OSC here.
You will need to install the CNMAT OSC packages.
Processing is available here.
Processing users will need the OSCp5 library in order to tap into OSC.

Tested on OSX 10.5 and 10.6 running Max4Live 8.1 and Processing 1.0.9.
Plugin by WIGGLE. Please send comments, suggestions to:

Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License

up to Unsound.


Sample code for Processing:

//"Live 2 Processing" Sample Code
//Taps into OSC to receive audio peak data from Live.
//Use in conjunction with Live 2 Processing (Max4Live plugin)
//by WIGGLE (
//Plugin available at:
//You will need the OSCp5 library:
//and controlP5 library:
//thanks: Ableton, Ash Oakenfold, Andreas Schlegel, and Casey Reas

import controlP5.*;
import oscP5.*;
import netP5.*;

ControlP5 controlP5;
Slider xSlider;
Slider ySlider;

OscP5 oscP5;
NetAddress myRemoteLocation;

int varY = round(32 / 8.0f);
int varX = round(32 / 8.0f);

void setup()
size(180, 150);

void initOsc()
oscP5 = new OscP5(this,8080);

myRemoteLocation = new NetAddress("",8080);
oscP5.plug(this, "onY", "/varY");

void createSliders()
controlP5 = new ControlP5(this);
xSlider = controlP5.addSlider("varX",
0, // min
127, // max
32, // default value
20, // x
55, // y
100, // width
10); // height

ySlider = controlP5.addSlider("varY", 0, 127, 32, 20, 75, 100, 10);

void draw()
rect(10, 45, 160, 50);

void onX(int value)

void onY(int value)