Pages: 1
Bonjour !
j'ai trouvé un patch intéressant qui permet de décomposer une personne (via vidéo ou en live avec la webcam) en RVB.
Je désire utiliser ce patch pour un projet. J'aimerai qu'en fonction du mouvement de la personne (capté par la webcam), la valeur de rvb augmente. J'ai trouvé comment faire plus ou moins. Problème : je n'ai plus l'image de la webcam. Je ne comprends pas comment faire.. Merci d'avance!
Je vous envoie le code pour comprendre certainement plus facilement :
{
"boxes" : [ {
"box" : {
"maxclass" : "newobj",
"text" : "int",
"outlettype" : [ "int" ],
"id" : "obj-1",
"fontname" : "Arial",
"patching_rect" : [ 600.0, 90.0, 32.5, 20.0 ],
"numinlets" : 2,
"fontsize" : 12.0,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "flonum",
"outlettype" : [ "float", "bang" ],
"id" : "obj-205",
"fontname" : "Arial",
"patching_rect" : [ 630.0, 152.0, 50.0, 20.0 ],
"numinlets" : 1,
"fontsize" : 12.0,
"numoutlets" : 2
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "+ 1.",
"outlettype" : [ "float" ],
"id" : "obj-203",
"fontname" : "Arial",
"patching_rect" : [ 46.0, 401.0, 32.5, 20.0 ],
"numinlets" : 2,
"fontsize" : 12.0,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "button",
"outlettype" : [ "bang" ],
"id" : "obj-199",
"patching_rect" : [ 58.0, 555.0, 15.0, 15.0 ],
"numinlets" : 1,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "button",
"outlettype" : [ "bang" ],
"id" : "obj-200",
"patching_rect" : [ 28.0, 553.0, 15.0, 15.0 ],
"numinlets" : 1,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "togedge",
"outlettype" : [ "bang", "bang" ],
"id" : "obj-201",
"fontname" : "Arial",
"patching_rect" : [ 28.0, 529.0, 44.0, 17.0 ],
"numinlets" : 1,
"fontsize" : 9.0,
"numoutlets" : 2
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "> 0.5",
"outlettype" : [ "int" ],
"id" : "obj-202",
"fontname" : "Arial",
"patching_rect" : [ 28.0, 507.0, 33.0, 17.0 ],
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "tap.jit.grayscale",
"outlettype" : [ "jit_matrix" ],
"id" : "obj-198",
"fontname" : "Arial",
"patching_rect" : [ 33.0, 234.0, 85.0, 17.0 ],
"numinlets" : 1,
"fontsize" : 9.0,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "multislider",
"candicane6" : [ 0.733333, 0.035294, 0.788235, 1.0 ],
"setminmax" : [ 0.0, 1.0 ],
"outlettype" : [ "", "" ],
"candicane5" : [ 0.584314, 0.827451, 0.431373, 1.0 ],
"contdata" : 1,
"candicane4" : [ 0.439216, 0.619608, 0.070588, 1.0 ],
"id" : "obj-188",
"peakcolor" : [ 0.498039, 0.498039, 0.498039, 1.0 ],
"candicane3" : [ 0.290196, 0.411765, 0.713726, 1.0 ],
"patching_rect" : [ 115.0, 368.0, 119.0, 85.0 ],
"candicane8" : [ 0.027451, 0.447059, 0.501961, 1.0 ],
"numinlets" : 1,
"setstyle" : 3,
"candicane2" : [ 0.145098, 0.203922, 0.356863, 1.0 ],
"candicane7" : [ 0.878431, 0.243137, 0.145098, 1.0 ],
"numoutlets" : 2
}
}
, {
"box" : {
"maxclass" : "flonum",
"outlettype" : [ "float", "bang" ],
"htextcolor" : [ 0.870588, 0.870588, 0.870588, 1.0 ],
"triscale" : 0.9,
"id" : "obj-190",
"fontname" : "Arial",
"bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ],
"patching_rect" : [ 30.0, 317.0, 35.0, 17.0 ],
"numinlets" : 1,
"fontsize" : 9.0,
"numoutlets" : 2
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "tap.jit.motion",
"linecount" : 3,
"outlettype" : [ "float", "float", "float" ],
"id" : "obj-191",
"fontname" : "Arial",
"patching_rect" : [ 30.0, 272.0, 34.0, 38.0 ],
"numinlets" : 1,
"fontsize" : 9.0,
"numoutlets" : 3
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "* 100.",
"outlettype" : [ "float" ],
"id" : "obj-194",
"fontname" : "Arial",
"patching_rect" : [ 30.0, 368.0, 34.0, 17.0 ],
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "flonum",
"outlettype" : [ "float", "bang" ],
"htextcolor" : [ 0.870588, 0.870588, 0.870588, 1.0 ],
"triscale" : 0.9,
"id" : "obj-195",
"fontname" : "Arial",
"bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ],
"patching_rect" : [ 30.0, 430.0, 35.0, 17.0 ],
"numinlets" : 1,
"fontsize" : 9.0,
"numoutlets" : 2
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "tap.smooth",
"outlettype" : [ "float" ],
"id" : "obj-197",
"fontname" : "Arial",
"patching_rect" : [ 30.0, 342.0, 59.0, 17.0 ],
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "s tempo",
"id" : "obj-93",
"fontname" : "Arial",
"patching_rect" : [ 490.0, 89.0, 53.0, 20.0 ],
"numinlets" : 1,
"fontsize" : 12.0,
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "number",
"outlettype" : [ "int", "bang" ],
"minimum" : 1,
"bordercolor" : [ 0.917647, 0.917647, 0.078431, 1.0 ],
"id" : "obj-15",
"fontname" : "Arial",
"patching_rect" : [ 530.0, 133.0, 65.0, 29.0 ],
"numinlets" : 1,
"fontsize" : 20.0,
"numoutlets" : 2
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "s movie",
"id" : "obj-18",
"fontname" : "Arial",
"patching_rect" : [ 243.0, 168.0, 42.0, 17.0 ],
"numinlets" : 1,
"fontsize" : 9.0,
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "r depart",
"outlettype" : [ "" ],
"id" : "obj-19",
"fontname" : "Arial",
"patching_rect" : [ 360.0, 161.0, 42.0, 17.0 ],
"numinlets" : 0,
"fontsize" : 9.0,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "s depart",
"id" : "obj-26",
"fontname" : "Arial",
"patching_rect" : [ 392.0, 32.0, 47.0, 17.0 ],
"numinlets" : 1,
"fontsize" : 9.0,
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "loadbang",
"outlettype" : [ "bang" ],
"id" : "obj-20",
"fontname" : "Arial",
"patching_rect" : [ 339.0, 12.0, 48.0, 17.0 ],
"numinlets" : 1,
"fontsize" : 9.0,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "loadmess 0",
"outlettype" : [ "" ],
"id" : "obj-59",
"fontname" : "Arial",
"patching_rect" : [ 653.0, 17.0, 72.0, 20.0 ],
"numinlets" : 1,
"fontsize" : 12.0,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "Bang the counter everytime it receives a new frame",
"linecount" : 2,
"id" : "obj-60",
"fontname" : "Arial",
"patching_rect" : [ 467.0, 310.0, 159.0, 34.0 ],
"numinlets" : 1,
"fontsize" : 12.0,
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "Start that metro!",
"id" : "obj-61",
"fontname" : "Arial",
"patching_rect" : [ 331.0, 61.0, 150.0, 20.0 ],
"numinlets" : 1,
"fontsize" : 12.0,
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "Example by Blair Neal 2010. www.blairneal.com",
"id" : "obj-112",
"fontname" : "Arial",
"patching_rect" : [ 372.0, 706.0, 273.0, 20.0 ],
"numinlets" : 1,
"fontsize" : 12.0,
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "Try putting different effects after each color channel to experiment with different looks. One good one is [jit.slide @slide_down 20]",
"linecount" : 3,
"id" : "obj-113",
"fontname" : "Arial",
"patching_rect" : [ 281.0, 742.0, 273.0, 48.0 ],
"numinlets" : 1,
"fontsize" : 12.0,
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "Different frame offset values for each color channel as a percentage of the total number of frames being delayed.",
"linecount" : 3,
"id" : "obj-136",
"fontname" : "Arial",
"patching_rect" : [ 658.0, 332.0, 273.0, 48.0 ],
"numinlets" : 1,
"fontsize" : 12.0,
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "\"Index\" - where the incoming frame is written in the loop of framecount\n\"Outputmatrix\" - which frame is currently being output\n\nThey are all getting the same index value from the counter.\n\nBy using % (mod) and + we are offsetting the value that outputmatrix is getting in relation to the index value. ",
"linecount" : 7,
"id" : "obj-137",
"fontname" : "Arial",
"patching_rect" : [ 302.0, 400.0, 396.0, 103.0 ],
"numinlets" : 1,
"fontsize" : 12.0,
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "How many frames to delay? Be careful with large values...you could run out of RAM for the buffer",
"linecount" : 2,
"id" : "obj-138",
"fontname" : "Arial",
"patching_rect" : [ 721.0, 105.0, 273.0, 34.0 ],
"numinlets" : 1,
"fontsize" : 12.0,
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "r blue",
"outlettype" : [ "" ],
"id" : "obj-139",
"fontname" : "Arial",
"patching_rect" : [ 662.0, 531.0, 41.0, 20.0 ],
"numinlets" : 0,
"fontsize" : 12.0,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "r green",
"outlettype" : [ "" ],
"id" : "obj-140",
"fontname" : "Arial",
"patching_rect" : [ 484.0, 524.0, 49.0, 20.0 ],
"numinlets" : 0,
"fontsize" : 12.0,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "s blue",
"id" : "obj-141",
"fontname" : "Arial",
"patching_rect" : [ 393.0, 318.0, 43.0, 20.0 ],
"numinlets" : 1,
"fontsize" : 12.0,
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "s green",
"id" : "obj-142",
"fontname" : "Arial",
"patching_rect" : [ 342.0, 317.0, 51.0, 20.0 ],
"numinlets" : 1,
"fontsize" : 12.0,
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "r red",
"outlettype" : [ "" ],
"id" : "obj-143",
"fontname" : "Arial",
"patching_rect" : [ 303.0, 530.0, 35.0, 20.0 ],
"numinlets" : 0,
"fontsize" : 12.0,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "s red",
"id" : "obj-144",
"fontname" : "Arial",
"patching_rect" : [ 304.0, 317.0, 37.0, 20.0 ],
"numinlets" : 1,
"fontsize" : 12.0,
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "A R G B",
"id" : "obj-145",
"fontname" : "Arial",
"patching_rect" : [ 363.0, 267.0, 53.0, 20.0 ],
"numinlets" : 1,
"fontsize" : 12.0,
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "number",
"outlettype" : [ "int", "bang" ],
"minimum" : 3,
"maximum" : 300,
"bordercolor" : [ 0.917647, 0.917647, 0.078431, 1.0 ],
"id" : "obj-147",
"fontname" : "Arial",
"patching_rect" : [ 654.0, 106.0, 65.0, 29.0 ],
"numinlets" : 1,
"fontsize" : 20.0,
"numoutlets" : 2
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "* 0.97",
"outlettype" : [ "float" ],
"id" : "obj-148",
"fontname" : "Arial",
"patching_rect" : [ 821.0, 277.0, 42.0, 20.0 ],
"numinlets" : 2,
"fontsize" : 12.0,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "* 0.66",
"outlettype" : [ "float" ],
"id" : "obj-149",
"fontname" : "Arial",
"patching_rect" : [ 745.0, 277.0, 42.0, 20.0 ],
"numinlets" : 2,
"fontsize" : 12.0,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "number",
"outlettype" : [ "int", "bang" ],
"id" : "obj-150",
"fontname" : "Arial",
"patching_rect" : [ 821.0, 308.0, 50.0, 20.0 ],
"numinlets" : 1,
"fontsize" : 12.0,
"numoutlets" : 2
}
}
, {
"box" : {
"maxclass" : "number",
"outlettype" : [ "int", "bang" ],
"id" : "obj-151",
"fontname" : "Arial",
"patching_rect" : [ 746.0, 308.0, 50.0, 20.0 ],
"numinlets" : 1,
"fontsize" : 12.0,
"numoutlets" : 2
}
}
, {
"box" : {
"maxclass" : "number",
"outlettype" : [ "int", "bang" ],
"id" : "obj-152",
"fontname" : "Arial",
"patching_rect" : [ 665.0, 308.0, 50.0, 20.0 ],
"numinlets" : 1,
"fontsize" : 12.0,
"numoutlets" : 2
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "* 0.33",
"outlettype" : [ "float" ],
"id" : "obj-153",
"fontname" : "Arial",
"patching_rect" : [ 665.0, 277.0, 42.0, 20.0 ],
"numinlets" : 2,
"fontsize" : 12.0,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "% 0.",
"outlettype" : [ "int" ],
"id" : "obj-154",
"fontname" : "Arial",
"patching_rect" : [ 745.0, 539.0, 35.0, 20.0 ],
"numinlets" : 2,
"fontsize" : 12.0,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "+ 12.",
"outlettype" : [ "float" ],
"id" : "obj-155",
"fontname" : "Arial",
"patching_rect" : [ 745.0, 514.0, 38.0, 20.0 ],
"numinlets" : 2,
"fontsize" : 12.0,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "+ 7.",
"outlettype" : [ "float" ],
"id" : "obj-156",
"fontname" : "Arial",
"patching_rect" : [ 569.0, 507.0, 32.5, 20.0 ],
"numinlets" : 2,
"fontsize" : 12.0,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "% 100.",
"outlettype" : [ "int" ],
"id" : "obj-157",
"fontname" : "Arial",
"patching_rect" : [ 569.0, 533.0, 48.0, 20.0 ],
"numinlets" : 2,
"fontsize" : 12.0,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "+ 2.",
"outlettype" : [ "float" ],
"id" : "obj-158",
"fontname" : "Arial",
"patching_rect" : [ 385.0, 509.0, 32.5, 20.0 ],
"numinlets" : 2,
"fontsize" : 12.0,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "% 0.",
"outlettype" : [ "int" ],
"id" : "obj-159",
"fontname" : "Arial",
"patching_rect" : [ 385.0, 535.0, 35.0, 20.0 ],
"numinlets" : 2,
"fontsize" : 12.0,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "matrixcount $1",
"outlettype" : [ "" ],
"bgcolor2" : [ 0.427451, 0.72549, 0.219608, 1.0 ],
"id" : "obj-160",
"fontname" : "Arial",
"bgcolor" : [ 0.756863, 0.466667, 0.831373, 1.0 ],
"patching_rect" : [ 865.0, 565.0, 85.0, 18.0 ],
"numinlets" : 2,
"fontsize" : 11.595187,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "jit.fpsgui",
"outlettype" : [ "", "" ],
"id" : "obj-161",
"fontname" : "Arial",
"patching_rect" : [ 288.0, 697.0, 80.0, 36.0 ],
"numinlets" : 1,
"fontsize" : 12.0,
"numoutlets" : 2
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "t b",
"outlettype" : [ "bang" ],
"id" : "obj-162",
"fontname" : "Arial",
"patching_rect" : [ 442.0, 317.0, 24.0, 20.0 ],
"numinlets" : 1,
"fontsize" : 12.0,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "outputmatrix $1",
"outlettype" : [ "" ],
"id" : "obj-163",
"fontname" : "Helvetica",
"patching_rect" : [ 745.0, 565.0, 93.0, 16.0 ],
"numinlets" : 2,
"fontsize" : 12.0,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "jit.matrixset 15 4 char 640 480",
"outlettype" : [ "jit_matrix", "" ],
"id" : "obj-164",
"fontname" : "Helvetica",
"color" : [ 0.0, 0.098039, 1.0, 1.0 ],
"patching_rect" : [ 662.0, 606.0, 171.0, 18.0 ],
"numinlets" : 1,
"fontsize" : 12.0,
"numoutlets" : 2
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "outputmatrix $1",
"outlettype" : [ "" ],
"id" : "obj-165",
"fontname" : "Helvetica",
"patching_rect" : [ 569.0, 564.0, 93.0, 16.0 ],
"numinlets" : 2,
"fontsize" : 12.0,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "jit.matrixset 15 4 char 640 480",
"outlettype" : [ "jit_matrix", "" ],
"id" : "obj-166",
"fontname" : "Helvetica",
"color" : [ 0.011765, 1.0, 0.109804, 1.0 ],
"patching_rect" : [ 484.0, 603.0, 171.0, 18.0 ],
"numinlets" : 1,
"fontsize" : 12.0,
"numoutlets" : 2
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "outputmatrix $1",
"outlettype" : [ "" ],
"id" : "obj-167",
"fontname" : "Helvetica",
"patching_rect" : [ 385.0, 561.0, 93.0, 16.0 ],
"numinlets" : 2,
"fontsize" : 12.0,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "jit.matrixset 15 4 char 640 480",
"outlettype" : [ "jit_matrix", "" ],
"id" : "obj-168",
"fontname" : "Helvetica",
"color" : [ 0.964706, 0.0, 0.0, 1.0 ],
"patching_rect" : [ 302.0, 601.0, 171.0, 18.0 ],
"numinlets" : 1,
"fontsize" : 12.0,
"numoutlets" : 2
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "index $1",
"outlettype" : [ "" ],
"id" : "obj-169",
"fontname" : "Helvetica",
"bgcolor" : [ 0.831373, 0.537255, 0.956863, 1.0 ],
"patching_rect" : [ 442.0, 383.0, 56.0, 16.0 ],
"numinlets" : 2,
"fontsize" : 12.0,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "counter 1 0 14",
"outlettype" : [ "int", "", "", "int" ],
"id" : "obj-170",
"fontname" : "Arial",
"patching_rect" : [ 442.0, 344.0, 87.0, 20.0 ],
"numinlets" : 5,
"fontsize" : 12.0,
"numoutlets" : 4
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "jit.pack",
"outlettype" : [ "jit_matrix", "" ],
"id" : "obj-171",
"fontname" : "Arial",
"patching_rect" : [ 288.0, 641.0, 59.5, 20.0 ],
"numinlets" : 4,
"fontsize" : 12.0,
"numoutlets" : 2
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "jit.unpack",
"outlettype" : [ "jit_matrix", "jit_matrix", "jit_matrix", "jit_matrix", "" ],
"id" : "obj-172",
"fontname" : "Arial",
"patching_rect" : [ 290.0, 266.0, 73.0, 20.0 ],
"numinlets" : 1,
"fontsize" : 12.0,
"numoutlets" : 5
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "jit.window Colors @size 640 480",
"outlettype" : [ "bang", "" ],
"id" : "obj-174",
"fontname" : "Arial",
"patching_rect" : [ 288.0, 669.0, 184.0, 20.0 ],
"numinlets" : 1,
"fontsize" : 12.0,
"numoutlets" : 2
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "close",
"outlettype" : [ "" ],
"id" : "obj-180",
"fontname" : "Arial",
"patching_rect" : [ 350.0, 194.0, 39.0, 18.0 ],
"numinlets" : 2,
"fontsize" : 12.0,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "open",
"outlettype" : [ "" ],
"id" : "obj-181",
"fontname" : "Arial",
"patching_rect" : [ 307.0, 194.0, 37.0, 18.0 ],
"numinlets" : 2,
"fontsize" : 12.0,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "toggle",
"outlettype" : [ "int" ],
"id" : "obj-183",
"patching_rect" : [ 310.0, 60.0, 20.0, 20.0 ],
"numinlets" : 1,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "metro 16",
"outlettype" : [ "bang" ],
"id" : "obj-184",
"fontname" : "Arial",
"patching_rect" : [ 310.0, 86.0, 58.0, 20.0 ],
"numinlets" : 2,
"fontsize" : 12.0,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "jit.qt.grab 640 480",
"outlettype" : [ "jit_matrix", "" ],
"id" : "obj-185",
"fontname" : "Arial",
"patching_rect" : [ 290.0, 225.0, 107.0, 20.0 ],
"numinlets" : 1,
"fontsize" : 12.0,
"numoutlets" : 2
}
}
],
"lines" : [ {
"patchline" : {
"source" : [ "obj-1", 0 ],
"destination" : [ "obj-15", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-1", 0 ],
"destination" : [ "obj-205", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-59", 0 ],
"destination" : [ "obj-147", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-205", 0 ],
"destination" : [ "obj-170", 4 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-205", 0 ],
"destination" : [ "obj-160", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-205", 0 ],
"destination" : [ "obj-159", 1 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-205", 0 ],
"destination" : [ "obj-157", 1 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-205", 0 ],
"destination" : [ "obj-154", 1 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-205", 0 ],
"destination" : [ "obj-153", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-205", 0 ],
"destination" : [ "obj-149", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-205", 0 ],
"destination" : [ "obj-148", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-203", 0 ],
"destination" : [ "obj-195", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-202", 0 ],
"destination" : [ "obj-201", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-201", 0 ],
"destination" : [ "obj-200", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-201", 1 ],
"destination" : [ "obj-199", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-20", 0 ],
"destination" : [ "obj-26", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-20", 0 ],
"destination" : [ "obj-183", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-198", 0 ],
"destination" : [ "obj-191", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-197", 0 ],
"destination" : [ "obj-194", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-195", 0 ],
"destination" : [ "obj-205", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-194", 0 ],
"destination" : [ "obj-203", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-194", 0 ],
"destination" : [ "obj-188", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-191", 0 ],
"destination" : [ "obj-190", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-190", 0 ],
"destination" : [ "obj-197", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-19", 0 ],
"destination" : [ "obj-181", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-185", 0 ],
"destination" : [ "obj-198", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-185", 0 ],
"destination" : [ "obj-172", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-184", 0 ],
"destination" : [ "obj-93", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-184", 0 ],
"destination" : [ "obj-185", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-184", 0 ],
"destination" : [ "obj-18", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-183", 0 ],
"destination" : [ "obj-184", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-181", 0 ],
"destination" : [ "obj-185", 0 ],
"hidden" : 0,
"midpoints" : [ 316.5, 218.0, 299.5, 218.0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-180", 0 ],
"destination" : [ "obj-185", 0 ],
"hidden" : 0,
"midpoints" : [ 359.5, 218.0, 299.5, 218.0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-174", 0 ],
"destination" : [ "obj-161", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-172", 0 ],
"destination" : [ "obj-171", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-172", 3 ],
"destination" : [ "obj-162", 0 ],
"hidden" : 0,
"midpoints" : [ 340.0, 301.0, 451.5, 301.0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-172", 1 ],
"destination" : [ "obj-144", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-172", 2 ],
"destination" : [ "obj-142", 0 ],
"hidden" : 0,
"midpoints" : [ 326.5, 301.0, 351.5, 301.0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-172", 3 ],
"destination" : [ "obj-141", 0 ],
"hidden" : 0,
"midpoints" : [ 340.0, 301.5, 402.5, 301.5 ]
}
}
, {
"patchline" : {
"source" : [ "obj-171", 0 ],
"destination" : [ "obj-174", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-170", 0 ],
"destination" : [ "obj-169", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-170", 0 ],
"destination" : [ "obj-158", 0 ],
"hidden" : 1,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-170", 0 ],
"destination" : [ "obj-156", 0 ],
"hidden" : 1,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-170", 0 ],
"destination" : [ "obj-155", 0 ],
"hidden" : 1,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-169", 0 ],
"destination" : [ "obj-168", 0 ],
"hidden" : 1,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-169", 0 ],
"destination" : [ "obj-166", 0 ],
"hidden" : 1,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-169", 0 ],
"destination" : [ "obj-164", 0 ],
"hidden" : 1,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-168", 0 ],
"destination" : [ "obj-171", 1 ],
"hidden" : 0,
"midpoints" : [ 311.5, 629.5, 311.0, 629.5 ]
}
}
, {
"patchline" : {
"source" : [ "obj-167", 0 ],
"destination" : [ "obj-168", 0 ],
"hidden" : 0,
"midpoints" : [ 394.5, 592.0, 311.5, 592.0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-166", 0 ],
"destination" : [ "obj-171", 2 ],
"hidden" : 0,
"midpoints" : [ 493.5, 630.5, 324.5, 630.5 ]
}
}
, {
"patchline" : {
"source" : [ "obj-165", 0 ],
"destination" : [ "obj-166", 0 ],
"hidden" : 0,
"midpoints" : [ 578.5, 594.0, 493.5, 594.0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-164", 0 ],
"destination" : [ "obj-171", 3 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-163", 0 ],
"destination" : [ "obj-164", 0 ],
"hidden" : 0,
"midpoints" : [ 754.5, 597.0, 671.5, 597.0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-162", 0 ],
"destination" : [ "obj-170", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-160", 0 ],
"destination" : [ "obj-168", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-160", 0 ],
"destination" : [ "obj-166", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-160", 0 ],
"destination" : [ "obj-164", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-159", 0 ],
"destination" : [ "obj-167", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-158", 0 ],
"destination" : [ "obj-159", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-157", 0 ],
"destination" : [ "obj-165", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-156", 0 ],
"destination" : [ "obj-157", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-155", 0 ],
"destination" : [ "obj-154", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-154", 0 ],
"destination" : [ "obj-163", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-153", 0 ],
"destination" : [ "obj-158", 1 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-153", 0 ],
"destination" : [ "obj-152", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-149", 0 ],
"destination" : [ "obj-156", 1 ],
"hidden" : 1,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-149", 0 ],
"destination" : [ "obj-151", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-148", 0 ],
"destination" : [ "obj-155", 1 ],
"hidden" : 1,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-148", 0 ],
"destination" : [ "obj-150", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-143", 0 ],
"destination" : [ "obj-168", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-140", 0 ],
"destination" : [ "obj-166", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-139", 0 ],
"destination" : [ "obj-164", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
]
}
Hors ligne
<pre><code>
----------begin_max5_patcher----------
3041.3oc4bs0jaaaE940+JP0zLSa7FM.D26CswtoSSenMyjl2h83gRBqVFSQ
pRRsZUyj+6EWHoj7RpkDRKEcsmwqHkHA+v24BN3fC3u9palLK8QU9DveB7yf
at4We0M2X+JyWbS442LYU3iyiCysW1j6hSS1rZxste5tzjh7n+qx7Snfovxu
dcXw76iRV9gL07BWqyvP8OCPTyUAn1SBz+E79x6Q2pQIwpB6iAU9kQK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kI9Q8zsFYnxj06wGWYkynQGp3iRT
QFknBOF0qHxQIpDCLpvcAUR5.ipfNfJ6amvAEUnNgJ3U.UnmUBNzZ6cgpXiO
LYCOd.Ak8MkXGL.QCLp3cBUjAFUzNY.RGXTQ5DpviPTYeiNNnnB0I8J3.ipN
4YPxGXT0IA3.6XPzonXjhwHp3ACLp5hInDOBA0mRniETMvfpSwFKF3AAEnWB
AHFwrKviamsFHk0mc13E9hfWp7EBu7NoJxFX+t7fN4g6ZfJ7yxU8zuKl3pYQ
WcDPnHir0d1EAuO6bkHjq.KF7rnpurX.ql2Lkk7ElEeVoNA4sTmZdQeDTgW5
Yi2N4wjOzR8N4WjIGinh11HwnqJpXiRTQGVTw5z7FXhQIpXiRTQFXTI57X8n
9Dgm0wJKvFpj4LX4YmMd4mkFWa3URL.kV91K0gd6YmMdYcleC5NdIRrkewPK
+FPpO6rwK8rrcZAuTtvwnkucev0mc13kzY9EObirwvmksdKnhSK0RsqzNiip
O6rwaPmWI4AL9.F7kvVefPEaThpANtytU2DrANYmTQmqEfgDUcajsANYYTVm
qPggDUcuBEFRT0sr4LvIgkh67rrPiNTMvYQmH67b+PCWL5cDUCb93HhNOizg
jq5FpF3HYH3wXjLjQYjLX4KdjL5S9sW8+.Dnzt+N
-----------end_max5_patcher-----------
</code></pre>
Je me demandais justement comment on faisait!
Oui le patch fonctionne, je reçois le mouvement, mes valeurs s'incrémentent mais je n'ai pas d'image!
Je suis sur Macintosh.
Hors ligne
et pour les non-maxiens (genre : pure-datistes ), pourriez-vous s'il vous plait joindre une capture d'écran de papatche (à moins qu'il y ait moyen d'importer dans pure-data ce genre de fichier).
(je suis peut-être hors sujet, mais justement, le sujet du topic m'intéresse)
Dernière modification par jyg (2011-06-09 15:04:25)
Hors ligne
Bien entendu !
Voici
Hors ligne
Pages: 1