Forums > MaxMSP

New Project Idea

December 1, 2009 | 7:53 pm

Hello again! I’m trying to put together a project using MAXMSP 5 and I don’t exactly know where to begin or how to set it up. My idea is to use some type of tracking method be it face tracking or color tracking to manipulate audio. I would like the project to operate as follows. When a user steps in front of the camera, MAX will either track a specific color the user is wearing or track the users face. When the user moves forward, the music begins to speed up. When the user moves backward, the music will begin to rewind. If the user jumps up the pitch increases and if he or she ducks the pitch decreases. Is this possible and if so how will i begin such a project. Cheers!


December 1, 2009 | 9:31 pm

Tracking can be quite complex, but what you describe is definately possible.

Jitter Tutorial 25 may be a starting point:

http://cycling74.com/docs/max5/tutorials/jit-tut/jitterchapter25.html


December 1, 2009 | 9:37 pm

Well, you’ll of course split your project into simpler parts. Make a patch that transposes up & down the pitch. Make a patch that speeds up or down the playback of a file. Combine them. Then, the most complex will be the tracking.


December 2, 2009 | 1:09 pm

you could, try going on maxobjects.com and find some useful externals. then once you get the hang of what you want, you can then implement your externals instead.

but as jean-francois said, it is a good idea to work patch by patch and then join them up later on…


December 3, 2009 | 6:07 pm

Something that struck me is that you could use a thermographic camera. Generally, humans would be much warmer than the surroundings and this way you could easily track height/distance/position etc by simply analyzing the amount of warm colors in certain areas of the picture.


December 3, 2009 | 6:10 pm

Of course, a quick Google search found this project that has done exactly that:

http://www.baltanlaboratories.org/?p=1218#more-1218


December 3, 2009 | 9:52 pm

Check out the jit.cv externals for tracking of faces and shapes and a load of other types of tracking.


December 13, 2009 | 5:30 pm

I have posted a patch which does sort of what I need it to do however one component isn’t working. I’m using a built in camera on a MacBook Pro to track a persons shirt color as my main method of tracking however it doesn’t track anything! The sliders do not move the slightest. It has worked once before, but never again so can someone tell me what’s wrong?


December 13, 2009 | 6:37 pm

