Forums > MaxMSP

how to stop clicks

December 7, 2012 | 7:44 pm

Hi, I am new to max and I have tried to use a line object to try and stop clicks, I am not sure if this is right because it is still clicking.

{
"boxes" : [ {
"box" : {
"maxclass" : "message",
"text" : "0, 1 20",
"numoutlets" : 1,
"patching_rect" : [ -82.499992, 103.399994, 47.0, 18.0 ],
"id" : "obj-894",
"fontname" : "Arial",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 2
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "*~ 0.8",
"numoutlets" : 1,
"patching_rect" : [ -223.299973, 139.699982, 42.0, 20.0 ],
"id" : "obj-893",
"fontname" : "Arial",
"outlettype" : [ "signal" ],
"fontsize" : 12.0,
"numinlets" : 2
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "line~",
"numoutlets" : 2,
"patching_rect" : [ -130.899994, 136.399979, 36.0, 20.0 ],
"id" : "obj-892",
"fontname" : "Arial",
"outlettype" : [ "signal", "bang" ],
"fontsize" : 12.0,
"numinlets" : 2
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "1 2 3 4 ",
"numoutlets" : 0,
"patching_rect" : [ -308.0, 156.599991, 50.0, 20.0 ],
"id" : "obj-561",
"frgb" : 0.0,
"fontname" : "Arial",
"fontsize" : 12.0,
"numinlets" : 1
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "137",
"numoutlets" : 1,
"patching_rect" : [ -309.100006, 189.0, 32.5, 18.0 ],
"id" : "obj-562",
"fontname" : "Arial",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 2
}

}
, {
"box" : {
"maxclass" : "number",
"numoutlets" : 2,
"patching_rect" : [ -309.100006, 213.400024, 50.0, 20.0 ],
"presentation" : 1,
"id" : "obj-564",
"fontname" : "Arial",
"parameter_enable" : 0,
"outlettype" : [ "int", "bang" ],
"fontsize" : 12.0,
"presentation_rect" : [ -213.5, 224.400024, 50.0, 20.0 ],
"numinlets" : 1
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "4",
"numoutlets" : 0,
"patching_rect" : [ -367.0, 156.599991, 32.5, 20.0 ],
"id" : "obj-554",
"frgb" : 0.0,
"fontname" : "Arial",
"fontsize" : 12.0,
"numinlets" : 1
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "140",
"numoutlets" : 1,
"patching_rect" : [ -368.100006, 189.0, 32.5, 18.0 ],
"id" : "obj-559",
"fontname" : "Arial",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 2
}

}
, {
"box" : {
"maxclass" : "number",
"numoutlets" : 2,
"patching_rect" : [ -368.100006, 213.400024, 50.0, 20.0 ],
"presentation" : 1,
"id" : "obj-560",
"fontname" : "Arial",
"parameter_enable" : 0,
"outlettype" : [ "int", "bang" ],
"fontsize" : 12.0,
"presentation_rect" : [ -228.5, 209.400024, 50.0, 20.0 ],
"numinlets" : 1
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "3",
"numoutlets" : 0,
"patching_rect" : [ -425.0, 156.599991, 32.5, 20.0 ],
"id" : "obj-56",
"frgb" : 0.0,
"fontname" : "Arial",
"fontsize" : 12.0,
"numinlets" : 1
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "140",
"numoutlets" : 1,
"patching_rect" : [ -426.100006, 189.0, 32.5, 18.0 ],
"id" : "obj-496",
"fontname" : "Arial",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 2
}

}
, {
"box" : {
"maxclass" : "number",
"numoutlets" : 2,
"patching_rect" : [ -426.100006, 213.400024, 50.0, 20.0 ],
"presentation" : 1,
"id" : "obj-516",
"fontname" : "Arial",
"parameter_enable" : 0,
"outlettype" : [ "int", "bang" ],
"fontsize" : 12.0,
"presentation_rect" : [ -258.5, 179.400024, 50.0, 20.0 ],
"numinlets" : 1
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "2",
"numoutlets" : 0,
"patching_rect" : [ -484.0, 156.599991, 32.5, 20.0 ],
"id" : "obj-583",
"frgb" : 0.0,
"fontname" : "Arial",
"fontsize" : 12.0,
"numinlets" : 1
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "145",
"numoutlets" : 1,
"patching_rect" : [ -485.100006, 189.0, 32.5, 18.0 ],
"id" : "obj-590",
"fontname" : "Arial",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 2
}

}
, {
"box" : {
"maxclass" : "number",
"numoutlets" : 2,
"patching_rect" : [ -485.100006, 213.400024, 50.0, 20.0 ],
"presentation" : 1,
"id" : "obj-592",
"fontname" : "Arial",
"parameter_enable" : 0,
"outlettype" : [ "int", "bang" ],
"fontsize" : 12.0,
"presentation_rect" : [ -273.5, 164.400024, 50.0, 20.0 ],
"numinlets" : 1
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "1",
"numoutlets" : 0,
"patching_rect" : [ -542.5, 156.599991, 32.5, 20.0 ],
"id" : "obj-582",
"frgb" : 0.0,
"fontname" : "Arial",
"fontsize" : 12.0,
"numinlets" : 1
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "137",
"numoutlets" : 1,
"patching_rect" : [ -543.599976, 189.0, 32.5, 18.0 ],
"id" : "obj-568",
"fontname" : "Arial",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 2
}

}
, {
"box" : {
"maxclass" : "number",
"numoutlets" : 2,
"patching_rect" : [ -543.599976, 213.400024, 50.0, 20.0 ],
"presentation" : 1,
"id" : "obj-570",
"fontname" : "Arial",
"parameter_enable" : 0,
"outlettype" : [ "int", "bang" ],
"fontsize" : 12.0,
"presentation_rect" : [ -288.5, 149.400024, 50.0, 20.0 ],
"numinlets" : 1
}

}
, {
"box" : {
"maxclass" : "toggle",
"numoutlets" : 1,
"patching_rect" : [ -395.0, -308.0, 20.0, 20.0 ],
"id" : "obj-574",
"parameter_enable" : 0,
"outlettype" : [ "int" ],
"numinlets" : 1
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "metro 1000",
"numoutlets" : 1,
"patching_rect" : [ -395.0, -284.0, 71.0, 20.0 ],
"id" : "obj-575",
"fontname" : "Arial",
"outlettype" : [ "bang" ],
"fontsize" : 12.0,
"numinlets" : 2
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "select 1 2 3 4 5 6",
"numoutlets" : 7,
"patching_rect" : [ -395.0, -155.0, 102.0, 20.0 ],
"id" : "obj-576",
"fontname" : "Arial",
"outlettype" : [ "bang", "bang", "bang", "bang", "bang", "bang", "" ],
"fontsize" : 12.0,
"numinlets" : 7
}

}
, {
"box" : {
"maxclass" : "button",
"numoutlets" : 1,
"patching_rect" : [ -395.0, -260.0, 20.0, 20.0 ],
"blinkcolor" : [ 1.0, 0.435294, 0.811765, 1.0 ],
"id" : "obj-577",
"bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ],
"fgcolor" : [ 1.0, 1.0, 1.0, 0.0 ],
"outlettype" : [ "bang" ],
"outlinecolor" : [ 1.0, 0.435294, 0.811765, 1.0 ],
"numinlets" : 1
}

}
, {
"box" : {
"maxclass" : "number",
"numoutlets" : 2,
"patching_rect" : [ -395.0, -181.0, 50.0, 20.0 ],
"id" : "obj-578",
"fontname" : "Arial",
"parameter_enable" : 0,
"outlettype" : [ "int", "bang" ],
"fontsize" : 12.0,
"numinlets" : 1
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "+ 1",
"numoutlets" : 1,
"patching_rect" : [ -395.0, -206.0, 32.5, 20.0 ],
"id" : "obj-579",
"fontname" : "Arial",
"outlettype" : [ "int" ],
"fontsize" : 12.0,
"numinlets" : 2
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "random 6",
"numoutlets" : 1,
"patching_rect" : [ -395.0, -233.0, 61.0, 20.0 ],
"id" : "obj-580",
"fontname" : "Arial",
"outlettype" : [ "int" ],
"fontsize" : 12.0,
"numinlets" : 2
}

}
, {
"box" : {
"maxclass" : "button",
"numoutlets" : 1,
"patching_rect" : [ -301.0, -110.0, 20.0, 20.0 ],
"blinkcolor" : [ 1.0, 0.8, 0.4, 1.0 ],
"id" : "obj-573",
"bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ],
"fgcolor" : [ 1.0, 1.0, 1.0, 0.0 ],
"outlettype" : [ "bang" ],
"outlinecolor" : [ 1.0, 0.8, 0.4, 1.0 ],
"numinlets" : 1
}

}
, {
"box" : {
"maxclass" : "button",
"numoutlets" : 1,
"patching_rect" : [ -301.0, -86.0, 20.0, 20.0 ],
"blinkcolor" : [ 0.8, 1.0, 0.4, 1.0 ],
"id" : "obj-571",
"bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ],
"fgcolor" : [ 1.0, 1.0, 1.0, 0.0 ],
"outlettype" : [ "bang" ],
"outlinecolor" : [ 0.8, 1.0, 0.4, 1.0 ],
"numinlets" : 1
}

}
, {
"box" : {
"maxclass" : "button",
"numoutlets" : 1,
"patching_rect" : [ -301.0, -61.0, 20.0, 20.0 ],
"blinkcolor" : [ 0.4, 1.0, 0.8, 1.0 ],
"id" : "obj-569",
"bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ],
"fgcolor" : [ 1.0, 1.0, 1.0, 0.0 ],
"outlettype" : [ "bang" ],
"outlinecolor" : [ 0.4, 1.0, 0.8, 1.0 ],
"numinlets" : 1
}

}
, {
"box" : {
"maxclass" : "button",
"numoutlets" : 1,
"patching_rect" : [ -301.0, 13.0, 20.0, 20.0 ],
"blinkcolor" : [ 1.0, 0.435294, 0.811765, 1.0 ],
"id" : "obj-567",
"bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ],
"fgcolor" : [ 1.0, 1.0, 1.0, 0.0 ],
"outlettype" : [ "bang" ],
"outlinecolor" : [ 1.0, 0.435294, 0.811765, 1.0 ],
"numinlets" : 1
}

}
, {
"box" : {
"maxclass" : "button",
"numoutlets" : 1,
"patching_rect" : [ -301.0, -12.0, 20.0, 20.0 ],
"blinkcolor" : [ 0.8, 0.4, 1.0, 1.0 ],
"id" : "obj-565",
"bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ],
"fgcolor" : [ 1.0, 1.0, 1.0, 0.0 ],
"outlettype" : [ "bang" ],
"outlinecolor" : [ 0.8, 0.4, 1.0, 1.0 ],
"numinlets" : 1
}

}
, {
"box" : {
"maxclass" : "button",
"numoutlets" : 1,
"patching_rect" : [ -301.0, -36.0, 20.0, 20.0 ],
"blinkcolor" : [ 0.4, 0.8, 1.0, 1.0 ],
"id" : "obj-563",
"bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ],
"fgcolor" : [ 1.0, 1.0, 1.0, 0.0 ],
"outlettype" : [ "bang" ],
"outlinecolor" : [ 0.4, 0.8, 1.0, 1.0 ],
"numinlets" : 1
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "2",
"numoutlets" : 1,
"patching_rect" : [ -271.0, -36.0, 32.5, 18.0 ],
"id" : "obj-555",
"fontname" : "Arial",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 2
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "4",
"numoutlets" : 1,
"patching_rect" : [ -271.0, -86.0, 32.5, 18.0 ],
"id" : "obj-556",
"fontname" : "Arial",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 2
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "3",
"numoutlets" : 1,
"patching_rect" : [ -271.0, -61.0, 32.5, 18.0 ],
"id" : "obj-557",
"fontname" : "Arial",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 2
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "1 2 3 4",
"numoutlets" : 1,
"patching_rect" : [ -271.0, -110.0, 47.0, 18.0 ],
"id" : "obj-558",
"fontname" : "Arial",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 2
}

}
, {
"box" : {
"maxclass" : "button",
"numoutlets" : 1,
"patching_rect" : [ -115.0, 76.0, 20.0, 20.0 ],
"blinkcolor" : [ 1.0, 0.8, 0.4, 1.0 ],
"id" : "obj-535",
"bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ],
"fgcolor" : [ 1.0, 1.0, 1.0, 0.0 ],
"outlettype" : [ "bang" ],
"outlinecolor" : [ 1.0, 0.8, 0.4, 1.0 ],
"numinlets" : 1
}

}
, {
"box" : {
"maxclass" : "flonum",
"numoutlets" : 2,
"patching_rect" : [ -171.5, 38.0, 50.0, 20.0 ],
"id" : "obj-536",
"fontname" : "Arial",
"parameter_enable" : 0,
"outlettype" : [ "float", "bang" ],
"fontsize" : 12.0,
"numinlets" : 1
}

}
, {
"box" : {
"maxclass" : "toggle",
"numoutlets" : 1,
"patching_rect" : [ -171.5, -14.0, 20.0, 20.0 ],
"id" : "obj-537",
"parameter_enable" : 0,
"outlettype" : [ "int" ],
"numinlets" : 1
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "loop $1",
"numoutlets" : 1,
"patching_rect" : [ -171.5, 13.0, 50.0, 18.0 ],
"id" : "obj-538",
"fontname" : "Arial",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 2
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "0",
"numoutlets" : 1,
"patching_rect" : [ -271.0, 13.0, 32.5, 18.0 ],
"id" : "obj-539",
"fontname" : "Arial",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 2
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "1",
"numoutlets" : 1,
"patching_rect" : [ -271.0, -12.0, 32.5, 18.0 ],
"id" : "obj-540",
"fontname" : "Arial",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 2
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "open longdescendingprocesssound1.wav",
"numoutlets" : 1,
"patching_rect" : [ -171.5, -47.0, 231.0, 18.0 ],
"id" : "obj-541",
"fontname" : "Arial",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 2
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "sfplay~ 2",
"numoutlets" : 3,
"patching_rect" : [ -229.0, 63.0, 59.0, 20.0 ],
"id" : "obj-542",
"fontname" : "Arial",
"outlettype" : [ "signal", "signal", "bang" ],
"fontsize" : 12.0,
"numinlets" : 2,
"save" : [ "#N", "sfplay~", "", 2, 120960, 0, "", ";" ]
}

}
, {
"box" : {
"maxclass" : "meter~",
"numoutlets" : 1,
"patching_rect" : [ -174.0, 227.0, 22.0, 140.0 ],
"presentation" : 1,
"id" : "obj-543",
"outlettype" : [ "float" ],
"presentation_rect" : [ 1903.0, 514.0, 22.0, 140.0 ],
"numinlets" : 1
}

}
, {
"box" : {
"maxclass" : "meter~",
"numoutlets" : 1,
"patching_rect" : [ -197.0, 227.0, 22.0, 140.0 ],
"presentation" : 1,
"id" : "obj-544",
"outlettype" : [ "float" ],
"presentation_rect" : [ 1880.0, 514.0, 22.0, 140.0 ],
"numinlets" : 1
}

}
, {
"box" : {
"maxclass" : "gain~",
"numoutlets" : 2,
"patching_rect" : [ -221.5, 227.0, 22.0, 140.0 ],
"presentation" : 1,
"id" : "obj-545",
"parameter_enable" : 0,
"outlettype" : [ "signal", "int" ],
"presentation_rect" : [ 1855.5, 514.0, 22.0, 140.0 ],
"numinlets" : 2
}

}
, {
"box" : {
"maxclass" : "gain~",
"numoutlets" : 2,
"patching_rect" : [ -245.0, 227.0, 22.0, 140.0 ],
"presentation" : 1,
"id" : "obj-546",
"parameter_enable" : 0,
"outlettype" : [ "signal", "int" ],
"presentation_rect" : [ 1832.0, 514.0, 22.0, 140.0 ],
"numinlets" : 2
}

}
, {
"box" : {
"maxclass" : "ezdac~",
"numoutlets" : 0,
"patching_rect" : [ -244.0, 371.0, 45.0, 45.0 ],
"presentation" : 1,
"id" : "obj-547",
"presentation_rect" : [ 1833.0, 658.0, 45.0, 45.0 ],
"numinlets" : 2
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "preload 4 100 1000",
"numoutlets" : 1,
"patching_rect" : [ -171.5, -70.0, 114.0, 18.0 ],
"id" : "obj-509",
"fontname" : "Arial",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 2
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "preload 3 2000 3000",
"numoutlets" : 1,
"patching_rect" : [ -171.5, -93.0, 121.0, 18.0 ],
"id" : "obj-510",
"fontname" : "Arial",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 2
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "preload 2 4000 5000",
"numoutlets" : 1,
"patching_rect" : [ -171.5, -115.0, 121.0, 18.0 ],
"id" : "obj-511",
"fontname" : "Arial",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 2
}

}
],
"lines" : [ {
"patchline" : {
"source" : [ "obj-496", 0 ],
"destination" : [ "obj-516", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-509", 0 ],
"destination" : [ "obj-542", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-510", 0 ],
"destination" : [ "obj-542", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-511", 0 ],
"destination" : [ "obj-542", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-516", 1 ],
"destination" : [ "obj-545", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-516", 0 ],
"destination" : [ "obj-546", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-536", 0 ],
"destination" : [ "obj-542", 1 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-537", 0 ],
"destination" : [ "obj-538", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-538", 0 ],
"destination" : [ "obj-542", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-539", 0 ],
"destination" : [ "obj-542", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-540", 0 ],
"destination" : [ "obj-542", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-541", 0 ],
"destination" : [ "obj-542", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-542", 2 ],
"destination" : [ "obj-535", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-545", 0 ],
"destination" : [ "obj-543", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-545", 0 ],
"destination" : [ "obj-547", 1 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-546", 0 ],
"destination" : [ "obj-544", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-546", 1 ],
"destination" : [ "obj-545", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-546", 0 ],
"destination" : [ "obj-547", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-555", 0 ],
"destination" : [ "obj-542", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-556", 0 ],
"destination" : [ "obj-542", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-557", 0 ],
"destination" : [ "obj-542", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-558", 0 ],
"destination" : [ "obj-542", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-559", 0 ],
"destination" : [ "obj-560", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-560", 1 ],
"destination" : [ "obj-545", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-560", 0 ],
"destination" : [ "obj-546", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-562", 0 ],
"destination" : [ "obj-564", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-563", 0 ],
"destination" : [ "obj-555", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-563", 0 ],
"destination" : [ "obj-590", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-564", 1 ],
"destination" : [ "obj-545", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-564", 0 ],
"destination" : [ "obj-546", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-565", 0 ],
"destination" : [ "obj-540", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-565", 0 ],
"destination" : [ "obj-568", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-567", 0 ],
"destination" : [ "obj-539", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-568", 0 ],
"destination" : [ "obj-570", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-569", 0 ],
"destination" : [ "obj-496", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-569", 0 ],
"destination" : [ "obj-557", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-570", 1 ],
"destination" : [ "obj-545", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-570", 0 ],
"destination" : [ "obj-546", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-571", 0 ],
"destination" : [ "obj-556", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-571", 0 ],
"destination" : [ "obj-559", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-573", 0 ],
"destination" : [ "obj-558", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-573", 0 ],
"destination" : [ "obj-562", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-574", 0 ],
"destination" : [ "obj-575", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-575", 0 ],
"destination" : [ "obj-577", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-576", 3 ],
"destination" : [ "obj-563", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-576", 4 ],
"destination" : [ "obj-565", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-576", 5 ],
"destination" : [ "obj-567", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-576", 2 ],
"destination" : [ "obj-569", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-576", 1 ],
"destination" : [ "obj-571", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-576", 0 ],
"destination" : [ "obj-573", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-577", 0 ],
"destination" : [ "obj-580", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-578", 0 ],
"destination" : [ "obj-576", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-579", 0 ],
"destination" : [ "obj-578", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-580", 0 ],
"destination" : [ "obj-579", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-590", 0 ],
"destination" : [ "obj-592", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-592", 1 ],
"destination" : [ "obj-545", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-592", 0 ],
"destination" : [ "obj-546", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-542", 0 ],
"destination" : [ "obj-893", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-542", 1 ],
"destination" : [ "obj-893", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-893", 0 ],
"destination" : [ "obj-546", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-893", 0 ],
"destination" : [ "obj-545", 0 ],
"hidden" : 0,
"midpoints" : [ -213.799973, 236.499985 ],
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-892", 0 ],
"destination" : [ "obj-893", 1 ],
"hidden" : 0,
"midpoints" : [ -121.399994, 169.399979, -161.699982, 169.399979, -161.699982, 118.799988, -190.799973, 118.799988 ],
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-894", 0 ],
"destination" : [ "obj-892", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-577", 0 ],
"destination" : [ "obj-894", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
],
"appversion" : {
"major" : 6,
"minor" : 0,
"revision" : 8
}

}


December 7, 2012 | 9:42 pm

Small piece of advice, if you want to post a max patch goto Edit > Copy Compressed. Then paste that into your post. It’s much more condensed and easier for other forum member.


December 7, 2012 | 10:01 pm

Hi,
the [line~] object is a good starting point. But you have to fade out before fade in the next part of the sample to prevent clicks. Of course this is not a cross fade… that step will come next.
cheers.
stan

– Pasted Max Patch, click to expand. –

December 7, 2012 | 11:21 pm

Hi gwsounddsg, I new, I did not know I could do that, thanks for the tip I do that for now on :)


December 7, 2012 | 11:22 pm

Hi Stan, thank you so much, you have really help me, thank you :D I would of never done that, thank you :)


December 8, 2012 | 4:19 pm

Hi stan, I had a go at trying to stop the clicks with another idea, but I not sure if I had done it right could you or any help me please, Thanks Wendy

– Pasted Max Patch, click to expand. –

December 8, 2012 | 5:44 pm

You’ve still got clicks for two reasons:

1) You’re using a singe source to play back your sound files. That means when you switch between files, you’re going to get a click because you can’t cross fade them or anything. Try using 9 buffers instead. (have a look at the polybuffer~ and groove~ objects)

2) You did indeed hook a line~ object up to your *~ objects which is good, but then you’re feeding the output of those objects into another set of *~ objects which have the same problem: You’re changing the volume too quickly.

Also, want me to blow your mind right now? You rarely have to cross wires max.


December 8, 2012 | 6:29 pm

Hi AudioMatt, you have blow my mind, I had no idea what cross wires is, I think this is because everything uses one sfplay and the wires cross, also thank for you help, so should I feed the first line object into a polybuffer or groove, thanks Wendy

ps if there an easy way to fix it


December 8, 2012 | 8:14 pm

Hey Wendy,
take the time to order your thougts. A great way to do that – at least it would be for me – is to clean up your patch. This might help you and everyone else who has a look at it.
I gave you an example how to avoid clicking. So figure out the princible. Does the new patch follow the way the former patch works?


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