Forums > MaxMSP

Using M´s Two-Step Controls with Max and a midi CC

February 26, 2013 | 10:30 am

Hi list! I am a newbie and I´d like to solve a question.
I just made a patch to con trol M from Max but it does not work perfectly.
Here it is:

{
"boxes" : [ {
"box" : {
"maxclass" : "newobj",
"text" : "ctlin a",
"patching_rect" : [ 253.0, 53.0, 46.0, 20.0 ],
"numinlets" : 1,
"id" : "obj-1",
"fontname" : "Arial",
"numoutlets" : 3,
"outlettype" : [ "int", "int", "int" ],
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "59 80",
"patching_rect" : [ 973.0, 75.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-2",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "noteout a 1",
"patching_rect" : [ 973.0, 94.0, 72.0, 20.0 ],
"numinlets" : 3,
"id" : "obj-3",
"fontname" : "Arial",
"numoutlets" : 0,
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "ctlin a 46",
"patching_rect" : [ 972.0, 50.0, 59.0, 20.0 ],
"numinlets" : 1,
"id" : "obj-4",
"fontname" : "Arial",
"numoutlets" : 2,
"outlettype" : [ "int", "int" ],
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "60 80",
"patching_rect" : [ 896.0, 75.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-5",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "noteout a 1",
"patching_rect" : [ 896.0, 94.0, 72.0, 20.0 ],
"numinlets" : 3,
"id" : "obj-6",
"fontname" : "Arial",
"numoutlets" : 0,
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "number",
"patching_rect" : [ 267.0, 84.0, 50.0, 20.0 ],
"numinlets" : 1,
"id" : "obj-7",
"fontname" : "Arial",
"numoutlets" : 2,
"outlettype" : [ "int", "bang" ],
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "ctlin a 45",
"patching_rect" : [ 895.0, 49.0, 59.0, 20.0 ],
"numinlets" : 1,
"id" : "obj-8",
"fontname" : "Arial",
"numoutlets" : 2,
"outlettype" : [ "int", "int" ],
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "63 80",
"patching_rect" : [ 834.0, 55.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-9",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "47 80",
"patching_rect" : [ 851.0, 89.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-10",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "noteout a 1",
"patching_rect" : [ 834.0, 114.0, 161.0, 20.0 ],
"numinlets" : 3,
"id" : "obj-11",
"fontname" : "Arial",
"numoutlets" : 0,
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "63 80",
"patching_rect" : [ 670.0, 55.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-12",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "45 80",
"patching_rect" : [ 687.0, 89.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-13",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "noteout a 1",
"patching_rect" : [ 670.0, 114.0, 161.0, 20.0 ],
"numinlets" : 3,
"id" : "obj-14",
"fontname" : "Arial",
"numoutlets" : 0,
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "63 80",
"patching_rect" : [ 507.0, 53.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-15",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "43 80",
"patching_rect" : [ 523.0, 88.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-16",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "noteout a 1",
"patching_rect" : [ 506.0, 113.0, 161.0, 20.0 ],
"numinlets" : 3,
"id" : "obj-17",
"fontname" : "Arial",
"numoutlets" : 0,
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "63 80",
"patching_rect" : [ 343.0, 54.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-18",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "41 80",
"patching_rect" : [ 359.0, 88.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-19",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "noteout a 1",
"patching_rect" : [ 342.0, 113.0, 161.0, 20.0 ],
"numinlets" : 3,
"id" : "obj-20",
"fontname" : "Arial",
"numoutlets" : 0,
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "63 80",
"patching_rect" : [ 180.0, 53.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-21",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "40 80",
"patching_rect" : [ 197.0, 88.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-22",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "noteout a 1",
"patching_rect" : [ 180.0, 113.0, 161.0, 20.0 ],
"numinlets" : 3,
"id" : "obj-23",
"fontname" : "Arial",
"numoutlets" : 0,
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "63 80",
"patching_rect" : [ 16.0, 54.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-24",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "38 80",
"patching_rect" : [ 33.0, 88.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-25",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "noteout a 1",
"patching_rect" : [ 16.0, 113.0, 161.0, 20.0 ],
"numinlets" : 3,
"id" : "obj-26",
"fontname" : "Arial",
"numoutlets" : 0,
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "ctlin a",
"patching_rect" : [ 1.0, 6.0, 46.0, 20.0 ],
"numinlets" : 1,
"id" : "obj-27",
"fontname" : "Arial",
"numoutlets" : 3,
"outlettype" : [ "int", "int", "int" ],
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "select 107 108 109 110 111 112",
"patching_rect" : [ 15.0, 29.0, 1002.0, 20.0 ],
"numinlets" : 1,
"id" : "obj-28",
"fontname" : "Arial",
"numoutlets" : 7,
"outlettype" : [ "bang", "bang", "bang", "bang", "bang", "bang", "" ],
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "68 80",
"patching_rect" : [ 832.0, 183.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-29",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "47 80",
"patching_rect" : [ 849.0, 217.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-30",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "noteout a 1",
"patching_rect" : [ 832.0, 242.0, 161.0, 20.0 ],
"numinlets" : 3,
"id" : "obj-31",
"fontname" : "Arial",
"numoutlets" : 0,
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "68 80",
"patching_rect" : [ 668.0, 183.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-32",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "45 80",
"patching_rect" : [ 685.0, 217.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-33",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "noteout a 1",
"patching_rect" : [ 668.0, 242.0, 161.0, 20.0 ],
"numinlets" : 3,
"id" : "obj-34",
"fontname" : "Arial",
"numoutlets" : 0,
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "68 80",
"patching_rect" : [ 504.0, 182.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-35",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "43 80",
"patching_rect" : [ 521.0, 216.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-36",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "noteout a 1",
"patching_rect" : [ 504.0, 241.0, 161.0, 20.0 ],
"numinlets" : 3,
"id" : "obj-37",
"fontname" : "Arial",
"numoutlets" : 0,
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "68 80",
"patching_rect" : [ 340.0, 182.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-38",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "41 80",
"patching_rect" : [ 357.0, 216.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-39",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "noteout a 1",
"patching_rect" : [ 340.0, 241.0, 161.0, 20.0 ],
"numinlets" : 3,
"id" : "obj-40",
"fontname" : "Arial",
"numoutlets" : 0,
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "68 80",
"patching_rect" : [ 178.0, 182.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-41",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "40 80",
"patching_rect" : [ 195.0, 216.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-42",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "noteout a 1",
"patching_rect" : [ 178.0, 241.0, 161.0, 20.0 ],
"numinlets" : 3,
"id" : "obj-43",
"fontname" : "Arial",
"numoutlets" : 0,
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "68 80",
"patching_rect" : [ 14.0, 182.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-44",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "38 80",
"patching_rect" : [ 31.0, 216.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-46",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "noteout a 1",
"patching_rect" : [ 14.0, 241.0, 161.0, 20.0 ],
"numinlets" : 3,
"id" : "obj-47",
"fontname" : "Arial",
"numoutlets" : 0,
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "ctlin a",
"patching_rect" : [ 1.0, 135.0, 46.0, 20.0 ],
"numinlets" : 1,
"id" : "obj-48",
"fontname" : "Arial",
"numoutlets" : 3,
"outlettype" : [ "int", "int", "int" ],
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "select 116 117 118 119 120 121",
"patching_rect" : [ 14.0, 159.0, 1001.0, 20.0 ],
"numinlets" : 1,
"id" : "obj-49",
"fontname" : "Arial",
"numoutlets" : 7,
"outlettype" : [ "bang", "bang", "bang", "bang", "bang", "bang", "" ],
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "51 80",
"patching_rect" : [ 837.0, 310.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-97",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "47 80",
"patching_rect" : [ 854.0, 344.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-98",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "noteout a 1",
"patching_rect" : [ 837.0, 369.0, 161.0, 20.0 ],
"numinlets" : 3,
"id" : "obj-99",
"fontname" : "Arial",
"numoutlets" : 0,
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "51 80",
"patching_rect" : [ 673.0, 310.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-100",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "45 80",
"patching_rect" : [ 690.0, 344.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-101",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "noteout a 1",
"patching_rect" : [ 673.0, 369.0, 161.0, 20.0 ],
"numinlets" : 3,
"id" : "obj-102",
"fontname" : "Arial",
"numoutlets" : 0,
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "51 80",
"patching_rect" : [ 509.0, 309.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-103",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "43 80",
"patching_rect" : [ 526.0, 343.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-104",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "noteout a 1",
"patching_rect" : [ 509.0, 368.0, 161.0, 20.0 ],
"numinlets" : 3,
"id" : "obj-105",
"fontname" : "Arial",
"numoutlets" : 0,
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "51 80",
"patching_rect" : [ 346.0, 309.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-106",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "41 80",
"patching_rect" : [ 362.0, 343.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-107",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "noteout a 1",
"patching_rect" : [ 345.0, 368.0, 161.0, 20.0 ],
"numinlets" : 3,
"id" : "obj-108",
"fontname" : "Arial",
"numoutlets" : 0,
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "51 80",
"patching_rect" : [ 183.0, 308.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-109",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "40 80",
"patching_rect" : [ 200.0, 343.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-110",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "noteout a 1",
"patching_rect" : [ 183.0, 368.0, 161.0, 20.0 ],
"numinlets" : 3,
"id" : "obj-111",
"fontname" : "Arial",
"numoutlets" : 0,
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "51 80",
"patching_rect" : [ 19.0, 309.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-112",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "38 80",
"patching_rect" : [ 36.0, 343.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-113",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "noteout a 1",
"patching_rect" : [ 19.0, 368.0, 161.0, 20.0 ],
"numinlets" : 3,
"id" : "obj-114",
"fontname" : "Arial",
"numoutlets" : 0,
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "ctlin a",
"patching_rect" : [ 4.0, 261.0, 46.0, 20.0 ],
"numinlets" : 1,
"id" : "obj-115",
"fontname" : "Arial",
"numoutlets" : 3,
"outlettype" : [ "int", "int", "int" ],
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "select 67 68 69 70 71 72",
"patching_rect" : [ 18.0, 284.0, 1001.0, 20.0 ],
"numinlets" : 1,
"id" : "obj-116",
"fontname" : "Arial",
"numoutlets" : 7,
"outlettype" : [ "bang", "bang", "bang", "bang", "bang", "bang", "" ],
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "58 80",
"patching_rect" : [ 835.0, 438.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-55",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "47 80",
"patching_rect" : [ 852.0, 472.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-56",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "noteout a 1",
"patching_rect" : [ 835.0, 497.0, 161.0, 20.0 ],
"numinlets" : 3,
"id" : "obj-57",
"fontname" : "Arial",
"numoutlets" : 0,
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "58 80",
"patching_rect" : [ 671.0, 438.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-62",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "45 80",
"patching_rect" : [ 688.0, 472.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-63",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "noteout a 1",
"patching_rect" : [ 671.0, 497.0, 161.0, 20.0 ],
"numinlets" : 3,
"id" : "obj-64",
"fontname" : "Arial",
"numoutlets" : 0,
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "58 80",
"patching_rect" : [ 507.0, 437.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-69",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "43 80",
"patching_rect" : [ 524.0, 471.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-70",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "noteout a 1",
"patching_rect" : [ 507.0, 496.0, 161.0, 20.0 ],
"numinlets" : 3,
"id" : "obj-71",
"fontname" : "Arial",
"numoutlets" : 0,
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "58 80",
"patching_rect" : [ 343.0, 437.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-76",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "41 80",
"patching_rect" : [ 360.0, 471.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-77",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "noteout a 1",
"patching_rect" : [ 343.0, 496.0, 161.0, 20.0 ],
"numinlets" : 3,
"id" : "obj-78",
"fontname" : "Arial",
"numoutlets" : 0,
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "58 80",
"patching_rect" : [ 181.0, 437.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-83",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "40 80",
"patching_rect" : [ 198.0, 471.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-84",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "noteout a 1",
"patching_rect" : [ 181.0, 496.0, 161.0, 20.0 ],
"numinlets" : 3,
"id" : "obj-85",
"fontname" : "Arial",
"numoutlets" : 0,
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "58 80",
"patching_rect" : [ 17.0, 437.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-90",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "38 80",
"patching_rect" : [ 34.0, 471.0, 40.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-91",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "noteout a 1",
"patching_rect" : [ 17.0, 496.0, 161.0, 20.0 ],
"numinlets" : 3,
"id" : "obj-92",
"fontname" : "Arial",
"numoutlets" : 0,
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "ctlin a",
"patching_rect" : [ 4.0, 390.0, 46.0, 20.0 ],
"numinlets" : 1,
"id" : "obj-54",
"fontname" : "Arial",
"numoutlets" : 3,
"outlettype" : [ "int", "int", "int" ],
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "select 76 77 78 79 80 81",
"patching_rect" : [ 17.0, 413.0, 999.0, 20.0 ],
"numinlets" : 1,
"id" : "obj-45",
"fontname" : "Arial",
"numoutlets" : 7,
"outlettype" : [ "bang", "bang", "bang", "bang", "bang", "bang", "" ],
"fontsize" : 12.0
}

}
],
"lines" : [ {
"patchline" : {
"source" : [ "obj-49", 5 ],
"destination" : [ "obj-29", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

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

}
, {
"patchline" : {
"source" : [ "obj-49", 3 ],
"destination" : [ "obj-35", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-49", 2 ],
"destination" : [ "obj-38", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

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

}
, {
"patchline" : {
"source" : [ "obj-49", 0 ],
"destination" : [ "obj-44", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

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

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

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

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

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

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

}
, {
"patchline" : {
"source" : [ "obj-28", 0 ],
"destination" : [ "obj-24", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

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

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

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

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

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

}
, {
"patchline" : {
"source" : [ "obj-5", 0 ],
"destination" : [ "obj-6", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

}
, {
"patchline" : {
"source" : [ "obj-44", 0 ],
"destination" : [ "obj-47", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-46", 0 ],
"destination" : [ "obj-47", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-44", 0 ],
"destination" : [ "obj-46", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-41", 0 ],
"destination" : [ "obj-42", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-42", 0 ],
"destination" : [ "obj-43", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-41", 0 ],
"destination" : [ "obj-43", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

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

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

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

}
, {
"patchline" : {
"source" : [ "obj-38", 0 ],
"destination" : [ "obj-39", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-39", 0 ],
"destination" : [ "obj-40", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-38", 0 ],
"destination" : [ "obj-40", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-29", 0 ],
"destination" : [ "obj-31", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-30", 0 ],
"destination" : [ "obj-31", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-29", 0 ],
"destination" : [ "obj-30", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-32", 0 ],
"destination" : [ "obj-33", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-33", 0 ],
"destination" : [ "obj-34", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-32", 0 ],
"destination" : [ "obj-34", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-62", 0 ],
"destination" : [ "obj-64", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-63", 0 ],
"destination" : [ "obj-64", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-62", 0 ],
"destination" : [ "obj-63", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-55", 0 ],
"destination" : [ "obj-56", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-56", 0 ],
"destination" : [ "obj-57", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-55", 0 ],
"destination" : [ "obj-57", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-76", 0 ],
"destination" : [ "obj-78", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-77", 0 ],
"destination" : [ "obj-78", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-76", 0 ],
"destination" : [ "obj-77", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-69", 0 ],
"destination" : [ "obj-70", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-70", 0 ],
"destination" : [ "obj-71", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-69", 0 ],
"destination" : [ "obj-71", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-83", 0 ],
"destination" : [ "obj-85", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-84", 0 ],
"destination" : [ "obj-85", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-83", 0 ],
"destination" : [ "obj-84", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-90", 0 ],
"destination" : [ "obj-91", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-91", 0 ],
"destination" : [ "obj-92", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-90", 0 ],
"destination" : [ "obj-92", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-112", 0 ],
"destination" : [ "obj-114", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-113", 0 ],
"destination" : [ "obj-114", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-112", 0 ],
"destination" : [ "obj-113", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-109", 0 ],
"destination" : [ "obj-110", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-110", 0 ],
"destination" : [ "obj-111", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-109", 0 ],
"destination" : [ "obj-111", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-103", 0 ],
"destination" : [ "obj-105", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-104", 0 ],
"destination" : [ "obj-105", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-103", 0 ],
"destination" : [ "obj-104", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-106", 0 ],
"destination" : [ "obj-107", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-107", 0 ],
"destination" : [ "obj-108", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-106", 0 ],
"destination" : [ "obj-108", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-97", 0 ],
"destination" : [ "obj-99", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-98", 0 ],
"destination" : [ "obj-99", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-97", 0 ],
"destination" : [ "obj-98", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-100", 0 ],
"destination" : [ "obj-101", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-101", 0 ],
"destination" : [ "obj-102", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-100", 0 ],
"destination" : [ "obj-102", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-45", 5 ],
"destination" : [ "obj-55", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

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

}
, {
"patchline" : {
"source" : [ "obj-45", 3 ],
"destination" : [ "obj-69", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-45", 2 ],
"destination" : [ "obj-76", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

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

}
, {
"patchline" : {
"source" : [ "obj-45", 0 ],
"destination" : [ "obj-90", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

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

}
, {
"patchline" : {
"source" : [ "obj-116", 5 ],
"destination" : [ "obj-97", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

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

}
, {
"patchline" : {
"source" : [ "obj-116", 3 ],
"destination" : [ "obj-103", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-116", 2 ],
"destination" : [ "obj-106", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

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

}
, {
"patchline" : {
"source" : [ "obj-116", 0 ],
"destination" : [ "obj-112", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

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

}
]
}

Ctlin receives CC from a Korg nanokontrol and noteout output is connected to M´s input in order to control it. It works, but in M, when Transposition Variable Positions variables from ie. Transposition are changed it also affects sometimes to Note Order variables positions and the same happens with Note Density and Legato variables. I don´t know why…

Oh, I use M demo. It can be downloaded from here:

http://cycling74.com/downloads/other/

Thank you for reading me! :)


Viewing 1 post (of 1 total)