{
"patcher" : {
"fileversion" : 1,
"rect" : [ -10.0, 89.0, 867.0, 635.0 ],
"bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
"bglocked" : 0,
"defrect" : [ -10.0, 89.0, 867.0, 635.0 ],
"openrect" : [ 0.0, 0.0, 0.0, 0.0 ],
"openinpresentation" : 0,
"default_fontsize" : 10.0,
"default_fontface" : 0,
"default_fontname" : "Arial",
"gridonopen" : 0,
"gridsize" : [ 15.0, 15.0 ],
"gridsnaponopen" : 0,
"toolbarvisible" : 1,
"boxanimatetime" : 200,
"imprint" : 1,
"boxes" : [ {
"box" : {
"maxclass" : "newobj",
"text" : "pak 0 0",
"ignoreclick" : 0,
"hidden" : 0,
"fontface" : 0,
"numinlets" : 2,
"fontsize" : 11.595187,
"bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
"numoutlets" : 1,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"outlettype" : [ "" ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"background" : 0,
"color" : [ 0.8, 0.84, 0.71, 1.0 ],
"id" : "obj-70",
"fontname" : "Arial",
"patching_rect" : [ 365.0, 54.0, 75.0, 20.0 ],
"presentation" : 0
}

}
, {
"box" : {
"maxclass" : "number",
"ignoreclick" : 0,
"minimum" : "",
"hidden" : 0,
"fontface" : 0,
"numinlets" : 1,
"bordercolor" : [ 0.5, 0.5, 0.5, 1.0 ],
"fontsize" : 11.595187,
"cantchange" : 0,
"bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
"maximum" : "
",
"numoutlets" : 2,
"triscale" : 1.0,
"htricolor" : [ 0.87, 0.82, 0.24, 1.0 ],
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"outlettype" : [ "int", "bang" ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"hbgcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"format" : 0,
"tricolor" : [ 0.75, 0.75, 0.75, 1.0 ],
"background" : 0,
"mouseup" : 0,
"id" : "obj-71",
"triangle" : 1,
"fontname" : "Arial",
"htextcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
"outputonclick" : 0,
"patching_rect" : [ 421.0, 25.0, 50.0, 20.0 ],
"presentation" : 0
}

}
, {
"box" : {
"maxclass" : "number",
"ignoreclick" : 0,
"minimum" : "",
"hidden" : 0,
"fontface" : 0,
"numinlets" : 1,
"bordercolor" : [ 0.5, 0.5, 0.5, 1.0 ],
"fontsize" : 11.595187,
"cantchange" : 0,
"bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
"maximum" : "
",
"numoutlets" : 2,
"triscale" : 1.0,
"htricolor" : [ 0.87, 0.82, 0.24, 1.0 ],
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"outlettype" : [ "int", "bang" ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"hbgcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"format" : 0,
"tricolor" : [ 0.75, 0.75, 0.75, 1.0 ],
"background" : 0,
"mouseup" : 0,
"id" : "obj-72",
"triangle" : 1,
"fontname" : "Arial",
"htextcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
"outputonclick" : 0,
"patching_rect" : [ 365.0, 25.0, 50.0, 20.0 ],
"presentation" : 0
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "print RGBA",
"ignoreclick" : 0,
"hidden" : 0,
"fontface" : 0,
"numinlets" : 1,
"fontsize" : 11.595187,
"bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
"numoutlets" : 0,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"background" : 0,
"color" : [ 0.8, 0.84, 0.71, 1.0 ],
"id" : "obj-73",
"fontname" : "Arial",
"patching_rect" : [ 12.0, 685.0, 69.0, 20.0 ],
"presentation" : 0
}

}
, {
"box" : {
"maxclass" : "suckah",
"ignoreclick" : 0,
"hidden" : 0,
"numinlets" : 1,
"numoutlets" : 1,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"boundmode" : 0,
"outlettype" : [ "" ],
"compatibility" : 0,
"background" : 0,
"outputalpha" : 1,
"id" : "obj-74",
"patching_rect" : [ 10.0, 97.0, 319.0, 240.0 ],
"presentation" : 0
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "p Compatibility",
"ignoreclick" : 0,
"hidden" : 0,
"fontface" : 0,
"numinlets" : 0,
"fontsize" : 11.595187,
"bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
"numoutlets" : 0,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"background" : 0,
"color" : [ 0.8, 0.84, 0.71, 1.0 ],
"id" : "obj-60",
"fontname" : "Arial",
"patching_rect" : [ 407.0, 309.0, 87.0, 20.0 ],
"presentation" : 0,
"patcher" : {
"fileversion" : 1,
"rect" : [ 448.0, 318.0, 451.0, 296.0 ],
"bglocked" : 0,
"defrect" : [ 448.0, 318.0, 451.0, 296.0 ],
"openrect" : [ 0.0, 0.0, 0.0, 0.0 ],
"openinpresentation" : 0,
"default_fontsize" : 10.0,
"default_fontface" : 0,
"default_fontname" : "Arial",
"gridonopen" : 0,
"gridsize" : [ 15.0, 15.0 ],
"gridsnaponopen" : 0,
"toolbarvisible" : 1,
"boxanimatetime" : 200,
"imprint" : 0,
"boxes" : [ {
"box" : {
"maxclass" : "newobj",
"text" : "pak 0 0",
"numinlets" : 2,
"fontsize" : 11.595187,
"numoutlets" : 1,
"outlettype" : [ "" ],
"id" : "obj-16",
"fontname" : "Arial",
"patching_rect" : [ 35.0, 82.0, 75.0, 20.0 ]
}

}
, {
"box" : {
"maxclass" : "number",
"numinlets" : 1,
"fontsize" : 11.595187,
"numoutlets" : 2,
"outlettype" : [ "int", "bang" ],
"id" : "obj-17",
"fontname" : "Arial",
"patching_rect" : [ 91.0, 53.0, 50.0, 20.0 ]
}

}
, {
"box" : {
"maxclass" : "number",
"numinlets" : 1,
"fontsize" : 11.595187,
"numoutlets" : 2,
"outlettype" : [ "int", "bang" ],
"id" : "obj-18",
"fontname" : "Arial",
"patching_rect" : [ 35.0, 53.0, 50.0, 20.0 ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "print RGB",
"numinlets" : 1,
"fontsize" : 11.595187,
"numoutlets" : 0,
"id" : "obj-19",
"fontname" : "Arial",
"patching_rect" : [ 35.0, 251.0, 61.0, 20.0 ]
}

}
, {
"box" : {
"maxclass" : "suckah",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"compatibility" : 1,
"outputalpha" : 0,
"id" : "obj-20",
"patching_rect" : [ 35.0, 113.0, 384.0, 128.0 ]
}

}
, {
"box" : {
"maxclass" : "panel",
"numinlets" : 1,
"bgcolor" : [ 0.0, 0.0, 1.0, 1.0 ],
"numoutlets" : 0,
"border" : 1,
"rounded" : 0,
"id" : "obj-21",
"patching_rect" : [ 291.0, 113.0, 128.0, 128.0 ]
}

}
, {
"box" : {
"maxclass" : "panel",
"numinlets" : 1,
"bgcolor" : [ 0.0, 1.0, 0.0, 1.0 ],
"numoutlets" : 0,
"border" : 1,
"rounded" : 0,
"id" : "obj-22",
"patching_rect" : [ 163.0, 113.0, 128.0, 128.0 ]
}

}
, {
"box" : {
"maxclass" : "panel",
"numinlets" : 1,
"bgcolor" : [ 1.0, 0.0, 0.0, 1.0 ],
"numoutlets" : 0,
"border" : 1,
"rounded" : 0,
"id" : "obj-23",
"patching_rect" : [ 35.0, 113.0, 128.0, 128.0 ]
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "When the compatibilty attribute is activated, suckah outputs pixel color in RGB (integer values between 0 and 255)",
"linecount" : 2,
"numinlets" : 1,
"fontsize" : 11.595187,
"numoutlets" : 0,
"id" : "obj-24",
"fontname" : "Arial",
"patching_rect" : [ 28.0, 16.0, 413.0, 33.0 ]
}

}
],
"lines" : [ {
"patchline" : {
"source" : [ "obj-20", 0 ],
"destination" : [ "obj-19", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-16", 0 ],
"destination" : [ "obj-20", 0 ],
"hidden" : 0,
"midpoints" : [ 44.5, 102.0, 44.5, 108.0 ]
}

}
, {
"patchline" : {
"source" : [ "obj-18", 0 ],
"destination" : [ "obj-16", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-17", 0 ],
"destination" : [ "obj-16", 1 ],
"hidden" : 0,
"midpoints" : [ 100.5, 71.0, 100.5, 71.0 ]
}

}
]
}
,
"saved_object_attributes" : {
"default_fontface" : 0,
"globalpatchername" : "",
"fontface" : 0,
"default_fontname" : "Arial",
"fontsize" : 10.0,
"default_fontsize" : 10.0,
"fontname" : "Arial"
}

}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "Pitch",
"ignoreclick" : 1,
"hidden" : 0,
"fontface" : 0,
"numinlets" : 1,
"fontsize" : 12.0,
"frgb" : [ 0.0, 0.0, 0.0, 1.0 ],
"bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ],
"numoutlets" : 0,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"underline" : 0,
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"background" : 0,
"id" : "obj-51",
"fontname" : "Arial",
"patching_rect" : [ 71.0, 446.0, 43.0, 20.0 ],
"presentation" : 0
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "Speed",
"ignoreclick" : 1,
"hidden" : 0,
"fontface" : 0,
"numinlets" : 1,
"fontsize" : 12.0,
"frgb" : [ 0.0, 0.0, 0.0, 1.0 ],
"bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ],
"numoutlets" : 0,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"underline" : 0,
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"background" : 0,
"id" : "obj-52",
"fontname" : "Arial",
"patching_rect" : [ 11.0, 446.0, 43.0, 20.0 ],
"presentation" : 0
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "stop",
"ignoreclick" : 0,
"gradient" : 0,
"hidden" : 0,
"fontface" : 0,
"numinlets" : 2,
"fontsize" : 12.0,
"bgcolor" : [ 0.867, 0.867, 0.867, 1.0 ],
"numoutlets" : 1,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"outlettype" : [ "" ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"background" : 0,
"id" : "obj-53",
"fontname" : "Arial",
"patching_rect" : [ 116.0, 536.0, 58.0, 18.0 ],
"presentation" : 0,
"bgcolor2" : [ 0.867, 0.867, 0.867, 1.0 ]
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "startloop",
"ignoreclick" : 0,
"gradient" : 0,
"hidden" : 0,
"fontface" : 0,
"numinlets" : 2,
"fontsize" : 12.0,
"bgcolor" : [ 0.867, 0.867, 0.867, 1.0 ],
"numoutlets" : 1,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"outlettype" : [ "" ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"background" : 0,
"id" : "obj-54",
"fontname" : "Arial",
"patching_rect" : [ 116.0, 506.0, 58.0, 18.0 ],
"presentation" : 0,
"bgcolor2" : [ 0.867, 0.867, 0.867, 1.0 ]
}

}
, {
"box" : {
"maxclass" : "ezdac~",
"ongradcolor1" : [ 0.75, 0.79, 0.93, 1.0 ],
"ignoreclick" : 0,
"local" : 0,
"ongradcolor2" : [ 0.66, 0.66, 0.72, 1.0 ],
"offgradcolor2" : [ 0.7, 0.7, 0.73, 1.0 ],
"hidden" : 0,
"numinlets" : 2,
"bgcolor" : [ 0.51, 0.51, 0.51, 1.0 ],
"numoutlets" : 0,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"background" : 0,
"id" : "obj-55",
"patching_rect" : [ 11.0, 626.0, 45.0, 45.0 ],
"presentation" : 0,
"offgradcolor1" : [ 0.87, 0.87, 0.87, 1.0 ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "free_elastic",
"ignoreclick" : 0,
"hidden" : 0,
"fontface" : 0,
"numinlets" : 3,
"fontsize" : 12.0,
"bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
"numoutlets" : 2,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"outlettype" : [ "signal", "signal" ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"background" : 0,
"color" : [ 0.8, 0.84, 0.71, 1.0 ],
"id" : "obj-62",
"fontname" : "Arial",
"patching_rect" : [ 11.0, 581.0, 72.0, 20.0 ],
"presentation" : 0
}

}
, {
"box" : {
"maxclass" : "flonum",
"ignoreclick" : 0,
"minimum" : "",
"hidden" : 0,
"fontface" : 0,
"numinlets" : 1,
"bordercolor" : [ 0.5, 0.5, 0.5, 1.0 ],
"fontsize" : 12.0,
"cantchange" : 0,
"bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
"maximum" : "
",
"numoutlets" : 2,
"triscale" : 1.0,
"htricolor" : [ 0.87, 0.82, 0.24, 1.0 ],
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"outlettype" : [ "float", "bang" ],
"numdecimalplaces" : 0,
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"hbgcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"tricolor" : [ 0.75, 0.75, 0.75, 1.0 ],
"background" : 0,
"mouseup" : 0,
"id" : "obj-56",
"triangle" : 1,
"fontname" : "Arial",
"htextcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
"outputonclick" : 0,
"patching_rect" : [ 11.0, 476.0, 50.0, 20.0 ],
"presentation" : 0
}

}
, {
"box" : {
"maxclass" : "flonum",
"ignoreclick" : 0,
"minimum" : "",
"hidden" : 0,
"fontface" : 0,
"numinlets" : 1,
"bordercolor" : [ 0.5, 0.5, 0.5, 1.0 ],
"fontsize" : 12.0,
"cantchange" : 0,
"bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
"maximum" : "
",
"numoutlets" : 2,
"triscale" : 1.0,
"htricolor" : [ 0.87, 0.82, 0.24, 1.0 ],
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"outlettype" : [ "float", "bang" ],
"numdecimalplaces" : 0,
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"hbgcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"tricolor" : [ 0.75, 0.75, 0.75, 1.0 ],
"background" : 0,
"mouseup" : 0,
"id" : "obj-57",
"triangle" : 1,
"fontname" : "Arial",
"htextcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
"outputonclick" : 0,
"patching_rect" : [ 71.0, 476.0, 50.0, 20.0 ],
"presentation" : 0
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "t clear",
"ignoreclick" : 0,
"hidden" : 0,
"fontface" : 0,
"numinlets" : 1,
"fontsize" : 11.595187,
"bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
"numoutlets" : 1,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"outlettype" : [ "clear" ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"background" : 0,
"color" : [ 0.8, 0.84, 0.71, 1.0 ],
"id" : "obj-40",
"fontname" : "Arial",
"patching_rect" : [ 664.0, 118.0, 42.0, 20.0 ],
"presentation" : 0
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "t clear",
"ignoreclick" : 0,
"hidden" : 0,
"fontface" : 0,
"numinlets" : 1,
"fontsize" : 11.595187,
"bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
"numoutlets" : 1,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"outlettype" : [ "clear" ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"background" : 0,
"color" : [ 0.8, 0.84, 0.71, 1.0 ],
"id" : "obj-2",
"fontname" : "Arial",
"patching_rect" : [ 834.0, 118.0, 42.0, 20.0 ],
"presentation" : 0
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "input $1",
"ignoreclick" : 0,
"gradient" : 0,
"hidden" : 0,
"fontface" : 0,
"numinlets" : 2,
"fontsize" : 11.595187,
"bgcolor" : [ 0.867, 0.867, 0.867, 1.0 ],
"numoutlets" : 1,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"outlettype" : [ "" ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"background" : 0,
"id" : "obj-41",
"fontname" : "Arial",
"patching_rect" : [ 739.0, 164.0, 52.0, 18.0 ],
"presentation" : 0,
"bgcolor2" : [ 0.867, 0.867, 0.867, 1.0 ]
}

}
, {
"box" : {
"maxclass" : "umenu",
"ignoreclick" : 0,
"menumode" : 0,
"pattrmode" : 0,
"arrowcolor" : [ 0.22, 0.22, 0.22, 1.0 ],
"arrowbgcolor" : [ 0.86, 0.86, 0.86, 1.0 ],
"hidden" : 0,
"fontface" : 0,
"numinlets" : 1,
"fontsize" : 11.595187,
"framecolor" : [ 0.5, 0.5, 0.5, 1.0 ],
"align" : 0,
"showdotfiles" : 0,
"bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
"arrowframe" : 1,
"arrow" : 1,
"numoutlets" : 3,
"items" : "Built-in iSight",
"types" : [ ],
"discolor" : [ 0.43, 0.43, 0.43, 1.0 ],
"prefix_mode" : 0,
"autopopulate" : 0,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"togcolor" : [ 0.55, 0.55, 0.55, 1.0 ],
"outlettype" : [ "int", "", "" ],
"rounded" : 8,
"arrowlink" : 1,
"underline" : 0,
"textcolor" : [ 0.15, 0.15, 0.15, 1.0 ],
"prefix" : "",
"depth" : 0,
"hltcolor" : [ 0.92, 0.92, 0.92, 1.0 ],
"background" : 0,
"id" : "obj-42",
"fontname" : "Arial",
"textcolor2" : [ 0.15, 0.15, 0.15, 1.0 ],
"patching_rect" : [ 739.0, 143.0, 145.0, 20.0 ],
"labelclick" : 0,
"presentation" : 0,
"bgcolor2" : [ 1.0, 1.0, 1.0, 1.0 ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "prepend append",
"ignoreclick" : 0,
"hidden" : 0,
"fontface" : 0,
"numinlets" : 1,
"fontsize" : 11.595187,
"bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
"numoutlets" : 1,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"outlettype" : [ "" ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"background" : 0,
"color" : [ 0.8, 0.84, 0.71, 1.0 ],
"id" : "obj-43",
"fontname" : "Arial",
"patching_rect" : [ 739.0, 118.0, 95.0, 20.0 ],
"presentation" : 0
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "iter",
"ignoreclick" : 0,
"hidden" : 0,
"fontface" : 0,
"numinlets" : 1,
"fontsize" : 11.595187,
"bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
"numoutlets" : 1,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"outlettype" : [ "" ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"background" : 0,
"color" : [ 0.8, 0.84, 0.71, 1.0 ],
"id" : "obj-44",
"fontname" : "Arial",
"patching_rect" : [ 739.0, 95.0, 27.0, 20.0 ],
"presentation" : 0
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "print",
"ignoreclick" : 0,
"hidden" : 0,
"fontface" : 0,
"numinlets" : 1,
"fontsize" : 11.595187,
"bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
"numoutlets" : 0,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"background" : 0,
"color" : [ 0.8, 0.84, 0.71, 1.0 ],
"id" : "obj-45",
"fontname" : "Arial",
"patching_rect" : [ 901.0, 87.0, 33.0, 20.0 ],
"presentation" : 0
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "vdevice $1",
"ignoreclick" : 0,
"gradient" : 0,
"hidden" : 0,
"fontface" : 0,
"numinlets" : 2,
"fontsize" : 11.595187,
"bgcolor" : [ 0.867, 0.867, 0.867, 1.0 ],
"numoutlets" : 1,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"outlettype" : [ "" ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"background" : 0,
"id" : "obj-46",
"fontname" : "Arial",
"patching_rect" : [ 569.0, 164.0, 66.0, 18.0 ],
"presentation" : 0,
"bgcolor2" : [ 0.867, 0.867, 0.867, 1.0 ]
}

}
, {
"box" : {
"maxclass" : "umenu",
"ignoreclick" : 0,
"menumode" : 0,
"pattrmode" : 0,
"arrowcolor" : [ 0.22, 0.22, 0.22, 1.0 ],
"arrowbgcolor" : [ 0.86, 0.86, 0.86, 1.0 ],
"hidden" : 0,
"fontface" : 0,
"numinlets" : 1,
"fontsize" : 11.595187,
"framecolor" : [ 0.5, 0.5, 0.5, 1.0 ],
"align" : 0,
"showdotfiles" : 0,
"bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
"arrowframe" : 1,
"arrow" : 1,
"numoutlets" : 3,
"items" : [ "DV Video", ",", "IIDC FireWire Video", ",", "USB Video Class Video" ],
"types" : [ ],
"discolor" : [ 0.43, 0.43, 0.43, 1.0 ],
"prefix_mode" : 0,
"autopopulate" : 0,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"togcolor" : [ 0.55, 0.55, 0.55, 1.0 ],
"outlettype" : [ "int", "", "" ],
"rounded" : 8,
"arrowlink" : 1,
"underline" : 0,
"textcolor" : [ 0.15, 0.15, 0.15, 1.0 ],
"prefix" : "",
"depth" : 0,
"hltcolor" : [ 0.92, 0.92, 0.92, 1.0 ],
"background" : 0,
"id" : "obj-47",
"fontname" : "Arial",
"textcolor2" : [ 0.15, 0.15, 0.15, 1.0 ],
"patching_rect" : [ 569.0, 143.0, 145.0, 20.0 ],
"labelclick" : 0,
"presentation" : 0,
"bgcolor2" : [ 1.0, 1.0, 1.0, 1.0 ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "prepend append",
"ignoreclick" : 0,
"hidden" : 0,
"fontface" : 0,
"numinlets" : 1,
"fontsize" : 11.595187,
"bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
"numoutlets" : 1,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"outlettype" : [ "" ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"background" : 0,
"color" : [ 0.8, 0.84, 0.71, 1.0 ],
"id" : "obj-48",
"fontname" : "Arial",
"patching_rect" : [ 569.0, 118.0, 95.0, 20.0 ],
"presentation" : 0
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "iter",
"ignoreclick" : 0,
"hidden" : 0,
"fontface" : 0,
"numinlets" : 1,
"fontsize" : 11.595187,
"bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
"numoutlets" : 1,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"outlettype" : [ "" ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"background" : 0,
"color" : [ 0.8, 0.84, 0.71, 1.0 ],
"id" : "obj-49",
"fontname" : "Arial",
"patching_rect" : [ 569.0, 95.0, 27.0, 20.0 ],
"presentation" : 0
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "route vdevlist inputlist",
"ignoreclick" : 0,
"hidden" : 0,
"fontface" : 0,
"numinlets" : 1,
"fontsize" : 11.595187,
"bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
"numoutlets" : 3,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"outlettype" : [ "", "", "" ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"background" : 0,
"color" : [ 0.8, 0.84, 0.71, 1.0 ],
"id" : "obj-50",
"fontname" : "Arial",
"patching_rect" : [ 511.0, 64.0, 121.0, 20.0 ],
"presentation" : 0
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "getinputlist",
"ignoreclick" : 0,
"gradient" : 0,
"hidden" : 0,
"fontface" : 0,
"numinlets" : 2,
"fontsize" : 11.595187,
"bgcolor" : [ 0.867, 0.867, 0.867, 1.0 ],
"numoutlets" : 1,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"outlettype" : [ "" ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"background" : 0,
"id" : "obj-6",
"fontname" : "Arial",
"patching_rect" : [ 224.0, 45.0, 66.0, 18.0 ],
"presentation" : 0,
"bgcolor2" : [ 0.867, 0.867, 0.867, 1.0 ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "jit.findbounds @min 0. 0.75 0. 0. @max 1. 1. 0.1 0.1",
"ignoreclick" : 0,
"hidden" : 0,
"fontface" : 0,
"numinlets" : 1,
"fontsize" : 11.595187,
"bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
"numoutlets" : 3,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"outlettype" : [ "", "", "" ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"background" : 0,
"color" : [ 1.0, 0.890196, 0.090196, 1.0 ],
"id" : "obj-28",
"fontname" : "Arial",
"patching_rect" : [ 351.0, 98.0, 278.0, 20.0 ],
"presentation" : 0
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "On/Off",
"ignoreclick" : 1,
"hidden" : 0,
"fontface" : 0,
"numinlets" : 1,
"fontsize" : 11.595187,
"frgb" : [ 0.0, 0.0, 0.0, 1.0 ],
"bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ],
"numoutlets" : 0,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"underline" : 0,
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"background" : 0,
"id" : "obj-1",
"fontname" : "Arial",
"patching_rect" : [ 30.0, 20.0, 43.0, 20.0 ],
"presentation" : 0
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "vertical",
"ignoreclick" : 1,
"hidden" : 0,
"fontface" : 0,
"numinlets" : 1,
"fontsize" : 11.595187,
"frgb" : [ 0.0, 0.0, 0.0, 1.0 ],
"bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ],
"numoutlets" : 0,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"underline" : 0,
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"background" : 0,
"id" : "obj-3",
"fontname" : "Arial",
"patching_rect" : [ 283.0, 396.0, 45.0, 20.0 ],
"presentation" : 0
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "horizontal",
"ignoreclick" : 1,
"hidden" : 0,
"fontface" : 0,
"numinlets" : 1,
"fontsize" : 11.595187,
"frgb" : [ 0.0, 0.0, 0.0, 1.0 ],
"bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ],
"numoutlets" : 0,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"underline" : 0,
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"background" : 0,
"id" : "obj-4",
"fontname" : "Arial",
"patching_rect" : [ 46.0, 397.0, 59.0, 20.0 ],
"presentation" : 0
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "patcher bballtracking",
"ignoreclick" : 0,
"hidden" : 0,
"fontface" : 0,
"numinlets" : 0,
"fontsize" : 11.595187,
"bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
"numoutlets" : 0,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"background" : 0,
"color" : [ 0.8, 0.84, 0.71, 1.0 ],
"id" : "obj-5",
"fontname" : "Arial",
"patching_rect" : [ 390.0, 276.0, 116.0, 20.0 ],
"presentation" : 0,
"patcher" : {
"fileversion" : 1,
"rect" : [ 5.0, 41.0, 788.0, 511.0 ],
"bglocked" : 0,
"defrect" : [ 5.0, 41.0, 788.0, 511.0 ],
"openrect" : [ 0.0, 0.0, 0.0, 0.0 ],
"openinpresentation" : 0,
"default_fontsize" : 10.0,
"default_fontface" : 0,
"default_fontname" : "Arial",
"gridonopen" : 0,
"gridsize" : [ 15.0, 15.0 ],
"gridsnaponopen" : 0,
"toolbarvisible" : 1,
"boxanimatetime" : 200,
"imprint" : 0,
"boxes" : [ {
"box" : {
"maxclass" : "comment",
"text" : "Setup",
"numinlets" : 1,
"fontsize" : 10.177998,
"numoutlets" : 0,
"id" : "obj-1",
"fontname" : "Times New Roman",
"patching_rect" : [ 636.0, 403.0, 32.0, 18.0 ]
}

}
, {
"box" : {
"maxclass" : "preset",
"numinlets" : 1,
"fontsize" : 12.754706,
"numoutlets" : 4,
"outlettype" : [ "preset", "int", "preset", "int" ],
"bubblesize" : 8,
"spacing" : 2,
"id" : "obj-2",
"patching_rect" : [ 642.0, 417.0, 17.0, 19.0 ],
"margin" : 4,
"preset_data" : [ {
"number" : 1,
"data" : [ 5, "obj-47", "toggle", "int", 1, 5, "obj-45", "flonum", "float", 2.7, 5, "obj-43", "flonum", "float", 1.1, 5, "obj-41", "flonum", "float", 1.5, 5, "obj-36", "number", "int", 0, 5, "obj-35", "number", "int", 2160, 5, "obj-30", "number", "int", 0, 5, "obj-26", "toggle", "int", 1, 5, "obj-21", "flonum", "float", 0.5, 5, "obj-8", "umenu", "int", 0, 5, "obj-7", "umenu", "int", 2 ]
}
]
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "Show Tracked Region",
"numinlets" : 1,
"fontsize" : 10.177998,
"numoutlets" : 0,
"id" : "obj-3",
"fontname" : "Times New Roman",
"patching_rect" : [ 438.0, 389.0, 100.0, 18.0 ]
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "Track a Color Range",
"linecount" : 4,
"numinlets" : 1,
"fontsize" : 10.177998,
"numoutlets" : 0,
"id" : "obj-4",
"fontname" : "Times New Roman",
"patching_rect" : [ 460.0, 244.0, 37.0, 53.0 ]
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "Looping",
"numinlets" : 1,
"fontsize" : 10.177998,
"numoutlets" : 0,
"id" : "obj-5",
"fontname" : "Times New Roman",
"patching_rect" : [ 622.0, 35.0, 43.0, 18.0 ]
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "loop $1",
"numinlets" : 2,
"fontsize" : 10.331545,
"numoutlets" : 1,
"outlettype" : [ "" ],
"id" : "obj-6",
"fontname" : "Courier New",
"patching_rect" : [ 621.0, 68.0, 52.0, 16.0 ]
}

}
, {
"box" : {
"maxclass" : "umenu",
"numinlets" : 1,
"fontsize" : 10.331545,
"numoutlets" : 3,
"items" : [ "No", "Loop", ",", "Loop", ",", "Loop", "Back", "and", "Forth" ],
"types" : [ ],
"outlettype" : [ "int", "", "" ],
"id" : "obj-7",
"fontname" : "Courier New",
"patching_rect" : [ 621.0, 49.0, 132.0, 18.0 ]
}

}
, {
"box" : {
"maxclass" : "umenu",
"numinlets" : 1,
"fontsize" : 10.331545,
"numoutlets" : 3,
"items" : [ 0, "=", "Produce", "No", "Sound", ",", 1, "=", "Play", "MIDI", "Notes", ",", 2, "=", "Play", "MSP", "Tones" ],
"types" : [ ],
"outlettype" : [ "int", "", "" ],
"id" : "obj-8",
"fontname" : "Courier New",
"patching_rect" : [ 576.0, 275.0, 140.0, 18.0 ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "patcher playtones",
"linecount" : 3,
"numinlets" : 1,
"fontsize" : 10.331545,
"numoutlets" : 0,
"id" : "obj-9",
"fontname" : "Courier New",
"patching_rect" : [ 639.0, 343.0, 60.0, 42.0 ],
"patcher" : {
"fileversion" : 1,
"rect" : [ 235.0, 227.0, 549.0, 338.0 ],
"bglocked" : 0,
"defrect" : [ 235.0, 227.0, 549.0, 338.0 ],
"openrect" : [ 0.0, 0.0, 0.0, 0.0 ],
"openinpresentation" : 0,
"default_fontsize" : 10.0,
"default_fontface" : 0,
"default_fontname" : "Arial",
"gridonopen" : 0,
"gridsize" : [ 15.0, 15.0 ],
"gridsnaponopen" : 0,
"toolbarvisible" : 1,
"boxanimatetime" : 200,
"imprint" : 0,
"boxes" : [ {
"box" : {
"maxclass" : "comment",
"text" : "Freq.",
"numinlets" : 1,
"fontsize" : 10.177998,
"numoutlets" : 0,
"id" : "obj-1",
"fontname" : "Times New Roman",
"patching_rect" : [ 295.0, 94.0, 30.0, 18.0 ]
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "Freq.",
"numinlets" : 1,
"fontsize" : 10.177998,
"numoutlets" : 0,
"id" : "obj-2",
"fontname" : "Times New Roman",
"patching_rect" : [ 128.0, 94.0, 30.0, 18.0 ]
}

}
, {
"box" : {
"maxclass" : "number",
"numinlets" : 1,
"fontsize" : 10.331545,
"bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ],
"numoutlets" : 2,
"triscale" : 0.9,
"outlettype" : [ "int", "bang" ],
"id" : "obj-3",
"fontname" : "Courier New",
"htextcolor" : [ 0.870588, 0.870588, 0.870588, 1.0 ],
"patching_rect" : [ 258.0, 94.0, 37.0, 18.0 ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "unpack 0 0 0 0",
"numinlets" : 1,
"fontsize" : 10.331545,
"numoutlets" : 4,
"outlettype" : [ "int", "int", "int", "int" ],
"id" : "obj-4",
"fontname" : "Courier New",
"patching_rect" : [ 26.0, 43.0, 241.0, 18.0 ]
}

}
, {
"box" : {
"maxclass" : "number",
"numinlets" : 1,
"fontsize" : 10.331545,
"bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ],
"numoutlets" : 2,
"triscale" : 0.9,
"outlettype" : [ "int", "bang" ],
"id" : "obj-5",
"fontname" : "Courier New",
"htextcolor" : [ 0.870588, 0.870588, 0.870588, 1.0 ],
"patching_rect" : [ 91.0, 94.0, 37.0, 18.0 ]
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "Add a little vibrato",
"numinlets" : 1,
"fontsize" : 10.177998,
"numoutlets" : 0,
"id" : "obj-6",
"fontname" : "Times New Roman",
"patching_rect" : [ 112.0, 167.0, 86.0, 18.0 ]
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "Use horizontal and vertical location as frequencies",
"numinlets" : 1,
"fontsize" : 10.177998,
"numoutlets" : 0,
"id" : "obj-7",
"fontname" : "Times New Roman",
"patching_rect" : [ 41.0, 22.0, 214.0, 18.0 ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "*~",
"numinlets" : 2,
"fontsize" : 10.331545,
"numoutlets" : 1,
"outlettype" : [ "signal" ],
"id" : "obj-8",
"fontname" : "Courier New",
"patching_rect" : [ 210.0, 164.0, 63.0, 18.0 ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "*~ 0.02",
"numinlets" : 2,
"fontsize" : 10.331545,
"numoutlets" : 1,
"outlettype" : [ "signal" ],
"id" : "obj-9",
"fontname" : "Courier New",
"patching_rect" : [ 210.0, 141.0, 52.0, 18.0 ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "line~",
"numinlets" : 2,
"fontsize" : 10.331545,
"numoutlets" : 2,
"outlettype" : [ "signal", "bang" ],
"id" : "obj-10",
"fontname" : "Courier New",
"patching_rect" : [ 193.0, 114.0, 39.0, 18.0 ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "pack 0 50",
"numinlets" : 2,
"fontsize" : 10.331545,
"numoutlets" : 1,
"outlettype" : [ "" ],
"id" : "obj-11",
"fontname" : "Courier New",
"patching_rect" : [ 193.0, 93.0, 64.0, 18.0 ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "+~",
"numinlets" : 2,
"fontsize" : 10.331545,
"numoutlets" : 1,
"outlettype" : [ "signal" ],
"id" : "obj-12",
"fontname" : "Courier New",
"patching_rect" : [ 193.0, 187.0, 27.0, 18.0 ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "cycle~",
"numinlets" : 2,
"fontsize" : 10.331545,
"numoutlets" : 1,
"outlettype" : [ "signal" ],
"id" : "obj-13",
"fontname" : "Courier New",
"patching_rect" : [ 193.0, 210.0, 46.0, 18.0 ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "cycle~ 5",
"numinlets" : 2,
"fontsize" : 10.331545,
"numoutlets" : 1,
"outlettype" : [ "signal" ],
"id" : "obj-14",
"fontname" : "Courier New",
"patching_rect" : [ 263.0, 141.0, 58.0, 18.0 ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "expr (239-($i1+(($i2-$i1)/2)))*7",
"numinlets" : 2,
"fontsize" : 10.331545,
"numoutlets" : 1,
"outlettype" : [ "" ],
"id" : "obj-15",
"fontname" : "Courier New",
"patching_rect" : [ 193.0, 68.0, 207.0, 18.0 ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "*~",
"numinlets" : 2,
"fontsize" : 10.331545,
"numoutlets" : 1,
"outlettype" : [ "signal" ],
"id" : "obj-16",
"fontname" : "Courier New",
"patching_rect" : [ 43.0, 164.0, 63.0, 18.0 ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "*~ 0.02",
"numinlets" : 2,
"fontsize" : 10.331545,
"numoutlets" : 1,
"outlettype" : [ "signal" ],
"id" : "obj-17",
"fontname" : "Courier New",
"patching_rect" : [ 43.0, 141.0, 52.0, 18.0 ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "line~",
"numinlets" : 2,
"fontsize" : 10.331545,
"numoutlets" : 2,
"outlettype" : [ "signal", "bang" ],
"id" : "obj-18",
"fontname" : "Courier New",
"patching_rect" : [ 26.0, 114.0, 39.0, 18.0 ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "pack 0 50",
"numinlets" : 2,
"fontsize" : 10.331545,
"numoutlets" : 1,
"outlettype" : [ "" ],
"id" : "obj-19",
"fontname" : "Courier New",
"patching_rect" : [ 26.0, 93.0, 64.0, 18.0 ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "expr ($i1+(($i2-$i1)/2))*5",
"numinlets" : 2,
"fontsize" : 10.331545,
"numoutlets" : 1,
"outlettype" : [ "" ],
"id" : "obj-20",
"fontname" : "Courier New",
"patching_rect" : [ 26.0, 68.0, 170.0, 18.0 ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "+~",
"numinlets" : 2,
"fontsize" : 10.331545,
"numoutlets" : 1,
"outlettype" : [ "signal" ],
"id" : "obj-21",
"fontname" : "Courier New",
"patching_rect" : [ 26.0, 187.0, 27.0, 18.0 ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "cycle~",
"numinlets" : 2,
"fontsize" : 10.331545,
"numoutlets" : 1,
"outlettype" : [ "signal" ],
"id" : "obj-22",
"fontname" : "Courier New",
"patching_rect" : [ 26.0, 210.0, 46.0, 18.0 ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "cycle~ 4.5",
"numinlets" : 2,
"fontsize" : 10.331545,
"numoutlets" : 1,
"outlettype" : [ "signal" ],
"id" : "obj-23",
"fontname" : "Courier New",
"patching_rect" : [ 96.0, 141.0, 70.0, 18.0 ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "b 1",
"numinlets" : 1,
"fontsize" : 10.331545,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"id" : "obj-24",
"fontname" : "Courier New",
"patching_rect" : [ 328.0, 112.0, 27.0, 18.0 ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "*~",
"numinlets" : 2,
"fontsize" : 10.331545,
"numoutlets" : 1,
"outlettype" : [ "signal" ],
"id" : "obj-25",
"fontname" : "Courier New",
"patching_rect" : [ 243.0, 244.0, 27.0, 18.0 ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "*~",
"numinlets" : 2,
"fontsize" : 10.331545,
"numoutlets" : 1,
"outlettype" : [ "signal" ],
"id" : "obj-26",
"fontname" : "Courier New",
"patching_rect" : [ 293.0, 244.0, 27.0, 18.0 ]
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "stop",
"numinlets" : 2,
"fontsize" : 10.331545,
"numoutlets" : 1,
"outlettype" : [ "" ],
"id" : "obj-27",
"fontname" : "Courier New",
"patching_rect" : [ 398.0, 167.0, 33.0, 16.0 ]
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "0",
"numinlets" : 2,
"fontsize" : 10.331545,
"numoutlets" : 1,
"outlettype" : [ "" ],
"id" : "obj-28",
"fontname" : "Courier New",
"patching_rect" : [ 398.0, 244.0, 15.0, 16.0 ]
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "1",
"numinlets" : 2,
"fontsize" : 10.331545,
"numoutlets" : 1,
"outlettype" : [ "" ],
"id" : "obj-29",
"fontname" : "Courier New",
"patching_rect" : [ 382.0, 244.0, 15.0, 16.0 ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "delay 1000",
"numinlets" : 2,
"fontsize" : 10.331545,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"id" : "obj-30",
"fontname" : "Courier New",
"patching_rect" : [ 398.0, 192.0, 70.0, 18.0 ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "delay 201",
"numinlets" : 2,
"fontsize" : 10.331545,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"id" : "obj-31",
"fontname" : "Courier New",
"patching_rect" : [ 469.0, 167.0, 64.0, 18.0 ]
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "0. 1000",
"numinlets" : 2,
"fontsize" : 10.331545,
"numoutlets" : 1,
"outlettype" : [ "" ],
"id" : "obj-32",
"fontname" : "Courier New",
"patching_rect" : [ 469.0, 192.0, 52.0, 16.0 ]
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "0.5 1000",
"numinlets" : 2,
"fontsize" : 10.331545,
"numoutlets" : 1,
"outlettype" : [ "" ],
"id" : "obj-33",
"fontname" : "Courier New",
"patching_rect" : [ 328.0, 167.0, 58.0, 16.0 ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "onebang 1",
"numinlets" : 2,
"fontsize" : 10.331545,
"numoutlets" : 2,
"outlettype" : [ "bang", "bang" ],
"id" : "obj-34",
"fontname" : "Courier New",
"patching_rect" : [ 328.0, 141.0, 64.0, 18.0 ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "line~",
"numinlets" : 2,
"fontsize" : 10.331545,
"numoutlets" : 2,
"outlettype" : [ "signal", "bang" ],
"id" : "obj-35",
"fontname" : "Courier New",
"patching_rect" : [ 328.0, 217.0, 39.0, 18.0 ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "dac~",
"numinlets" : 2,
"fontsize" : 10.331545,
"numoutlets" : 0,
"id" : "obj-36",
"fontname" : "Courier New",
"patching_rect" : [ 243.0, 269.0, 60.0, 18.0 ]
}

}
, {
"box" : {
"maxclass" : "inlet",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"id" : "obj-37",
"patching_rect" : [ 26.0, 21.0, 15.0, 15.0 ],
"comment" : "rectangle from jit.findbounds"
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "Turn DSP on/off and fade sound in/out",
"linecount" : 3,
"numinlets" : 1,
"fontsize" : 10.177998,
"numoutlets" : 0,
"id" : "obj-38",
"fontname" : "Times New Roman",
"patching_rect" : [ 358.0, 107.0, 93.0, 42.0 ]
}

}
],
"lines" : [ {
"patchline" : {
"source" : [ "obj-37", 0 ],
"destination" : [ "obj-4", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-4", 0 ],
"destination" : [ "obj-20", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-20", 0 ],
"destination" : [ "obj-19", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-19", 0 ],
"destination" : [ "obj-18", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-18", 0 ],
"destination" : [ "obj-21", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-21", 0 ],
"destination" : [ "obj-22", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-18", 0 ],
"destination" : [ "obj-17", 0 ],
"hidden" : 0,
"midpoints" : [ 35.5, 136.0, 52.5, 136.0 ]
}

}
, {
"patchline" : {
"source" : [ "obj-17", 0 ],
"destination" : [ "obj-16", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-16", 0 ],
"destination" : [ "obj-21", 1 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-20", 0 ],
"destination" : [ "obj-5", 0 ],
"hidden" : 0,
"midpoints" : [ 35.5, 89.0, 100.5, 89.0 ]
}

}
, {
"patchline" : {
"source" : [ "obj-23", 0 ],
"destination" : [ "obj-16", 1 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-4", 2 ],
"destination" : [ "obj-20", 1 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-4", 1 ],
"destination" : [ "obj-15", 0 ],
"hidden" : 0,
"midpoints" : [ 109.5, 64.0, 202.5, 64.0 ]
}

}
, {
"patchline" : {
"source" : [ "obj-15", 0 ],
"destination" : [ "obj-11", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-11", 0 ],
"destination" : [ "obj-10", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-10", 0 ],
"destination" : [ "obj-12", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-12", 0 ],
"destination" : [ "obj-13", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-10", 0 ],
"destination" : [ "obj-9", 0 ],
"hidden" : 0,
"midpoints" : [ 202.5, 136.0, 219.5, 136.0 ]
}

}
, {
"patchline" : {
"source" : [ "obj-9", 0 ],
"destination" : [ "obj-8", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-8", 0 ],
"destination" : [ "obj-12", 1 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-22", 0 ],
"destination" : [ "obj-25", 0 ],
"hidden" : 0,
"midpoints" : [ 35.5, 236.0, 252.5, 236.0 ]
}

}
, {
"patchline" : {
"source" : [ "obj-25", 0 ],
"destination" : [ "obj-36", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-29", 0 ],
"destination" : [ "obj-36", 0 ],
"hidden" : 0,
"midpoints" : [ 391.0, 265.0, 252.5, 265.0 ]
}

}
, {
"patchline" : {
"source" : [ "obj-28", 0 ],
"destination" : [ "obj-36", 0 ],
"hidden" : 0,
"midpoints" : [ 407.0, 265.0, 252.5, 265.0 ]
}

}
, {
"patchline" : {
"source" : [ "obj-15", 0 ],
"destination" : [ "obj-3", 0 ],
"hidden" : 0,
"midpoints" : [ 202.5, 89.0, 267.5, 89.0 ]
}

}
, {
"patchline" : {
"source" : [ "obj-35", 0 ],
"destination" : [ "obj-25", 1 ],
"hidden" : 0,
"midpoints" : [ 337.5, 239.0, 260.5, 239.0 ]
}

}
, {
"patchline" : {
"source" : [ "obj-14", 0 ],
"destination" : [ "obj-8", 1 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-13", 0 ],
"destination" : [ "obj-26", 0 ],
"hidden" : 0,
"midpoints" : [ 202.5, 231.0, 302.5, 231.0 ]
}

}
, {
"patchline" : {
"source" : [ "obj-26", 0 ],
"destination" : [ "obj-36", 1 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" :


December 14, 2009 | 1:19 am

Please edit this post and change the code to the "Copy Compressed" version from the Edit menu. This one has been chopped near to the end due to too much text so we can’t see it properly.

lh


December 14, 2009 | 2:05 am

There’s no edit button or anything that you said. Since the site changed I can’t seem to find anything.


December 14, 2009 | 2:23 am

Click the "edit" link on your previous post. It should be just to the right of the "xx minutes/hours/days ago" text beside your post. Then in max highlight your patch or use Edit > Select All and then click Edit > Copy Compressed and replace your previous JSON code with the new, smaller copy.

lh


December 14, 2009 | 3:05 am

The edit button doesn’t appear on the previous post and never did but here is the compressed formatted version.

– Pasted Max Patch, click to expand. –

Viewing 13 posts - 1 through 13 (of 13 total)