a lot of math and if


    Jan 06 2012 | 3:04 pm
    Hello,
    I want to do something, i think it's easy... but i don't find a solution.
    I've too value... Number
    1st) between 0-100.
    2nd) between 0-50.
    For example 70 and 24.
    If the first value is >50 i want to soustract the second : 70 - 24 = 46.
    Other example 20 and 47
    If the first value is
    And i want to have the result in one object (Number) to send...
    Yes, it's easy no ?! But ... not for me :(
    Someone have an Idea ?
    Thank's
    moza

    • Jan 06 2012 | 3:41 pm
      [split 0 50]
    • Jan 06 2012 | 4:37 pm
      thank you... I see if i can make what i want...
    • Jan 07 2012 | 10:22 am
      Hello,
      I succeeded in not making it function. If somebody with an idea…
      I dont know why the left AND the right outlet bang on split object...
      {
      "boxes" : [ {
      "box" : {
      "maxclass" : "comment",
      "text" : "click",
      "fontsize" : 12.0,
      "frgb" : [ 1.0, 1.0, 1.0, 1.0 ],
      "bgcolor" : [ 1.0, 0.0, 0.0, 1.0 ],
      "numinlets" : 1,
      "patching_rect" : [ 322.0, 122.0, 38.0, 20.0 ],
      "id" : "obj-1",
      "numoutlets" : 0,
      "fontname" : "Arial",
      "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
      "fontface" : 1
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "loadbang",
      "fontsize" : 12.0,
      "numinlets" : 1,
      "patching_rect" : [ 243.0, 27.0, 60.0, 20.0 ],
      "id" : "obj-8",
      "numoutlets" : 1,
      "fontname" : "Arial",
      "outlettype" : [ "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "32",
      "fontsize" : 12.0,
      "numinlets" : 2,
      "patching_rect" : [ 243.0, 57.0, 32.5, 18.0 ],
      "id" : "obj-7",
      "numoutlets" : 1,
      "fontname" : "Arial",
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "gswitch2",
      "numinlets" : 2,
      "patching_rect" : [ 401.0, 406.0, 39.0, 32.0 ],
      "id" : "obj-5",
      "numoutlets" : 2,
      "outlettype" : [ "", "" ],
      "int" : 1
      }
      }
      , {
      "box" : {
      "maxclass" : "gswitch2",
      "numinlets" : 2,
      "patching_rect" : [ 110.0, 406.0, 39.0, 32.0 ],
      "id" : "obj-4",
      "numoutlets" : 2,
      "outlettype" : [ "", "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "number",
      "fontsize" : 12.0,
      "numinlets" : 1,
      "patching_rect" : [ 271.0, 479.0, 50.0, 20.0 ],
      "id" : "obj-3",
      "numoutlets" : 2,
      "fontname" : "Arial",
      "outlettype" : [ "int", "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "button",
      "numinlets" : 1,
      "patching_rect" : [ 301.0, 122.0, 20.0, 20.0 ],
      "id" : "obj-2",
      "numoutlets" : 1,
      "outlettype" : [ "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "0",
      "fontsize" : 12.0,
      "numinlets" : 2,
      "patching_rect" : [ 150.0, 156.0, 18.5, 18.0 ],
      "id" : "obj-145",
      "numoutlets" : 1,
      "fontname" : "Arial",
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "1",
      "fontsize" : 12.0,
      "numinlets" : 2,
      "patching_rect" : [ 129.0, 157.0, 18.0, 18.0 ],
      "id" : "obj-146",
      "numoutlets" : 1,
      "fontname" : "Arial",
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "0",
      "fontsize" : 12.0,
      "numinlets" : 2,
      "patching_rect" : [ 531.0, 155.0, 18.0, 18.0 ],
      "id" : "obj-144",
      "numoutlets" : 1,
      "fontname" : "Arial",
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "1",
      "fontsize" : 12.0,
      "numinlets" : 2,
      "patching_rect" : [ 553.0, 155.0, 18.0, 18.0 ],
      "id" : "obj-143",
      "numoutlets" : 1,
      "fontname" : "Arial",
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "button",
      "bgcolor" : [ 1.0, 0.666667, 0.666667, 0.654902 ],
      "numinlets" : 1,
      "patching_rect" : [ 540.0, 119.0, 20.0, 20.0 ],
      "outlinecolor" : [ 0.713726, 0.713726, 0.713726, 0.0 ],
      "id" : "obj-141",
      "numoutlets" : 1,
      "ignoreclick" : 1,
      "outlettype" : [ "bang" ],
      "blinkcolor" : [ 0.0, 0.0, 0.0, 1.0 ]
      }
      }
      , {
      "box" : {
      "maxclass" : "button",
      "bgcolor" : [ 0.713726, 1.0, 0.666667, 0.654902 ],
      "numinlets" : 1,
      "patching_rect" : [ 138.0, 120.0, 20.0, 20.0 ],
      "outlinecolor" : [ 0.713726, 0.713726, 0.713726, 0.0 ],
      "id" : "obj-140",
      "numoutlets" : 1,
      "ignoreclick" : 1,
      "outlettype" : [ "bang" ],
      "blinkcolor" : [ 0.0, 0.0, 0.0, 1.0 ]
      }
      }
      , {
      "box" : {
      "maxclass" : "gswitch2",
      "numinlets" : 2,
      "patching_rect" : [ 401.0, 292.0, 39.0, 32.0 ],
      "id" : "obj-139",
      "numoutlets" : 2,
      "outlettype" : [ "", "" ],
      "int" : 1
      }
      }
      , {
      "box" : {
      "maxclass" : "gswitch2",
      "numinlets" : 2,
      "patching_rect" : [ 110.0, 292.0, 39.0, 32.0 ],
      "id" : "obj-138",
      "numoutlets" : 2,
      "outlettype" : [ "", "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "number",
      "fontsize" : 11.595187,
      "numinlets" : 1,
      "patching_rect" : [ 130.0, 356.0, 32.0, 20.0 ],
      "id" : "obj-113",
      "numoutlets" : 2,
      "fontname" : "Arial",
      "outlettype" : [ "int", "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "number",
      "fontsize" : 11.595187,
      "numinlets" : 1,
      "patching_rect" : [ 421.0, 362.0, 34.0, 20.0 ],
      "id" : "obj-114",
      "numoutlets" : 2,
      "fontname" : "Arial",
      "outlettype" : [ "int", "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "expr -$i1 + $i2",
      "fontsize" : 12.0,
      "numinlets" : 2,
      "patching_rect" : [ 421.0, 336.0, 87.0, 20.0 ],
      "id" : "obj-115",
      "numoutlets" : 1,
      "fontname" : "Arial",
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "expr $i1 + $i2",
      "fontsize" : 12.0,
      "numinlets" : 2,
      "patching_rect" : [ 130.0, 333.0, 83.0, 20.0 ],
      "id" : "obj-116",
      "numoutlets" : 1,
      "fontname" : "Arial",
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "number",
      "fontsize" : 11.595187,
      "numinlets" : 1,
      "patching_rect" : [ 194.0, 156.0, 32.0, 20.0 ],
      "id" : "obj-118",
      "numoutlets" : 2,
      "fontname" : "Arial",
      "outlettype" : [ "int", "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "number",
      "fontsize" : 11.595187,
      "numinlets" : 1,
      "patching_rect" : [ 489.0, 155.0, 34.0, 20.0 ],
      "id" : "obj-119",
      "numoutlets" : 2,
      "fontname" : "Arial",
      "outlettype" : [ "int", "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "split 1 50",
      "fontsize" : 11.595187,
      "numinlets" : 3,
      "patching_rect" : [ 194.0, 93.0, 314.0, 20.0 ],
      "id" : "obj-120",
      "numoutlets" : 2,
      "fontname" : "Arial",
      "outlettype" : [ "int", "int" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "number",
      "fontsize" : 11.595187,
      "bordercolor" : [ 0.682353, 0.0, 0.239216, 1.0 ],
      "numinlets" : 1,
      "patching_rect" : [ 301.0, 183.0, 39.0, 20.0 ],
      "id" : "obj-108",
      "numoutlets" : 2,
      "fontname" : "Arial",
      "outlettype" : [ "int", "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "random 50",
      "fontsize" : 12.0,
      "numinlets" : 2,
      "patching_rect" : [ 301.0, 154.0, 68.0, 20.0 ],
      "id" : "obj-27",
      "numoutlets" : 1,
      "fontname" : "Arial",
      "outlettype" : [ "int" ]
      }
      }
      ],
      "lines" : [ {
      "patchline" : {
      "source" : [ "obj-27", 0 ],
      "destination" : [ "obj-108", 0 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-119", 0 ],
      "destination" : [ "obj-115", 1 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-115", 0 ],
      "destination" : [ "obj-114", 0 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-116", 0 ],
      "destination" : [ "obj-113", 0 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-118", 0 ],
      "destination" : [ "obj-116", 1 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-120", 1 ],
      "destination" : [ "obj-119", 0 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-120", 0 ],
      "destination" : [ "obj-118", 0 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-138", 1 ],
      "destination" : [ "obj-116", 0 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-108", 0 ],
      "destination" : [ "obj-138", 1 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-139", 1 ],
      "destination" : [ "obj-115", 0 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-108", 0 ],
      "destination" : [ "obj-139", 1 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-120", 0 ],
      "destination" : [ "obj-140", 0 ],
      "hidden" : 0,
      "color" : [ 0.0, 1.0, 0.023529, 1.0 ],
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-120", 1 ],
      "destination" : [ "obj-141", 0 ],
      "hidden" : 0,
      "color" : [ 1.0, 0.0, 0.0, 1.0 ],
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-141", 0 ],
      "destination" : [ "obj-143", 0 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-143", 0 ],
      "destination" : [ "obj-139", 0 ],
      "hidden" : 0,
      "color" : [ 1.0, 0.0, 0.0, 1.0 ],
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-141", 0 ],
      "destination" : [ "obj-144", 0 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-144", 0 ],
      "destination" : [ "obj-138", 0 ],
      "hidden" : 0,
      "color" : [ 1.0, 0.0, 0.0, 1.0 ],
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-140", 0 ],
      "destination" : [ "obj-146", 0 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-146", 0 ],
      "destination" : [ "obj-138", 0 ],
      "hidden" : 0,
      "color" : [ 0.0, 1.0, 0.023529, 1.0 ],
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-140", 0 ],
      "destination" : [ "obj-145", 0 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-145", 0 ],
      "destination" : [ "obj-139", 0 ],
      "hidden" : 0,
      "color" : [ 0.0, 1.0, 0.023529, 1.0 ],
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-2", 0 ],
      "destination" : [ "obj-27", 0 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-146", 0 ],
      "destination" : [ "obj-4", 0 ],
      "hidden" : 0,
      "color" : [ 0.117647, 1.0, 0.0, 1.0 ],
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-144", 0 ],
      "destination" : [ "obj-4", 0 ],
      "hidden" : 0,
      "color" : [ 1.0, 0.0, 0.0, 1.0 ],
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-113", 0 ],
      "destination" : [ "obj-4", 1 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-143", 0 ],
      "destination" : [ "obj-5", 0 ],
      "hidden" : 0,
      "color" : [ 1.0, 0.0, 0.0, 1.0 ],
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-145", 0 ],
      "destination" : [ "obj-5", 0 ],
      "hidden" : 0,
      "color" : [ 0.047059, 1.0, 0.0, 1.0 ],
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-4", 1 ],
      "destination" : [ "obj-3", 0 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-114", 0 ],
      "destination" : [ "obj-5", 1 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-5", 1 ],
      "destination" : [ "obj-3", 0 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-3", 0 ],
      "destination" : [ "obj-120", 0 ],
      "hidden" : 0,
      "midpoints" : [ 280.5, 519.0, 90.0, 519.0, 90.0, 417.0, 90.0, 417.0, 90.0, 74.0, 180.0, 74.0, 180.0, 74.0, 203.5, 74.0 ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-7", 0 ],
      "destination" : [ "obj-120", 0 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-8", 0 ],
      "destination" : [ "obj-7", 0 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      ]
      }
    • Jan 07 2012 | 11:20 am
    • Jan 07 2012 | 11:32 am
    • Jan 07 2012 | 12:40 pm
      Thank for answer but...that's not exactly what i want and it's almost that.
      Two Questions :
      - I want, if i click on the message object, it don't (don't) modifie the last result. The last result mut be modified only if i click on the Button. But if i click on the message, i don't want that the last result change.
      {
      "boxes" : [ {
      "box" : {
      "maxclass" : "message",
      "text" : "53",
      "numoutlets" : 1,
      "outlettype" : [ "" ],
      "fontsize" : 12.0,
      "patching_rect" : [ 249.0, 105.0, 32.5, 18.0 ],
      "numinlets" : 2,
      "id" : "obj-3",
      "fontname" : "Arial"
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "t b",
      "numoutlets" : 1,
      "outlettype" : [ "bang" ],
      "fontsize" : 12.0,
      "patching_rect" : [ 265.0, 247.0, 24.0, 20.0 ],
      "numinlets" : 1,
      "id" : "obj-30",
      "fontname" : "Arial"
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "i",
      "numoutlets" : 1,
      "outlettype" : [ "int" ],
      "fontsize" : 12.0,
      "patching_rect" : [ 408.0, 312.0, 32.5, 20.0 ],
      "numinlets" : 2,
      "id" : "obj-27",
      "fontname" : "Arial"
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "i",
      "numoutlets" : 1,
      "outlettype" : [ "int" ],
      "fontsize" : 12.0,
      "patching_rect" : [ 330.0, 314.0, 32.5, 20.0 ],
      "numinlets" : 2,
      "id" : "obj-26",
      "fontname" : "Arial"
      }
      }
      , {
      "box" : {
      "maxclass" : "comment",
      "text" : "PRESS THE BUTTON!",
      "numoutlets" : 0,
      "fontsize" : 12.0,
      "patching_rect" : [ 390.0, 116.0, 150.0, 20.0 ],
      "numinlets" : 1,
      "id" : "obj-25",
      "fontname" : "Arial"
      }
      }
      , {
      "box" : {
      "maxclass" : "number",
      "numoutlets" : 2,
      "outlettype" : [ "int", "bang" ],
      "fontsize" : 12.0,
      "bgcolor" : [ 1.0, 0.0, 0.0, 1.0 ],
      "patching_rect" : [ 285.0, 400.0, 50.0, 20.0 ],
      "numinlets" : 1,
      "id" : "obj-23",
      "fontname" : "Arial"
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "+ 1",
      "numoutlets" : 1,
      "outlettype" : [ "int" ],
      "fontsize" : 12.0,
      "patching_rect" : [ 228.0, 200.0, 32.5, 20.0 ],
      "numinlets" : 2,
      "id" : "obj-20",
      "fontname" : "Arial"
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "switch 2",
      "numoutlets" : 1,
      "outlettype" : [ "" ],
      "fontsize" : 12.0,
      "patching_rect" : [ 285.0, 370.0, 54.0, 20.0 ],
      "numinlets" : 3,
      "id" : "obj-19",
      "fontname" : "Arial"
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "t b i",
      "numoutlets" : 2,
      "outlettype" : [ "bang", "int" ],
      "fontsize" : 12.0,
      "patching_rect" : [ 330.0, 221.0, 32.5, 20.0 ],
      "numinlets" : 1,
      "id" : "obj-16",
      "fontname" : "Arial"
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "+",
      "numoutlets" : 1,
      "outlettype" : [ "int" ],
      "fontsize" : 12.0,
      "patching_rect" : [ 330.0, 258.0, 32.5, 20.0 ],
      "numinlets" : 2,
      "id" : "obj-17",
      "fontname" : "Arial"
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "t b i",
      "numoutlets" : 2,
      "outlettype" : [ "bang", "int" ],
      "fontsize" : 12.0,
      "patching_rect" : [ 408.0, 222.0, 32.5, 20.0 ],
      "numinlets" : 1,
      "id" : "obj-15",
      "fontname" : "Arial"
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "-",
      "numoutlets" : 1,
      "outlettype" : [ "int" ],
      "fontsize" : 12.0,
      "patching_rect" : [ 408.0, 256.0, 32.5, 20.0 ],
      "numinlets" : 2,
      "id" : "obj-14",
      "fontname" : "Arial"
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "> 50",
      "numoutlets" : 1,
      "outlettype" : [ "int" ],
      "fontsize" : 12.0,
      "patching_rect" : [ 228.0, 177.0, 34.0, 20.0 ],
      "numinlets" : 2,
      "id" : "obj-13",
      "fontname" : "Arial"
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "random 51",
      "numoutlets" : 1,
      "outlettype" : [ "int" ],
      "fontsize" : 12.0,
      "patching_rect" : [ 360.0, 150.0, 68.0, 20.0 ],
      "numinlets" : 2,
      "id" : "obj-8",
      "fontname" : "Arial"
      }
      }
      , {
      "box" : {
      "maxclass" : "button",
      "numoutlets" : 1,
      "outlettype" : [ "bang" ],
      "patching_rect" : [ 360.0, 116.0, 20.0, 20.0 ],
      "numinlets" : 1,
      "id" : "obj-7"
      }
      }
      , {
      "box" : {
      "maxclass" : "number",
      "numoutlets" : 2,
      "outlettype" : [ "int", "bang" ],
      "fontsize" : 12.0,
      "patching_rect" : [ 359.0, 180.0, 50.0, 20.0 ],
      "numinlets" : 1,
      "id" : "obj-4",
      "fontname" : "Arial"
      }
      }
      , {
      "box" : {
      "maxclass" : "number",
      "numoutlets" : 2,
      "outlettype" : [ "int", "bang" ],
      "fontsize" : 12.0,
      "patching_rect" : [ 228.0, 147.0, 50.0, 20.0 ],
      "numinlets" : 1,
      "id" : "obj-2",
      "fontname" : "Arial"
      }
      }
      ],
      "lines" : [ {
      "patchline" : {
      "source" : [ "obj-23", 0 ],
      "destination" : [ "obj-3", 1 ],
      "hidden" : 0,
      "midpoints" : [ 294.5, 431.0, 167.0, 431.0, 167.0, 309.0, 167.0, 309.0, 167.0, 64.0, 272.0, 64.0 ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-3", 0 ],
      "destination" : [ "obj-2", 0 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-7", 0 ],
      "destination" : [ "obj-8", 0 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-8", 0 ],
      "destination" : [ "obj-4", 0 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-2", 0 ],
      "destination" : [ "obj-13", 0 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-2", 0 ],
      "destination" : [ "obj-14", 0 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-4", 0 ],
      "destination" : [ "obj-15", 0 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-15", 0 ],
      "destination" : [ "obj-14", 0 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-15", 1 ],
      "destination" : [ "obj-14", 1 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-16", 0 ],
      "destination" : [ "obj-17", 0 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-16", 1 ],
      "destination" : [ "obj-17", 1 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-4", 0 ],
      "destination" : [ "obj-16", 0 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-2", 0 ],
      "destination" : [ "obj-17", 0 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-13", 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-23", 0 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-17", 0 ],
      "destination" : [ "obj-26", 0 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-14", 0 ],
      "destination" : [ "obj-27", 0 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-20", 0 ],
      "destination" : [ "obj-30", 0 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-30", 0 ],
      "destination" : [ "obj-27", 0 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-30", 0 ],
      "destination" : [ "obj-26", 0 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-27", 0 ],
      "destination" : [ "obj-19", 2 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-26", 0 ],
      "destination" : [ "obj-19", 1 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      ]
      }
    • Jan 07 2012 | 12:40 pm
      Why mi CTRL+V on this site is so big ???
    • Jan 07 2012 | 12:49 pm
      you need to "Copy Compressed", not just copy.
    • Jan 07 2012 | 1:08 pm
      "For example 70 and 24.
      If the first value is >50 i want to soustract the second : 70 - 24 = 46.
      Other example 20 and 47
      If the first value is
      only one object: [expr ($i1-$i2)*($i1>50) + ($i1+$i2)*($i1
      -110
    • Jan 07 2012 | 2:36 pm
      YES !!!!
      Thank you Roman Thilenius !
      Thank you Wetterberg !
      Thank you Broc !
      Thank you MuShoo !
      Thank you too Christopher Dobrian !