Forums > Jitter

arbitrary timing of video switch

September 28, 2008 | 2:36 am

I am new to MaxMSP and am trying to create a patch that can switch between a live feed and a .mov at certain, non-repeating intervals.

let’s say 10 seconds in it switches from .mov to live and then at 13 seconds switches back. Then, some other number of seconds later does the same thing and switches back maybe 5 seconds later. I would like the entire thing (21 minutes) to loop.

I have the basic patch for xfade, but am having difficulties figuring out how to modify it to get what I’m looking for. Any help would be appreciated.

Thanks



MIB
September 28, 2008 | 6:14 am

Could you be more precise or do you have partial patch you could post?

What is the problem you are having? Is it the non-repeating intervals? Do you mean random intervals? In that case have a look at the patch below (use [urn] instead of [random] to get non-repeating random numbers). If you mean predetermined intervals you could run an uzi through the [urn/random] and catch the numbers in a coll or table… many ways of doing it.

– Pasted Max Patch, click to expand. –

September 28, 2008 | 12:48 pm

The times are predetermined.

I am using the patch below and am trying to switch from A to B at the particular times.

Thanks

{
"boxes" : [ {
"box" : {
"maxclass" : "newobj",
"text" : "prepend xfade",
"patching_rect" : [ 610.818176, 301.727295, 85.0, 20.0 ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"hidden" : 0,
"fontname" : "Arial",
"presentation" : 0,
"numinlets" : 1,
"numoutlets" : 1,
"fontface" : 0,
"id" : "obj-162",
"fontsize" : 11.595187,
"outlettype" : [ "" ],
"background" : 0,
"color" : [ 0.8, 0.84, 0.71, 1.0 ],
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"ignoreclick" : 0,
"bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ]
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "Play Movie",
"underline" : 0,
"patching_rect" : [ 802.818176, 145.727264, 67.0, 20.0 ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"hidden" : 0,
"fontname" : "Arial",
"presentation" : 0,
"frgb" : [ 0.0, 0.0, 0.0, 1.0 ],
"numinlets" : 1,
"numoutlets" : 0,
"fontface" : 0,
"id" : "obj-163",
"fontsize" : 11.595187,
"background" : 0,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"ignoreclick" : 1,
"bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ]
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "open",
"patching_rect" : [ 950.818176, 242.727264, 36.0, 18.0 ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"hidden" : 0,
"fontname" : "Arial",
"presentation" : 0,
"numinlets" : 2,
"numoutlets" : 1,
"fontface" : 0,
"id" : "obj-164",
"fontsize" : 11.595187,
"bgcolor2" : [ 0.867, 0.867, 0.867, 1.0 ],
"outlettype" : [ "" ],
"background" : 0,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"gradient" : 0,
"ignoreclick" : 0,
"bgcolor" : [ 0.867, 0.867, 0.867, 1.0 ]
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "read",
"patching_rect" : [ 799.818176, 244.727264, 34.0, 18.0 ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"hidden" : 0,
"fontname" : "Arial",
"presentation" : 0,
"numinlets" : 2,
"numoutlets" : 1,
"fontface" : 0,
"id" : "obj-165",
"fontsize" : 11.595187,
"bgcolor2" : [ 0.867, 0.867, 0.867, 1.0 ],
"outlettype" : [ "" ],
"background" : 0,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"gradient" : 0,
"ignoreclick" : 0,
"bgcolor" : [ 0.867, 0.867, 0.867, 1.0 ]
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "read",
"patching_rect" : [ 1046.818237, 244.727264, 34.0, 18.0 ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"hidden" : 0,
"fontname" : "Arial",
"presentation" : 0,
"numinlets" : 2,
"numoutlets" : 1,
"fontface" : 0,
"id" : "obj-166",
"fontsize" : 11.595187,
"bgcolor2" : [ 0.867, 0.867, 0.867, 1.0 ],
"outlettype" : [ "" ],
"background" : 0,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"gradient" : 0,
"ignoreclick" : 0,
"bgcolor" : [ 0.867, 0.867, 0.867, 1.0 ]
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "read",
"patching_rect" : [ 875.818176, 244.727264, 34.0, 18.0 ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"hidden" : 0,
"fontname" : "Arial",
"presentation" : 0,
"numinlets" : 2,
"numoutlets" : 1,
"fontface" : 0,
"id" : "obj-167",
"fontsize" : 11.595187,
"bgcolor2" : [ 0.867, 0.867, 0.867, 1.0 ],
"outlettype" : [ "" ],
"background" : 0,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"gradient" : 0,
"ignoreclick" : 0,
"bgcolor" : [ 0.867, 0.867, 0.867, 1.0 ]
}

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

}
, {
"box" : {
"maxclass" : "comment",
"text" : "Mixer",
"underline" : 0,
"patching_rect" : [ 666.818176, 253.727264, 39.0, 20.0 ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"hidden" : 0,
"fontname" : "Arial",
"presentation" : 0,
"frgb" : [ 0.0, 0.0, 0.0, 1.0 ],
"numinlets" : 1,
"numoutlets" : 0,
"fontface" : 0,
"id" : "obj-169",
"fontsize" : 11.595187,
"background" : 0,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"ignoreclick" : 1,
"bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ]
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "B",
"underline" : 0,
"patching_rect" : [ 754.818176, 234.727264, 19.0, 20.0 ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"hidden" : 0,
"fontname" : "Arial",
"presentation" : 0,
"frgb" : [ 0.0, 0.0, 0.0, 1.0 ],
"numinlets" : 1,
"numoutlets" : 0,
"fontface" : 0,
"id" : "obj-170",
"fontsize" : 11.595187,
"background" : 0,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"ignoreclick" : 1,
"bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ]
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "A",
"underline" : 0,
"patching_rect" : [ 590.818176, 232.727264, 19.0, 20.0 ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"hidden" : 0,
"fontname" : "Arial",
"presentation" : 0,
"frgb" : [ 0.0, 0.0, 0.0, 1.0 ],
"numinlets" : 1,
"numoutlets" : 0,
"fontface" : 0,
"id" : "obj-171",
"fontsize" : 11.595187,
"background" : 0,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"ignoreclick" : 1,
"bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ]
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "B",
"underline" : 0,
"patching_rect" : [ 652.818176, 166.727264, 19.0, 20.0 ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"hidden" : 0,
"fontname" : "Arial",
"presentation" : 0,
"frgb" : [ 0.0, 0.0, 0.0, 1.0 ],
"numinlets" : 1,
"numoutlets" : 0,
"fontface" : 0,
"id" : "obj-172",
"fontsize" : 11.595187,
"background" : 0,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"ignoreclick" : 1,
"bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ]
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "A",
"underline" : 0,
"patching_rect" : [ 590.818176, 164.727264, 19.0, 20.0 ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"hidden" : 0,
"fontname" : "Arial",
"presentation" : 0,
"frgb" : [ 0.0, 0.0, 0.0, 1.0 ],
"numinlets" : 1,
"numoutlets" : 0,
"fontface" : 0,
"id" : "obj-173",
"fontsize" : 11.595187,
"background" : 0,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"ignoreclick" : 1,
"bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ]
}

}
, {
"box" : {
"maxclass" : "jit.pwindow",
"patching_rect" : [ 809.818176, 359.727295, 320.0, 240.0 ],
"hidden" : 0,
"dstrect" : [ 0, 0, 320, 240 ],
"presentation" : 0,
"onscreen" : 0,
"doublebuffer" : 0,
"numinlets" : 1,
"interp" : 0,
"border" : 0.0,
"colormode" : "argb",
"bordercolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"numoutlets" : 2,
"usesrcrect" : 0,
"id" : "obj-174",
"planemap" : [ 0, 1, 2, 3 ],
"outlettype" : [ "", "" ],
"fsaa" : 0,
"background" : 0,
"depthbuffer" : 0,
"srcrect" : [ 0, 0, 320, 240 ],
"idlemouse" : 0,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"ignoreclick" : 0,
"usedstrect" : 0,
"stereo" : 0
}

}
, {
"box" : {
"maxclass" : "toggle",
"patching_rect" : [ 782.818176, 144.727264, 20.0, 20.0 ],
"hidden" : 0,
"presentation" : 0,
"numinlets" : 1,
"bordercolor" : [ 0.5, 0.5, 0.5, 1.0 ],
"numoutlets" : 1,
"checkedcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"id" : "obj-175",
"outlettype" : [ "int" ],
"background" : 0,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"ignoreclick" : 0,
"bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ]
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "start",
"patching_rect" : [ 892.818176, 201.727264, 33.0, 18.0 ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"hidden" : 0,
"fontname" : "Arial",
"presentation" : 0,
"numinlets" : 2,
"numoutlets" : 1,
"fontface" : 0,
"id" : "obj-176",
"fontsize" : 11.595187,
"bgcolor2" : [ 0.867, 0.867, 0.867, 1.0 ],
"outlettype" : [ "" ],
"background" : 0,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"gradient" : 0,
"ignoreclick" : 0,
"bgcolor" : [ 0.867, 0.867, 0.867, 1.0 ]
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "stop",
"patching_rect" : [ 857.818176, 201.727264, 32.5, 18.0 ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"hidden" : 0,
"fontname" : "Arial",
"presentation" : 0,
"numinlets" : 2,
"numoutlets" : 1,
"fontface" : 0,
"id" : "obj-177",
"fontsize" : 11.595187,
"bgcolor2" : [ 0.867, 0.867, 0.867, 1.0 ],
"outlettype" : [ "" ],
"background" : 0,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"gradient" : 0,
"ignoreclick" : 0,
"bgcolor" : [ 0.867, 0.867, 0.867, 1.0 ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "jit.qt.grab 1024 780",
"patching_rect" : [ 954.818176, 276.727264, 110.0, 20.0 ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"hidden" : 0,
"fontname" : "Arial",
"presentation" : 0,
"numinlets" : 1,
"numoutlets" : 2,
"fontface" : 0,
"id" : "obj-178",
"fontsize" : 11.595187,
"outlettype" : [ "jit_matrix", "" ],
"background" : 0,
"color" : [ 0.8, 0.84, 0.71, 1.0 ],
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"ignoreclick" : 0,
"bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "select 0 1",
"patching_rect" : [ 857.818176, 175.727264, 89.0, 20.0 ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"hidden" : 0,
"fontname" : "Arial",
"presentation" : 0,
"numinlets" : 1,
"numoutlets" : 3,
"fontface" : 0,
"id" : "obj-179",
"fontsize" : 11.595187,
"outlettype" : [ "bang", "bang", "" ],
"background" : 0,
"color" : [ 0.8, 0.84, 0.71, 1.0 ],
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"ignoreclick" : 0,
"bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "metro 50",
"patching_rect" : [ 782.818176, 175.727264, 56.0, 20.0 ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"hidden" : 0,
"fontname" : "Arial",
"presentation" : 0,
"numinlets" : 2,
"numoutlets" : 1,
"fontface" : 0,
"id" : "obj-180",
"fontsize" : 11.595187,
"outlettype" : [ "bang" ],
"background" : 0,
"color" : [ 0.8, 0.84, 0.71, 1.0 ],
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"ignoreclick" : 0,
"bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "jit.qt.movie 1024 780",
"patching_rect" : [ 799.818176, 278.727264, 118.0, 20.0 ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"hidden" : 0,
"fontname" : "Arial",
"presentation" : 0,
"numinlets" : 1,
"numoutlets" : 2,
"fontface" : 0,
"id" : "obj-181",
"fontsize" : 11.595187,
"outlettype" : [ "jit_matrix", "" ],
"background" : 0,
"color" : [ 0.8, 0.84, 0.71, 1.0 ],
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"ignoreclick" : 0,
"bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "loadbang",
"patching_rect" : [ 975.818176, 214.727264, 58.0, 20.0 ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"hidden" : 0,
"fontname" : "Arial",
"presentation" : 0,
"numinlets" : 1,
"numoutlets" : 1,
"fontface" : 0,
"id" : "obj-182",
"fontsize" : 11.595187,
"outlettype" : [ "bang" ],
"background" : 0,
"color" : [ 0.8, 0.84, 0.71, 1.0 ],
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"ignoreclick" : 0,
"bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ]
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "Transition Time",
"underline" : 0,
"patching_rect" : [ 664.818176, 143.727264, 90.0, 20.0 ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"hidden" : 0,
"fontname" : "Arial",
"presentation" : 0,
"frgb" : [ 0.0, 0.0, 0.0, 1.0 ],
"numinlets" : 1,
"numoutlets" : 0,
"fontface" : 0,
"id" : "obj-183",
"fontsize" : 11.595187,
"background" : 0,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"ignoreclick" : 1,
"bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ]
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "ms",
"underline" : 0,
"patching_rect" : [ 733.818176, 166.727264, 26.0, 20.0 ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"hidden" : 0,
"fontname" : "Arial",
"presentation" : 0,
"frgb" : [ 0.0, 0.0, 0.0, 1.0 ],
"numinlets" : 1,
"numoutlets" : 0,
"fontface" : 0,
"id" : "obj-184",
"fontsize" : 11.595187,
"background" : 0,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"ignoreclick" : 1,
"bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ]
}

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

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

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

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "line 0 50",
"patching_rect" : [ 610.818176, 208.727264, 54.0, 20.0 ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"hidden" : 0,
"fontname" : "Arial",
"presentation" : 0,
"numinlets" : 3,
"numoutlets" : 3,
"fontface" : 0,
"id" : "obj-188",
"fontsize" : 11.595187,
"outlettype" : [ "", "", "" ],
"background" : 0,
"color" : [ 0.8, 0.84, 0.71, 1.0 ],
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"ignoreclick" : 0,
"bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "* 0.01",
"patching_rect" : [ 610.818176, 253.727264, 41.0, 20.0 ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"hidden" : 0,
"fontname" : "Arial",
"presentation" : 0,
"numinlets" : 2,
"numoutlets" : 1,
"fontface" : 0,
"id" : "obj-189",
"fontsize" : 11.595187,
"outlettype" : [ "float" ],
"background" : 0,
"color" : [ 0.8, 0.84, 0.71, 1.0 ],
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"ignoreclick" : 0,
"bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ]
}

}
, {
"box" : {
"maxclass" : "slider",
"min" : 0.0,
"patching_rect" : [ 610.818176, 232.727264, 147.0, 17.0 ],
"hidden" : 0,
"presentation" : 0,
"numinlets" : 1,
"orientation" : 1,
"relative" : 0,
"bordercolor" : [ 0.5, 0.5, 0.5, 1.0 ],
"numoutlets" : 1,
"id" : "obj-190",
"floatoutput" : 0,
"outlettype" : [ "" ],
"background" : 0,
"size" : 101.0,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"ignoreclick" : 0,
"bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
"knobcolor" : [ 0.2, 0.2, 0.2, 1.0 ],
"mult" : 1.0
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "Simple Mixing",
"underline" : 0,
"patching_rect" : [ 637.818176, 333.727295, 83.0, 20.0 ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"hidden" : 0,
"fontname" : "Arial",
"presentation" : 0,
"frgb" : [ 0.0, 0.0, 0.0, 1.0 ],
"numinlets" : 1,
"numoutlets" : 0,
"fontface" : 0,
"id" : "obj-191",
"fontsize" : 11.595187,
"background" : 0,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"ignoreclick" : 1,
"bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "jit.xfade",
"patching_rect" : [ 799.818176, 323.727295, 50.0, 20.0 ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"hidden" : 0,
"fontname" : "Arial",
"presentation" : 0,
"numinlets" : 2,
"numoutlets" : 2,
"fontface" : 0,
"id" : "obj-192",
"fontsize" : 11.595187,
"outlettype" : [ "jit_matrix", "" ],
"background" : 0,
"color" : [ 1.0, 0.890196, 0.090196, 1.0 ],
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"ignoreclick" : 0,
"bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ]
}

}
, {
"box" : {
"maxclass" : "slider",
"min" : 0.0,
"patching_rect" : [ 610.818176, 164.727264, 42.0, 18.0 ],
"hidden" : 0,
"presentation" : 0,
"numinlets" : 1,
"orientation" : 1,
"relative" : 0,
"bordercolor" : [ 0.5, 0.5, 0.5, 1.0 ],
"numoutlets" : 1,
"id" : "obj-193",
"floatoutput" : 0,
"outlettype" : [ "" ],
"background" : 0,
"size" : 2.0,
"presentation_rect" : [ 0.0, 0.0, 0.0, 0.0 ],
"ignoreclick" : 0,
"bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
"knobcolor" : [ 0.2, 0.2, 0.2, 1.0 ],
"mult" : 100.0
}

}
],
"lines" : [ {
"patchline" : {
"source" : [ "obj-176", 0 ],
"destination" : [ "obj-178", 0 ],
"hidden" : 0,
"color" : [ 0.0, 0.0, 0.0, 1.0 ],
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-177", 0 ],
"destination" : [ "obj-178", 0 ],
"hidden" : 0,
"color" : [ 0.0, 0.0, 0.0, 1.0 ],
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-180", 0 ],
"destination" : [ "obj-178", 0 ],
"hidden" : 0,
"color" : [ 0.0, 0.0, 0.0, 1.0 ],
"midpoints" : [ 792.318176, 267.727264, 964.318176, 267.727264 ]
}

}
, {
"patchline" : {
"source" : [ "obj-164", 0 ],
"destination" : [ "obj-178", 0 ],
"hidden" : 0,
"color" : [ 0.0, 0.0, 0.0, 1.0 ],
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-166", 0 ],
"destination" : [ "obj-178", 0 ],
"hidden" : 0,
"color" : [ 0.0, 0.0, 0.0, 1.0 ],
"midpoints" : [ 1056.318237, 263.727264, 964.318176, 263.727264 ]
}

}
, {
"patchline" : {
"source" : [ "obj-178", 0 ],
"destination" : [ "obj-192", 1 ],
"hidden" : 0,
"color" : [ 0.0, 0.0, 0.0, 1.0 ],
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-193", 0 ],
"destination" : [ "obj-187", 0 ],
"hidden" : 0,
"color" : [ 0.0, 0.0, 0.0, 1.0 ],
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-187", 0 ],
"destination" : [ "obj-188", 0 ],
"hidden" : 0,
"color" : [ 0.0, 0.0, 0.0, 1.0 ],
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-185", 0 ],
"destination" : [ "obj-187", 1 ],
"hidden" : 0,
"color" : [ 0.0, 0.0, 0.0, 1.0 ],
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-175", 0 ],
"destination" : [ "obj-180", 0 ],
"hidden" : 0,
"color" : [ 0.0, 0.0, 0.0, 1.0 ],
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-182", 0 ],
"destination" : [ "obj-165", 0 ],
"hidden" : 0,
"color" : [ 0.0, 0.0, 0.0, 1.0 ],
"midpoints" : [ 985.318176, 240.727264, 809.318176, 240.727264 ]
}

}
, {
"patchline" : {
"source" : [ "obj-192", 0 ],
"destination" : [ "obj-174", 0 ],
"hidden" : 0,
"color" : [ 0.0, 0.0, 0.0, 1.0 ],
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-175", 0 ],
"destination" : [ "obj-179", 0 ],
"hidden" : 0,
"color" : [ 0.0, 0.0, 0.0, 1.0 ],
"midpoints" : [ 792.318176, 171.727264, 867.318176, 171.727264 ]
}

}
, {
"patchline" : {
"source" : [ "obj-179", 0 ],
"destination" : [ "obj-177", 0 ],
"hidden" : 0,
"color" : [ 0.0, 0.0, 0.0, 1.0 ],
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-179", 1 ],
"destination" : [ "obj-176", 0 ],
"hidden" : 0,
"color" : [ 0.0, 0.0, 0.0, 1.0 ],
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-182", 0 ],
"destination" : [ "obj-164", 0 ],
"hidden" : 0,
"color" : [ 0.0, 0.0, 0.0, 1.0 ],
"midpoints" : [ 985.318176, 240.727264, 960.318176, 240.727264 ]
}

}
, {
"patchline" : {
"source" : [ "obj-176", 0 ],
"destination" : [ "obj-181", 0 ],
"hidden" : 0,
"color" : [ 0.0, 0.0, 0.0, 1.0 ],
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-180", 0 ],
"destination" : [ "obj-181", 0 ],
"hidden" : 0,
"color" : [ 0.0, 0.0, 0.0, 1.0 ],
"midpoints" : [ 792.318176, 267.727264, 809.318176, 267.727264 ]
}

}
, {
"patchline" : {
"source" : [ "obj-177", 0 ],
"destination" : [ "obj-181", 0 ],
"hidden" : 0,
"color" : [ 0.0, 0.0, 0.0, 1.0 ],
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-165", 0 ],
"destination" : [ "obj-181", 0 ],
"hidden" : 0,
"color" : [ 0.0, 0.0, 0.0, 1.0 ],
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-167", 0 ],
"destination" : [ "obj-181", 0 ],
"hidden" : 0,
"color" : [ 0.0, 0.0, 0.0, 1.0 ],
"midpoints" : [ 885.318176, 263.727264, 809.318176, 263.727264 ]
}

}
, {
"patchline" : {
"source" : [ "obj-181", 0 ],
"destination" : [ "obj-192", 0 ],
"hidden" : 0,
"color" : [ 0.0, 0.0, 0.0, 1.0 ],
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-162", 0 ],
"destination" : [ "obj-192", 0 ],
"hidden" : 0,
"color" : [ 0.0, 0.0, 0.0, 1.0 ],
"midpoints" : [ 620.318176, 364.727264, 785.818176, 364.727264, 785.818176, 319.727264, 809.318176, 319.727264 ]
}

}
, {
"patchline" : {
"source" : [ "obj-186", 0 ],
"destination" : [ "obj-162", 0 ],
"hidden" : 0,
"color" : [ 0.0, 0.0, 0.0, 1.0 ],
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-189", 0 ],
"destination" : [ "obj-186", 0 ],
"hidden" : 0,
"color" : [ 0.0, 0.0, 0.0, 1.0 ],
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-190", 0 ],
"destination" : [ "obj-189", 0 ],
"hidden" : 0,
"color" : [ 0.0, 0.0, 0.0, 1.0 ],
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-188", 0 ],
"destination" : [ "obj-190", 0 ],
"hidden" : 0,
"color" : [ 0.0, 0.0, 0.0, 1.0 ],
"midpoints" : [ ]
}

}
]
}



MIB
September 28, 2008 | 7:33 pm

here is a quick hack of your patch and the itable example…
this works fine, but can of course be tweaked. I leave that up to you. You have to have some fun :)

Also, when posting a patch always use copy compressed. It should look like my patch below when you paste into your browser.

– Pasted Max Patch, click to expand. –

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