Beginner Patch

May 27, 2009 at 5:33am

Beginner Patch

Hello-

I am trying to learn this and build a patch that randomly plays selections of a soundfile. Sorry if it looks a bit crude, but that’s why I need help. I get glitches and clicks and was told to use 2 groove~ somehow to smooth it out, but not sure how. I also think i need some line objects so the numerical transitions are not so great. Mostly, I want to get rid of the clicks. Any advice on how to improve on this patch in any way would be appreciated.

thanks, steve

————————————————-
{
“boxes” : [ {
"box" : {
"maxclass" : "toggle",
"numinlets" : 1,
"patching_rect" : [ 132.0, 505.0, 20.0, 20.0 ],
“numoutlets” : 1,
“id” : “obj-44″,
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “loadbang”,
“numinlets” : 1,
“fontname” : “Arial”,
“patching_rect” : [ 794.0, 132.0, 60.0, 20.0 ],
“numoutlets” : 1,
“id” : “obj-57″,
“outlettype” : [ "bang" ],
“fontsize” : 12.0
}

}
, {
“box” : {
“maxclass” : “number”,
“numinlets” : 1,
“fontname” : “Arial”,
“patching_rect” : [ 699.0, 209.0, 50.0, 20.0 ],
“numoutlets” : 2,
“id” : “obj-42″,
“outlettype” : [ "int", "bang" ],
“fontsize” : 11.595187
}

}
, {
“box” : {
“maxclass” : “slider”,
“mult” : 40.0,
“min” : 20.0,
“numinlets” : 1,
“patching_rect” : [ 699.0, 185.0, 98.0, 17.0 ],
“numoutlets” : 1,
“id” : “obj-43″,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “button”,
“numinlets” : 1,
“patching_rect” : [ 625.0, 261.0, 20.0, 20.0 ],
“numoutlets” : 1,
“id” : “obj-33″,
“outlettype” : [ "bang" ]
}

}
, {
“box” : {
“maxclass” : “toggle”,
“numinlets” : 1,
“patching_rect” : [ 625.0, 189.0, 20.0, 20.0 ],
“numoutlets” : 1,
“id” : “obj-36″,
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “metro 500″,
“numinlets” : 2,
“fontname” : “Arial”,
“patching_rect” : [ 625.0, 236.0, 93.0, 20.0 ],
“numoutlets” : 1,
“id” : “obj-37″,
“outlettype” : [ "bang" ],
“fontsize” : 11.595187
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “scale 0 100 1000. 10000″,
“numinlets” : 6,
“fontname” : “Arial”,
“patching_rect” : [ 560.0, 529.0, 142.0, 20.0 ],
“numoutlets” : 1,
“id” : “obj-38″,
“outlettype” : [ "float" ],
“fontsize” : 12.0
}

}
, {
“box” : {
“maxclass” : “flonum”,
“numinlets” : 1,
“fontname” : “Arial”,
“patching_rect” : [ 624.0, 323.0, 50.0, 20.0 ],
“numoutlets” : 2,
“id” : “obj-39″,
“outlettype” : [ "float", "bang" ],
“fontsize” : 12.0
}

}
, {
“box” : {
“maxclass” : “slider”,
“numinlets” : 1,
“patching_rect” : [ 624.0, 354.0, 20.0, 140.0 ],
“numoutlets” : 1,
“id” : “obj-40″,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “drunk 100 100″,
“numinlets” : 3,
“fontname” : “Arial”,
“patching_rect” : [ 625.0, 297.0, 85.0, 20.0 ],
“numoutlets” : 1,
“id” : “obj-41″,
“outlettype” : [ "int" ],
“fontsize” : 11.595187
}

}
, {
“box” : {
“maxclass” : “number”,
“numinlets” : 1,
“fontname” : “Arial”,
“patching_rect” : [ 244.0, 478.0, 50.0, 20.0 ],
“numoutlets” : 2,
“id” : “obj-32″,
“outlettype” : [ "int", "bang" ],
“fontsize” : 12.0
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “*~ 0.5″,
“numinlets” : 2,
“fontname” : “Arial”,
“patching_rect” : [ 66.0, 532.0, 42.0, 20.0 ],
“numoutlets” : 1,
“id” : “obj-13″,
“outlettype” : [ "signal" ],
“fontsize” : 12.0
}

}
, {
“box” : {
“maxclass” : “message”,
“text” : “loop $1″,
“numinlets” : 2,
“fontname” : “Arial”,
“patching_rect” : [ 130.0, 542.0, 49.0, 18.0 ],
“numoutlets” : 1,
“id” : “obj-86″,
“outlettype” : [ "" ],
“fontsize” : 11.595187
}

}
, {
“box” : {
“maxclass” : “number”,
“numinlets” : 1,
“fontname” : “Arial”,
“patching_rect” : [ 603.0, 153.0, 50.0, 20.0 ],
“numoutlets” : 2,
“id” : “obj-9″,
“outlettype” : [ "int", "bang" ],
“fontsize” : 11.595187
}

}
, {
“box” : {
“maxclass” : “button”,
“numinlets” : 1,
“patching_rect” : [ 529.0, 201.0, 20.0, 20.0 ],
“numoutlets” : 1,
“id” : “obj-10″,
“outlettype” : [ "bang" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “metro 500″,
“numinlets” : 2,
“fontname” : “Arial”,
“patching_rect” : [ 529.0, 176.0, 93.0, 20.0 ],
“numoutlets” : 1,
“id” : “obj-14″,
“outlettype” : [ "bang" ],
“fontsize” : 11.595187
}

}
, {
“box” : {
“maxclass” : “slider”,
“mult” : 40.0,
“min” : 20.0,
“numinlets” : 1,
“patching_rect” : [ 603.0, 129.0, 98.0, 17.0 ],
“numoutlets” : 1,
“id” : “obj-15″,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “scale 0 100 0 16″,
“numinlets” : 6,
“fontname” : “Arial”,
“patching_rect” : [ 464.0, 469.0, 99.0, 20.0 ],
“numoutlets” : 1,
“id” : “obj-16″,
“outlettype” : [ "int" ],
“fontsize” : 12.0
}

}
, {
“box” : {
“maxclass” : “flonum”,
“numinlets” : 1,
“fontname” : “Arial”,
“patching_rect” : [ 528.0, 263.0, 50.0, 20.0 ],
“numoutlets” : 2,
“id” : “obj-17″,
“outlettype” : [ "float", "bang" ],
“fontsize” : 12.0
}

}
, {
“box” : {
“maxclass” : “slider”,
“numinlets” : 1,
“patching_rect” : [ 528.0, 294.0, 20.0, 140.0 ],
“numoutlets” : 1,
“id” : “obj-19″,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “drunk 100 100″,
“numinlets” : 3,
“fontname” : “Arial”,
“patching_rect” : [ 529.0, 237.0, 85.0, 20.0 ],
“numoutlets” : 1,
“id” : “obj-28″,
“outlettype” : [ "int" ],
“fontsize” : 11.595187
}

}
, {
“box” : {
“maxclass” : “number”,
“numinlets” : 1,
“fontname” : “Arial”,
“patching_rect” : [ 502.0, 109.0, 50.0, 20.0 ],
“numoutlets” : 2,
“id” : “obj-3″,
“outlettype” : [ "int", "bang" ],
“fontsize” : 11.595187
}

}
, {
“box” : {
“maxclass” : “button”,
“numinlets” : 1,
“patching_rect” : [ 428.0, 160.0, 20.0, 20.0 ],
“numoutlets” : 1,
“id” : “obj-11″,
“outlettype” : [ "bang" ]
}

}
, {
“box” : {
“maxclass” : “toggle”,
“numinlets” : 1,
“patching_rect” : [ 428.0, 88.0, 20.0, 20.0 ],
“numoutlets” : 1,
“id” : “obj-4″,
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “metro 500″,
“numinlets” : 2,
“fontname” : “Arial”,
“patching_rect” : [ 428.0, 135.0, 93.0, 20.0 ],
“numoutlets” : 1,
“id” : “obj-6″,
“outlettype” : [ "bang" ],
“fontsize” : 11.595187
}

}
, {
“box” : {
“maxclass” : “slider”,
“mult” : 40.0,
“min” : 20.0,
“numinlets” : 1,
“patching_rect” : [ 502.0, 88.0, 98.0, 17.0 ],
“numoutlets” : 1,
“id” : “obj-8″,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “scale 0 100 0.5 1.2.”,
“numinlets” : 6,
“fontname” : “Arial”,
“patching_rect” : [ 193.0, 439.0, 119.0, 20.0 ],
“numoutlets” : 1,
“id” : “obj-77″,
“outlettype” : [ "float" ],
“fontsize” : 12.0
}

}
, {
“box” : {
“maxclass” : “flonum”,
“numinlets” : 1,
“fontname” : “Arial”,
“patching_rect” : [ 427.0, 222.0, 50.0, 20.0 ],
“numoutlets” : 2,
“id” : “obj-76″,
“outlettype” : [ "float", "bang" ],
“fontsize” : 12.0
}

}
, {
“box” : {
“maxclass” : “slider”,
“numinlets” : 1,
“patching_rect” : [ 427.0, 253.0, 20.0, 140.0 ],
“numoutlets” : 1,
“id” : “obj-63″,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “drunk 100 100″,
“numinlets” : 3,
“fontname” : “Arial”,
“patching_rect” : [ 428.0, 196.0, 85.0, 20.0 ],
“numoutlets” : 1,
“id” : “obj-35″,
“outlettype” : [ "int" ],
“fontsize” : 11.595187
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “tapout~”,
“numinlets” : 1,
“fontname” : “Arial”,
“patching_rect” : [ 205.0, 605.0, 51.0, 20.0 ],
“numoutlets” : 1,
“id” : “obj-59″,
“outlettype” : [ "signal" ],
“fontsize” : 12.0
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “tapin~ 10000″,
“numinlets” : 1,
“fontname” : “Arial”,
“patching_rect” : [ 205.0, 569.0, 80.0, 20.0 ],
“numoutlets” : 1,
“id” : “obj-58″,
“outlettype” : [ "tapconnect" ],
“fontsize” : 12.0
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “scale 0. 1. 0. 5000.”,
“numinlets” : 6,
“fontname” : “Arial”,
“patching_rect” : [ 79.0, 394.0, 108.0, 20.0 ],
“numoutlets” : 1,
“id” : “obj-1″,
“outlettype” : [ "float" ],
“fontsize” : 11.595187
}

}
, {
“box” : {
“maxclass” : “multislider”,
“numinlets” : 1,
“patching_rect” : [ 79.0, 375.0, 309.0, 17.0 ],
“contdata” : 1,
“numoutlets” : 2,
“setminmax” : [ 0.0, 1.0 ],
“id” : “obj-2″,
“orientation” : 0,
“outlettype” : [ "", "" ]
}

}
, {
“box” : {
“maxclass” : “pictslider”,
“inactiveimage” : 0,
“bottomvalue” : 3,
“bkgndpict” : “wfmodes.pct”,
“movehorizontal” : 0,
“numinlets” : 2,
“patching_rect” : [ 77.0, 244.0, 20.0, 64.0 ],
“rightvalue” : 0,
“numoutlets” : 2,
“knobpict” : “wfknob.pct”,
“id” : “obj-51″,
“outlettype” : [ "int", "int" ],
“imagemask” : 1,
“topvalue” : 0
}

}
, {
“box” : {
“maxclass” : “message”,
“text” : “startloop”,
“numinlets” : 2,
“fontname” : “Arial”,
“patching_rect” : [ 128.0, 478.0, 62.700001, 18.0 ],
“numoutlets” : 1,
“id” : “obj-34″,
“outlettype” : [ "" ],
“fontsize” : 12.0
}

}
, {
“box” : {
“maxclass” : “gain~”,
“numinlets” : 2,
“patching_rect” : [ 483.0, 674.0, 32.0, 78.0 ],
“numoutlets” : 2,
“id” : “obj-26″,
“outlettype” : [ "signal", "int" ]
}

}
, {
“box” : {
“maxclass” : “ezdac~”,
“numinlets” : 2,
“patching_rect” : [ 473.0, 768.0, 45.0, 45.0 ],
“numoutlets” : 0,
“id” : “obj-24″
}

}
, {
“box” : {
“maxclass” : “flonum”,
“numinlets” : 1,
“fontname” : “Arial”,
“patching_rect” : [ 68.0, 480.0, 50.0, 20.0 ],
“numoutlets” : 2,
“id” : “obj-23″,
“outlettype” : [ "float", "bang" ],
“fontsize” : 12.0
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “sig~”,
“numinlets” : 1,
“fontname” : “Arial”,
“patching_rect” : [ 66.0, 502.0, 35.200001, 20.0 ],
“numoutlets” : 1,
“id” : “obj-22″,
“outlettype” : [ "signal" ],
“fontsize” : 11.595187
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “groove~ wave”,
“numinlets” : 3,
“fontname” : “Arial”,
“patching_rect” : [ 103.0, 606.0, 83.0, 20.0 ],
“numoutlets” : 2,
“id” : “obj-21″,
“outlettype” : [ "signal", "signal" ],
“fontsize” : 11.595187
}

}
, {
“box” : {
“maxclass” : “message”,
“text” : “replace”,
“numinlets” : 2,
“fontname” : “Arial”,
“patching_rect” : [ 207.0, 674.0, 50.0, 18.0 ],
“numoutlets” : 1,
“id” : “obj-20″,
“outlettype” : [ "" ],
“fontsize” : 12.0
}

}
, {
“box” : {
“maxclass” : “number”,
“numinlets” : 1,
“fontname” : “Arial”,
“patching_rect” : [ 182.0, 133.287521, 50.0, 20.0 ],
“minimum” : 1,
“numoutlets” : 2,
“maximum” : 24,
“id” : “obj-18″,
“outlettype” : [ "int", "bang" ],
“fontsize” : 12.0
}

}
, {
“box” : {
“maxclass” : “preset”,
“numinlets” : 1,
“patching_rect” : [ 242.0, 118.0, 100.0, 40.0 ],
“numoutlets” : 4,
“id” : “obj-12″,
“outlettype” : [ "preset", "int", "preset", "int" ],
“preset_data” : [ {
"number" : 1,
"data" : [ 5, "obj-30", "flonum", "float", 423.452759, 5, "obj-29", "flonum", "float", 0.0 ]
}
, {
“number” : 2,
“data” : [ 5, "obj-30", "flonum", "float", 1693.811035, 5, "obj-29", "flonum", "float", 1628.664551 ]
}
, {
“number” : 3,
“data” : [ 5, "obj-30", "flonum", "float", 1319.218262, 5, "obj-29", "flonum", "float", 1123.778442 ]
}
, {
“number” : 4,
“data” : [ 5, "obj-30", "flonum", "float", 3241.042236, 5, "obj-29", "flonum", "float", 2801.302979 ]
}
, {
“number” : 5,
“data” : [ 5, "obj-30", "flonum", "float", 2100.977295, 5, "obj-29", "flonum", "float", 1482.084717 ]
}
, {
“number” : 6,
“data” : [ 5, "obj-30", "flonum", "float", 2296.416992, 5, "obj-29", "flonum", "float", 1221.498413 ]
}
, {
“number” : 7,
“data” : [ 5, "obj-30", "flonum", "float", 2296.416992, 5, "obj-29", "flonum", "float", 1921.824097 ]
}
, {
“number” : 8,
“data” : [ 5, "obj-30", "flonum", "float", 2296.416992, 5, "obj-29", "flonum", "float", 1921.824097 ]
}
, {
“number” : 9,
“data” : [ 5, "obj-30", "flonum", "float", 2296.416992, 5, "obj-29", "flonum", "float", 1921.824097 ]
}
, {
“number” : 10,
“data” : [ 5, "obj-30", "flonum", "float", 2296.416992, 5, "obj-29", "flonum", "float", 1921.824097 ]
}
, {
“number” : 11,
“data” : [ 5, "obj-30", "flonum", "float", 423.452759, 5, "obj-29", "flonum", "float", 1775.244263 ]
}
, {
“number” : 12,
“data” : [ 5, "obj-30", "flonum", "float", 2459.283447, 5, "obj-29", "flonum", "float", 1775.244263 ]
}
, {
“number” : 13,
“data” : [ 5, "obj-30", "flonum", "float", 2459.283447, 5, "obj-29", "flonum", "float", 1775.244263 ]
}
, {
“number” : 14,
“data” : [ 5, "obj-30", "flonum", "float", 928.338745, 5, "obj-29", "flonum", "float", 1775.244263 ]
}
, {
“number” : 15,
“data” : [ 5, "obj-30", "flonum", "float", 2947.882812, 5, "obj-29", "flonum", "float", 1775.244263 ]
}
, {
“number” : 16,
“data” : [ 5, "obj-30", "flonum", "float", 2947.882812, 5, "obj-29", "flonum", "float", 2605.863281 ]
}
]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “scale 0. 1. 0. 5000.”,
“numinlets” : 6,
“fontname” : “Arial”,
“patching_rect” : [ 79.0, 340.0, 108.0, 20.0 ],
“numoutlets” : 1,
“id” : “obj-7″,
“outlettype” : [ "float" ],
“fontsize” : 11.595187
}

}
, {
“box” : {
“maxclass” : “multislider”,
“numinlets” : 1,
“patching_rect” : [ 79.0, 321.0, 309.0, 17.0 ],
“contdata” : 1,
“numoutlets” : 2,
“setminmax” : [ 0.0, 1.0 ],
“id” : “obj-5″,
“orientation” : 0,
“outlettype” : [ "", "" ]
}

}
, {
“box” : {
“maxclass” : “flonum”,
“numinlets” : 1,
“fontname” : “Arial”,
“patching_rect” : [ 317.0, 205.0, 63.0, 20.0 ],
“numoutlets” : 2,
“id” : “obj-30″,
“outlettype” : [ "float", "bang" ],
“fontsize” : 12.0
}

}
, {
“box” : {
“maxclass” : “flonum”,
“numinlets” : 1,
“fontname” : “Arial”,
“patching_rect” : [ 242.0, 205.0, 63.0, 20.0 ],
“numoutlets” : 2,
“id” : “obj-29″,
“outlettype” : [ "float", "bang" ],
“fontsize” : 12.0
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “buffer~ wave 5000″,
“numinlets” : 1,
“fontname” : “Arial”,
“patching_rect” : [ 206.0, 694.0, 106.0, 20.0 ],
“numoutlets” : 2,
“id” : “obj-27″,
“outlettype” : [ "float", "bang" ],
“fontsize” : 11.595187
}

}
, {
“box” : {
“maxclass” : “waveform~”,
“ruler” : 0,
“bgcolor” : [ 0.0, 0.0, 0.0, 1.0 ],
“setmode” : 2,
“waveformcolor” : [ 1.0, 0.0, 0.0, 1.0 ],
“numinlets” : 5,
“patching_rect” : [ 96.0, 244.0, 308.0, 64.0 ],
“textcolor” : [ ],
“buffername” : “wave”,
“vticks” : 0,
“labels” : 0,
“numoutlets” : 6,
“id” : “obj-25″,
“selectioncolor” : [ 0.34902, 0.894118, 0.992157, 0.501961 ],
“outlettype” : [ "float", "float", "float", "float", "list", "" ]
}

}
],
“lines” : [ {
"patchline" : {
"source" : [ "obj-59", 0 ],
“destination” : [ "obj-26", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

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

}
, {
“patchline” : {
“source” : [ "obj-77", 0 ],
“destination” : [ "obj-23", 0 ],
“hidden” : 0,
“midpoints” : [ 202.5, 459.0, 77.5, 459.0 ]
}

}
, {
“patchline” : {
“source” : [ "obj-63", 0 ],
“destination” : [ "obj-77", 0 ],
“hidden” : 0,
“midpoints” : [ 436.5, 414.0, 202.5, 414.0 ]
}

}
, {
“patchline” : {
“source” : [ "obj-40", 0 ],
“destination” : [ "obj-38", 0 ],
“hidden” : 0,
“midpoints” : [ 633.5, 515.0, 569.5, 515.0 ]
}

}
, {
“patchline” : {
“source” : [ "obj-38", 0 ],
“destination” : [ "obj-32", 0 ],
“hidden” : 0,
“midpoints” : [ 569.5, 549.0, 306.0, 549.0, 306.0, 474.0, 253.5, 474.0 ]
}

}
, {
“patchline” : {
“source” : [ "obj-42", 0 ],
“destination” : [ "obj-37", 1 ],
“hidden” : 0,
“midpoints” : [ ]
}

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

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

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

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

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

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

}
, {
“patchline” : {
“source” : [ "obj-32", 0 ],
“destination” : [ "obj-58", 0 ],
“hidden” : 0,
“midpoints” : [ 253.5, 555.0, 214.5, 555.0 ]
}

}
, {
“patchline” : {
“source” : [ "obj-4", 0 ],
“destination” : [ "obj-86", 0 ],
“hidden” : 0,
“midpoints” : [ 437.5, 120.0, 414.0, 120.0, 414.0, 414.0, 324.0, 414.0, 324.0, 543.0, 180.0, 543.0, 180.0, 537.0, 139.5, 537.0 ]
}

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

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

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

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

}
, {
“patchline” : {
“source” : [ "obj-1", 0 ],
“destination” : [ "obj-30", 0 ],
“hidden” : 0,
“midpoints” : [ 88.5, 414.0, 62.0, 414.0, 62.0, 192.0, 326.5, 192.0 ]
}

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

}
, {
“patchline” : {
“source” : [ "obj-7", 0 ],
“destination” : [ "obj-29", 0 ],
“hidden” : 0,
“midpoints” : [ 88.5, 360.0, 62.0, 360.0, 62.0, 201.0, 251.5, 201.0 ]
}

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

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

}
, {
“patchline” : {
“source” : [ "obj-18", 0 ],
“destination” : [ "obj-12", 0 ],
“hidden” : 0,
“midpoints” : [ 191.5, 154.0, 168.0, 154.0, 168.0, 115.0, 251.5, 115.0 ]
}

}
, {
“patchline” : {
“source” : [ "obj-12", 0 ],
“destination” : [ "obj-30", 0 ],
“hidden” : 0,
“midpoints” : [ 251.5, 190.0, 326.5, 190.0 ]
}

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

}
, {
“patchline” : {
“source” : [ "obj-30", 0 ],
“destination” : [ "obj-25", 3 ],
“hidden” : 0,
“midpoints” : [ 326.5, 241.0, 322.25, 241.0 ]
}

}
, {
“patchline” : {
“source” : [ "obj-29", 0 ],
“destination” : [ "obj-25", 2 ],
“hidden” : 0,
“midpoints” : [ 251.5, 226.0, 250.0, 226.0 ]
}

}
, {
“patchline” : {
“source” : [ "obj-51", 0 ],
“destination” : [ "obj-25", 0 ],
“hidden” : 0,
“midpoints” : [ 85.0, 309.0, 95.25, 309.0, 95.25, 242.0, 105.5, 242.0 ]
}

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

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

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

}
, {
“patchline” : {
“source” : [ "obj-3", 0 ],
“destination” : [ "obj-6", 1 ],
“hidden” : 0,
“midpoints” : [ ]
}

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

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

}
, {
“patchline” : {
“source” : [ "obj-9", 0 ],
“destination” : [ "obj-14", 1 ],
“hidden” : 0,
“midpoints” : [ ]
}

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

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

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

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

}
, {
“patchline” : {
“source” : [ "obj-4", 0 ],
“destination” : [ "obj-14", 0 ],
“hidden” : 0,
“midpoints” : [ 437.5, 120.0, 498.0, 120.0, 498.0, 132.0, 531.0, 132.0, 531.0, 162.0, 538.5, 162.0 ]
}

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

}
, {
“patchline” : {
“source” : [ "obj-34", 0 ],
“destination” : [ "obj-21", 0 ],
“hidden” : 0,
“midpoints” : [ 137.5, 498.0, 120.0, 498.0, 120.0, 510.0, 112.5, 510.0 ]
}

}
, {
“patchline” : {
“source” : [ "obj-25", 2 ],
“destination” : [ "obj-21", 1 ],
“hidden” : 0,
“midpoints” : [ 221.100006, 309.0, 51.0, 309.0, 51.0, 591.0, 144.5, 591.0 ]
}

}
, {
“patchline” : {
“source” : [ "obj-25", 3 ],
“destination” : [ "obj-21", 2 ],
“hidden” : 0,
“midpoints” : [ 278.899994, 318.0, 399.0, 318.0, 399.0, 555.0, 189.0, 555.0, 189.0, 591.0, 176.5, 591.0 ]
}

}
, {
“patchline” : {
“source” : [ "obj-21", 0 ],
“destination” : [ "obj-26", 0 ],
“hidden” : 0,
“midpoints” : [ 112.5, 645.0, 492.5, 645.0 ]
}

}
, {
“patchline” : {
“source” : [ "obj-86", 0 ],
“destination” : [ "obj-21", 0 ],
“hidden” : 0,
“midpoints” : [ 139.5, 591.0, 112.5, 591.0 ]
}

}
, {
“patchline” : {
“source” : [ "obj-21", 0 ],
“destination” : [ "obj-58", 0 ],
“hidden” : 0,
“midpoints” : [ 112.5, 627.0, 90.0, 627.0, 90.0, 591.0, 192.0, 591.0, 192.0, 564.0, 214.5, 564.0 ]
}

}
, {
“patchline” : {
“source” : [ "obj-58", 0 ],
“destination” : [ "obj-59", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-26", 0 ],
“destination” : [ "obj-24", 0 ],
“hidden” : 0,
“midpoints” : [ 492.5, 753.0, 483.0, 753.0, 483.0, 765.0, 482.5, 765.0 ]
}

}
, {
“patchline” : {
“source” : [ "obj-19", 0 ],
“destination” : [ "obj-16", 0 ],
“hidden” : 0,
“midpoints” : [ 537.5, 455.0, 473.5, 455.0 ]
}

}
, {
“patchline” : {
“source” : [ "obj-16", 0 ],
“destination” : [ "obj-18", 0 ],
“hidden” : 0,
“midpoints” : [ 473.5, 489.0, 348.0, 489.0, 348.0, 402.0, 414.0, 402.0, 414.0, 105.0, 191.5, 105.0 ]
}

}
, {
“patchline” : {
“source” : [ "obj-57", 0 ],
“destination” : [ "obj-4", 0 ],
“hidden” : 0,
“midpoints” : [ 803.5, 153.0, 747.0, 153.0, 747.0, 75.0, 437.5, 75.0 ]
}

}
, {
“patchline” : {
“source” : [ "obj-57", 0 ],
“destination” : [ "obj-36", 0 ],
“hidden” : 0,
“midpoints” : [ 803.5, 171.0, 684.0, 171.0, 684.0, 186.0, 634.5, 186.0 ]
}

}
, {
“patchline” : {
“source” : [ "obj-26", 0 ],
“destination” : [ "obj-24", 1 ],
“hidden” : 0,
“midpoints” : [ 492.5, 765.0, 508.5, 765.0 ]
}

}
]
}

#44108
May 27, 2009 at 7:18am

clicks are a perennial issue, there are many many ways around them, but they’re not handled automatically for you by the standard Max objects, at least not directly. this can be seen as a hindrance or as a logical outcome of the Max environment, which is designed to provide basic objects which you then combine to do what you want.

2 groove~ objects can perform a crossfade; a single one can ramp up and down very easily using line~ or going through a gainfader~, since these have interpolation times built-in. Or you might look into trapezoid~ for ramp-up and ramp-down. The bpfunction can give you a graphical way to experiment with these ramp times, to see what works best. Then your ramps can be saved with [preset].

Please use “Copy Compressed” from the Edit menu when you post patches, they aren’t readable by humans but they’re magnitudes smaller. Compare this with the patch you posted and you’ll see why this is the preferred method.
Smile

#158501

You must be logged in to reply to this topic.