How do I implement a pitch glide?

guitarguy93's icon

Okay, I generally like to put some thought and practice into my problems before I some here to ask about them, but I'm totally clueless. What I want to do is make a monophonic synth that glides from one note to the next if a note-on is sent before a note-off. Portamento glide, I think, is what it's called. I'm watching a tutorial about it on YouTube, but it makes no sense to me. Could someone explain? I understand the problem of the MIDI language not being able to send messages at the same time, so I see why he's delaying things. I just feel like there's a lot of gibberish here that's really not needed, such as using so many [t] objects and sending a bunch of lists.

It just seems like there should be an easier way to do this.

Peter McCulloch's icon

I'd use ddg.mono with legatomode set to legato.

Max Patch
Copy patch and select New From Clipboard in Max.

I'm not sure all of the other things that he's trying to do with his patch, (he may be preventing reattack on notes with the same pitch or something like that?) but this should do what you're asking.

guitarguy93's icon

Thanks! This works!

Roman Thilenius's icon

gerenal strategy is to do the conversion to frequency on the signal, layer using [line~] before [mtof~]
this means that in case of a poly patcher the mtof~ should be inside.

guitarguy93's icon

^ Good point.

Here's one more question; I want to use this sort of thing in an additive synth using [oscbank~]. The problem is that the outlet of [mtof~] is, obviously, a signal and not a number, so I can't use it with the [vexpr] object to multiply the frequency - or anything before the frequency, because of the [line~] object - by a vector. I've tried using [snapshot~] to change it back to a number, but I just end up with a downsampled sound that's really rather obnoxious.

Also, how can I keep the note from retriggering the [adsr~] object when a new note-on comes before a note-off? I feel like this is a lot easier than I'm letting on, but I haven't slept all night, so my brain isn't functioning well.

Thank you guys so much for your help and patience! If high school math was taught in Max/MSP objects, I might've taken 4 years of it instead of 3.

EDIT: Never mind the [adsr~] question. All I had to do was open the Help file and I found it.

Roman Thilenius's icon

depending on the frequencies you want to reach you might be able to do the multiplications required for oscbank~ on the linear layer, for example + 12 instead of *~ 2.

but of course, if signal is not rerquired anyway, my statement above regarding mtof~ was unneccesary. but .. i would recommend you to build a more general portamento patch, which will also work with sound generators which take signals for the frequency. ;)

guitarguy93's icon

Thanks much!

Peter McCulloch's icon

If you're using oscbank~, you can do it via a "striped" system. Load the coefficients into a buffer~ via peek~, then use count~ 0 16 and poke~ to read them out and multiply by your fundamental.

Max Patch
Copy patch and select New From Clipboard in Max.

How many oscillators are you using? If it's not an obscene number, you could just wrap each on inside a poly~. Like this:

Max Patch
Copy patch and select New From Clipboard in Max.

Or you could use matrix~:

Duke Katatumba's icon

{

"boxes" : [ {

"box" : {

"maxclass" : "flonum",

"patching_rect" : [ 1970.221768140792847, 1713.0, 50.0, 22.0 ],

"id" : "obj-135",

"parameter_enable" : 0,

"format" : 6,

"numinlets" : 1,

"numoutlets" : 2,

"outlettype" : [ "", "bang" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "*~ -1.",

"patching_rect" : [ 2092.0, 1644.0, 62.0, 22.0 ],

"id" : "obj-128",

"numinlets" : 2,

"numoutlets" : 1,

"outlettype" : [ "signal" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "abl.device.compressor~",

"patching_rect" : [ 1925.0, 1578.0, 160.0, 22.0 ],

"id" : "obj-129",

"numinlets" : 6,

"numoutlets" : 1,

"outlettype" : [ "signal" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "abl.device.compressor~ @threshold -51. @attack 1. @ratio 20.",

"linecount" : 4,

"presentation_linecount" : 4,

"patching_rect" : [ 2135.0, 1578.0, 111.0, 62.0 ],

"id" : "obj-130",

"numinlets" : 6,

"numoutlets" : 1,

"outlettype" : [ "signal" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "*~ -1.",

"patching_rect" : [ 1821.0, 1607.0, 62.0, 22.0 ],

"id" : "obj-127",

"numinlets" : 2,

"numoutlets" : 1,

"outlettype" : [ "signal" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "abl.device.compressor~",

"patching_rect" : [ 1637.540627479553223, 1561.0, 160.0, 22.0 ],

"id" : "obj-125",

"numinlets" : 6,

"numoutlets" : 1,

"outlettype" : [ "signal" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "abl.device.compressor~ @attack 1. @ratio 20.",

"patching_rect" : [ 1830.232492685317993, 1531.0, 255.0, 22.0 ],

"id" : "obj-124",

"numinlets" : 6,

"numoutlets" : 1,

"outlettype" : [ "signal" ]

}

}

, {

"box" : {

"maxclass" : "comment",

"text" : "Do portamento if noteoff occurs 5 ms or less before noteon",

"linecount" : 3,

"presentation_linecount" : 3,

"patching_rect" : [ 2949.82421875, 372.34765625, 156.0, 47.0 ],

"id" : "obj-102",

"fontsize" : 12.0,

"numinlets" : 1,

"numoutlets" : 0,

"fontname" : "Arial"

}

}

, {

"box" : {

"maxclass" : "flonum",

"patching_rect" : [ 2853.32421875, 472.84765625, 50.0, 22.0 ],

"id" : "obj-103",

"parameter_enable" : 0,

"format" : 6,

"fontsize" : 12.0,

"numinlets" : 1,

"numoutlets" : 2,

"fontname" : "Arial",

"outlettype" : [ "", "bang" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "notein",

"patching_rect" : [ 2777.32421875, 189.84765625, 77.0, 22.0 ],

"id" : "obj-104",

"fontsize" : 12.0,

"numinlets" : 1,

"numoutlets" : 3,

"fontname" : "Arial",

"outlettype" : [ "int", "int", "int" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "unpack i i",

"patching_rect" : [ 2777.32421875, 393.84765625, 61.0, 22.0 ],

"id" : "obj-105",

"fontsize" : 12.0,

"numinlets" : 1,

"numoutlets" : 2,

"fontname" : "Arial",

"outlettype" : [ "int", "int" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "+ 1",

"patching_rect" : [ 2910.32421875, 385.84765625, 32.5, 22.0 ],

"id" : "obj-106",

"fontsize" : 12.0,

"numinlets" : 2,

"numoutlets" : 1,

"fontname" : "Arial",

"outlettype" : [ "int" ]

}

}

, {

"box" : {

"maxclass" : "number",

"patching_rect" : [ 2963.82421875, 301.84765625, 50.0, 22.0 ],

"id" : "obj-107",

"parameter_enable" : 0,

"fontsize" : 12.0,

"numinlets" : 1,

"numoutlets" : 2,

"fontname" : "Arial",

"outlettype" : [ "", "bang" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "!= 0",

"patching_rect" : [ 2910.32421875, 294.84765625, 32.5, 22.0 ],

"id" : "obj-108",

"fontsize" : 12.0,

"numinlets" : 2,

"numoutlets" : 1,

"fontname" : "Arial",

"outlettype" : [ "int" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "pipe 5",

"patching_rect" : [ 2910.32421875, 341.84765625, 43.0, 22.0 ],

"id" : "obj-109",

"fontsize" : 12.0,

"numinlets" : 2,

"numoutlets" : 1,

"fontname" : "Arial",

"outlettype" : [ "" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "pack i i",

"patching_rect" : [ 2777.32421875, 294.84765625, 48.0, 22.0 ],

"id" : "obj-110",

"fontsize" : 12.0,

"numinlets" : 2,

"numoutlets" : 1,

"fontname" : "Arial",

"outlettype" : [ "" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "ddg.mono @legatomode 1",

"patching_rect" : [ 2777.32421875, 239.84765625, 152.0, 22.0 ],

"id" : "obj-112",

"fontsize" : 12.0,

"numinlets" : 2,

"numoutlets" : 2,

"fontname" : "Arial",

"outlettype" : [ "int", "int" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "line 60.",

"patching_rect" : [ 2743.32421875, 562.84765625, 47.0, 22.0 ],

"id" : "obj-120",

"fontsize" : 12.0,

"numinlets" : 3,

"numoutlets" : 2,

"fontname" : "Arial",

"outlettype" : [ "", "bang" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "pack i 50.",

"patching_rect" : [ 2810.32421875, 508.84765625, 62.0, 22.0 ],

"id" : "obj-121",

"fontsize" : 12.0,

"numinlets" : 2,

"numoutlets" : 1,

"fontname" : "Arial",

"outlettype" : [ "" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "gate 2 1",

"patching_rect" : [ 2743.32421875, 443.84765625, 54.0, 22.0 ],

"id" : "obj-122",

"fontsize" : 12.0,

"numinlets" : 2,

"numoutlets" : 2,

"fontname" : "Arial",

"outlettype" : [ "", "" ]

}

}

, {

"box" : {

"maxclass" : "ezdac~",

"patching_rect" : [ 1504.825527667999268, 1713.0, 45.0, 45.0 ],

"id" : "obj-70",

"numinlets" : 2,

"numoutlets" : 0

}

}

, {

"box" : {

"maxclass" : "number~",

"patching_rect" : [ 1608.247518539428711, 1237.113475799560547, 56.0, 22.0 ],

"id" : "obj-119",

"fontsize" : 12.0,

"numinlets" : 2,

"sig" : 0.0,

"numoutlets" : 2,

"fontname" : "Arial",

"mode" : 2,

"outlettype" : [ "signal", "float" ],

"fontface" : 0

}

}

, {

"box" : {

"maxclass" : "number~",

"patching_rect" : [ 1343.299049139022827, 1226.804196834564209, 56.0, 22.0 ],

"id" : "obj-118",

"fontsize" : 12.0,

"numinlets" : 2,

"sig" : 0.0,

"numoutlets" : 2,

"fontname" : "Arial",

"mode" : 2,

"outlettype" : [ "signal", "float" ],

"fontface" : 0

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "+~",

"patching_rect" : [ 1990.721768140792847, 1037.113463878631592, 29.5, 22.0 ],

"id" : "obj-117",

"numinlets" : 2,

"numoutlets" : 1,

"outlettype" : [ "signal" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "+~",

"patching_rect" : [ 1711.34030818939209, 1064.948517084121704, 29.5, 22.0 ],

"id" : "obj-116",

"numinlets" : 2,

"numoutlets" : 1,

"outlettype" : [ "signal" ]

}

}

, {

"box" : {

"maxclass" : "live.dial",

"varname" : "live.dial[4]",

"patching_rect" : [ 1433.744133234024048, 545.360857248306274, 41.0, 48.0 ],

"id" : "obj-115",

"parameter_enable" : 1,

"numinlets" : 1,

"numoutlets" : 2,

"outlettype" : [ "", "float" ],

"saved_attribute_attributes" : {

"valueof" : {

"parameter_longname" : "live.dial[25]",

"parameter_mmax" : 20.0,

"parameter_modmode" : 3,

"parameter_osc_name" : "<default>",

"parameter_shortname" : "vibrato",

"parameter_type" : 0,

"parameter_unitstyle" : 5

}

}

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "in 12",

"patching_rect" : [ 1389.430185317993164, 561.855703592300415, 35.0, 22.0 ],

"id" : "obj-114",

"numinlets" : 1,

"numoutlets" : 1,

"outlettype" : [ "" ],

"saved_object_attributes" : {

"attr_comment" : ""

}

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "*~",

"patching_rect" : [ 1507.2165846824646, 1116.279029846191406, 29.5, 22.0 ],

"id" : "obj-113",

"numinlets" : 2,

"numoutlets" : 1,

"outlettype" : [ "signal" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "cycle~ 6",

"patching_rect" : [ 1369.072246551513672, 1075.257796049118042, 53.0, 22.0 ],

"id" : "obj-28",

"numinlets" : 2,

"numoutlets" : 1,

"outlettype" : [ "signal" ]

}

}

, {

"box" : {

"maxclass" : "kslider",

"patching_rect" : [ 1405.185991287231445, 438.356132507324219, 336.0, 53.0 ],

"id" : "obj-69",

"parameter_enable" : 0,

"numinlets" : 2,

"numoutlets" : 2,

"outlettype" : [ "int", "int" ]

}

}

, {

"box" : {

"maxclass" : "live.dial",

"varname" : "live.dial[3]",

"patching_rect" : [ 1561.185991287231445, 590.697653293609619, 41.0, 48.0 ],

"id" : "obj-59",

"parameter_enable" : 1,

"numinlets" : 1,

"numoutlets" : 2,

"outlettype" : [ "", "float" ],

"saved_attribute_attributes" : {

"valueof" : {

"parameter_longname" : "live.dial[27]",

"parameter_mmax" : 100.0,

"parameter_mmin" : 1.0,

"parameter_modmode" : 3,

"parameter_osc_name" : "<default>",

"parameter_shortname" : "wave blend",

"parameter_type" : 0,

"parameter_unitstyle" : 5

}

}

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "in 11",

"patching_rect" : [ 1534.744133234024048, 630.232535600662231, 34.0, 22.0 ],

"id" : "obj-55",

"numinlets" : 1,

"numoutlets" : 1,

"outlettype" : [ "" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "M4L.bal1~",

"patching_rect" : [ 2018.604578971862793, 1172.092981338500977, 65.0, 22.0 ],

"id" : "obj-53",

"numinlets" : 3,

"numoutlets" : 1,

"outlettype" : [ "signal" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "abl.dsp.noisyshapes~",

"patching_rect" : [ 2148.837132453918457, 1099.999960660934448, 124.0, 22.0 ],

"id" : "obj-52",

"numinlets" : 3,

"numoutlets" : 1,

"outlettype" : [ "signal" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "M4L.bal1~",

"patching_rect" : [ 1830.232492685317993, 1206.976701021194458, 65.0, 22.0 ],

"id" : "obj-43",

"numinlets" : 3,

"numoutlets" : 1,

"outlettype" : [ "signal" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "abl.dsp.noisyshapes~",

"patching_rect" : [ 1874.418537616729736, 1116.279029846191406, 124.0, 22.0 ],

"id" : "obj-36",

"numinlets" : 3,

"numoutlets" : 1,

"outlettype" : [ "signal" ]

}

}

, {

"box" : {

"maxclass" : "number",

"patching_rect" : [ 2569.0, 362.0, 50.0, 22.0 ],

"id" : "obj-63",

"parameter_enable" : 0,

"numinlets" : 1,

"numoutlets" : 2,

"outlettype" : [ "", "bang" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "in 8",

"patching_rect" : [ 1802.325516939163208, 604.651141166687012, 28.0, 22.0 ],

"id" : "obj-58",

"numinlets" : 1,

"numoutlets" : 1,

"outlettype" : [ "" ],

"saved_object_attributes" : {

"attr_comment" : ""

}

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "abl.dsp.basicshapes~",

"patching_rect" : [ 1732.558077573776245, 1116.279029846191406, 138.0, 22.0 ],

"id" : "obj-50",

"numinlets" : 3,

"numoutlets" : 1,

"outlettype" : [ "signal" ]

}

}

, {

"box" : {

"maxclass" : "live.dial",

"varname" : "live.dial[2]",

"patching_rect" : [ 1748.837146759033203, 590.697653293609619, 41.0, 48.0 ],

"id" : "obj-40",

"parameter_enable" : 1,

"numinlets" : 1,

"numoutlets" : 2,

"outlettype" : [ "", "float" ],

"saved_attribute_attributes" : {

"valueof" : {

"parameter_longname" : "live.dial[26]",

"parameter_mmax" : 100.0,

"parameter_mmin" : 1.0,

"parameter_modmode" : 3,

"parameter_osc_name" : "<default>",

"parameter_shortname" : "Waveshape",

"parameter_type" : 0,

"parameter_unitstyle" : 5

}

}

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "abl.dsp.basicshapes~",

"patching_rect" : [ 2018.604578971862793, 1095.348798036575317, 138.0, 22.0 ],

"id" : "obj-39",

"numinlets" : 3,

"numoutlets" : 1,

"outlettype" : [ "signal" ]

}

}

, {

"box" : {

"maxclass" : "live.dial",

"varname" : "live.dial[1]",

"patching_rect" : [ 2583.31387996673584, 82.0, 41.0, 48.0 ],

"id" : "obj-68",

"parameter_enable" : 1,

"numinlets" : 1,

"numoutlets" : 2,

"outlettype" : [ "", "float" ],

"saved_attribute_attributes" : {

"valueof" : {

"parameter_longname" : "live.dial[51]",

"parameter_mmax" : 16.0,

"parameter_mmin" : 1.0,

"parameter_modmode" : 3,

"parameter_osc_name" : "<default>",

"parameter_shortname" : "Voices",

"parameter_type" : 0,

"parameter_unitstyle" : 0

}

}

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "in 10",

"patching_rect" : [ 2485.0, 113.0, 35.0, 22.0 ],

"id" : "obj-67",

"numinlets" : 1,

"numoutlets" : 1,

"outlettype" : [ "" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "pack",

"patching_rect" : [ 2113.31387996673584, 159.0, 34.0, 22.0 ],

"id" : "obj-61",

"numinlets" : 2,

"numoutlets" : 1,

"outlettype" : [ "" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "switch",

"patching_rect" : [ 2048.31387996673584, 214.0, 42.0, 22.0 ],

"id" : "obj-60",

"numinlets" : 3,

"numoutlets" : 1,

"outlettype" : [ "" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "ddg.mono",

"patching_rect" : [ 2107.81387996673584, 59.0, 62.0, 22.0 ],

"id" : "obj-6",

"numinlets" : 2,

"numoutlets" : 2,

"outlettype" : [ "int", "int" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "adc~ 1",

"patching_rect" : [ 1281.395303010940552, 846.511597633361816, 45.0, 22.0 ],

"id" : "obj-47",

"numinlets" : 1,

"numoutlets" : 1,

"outlettype" : [ "signal" ]

}

}

, {

"box" : {

"maxclass" : "flonum",

"patching_rect" : [ 1914.81387996673584, 543.0, 50.0, 22.0 ],

"id" : "obj-48",

"parameter_enable" : 0,

"format" : 6,

"numinlets" : 1,

"numoutlets" : 2,

"outlettype" : [ "", "bang" ]

}

}

, {

"box" : {

"maxclass" : "number~",

"patching_rect" : [ 1662.790638208389282, 1313.953441381454468, 56.0, 22.0 ],

"id" : "obj-57",

"fontsize" : 12.0,

"numinlets" : 2,

"sig" : 0.0,

"numoutlets" : 2,

"fontname" : "Arial",

"mode" : 2,

"outlettype" : [ "signal", "float" ],

"fontface" : 0

}

}

, {

"box" : {

"maxclass" : "flonum",

"patching_rect" : [ 1502.325527667999268, 1213.953444957733154, 50.0, 22.0 ],

"id" : "obj-56",

"parameter_enable" : 0,

"format" : 6,

"numinlets" : 1,

"numoutlets" : 2,

"outlettype" : [ "", "bang" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "line~",

"patching_rect" : [ 1488.372039794921875, 1258.139489889144897, 34.0, 22.0 ],

"id" : "obj-54",

"numinlets" : 2,

"numoutlets" : 2,

"outlettype" : [ "signal", "bang" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "in 9",

"patching_rect" : [ 1662.790638208389282, 604.651141166687012, 28.0, 22.0 ],

"id" : "obj-46",

"numinlets" : 1,

"numoutlets" : 1,

"outlettype" : [ "" ],

"saved_object_attributes" : {

"attr_comment" : ""

}

}

}

, {

"box" : {

"maxclass" : "live.dial",

"varname" : "live.dial",

"patching_rect" : [ 1618.604593276977539, 590.697653293609619, 41.0, 48.0 ],

"id" : "obj-45",

"parameter_enable" : 1,

"numinlets" : 1,

"numoutlets" : 2,

"outlettype" : [ "", "float" ],

"saved_attribute_attributes" : {

"valueof" : {

"parameter_longname" : "live.dial[52]",

"parameter_mmax" : 100.0,

"parameter_mmin" : 1.0,

"parameter_modmode" : 3,

"parameter_osc_name" : "<default>",

"parameter_shortname" : "Effect",

"parameter_type" : 0,

"parameter_unitstyle" : 5

}

}

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "*~",

"patching_rect" : [ 2153.488295078277588, 1488.372039794921875, 29.5, 22.0 ],

"id" : "obj-26",

"numinlets" : 2,

"numoutlets" : 1,

"outlettype" : [ "signal" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "*~",

"patching_rect" : [ 1962.790627479553223, 1488.372039794921875, 29.5, 22.0 ],

"id" : "obj-18",

"numinlets" : 2,

"numoutlets" : 1,

"outlettype" : [ "signal" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "wave~ myBuffer 256",

"patching_rect" : [ 1962.790627479553223, 1381.395299434661865, 118.0, 22.0 ],

"id" : "obj-16",

"numinlets" : 3,

"numoutlets" : 1,

"outlettype" : [ "signal" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "t b f",

"patching_rect" : [ 1625.0, 1014.0, 29.5, 22.0 ],

"id" : "obj-10",

"numinlets" : 1,

"numoutlets" : 2,

"outlettype" : [ "bang", "float" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "line",

"patching_rect" : [ 1579.0, 1014.0, 40.0, 22.0 ],

"id" : "obj-12",

"numinlets" : 3,

"numoutlets" : 2,

"outlettype" : [ "", "bang" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "+ 0.",

"patching_rect" : [ 1859.0, 995.0, 29.5, 22.0 ],

"id" : "obj-8",

"numinlets" : 2,

"numoutlets" : 1,

"outlettype" : [ "float" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "p Drunk1",

"patching_rect" : [ 1516.0, 1014.0, 57.0, 22.0 ],

"id" : "obj-90",

"numinlets" : 1,

"numoutlets" : 1,

"outlettype" : [ "" ],

"patcher" : {

"fileversion" : 1,

"appversion" : {

"major" : 9,

"minor" : 0,

"revision" : 2,

"architecture" : "x64",

"modernui" : 1

}

,

"classnamespace" : "box",

"rect" : [ 34.0, 76.0, 1642.0, 1002.0 ],

"gridsize" : [ 15.0, 15.0 ],

"boxes" : [ {

"box" : {

"maxclass" : "message",

"text" : "$1 100",

"patching_rect" : [ 55.0, 233.0, 45.0, 22.0 ],

"id" : "obj-18",

"numinlets" : 2,

"numoutlets" : 1,

"outlettype" : [ "" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "- 0.75",

"patching_rect" : [ 50.0, 201.0, 39.0, 22.0 ],

"id" : "obj-15",

"numinlets" : 2,

"numoutlets" : 1,

"outlettype" : [ "float" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "* 0.5",

"patching_rect" : [ 50.0, 173.0, 33.0, 22.0 ],

"id" : "obj-12",

"numinlets" : 2,

"numoutlets" : 1,

"outlettype" : [ "float" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "drunk 3",

"patching_rect" : [ 50.0, 140.0, 49.0, 22.0 ],

"id" : "obj-10",

"numinlets" : 3,

"numoutlets" : 1,

"outlettype" : [ "int" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "metro 100 @active @autostart",

"patching_rect" : [ 50.0, 100.0, 172.0, 22.0 ],

"id" : "obj-8",

"numinlets" : 2,

"numoutlets" : 1,

"outlettype" : [ "bang" ]

}

}

, {

"box" : {

"maxclass" : "inlet",

"patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ],

"id" : "obj-87",

"numinlets" : 0,

"numoutlets" : 1,

"outlettype" : [ "int" ],

"comment" : "",

"index" : 1

}

}

, {

"box" : {

"maxclass" : "outlet",

"patching_rect" : [ 51.5, 313.0, 30.0, 30.0 ],

"id" : "obj-88",

"numinlets" : 1,

"numoutlets" : 0,

"comment" : "",

"index" : 1

}

}

],

"lines" : [ {

"patchline" : {

"source" : [ "obj-87", 0 ],

"destination" : [ "obj-8", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-8", 0 ],

"destination" : [ "obj-10", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-18", 0 ],

"destination" : [ "obj-88", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-15", 0 ],

"destination" : [ "obj-18", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-12", 0 ],

"destination" : [ "obj-15", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-10", 0 ],

"destination" : [ "obj-12", 0 ]

}

}

],

"originid" : "pat-3564",

"oscreceiveudpport" : 0

}

,

"saved_object_attributes" : {

"globalpatchername" : ""

}

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "p Drunk",

"patching_rect" : [ 1516.0, 955.0, 54.0, 22.0 ],

"id" : "obj-89",

"numinlets" : 1,

"numoutlets" : 1,

"outlettype" : [ "" ],

"patcher" : {

"fileversion" : 1,

"appversion" : {

"major" : 9,

"minor" : 0,

"revision" : 2,

"architecture" : "x64",

"modernui" : 1

}

,

"classnamespace" : "box",

"rect" : [ 0.0, 0.0, 1000.0, 780.0 ],

"gridsize" : [ 15.0, 15.0 ],

"boxes" : [ {

"box" : {

"maxclass" : "message",

"text" : "$1 100",

"patching_rect" : [ 55.0, 233.0, 45.0, 22.0 ],

"id" : "obj-18",

"numinlets" : 2,

"numoutlets" : 1,

"outlettype" : [ "" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "- 0.75",

"patching_rect" : [ 50.0, 201.0, 39.0, 22.0 ],

"id" : "obj-15",

"numinlets" : 2,

"numoutlets" : 1,

"outlettype" : [ "float" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "* 0.5",

"patching_rect" : [ 50.0, 173.0, 33.0, 22.0 ],

"id" : "obj-12",

"numinlets" : 2,

"numoutlets" : 1,

"outlettype" : [ "float" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "drunk 3",

"patching_rect" : [ 50.0, 140.0, 49.0, 22.0 ],

"id" : "obj-10",

"numinlets" : 3,

"numoutlets" : 1,

"outlettype" : [ "int" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "metro 100 @active @autostart",

"patching_rect" : [ 50.0, 100.0, 172.0, 22.0 ],

"id" : "obj-8",

"numinlets" : 2,

"numoutlets" : 1,

"outlettype" : [ "bang" ]

}

}

, {

"box" : {

"maxclass" : "inlet",

"patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ],

"id" : "obj-87",

"numinlets" : 0,

"numoutlets" : 1,

"outlettype" : [ "int" ],

"comment" : "",

"index" : 1

}

}

, {

"box" : {

"maxclass" : "outlet",

"patching_rect" : [ 51.5, 313.0, 30.0, 30.0 ],

"id" : "obj-88",

"numinlets" : 1,

"numoutlets" : 0,

"comment" : "",

"index" : 1

}

}

],

"lines" : [ {

"patchline" : {

"source" : [ "obj-87", 0 ],

"destination" : [ "obj-8", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-8", 0 ],

"destination" : [ "obj-10", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-18", 0 ],

"destination" : [ "obj-88", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-15", 0 ],

"destination" : [ "obj-18", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-12", 0 ],

"destination" : [ "obj-15", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-10", 0 ],

"destination" : [ "obj-12", 0 ]

}

}

],

"originid" : "pat-3566",

"oscreceiveudpport" : 0

}

,

"saved_object_attributes" : {

"globalpatchername" : ""

}

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "if $i1 <= 1 then 1. else 0.",

"patching_rect" : [ 2462.31387996673584, 243.0, 140.0, 22.0 ],

"id" : "obj-51",

"numinlets" : 1,

"numoutlets" : 1,

"outlettype" : [ "" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "in 7",

"patching_rect" : [ 1476.744133234024048, 599.999978542327881, 28.0, 22.0 ],

"id" : "obj-44",

"numinlets" : 1,

"numoutlets" : 1,

"outlettype" : [ "" ],

"saved_object_attributes" : {

"attr_comment" : ""

}

}

}

, {

"box" : {

"maxclass" : "live.gain~",

"varname" : "live.gain~[2]",

"patching_rect" : [ 2227.906897068023682, 1523.0, 48.0, 136.0 ],

"id" : "obj-33",

"parameter_enable" : 1,

"numinlets" : 2,

"numoutlets" : 5,

"lastchannelcount" : 0,

"outlettype" : [ "signal", "signal", "", "float", "list" ],

"saved_attribute_attributes" : {

"valueof" : {

"parameter_initial" : [ -8 ],

"parameter_initial_enable" : 1,

"parameter_longname" : "live.gain~[31]",

"parameter_mmax" : 6.0,

"parameter_mmin" : -70.0,

"parameter_modmode" : 3,

"parameter_osc_name" : "<default>",

"parameter_shortname" : "live.gain~[31]",

"parameter_type" : 0,

"parameter_unitstyle" : 4

}

}

}

}

, {

"box" : {

"maxclass" : "live.gain~",

"varname" : "live.gain~[1]",

"patching_rect" : [ 1835.0, 1676.0, 48.0, 136.0 ],

"id" : "obj-29",

"parameter_enable" : 1,

"numinlets" : 2,

"numoutlets" : 5,

"lastchannelcount" : 0,

"outlettype" : [ "signal", "signal", "", "float", "list" ],

"saved_attribute_attributes" : {

"valueof" : {

"parameter_longname" : "live.gain~[30]",

"parameter_mmax" : 6.0,

"parameter_mmin" : -70.0,

"parameter_modmode" : 3,

"parameter_osc_name" : "<default>",

"parameter_shortname" : "live.gain~[31]",

"parameter_type" : 0,

"parameter_unitstyle" : 4

}

}

}

}

, {

"box" : {

"maxclass" : "toggle",

"patching_rect" : [ 1576.744129657745361, 890.69764256477356, 24.0, 24.0 ],

"id" : "obj-27",

"parameter_enable" : 0,

"numinlets" : 1,

"svg" : "",

"numoutlets" : 1,

"outlettype" : [ "int" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "loadbang",

"patching_rect" : [ 1544.185991287231445, 846.511597633361816, 58.0, 22.0 ],

"id" : "obj-25",

"numinlets" : 1,

"numoutlets" : 1,

"outlettype" : [ "bang" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "out~ 2",

"patching_rect" : [ 2227.906897068023682, 1762.790634632110596, 42.0, 22.0 ],

"id" : "obj-38",

"numinlets" : 1,

"numoutlets" : 0

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "*~",

"patching_rect" : [ 2318.604568243026733, 1488.372039794921875, 29.5, 22.0 ],

"id" : "obj-37",

"numinlets" : 2,

"numoutlets" : 1,

"outlettype" : [ "signal" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "metro 100 @active @autostart",

"patching_rect" : [ 1320.930185317993164, 874.418573379516602, 172.0, 22.0 ],

"id" : "obj-31",

"numinlets" : 2,

"numoutlets" : 1,

"outlettype" : [ "bang" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "in~ 6",

"patching_rect" : [ 1190.6976318359375, 599.999978542327881, 35.0, 22.0 ],

"id" : "obj-23",

"numinlets" : 1,

"numoutlets" : 1,

"outlettype" : [ "signal" ],

"saved_object_attributes" : {

"attr_comment" : ""

}

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "in 1",

"patching_rect" : [ 1974.31387996673584, 129.0, 28.0, 22.0 ],

"id" : "obj-30",

"numinlets" : 1,

"numoutlets" : 1,

"outlettype" : [ "" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "slide~ @slideup 1.1 @slidedown 30.",

"patching_rect" : [ 1480.185991287231445, 1172.092981338500977, 203.0, 22.0 ],

"id" : "obj-17",

"numinlets" : 3,

"numoutlets" : 1,

"outlettype" : [ "signal" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "pack",

"patching_rect" : [ 2043.31387996673584, 113.0, 34.0, 22.0 ],

"id" : "obj-111",

"numinlets" : 2,

"numoutlets" : 1,

"outlettype" : [ "" ]

}

}

, {

"box" : {

"maxclass" : "scope~",

"patching_rect" : [ 2055.81387996673584, 944.186012744903564, 63.5, 62.0 ],

"id" : "obj-65",

"numinlets" : 2,

"numoutlets" : 0

}

}

, {

"box" : {

"maxclass" : "live.gain~",

"varname" : "live.gain~[4]",

"patching_rect" : [ 1190.6976318359375, 895.34880518913269, 48.0, 136.0 ],

"id" : "obj-49",

"parameter_enable" : 1,

"numinlets" : 2,

"numoutlets" : 5,

"lastchannelcount" : 0,

"outlettype" : [ "signal", "signal", "", "float", "list" ],

"saved_attribute_attributes" : {

"valueof" : {

"parameter_initial" : [ -6 ],

"parameter_initial_enable" : 1,

"parameter_longname" : "live.gain~[32]",

"parameter_mmax" : 6.0,

"parameter_mmin" : -70.0,

"parameter_modmode" : 3,

"parameter_osc_name" : "<default>",

"parameter_shortname" : "live.gain~[5]",

"parameter_type" : 0,

"parameter_unitstyle" : 4

}

}

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "t b f",

"patching_rect" : [ 1625.0, 955.0, 29.5, 22.0 ],

"id" : "obj-24",

"numinlets" : 1,

"numoutlets" : 2,

"outlettype" : [ "bang", "float" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "line",

"patching_rect" : [ 1579.0, 955.0, 40.0, 22.0 ],

"id" : "obj-19",

"numinlets" : 3,

"numoutlets" : 2,

"outlettype" : [ "", "bang" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "+ 0.",

"patching_rect" : [ 1681.0, 962.0, 29.5, 22.0 ],

"id" : "obj-5",

"numinlets" : 2,

"numoutlets" : 1,

"outlettype" : [ "float" ]

}

}

, {

"box" : {

"maxclass" : "spectroscope~",

"patching_rect" : [ 1481.395295858383179, 1406.976693868637085, 142.0, 63.0 ],

"id" : "obj-22",

"numinlets" : 2,

"numoutlets" : 1,

"outlettype" : [ "" ]

}

}

, {

"box" : {

"maxclass" : "scope~",

"patching_rect" : [ 1520.930178165435791, 1495.348783731460571, 63.0, 64.0 ],

"id" : "obj-21",

"numinlets" : 2,

"numoutlets" : 0

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "wave~ myBuffer 256",

"patching_rect" : [ 1732.558077573776245, 1253.488327264785767, 118.0, 22.0 ],

"id" : "obj-14",

"numinlets" : 3,

"numoutlets" : 1,

"outlettype" : [ "signal" ]

}

}

, {

"box" : {

"maxclass" : "number~",

"patching_rect" : [ 1190.6976318359375, 1130.232517719268799, 56.0, 22.0 ],

"id" : "obj-13",

"fontsize" : 12.0,

"numinlets" : 2,

"sig" : 0.0,

"numoutlets" : 2,

"fontname" : "Arial",

"mode" : 2,

"outlettype" : [ "signal", "float" ],

"fontface" : 0

}

}

, {

"box" : {

"maxclass" : "bpatcher",

"viewvisibility" : 1,

"offset" : [ 0.0, 0.0 ],

"lockeddragscroll" : 0,

"clickthrough" : 0,

"enablehscroll" : 0,

"enablevscroll" : 0,

"lockedsize" : 0,

"bgmode" : 0,

"border" : 0,

"patching_rect" : [ 1234.883676767349243, 734.883694648742676, 230.0, 95.0 ],

"name" : "demosound.maxpat",

"id" : "obj-11",

"numinlets" : 0,

"args" : [ "@module", 2 ],

"numoutlets" : 1,

"outlettype" : [ "signal" ]

}

}

, {

"box" : {

"maxclass" : "message",

"text" : "reset",

"patching_rect" : [ 1351.162742376327515, 1004.651126861572266, 40.0, 23.0 ],

"id" : "obj-20",

"fontsize" : 13.0,

"numinlets" : 2,

"numoutlets" : 1,

"fontname" : "Arial",

"outlettype" : [ "" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "record~ myBuffer",

"patching_rect" : [ 1190.6976318359375, 1081.395310163497925, 101.0, 22.0 ],

"id" : "obj-9",

"numinlets" : 3,

"numoutlets" : 1,

"outlettype" : [ "signal" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "buffer~ myBuffer 2048",

"patching_rect" : [ 1281.395303010940552, 669.767417907714844, 127.0, 22.0 ],

"id" : "obj-7",

"numinlets" : 1,

"numoutlets" : 2,

"outlettype" : [ "float", "bang" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "notein",

"patching_rect" : [ 2009.31387996673584, -63.0, 41.0, 22.0 ],

"id" : "obj-4",

"numinlets" : 1,

"numoutlets" : 3,

"outlettype" : [ "int", "int", "int" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "f",

"patching_rect" : [ 2006.5, 790.0, 29.5, 22.0 ],

"id" : "obj-3",

"numinlets" : 2,

"numoutlets" : 1,

"outlettype" : [ "float" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "edge~",

"patching_rect" : [ 2107.81387996673584, 543.0, 42.0, 22.0 ],

"id" : "obj-2",

"numinlets" : 1,

"numoutlets" : 2,

"outlettype" : [ "bang", "bang" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "thispoly~",

"patching_rect" : [ 2458.139446973800659, 1234.883676767349243, 56.0, 22.0 ],

"id" : "obj-1",

"numinlets" : 1,

"numoutlets" : 3,

"outlettype" : [ "int", "int", "int" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "out~ 1",

"patching_rect" : [ 1835.0, 1870.0, 42.0, 22.0 ],

"id" : "obj-83",

"numinlets" : 1,

"numoutlets" : 0

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "/ 127.",

"patching_rect" : [ 2167.81387996673584, 450.0, 39.0, 22.0 ],

"id" : "obj-78",

"numinlets" : 2,

"numoutlets" : 1,

"outlettype" : [ "float" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "swap",

"patching_rect" : [ 2005.31387996673584, 247.0, 37.0, 22.0 ],

"id" : "obj-77",

"numinlets" : 2,

"numoutlets" : 2,

"outlettype" : [ "int", "int" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "in 5",

"patching_rect" : [ 2505.0, 443.0, 28.0, 22.0 ],

"id" : "obj-75",

"numinlets" : 1,

"numoutlets" : 1,

"outlettype" : [ "" ],

"saved_object_attributes" : {

"attr_comment" : ""

}

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "in 4",

"patching_rect" : [ 2449.0, 443.0, 28.0, 22.0 ],

"id" : "obj-74",

"numinlets" : 1,

"numoutlets" : 1,

"outlettype" : [ "" ],

"saved_object_attributes" : {

"attr_comment" : ""

}

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "in 3",

"patching_rect" : [ 2393.0, 443.0, 28.0, 22.0 ],

"id" : "obj-73",

"numinlets" : 1,

"numoutlets" : 1,

"outlettype" : [ "" ],

"saved_object_attributes" : {

"attr_comment" : ""

}

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "in 2",

"patching_rect" : [ 2340.0, 443.0, 28.0, 22.0 ],

"id" : "obj-72",

"numinlets" : 1,

"numoutlets" : 1,

"outlettype" : [ "" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "mtof",

"patching_rect" : [ 2017.0, 488.0, 32.0, 22.0 ],

"id" : "obj-64",

"numinlets" : 1,

"numoutlets" : 1,

"outlettype" : [ "" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "*~",

"patching_rect" : [ 1732.558077573776245, 1495.348783731460571, 29.5, 22.0 ],

"id" : "obj-62",

"numinlets" : 2,

"numoutlets" : 1,

"outlettype" : [ "signal" ]

}

}

, {

"box" : {

"maxclass" : "newobj",

"text" : "adsr~ @attack 1. @decay 1000 @sustain 1",

"patching_rect" : [ 2400.81387996673584, 543.0, 241.0, 22.0 ],

"id" : "obj-32",

"numinlets" : 5,

"numoutlets" : 4,

"outlettype" : [ "signal", "signal", "", "" ]

}

}

, {

"box" : {

"maxclass" : "attrui",

"patching_rect" : [ 1476.744133234024048, 769.767414331436157, 150.0, 22.0 ],

"id" : "obj-41",

"parameter_enable" : 0,

"numinlets" : 1,

"numoutlets" : 1,

"attr" : "interval",

"outlettype" : [ "" ]

}

}

, {

"box" : {

"maxclass" : "attrui",

"patching_rect" : [ 2574.0, 194.0, 150.0, 22.0 ],

"id" : "obj-123",

"parameter_enable" : 0,

"numinlets" : 1,

"numoutlets" : 1,

"attr" : "legatomode",

"outlettype" : [ "" ]

}

}

, {

"box" : {

"maxclass" : "attrui",

"patching_rect" : [ 1943.0, 1780.0, 150.0, 22.0 ],

"id" : "obj-131",

"parameter_enable" : 0,

"numinlets" : 1,

"numoutlets" : 1,

"attr" : "threshold",

"outlettype" : [ "" ]

}

}

, {

"box" : {

"maxclass" : "attrui",

"patching_rect" : [ 2043.0, 1736.0, 150.0, 22.0 ],

"id" : "obj-132",

"parameter_enable" : 0,

"numinlets" : 1,

"numoutlets" : 1,

"attr" : "threshold",

"outlettype" : [ "" ]

}

}

],

"lines" : [ {

"patchline" : {

"source" : [ "obj-135", 0 ],

"destination" : [ "obj-132", 0 ],

"order" : 0

}

}

, {

"patchline" : {

"source" : [ "obj-135", 0 ],

"destination" : [ "obj-131", 0 ],

"order" : 1

}

}

, {

"patchline" : {

"source" : [ "obj-132", 0 ],

"destination" : [ "obj-130", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-131", 0 ],

"destination" : [ "obj-124", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-124", 0 ],

"destination" : [ "obj-127", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-62", 0 ],

"destination" : [ "obj-124", 0 ],

"order" : 0

}

}

, {

"patchline" : {

"source" : [ "obj-129", 0 ],

"destination" : [ "obj-29", 1 ]

}

}

, {

"patchline" : {

"source" : [ "obj-128", 0 ],

"destination" : [ "obj-29", 1 ]

}

}

, {

"patchline" : {

"source" : [ "obj-18", 0 ],

"destination" : [ "obj-130", 0 ],

"order" : 0

}

}

, {

"patchline" : {

"source" : [ "obj-18", 0 ],

"destination" : [ "obj-129", 0 ],

"order" : 1

}

}

, {

"patchline" : {

"source" : [ "obj-130", 0 ],

"destination" : [ "obj-128", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-127", 0 ],

"destination" : [ "obj-29", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-125", 0 ],

"destination" : [ "obj-29", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-62", 0 ],

"destination" : [ "obj-125", 0 ],

"order" : 1

}

}

, {

"patchline" : {

"source" : [ "obj-17", 0 ],

"destination" : [ "obj-54", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-51", 0 ],

"destination" : [ "obj-123", 0 ],

"order" : 0

}

}

, {

"patchline" : {

"source" : [ "obj-123", 0 ],

"destination" : [ "obj-112", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-51", 0 ],

"destination" : [ "obj-60", 0 ],

"order" : 2

}

}

, {

"patchline" : {

"source" : [ "obj-51", 0 ],

"destination" : [ "obj-63", 0 ],

"order" : 1

}

}

, {

"patchline" : {

"source" : [ "obj-67", 0 ],

"destination" : [ "obj-51", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-68", 0 ],

"destination" : [ "obj-51", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-105", 1 ],

"destination" : [ "obj-78", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-120", 0 ],

"destination" : [ "obj-64", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-121", 0 ],

"destination" : [ "obj-120", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-122", 0 ],

"destination" : [ "obj-120", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-64", 0 ],

"destination" : [ "obj-3", 1 ],

"order" : 0

}

}

, {

"patchline" : {

"source" : [ "obj-64", 0 ],

"destination" : [ "obj-48", 0 ],

"order" : 1

}

}

, {

"patchline" : {

"source" : [ "obj-108", 0 ],

"destination" : [ "obj-109", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-103", 0 ],

"destination" : [ "obj-121", 1 ]

}

}

, {

"patchline" : {

"source" : [ "obj-104", 1 ],

"destination" : [ "obj-112", 1 ]

}

}

, {

"patchline" : {

"source" : [ "obj-104", 0 ],

"destination" : [ "obj-112", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-105", 0 ],

"destination" : [ "obj-122", 1 ]

}

}

, {

"patchline" : {

"source" : [ "obj-110", 0 ],

"destination" : [ "obj-105", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-106", 0 ],

"destination" : [ "obj-122", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-109", 0 ],

"destination" : [ "obj-106", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-107", 0 ],

"destination" : [ "obj-109", 1 ]

}

}

, {

"patchline" : {

"source" : [ "obj-112", 1 ],

"destination" : [ "obj-108", 0 ],

"order" : 0

}

}

, {

"patchline" : {

"source" : [ "obj-112", 1 ],

"destination" : [ "obj-110", 1 ],

"order" : 1

}

}

, {

"patchline" : {

"source" : [ "obj-112", 0 ],

"destination" : [ "obj-110", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-122", 1 ],

"destination" : [ "obj-121", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-33", 1 ],

"destination" : [ "obj-70", 1 ],

"order" : 1

}

}

, {

"patchline" : {

"source" : [ "obj-33", 0 ],

"destination" : [ "obj-70", 0 ],

"order" : 1

}

}

, {

"patchline" : {

"source" : [ "obj-29", 1 ],

"destination" : [ "obj-70", 1 ],

"order" : 1

}

}

, {

"patchline" : {

"source" : [ "obj-29", 0 ],

"destination" : [ "obj-70", 0 ],

"order" : 1

}

}

, {

"patchline" : {

"source" : [ "obj-90", 0 ],

"destination" : [ "obj-12", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-9", 0 ],

"destination" : [ "obj-13", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-89", 0 ],

"destination" : [ "obj-19", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-8", 0 ],

"destination" : [ "obj-117", 1 ]

}

}

, {

"patchline" : {

"source" : [ "obj-78", 0 ],

"destination" : [ "obj-32", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-75", 0 ],

"destination" : [ "obj-32", 4 ]

}

}

, {

"patchline" : {

"source" : [ "obj-74", 0 ],

"destination" : [ "obj-32", 3 ]

}

}

, {

"patchline" : {

"source" : [ "obj-73", 0 ],

"destination" : [ "obj-32", 2 ]

}

}

, {

"patchline" : {

"source" : [ "obj-72", 0 ],

"destination" : [ "obj-32", 1 ]

}

}

, {

"patchline" : {

"source" : [ "obj-69", 0 ],

"destination" : [ "obj-6", 0 ],

"order" : 0

}

}

, {

"patchline" : {

"source" : [ "obj-69", 1 ],

"destination" : [ "obj-6", 1 ],

"order" : 0

}

}

, {

"patchline" : {

"source" : [ "obj-69", 0 ],

"destination" : [ "obj-111", 0 ],

"order" : 1

}

}

, {

"patchline" : {

"source" : [ "obj-69", 1 ],

"destination" : [ "obj-111", 1 ],

"order" : 1

}

}

, {

"patchline" : {

"source" : [ "obj-61", 0 ],

"destination" : [ "obj-60", 2 ]

}

}

, {

"patchline" : {

"source" : [ "obj-60", 0 ],

"destination" : [ "obj-77", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-6", 0 ],

"destination" : [ "obj-61", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-6", 1 ],

"destination" : [ "obj-61", 1 ]

}

}

, {

"patchline" : {

"source" : [ "obj-59", 0 ],

"destination" : [ "obj-53", 2 ],

"order" : 0

}

}

, {

"patchline" : {

"source" : [ "obj-59", 0 ],

"destination" : [ "obj-43", 2 ],

"order" : 1

}

}

, {

"patchline" : {

"source" : [ "obj-58", 0 ],

"destination" : [ "obj-52", 1 ],

"order" : 0

}

}

, {

"patchline" : {

"source" : [ "obj-58", 0 ],

"destination" : [ "obj-50", 1 ],

"order" : 5

}

}

, {

"patchline" : {

"source" : [ "obj-58", 0 ],

"destination" : [ "obj-50", 2 ],

"order" : 4

}

}

, {

"patchline" : {

"source" : [ "obj-58", 0 ],

"destination" : [ "obj-39", 1 ],

"order" : 2

}

}

, {

"patchline" : {

"source" : [ "obj-58", 0 ],

"destination" : [ "obj-39", 2 ],

"order" : 1

}

}

, {

"patchline" : {

"source" : [ "obj-58", 0 ],

"destination" : [ "obj-36", 1 ],

"order" : 3

}

}

, {

"patchline" : {

"source" : [ "obj-56", 0 ],

"destination" : [ "obj-54", 1 ]

}

}

, {

"patchline" : {

"source" : [ "obj-55", 0 ],

"destination" : [ "obj-53", 2 ],

"order" : 0

}

}

, {

"patchline" : {

"source" : [ "obj-55", 0 ],

"destination" : [ "obj-43", 2 ],

"order" : 1

}

}

, {

"patchline" : {

"source" : [ "obj-54", 0 ],

"destination" : [ "obj-57", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-53", 0 ],

"destination" : [ "obj-37", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-52", 0 ],

"destination" : [ "obj-53", 1 ]

}

}

, {

"patchline" : {

"source" : [ "obj-50", 0 ],

"destination" : [ "obj-43", 0 ],

"order" : 0

}

}

, {

"patchline" : {

"source" : [ "obj-50", 0 ],

"destination" : [ "obj-14", 0 ],

"order" : 1

}

}

, {

"patchline" : {

"source" : [ "obj-5", 0 ],

"destination" : [ "obj-116", 1 ]

}

}

, {

"patchline" : {

"source" : [ "obj-49", 0 ],

"destination" : [ "obj-9", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-47", 0 ],

"destination" : [ "obj-49", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-46", 0 ],

"destination" : [ "obj-52", 2 ],

"order" : 0

}

}

, {

"patchline" : {

"source" : [ "obj-46", 0 ],

"destination" : [ "obj-36", 2 ],

"order" : 1

}

}

, {

"patchline" : {

"source" : [ "obj-45", 1 ],

"destination" : [ "obj-52", 2 ],

"order" : 0

}

}

, {

"patchline" : {

"source" : [ "obj-45", 1 ],

"destination" : [ "obj-50", 2 ],

"order" : 3

}

}

, {

"patchline" : {

"source" : [ "obj-45", 1 ],

"destination" : [ "obj-39", 2 ],

"order" : 1

}

}

, {

"patchline" : {

"source" : [ "obj-45", 1 ],

"destination" : [ "obj-36", 2 ],

"order" : 2

}

}

, {

"patchline" : {

"source" : [ "obj-44", 0 ],

"destination" : [ "obj-41", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-43", 0 ],

"destination" : [ "obj-26", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-41", 0 ],

"destination" : [ "obj-31", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-40", 1 ],

"destination" : [ "obj-52", 1 ],

"order" : 0

}

}

, {

"patchline" : {

"source" : [ "obj-40", 1 ],

"destination" : [ "obj-50", 1 ],

"order" : 3

}

}

, {

"patchline" : {

"source" : [ "obj-40", 1 ],

"destination" : [ "obj-39", 1 ],

"order" : 1

}

}

, {

"patchline" : {

"source" : [ "obj-40", 1 ],

"destination" : [ "obj-36", 1 ],

"order" : 2

}

}

, {

"patchline" : {

"source" : [ "obj-4", 0 ],

"destination" : [ "obj-6", 0 ],

"order" : 0

}

}

, {

"patchline" : {

"source" : [ "obj-4", 1 ],

"destination" : [ "obj-6", 1 ],

"order" : 0

}

}

, {

"patchline" : {

"source" : [ "obj-4", 0 ],

"destination" : [ "obj-111", 0 ],

"order" : 1

}

}

, {

"patchline" : {

"source" : [ "obj-4", 1 ],

"destination" : [ "obj-111", 1 ],

"order" : 1

}

}

, {

"patchline" : {

"source" : [ "obj-39", 0 ],

"destination" : [ "obj-53", 0 ],

"order" : 0

}

}

, {

"patchline" : {

"source" : [ "obj-39", 0 ],

"destination" : [ "obj-16", 0 ],

"order" : 1

}

}

, {

"patchline" : {

"source" : [ "obj-37", 0 ],

"destination" : [ "obj-33", 1 ]

}

}

, {

"patchline" : {

"source" : [ "obj-36", 0 ],

"destination" : [ "obj-43", 1 ]

}

}

, {

"patchline" : {

"source" : [ "obj-33", 0 ],

"destination" : [ "obj-38", 0 ],

"order" : 0

}

}

, {

"patchline" : {

"source" : [ "obj-33", 1 ],

"destination" : [ "obj-38", 0 ],

"order" : 0

}

}

, {

"patchline" : {

"source" : [ "obj-32", 0 ],

"destination" : [ "obj-65", 0 ],

"order" : 3

}

}

, {

"patchline" : {

"source" : [ "obj-32", 0 ],

"destination" : [ "obj-62", 1 ],

"order" : 5

}

}

, {

"patchline" : {

"source" : [ "obj-32", 0 ],

"destination" : [ "obj-37", 1 ],

"order" : 1

}

}

, {

"patchline" : {

"source" : [ "obj-32", 0 ],

"destination" : [ "obj-26", 1 ],

"order" : 2

}

}

, {

"patchline" : {

"source" : [ "obj-32", 1 ],

"destination" : [ "obj-2", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-32", 0 ],

"destination" : [ "obj-18", 1 ],

"order" : 4

}

}

, {

"patchline" : {

"source" : [ "obj-32", 0 ],

"destination" : [ "obj-1", 0 ],

"order" : 0

}

}

, {

"patchline" : {

"source" : [ "obj-32", 2 ],

"destination" : [ "obj-1", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-31", 0 ],

"destination" : [ "obj-20", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-30", 0 ],

"destination" : [ "obj-77", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-3", 0 ],

"destination" : [ "obj-8", 0 ],

"order" : 0

}

}

, {

"patchline" : {

"source" : [ "obj-3", 0 ],

"destination" : [ "obj-5", 0 ],

"order" : 1

}

}

, {

"patchline" : {

"source" : [ "obj-29", 0 ],

"destination" : [ "obj-83", 0 ],

"order" : 0

}

}

, {

"patchline" : {

"source" : [ "obj-29", 1 ],

"destination" : [ "obj-83", 0 ],

"order" : 0

}

}

, {

"patchline" : {

"source" : [ "obj-28", 0 ],

"destination" : [ "obj-113", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-27", 0 ],

"destination" : [ "obj-90", 0 ],

"order" : 0

}

}

, {

"patchline" : {

"source" : [ "obj-27", 0 ],

"destination" : [ "obj-9", 0 ],

"order" : 3

}

}

, {

"patchline" : {

"source" : [ "obj-27", 0 ],

"destination" : [ "obj-89", 0 ],

"order" : 1

}

}

, {

"patchline" : {

"source" : [ "obj-27", 0 ],

"destination" : [ "obj-31", 0 ],

"order" : 2

}

}

, {

"patchline" : {

"source" : [ "obj-26", 0 ],

"destination" : [ "obj-33", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-25", 0 ],

"destination" : [ "obj-27", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-24", 0 ],

"destination" : [ "obj-5", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-24", 1 ],

"destination" : [ "obj-5", 1 ]

}

}

, {

"patchline" : {

"source" : [ "obj-23", 0 ],

"destination" : [ "obj-49", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-20", 0 ],

"destination" : [ "obj-9", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-2", 0 ],

"destination" : [ "obj-3", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-19", 0 ],

"destination" : [ "obj-24", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-16", 0 ],

"destination" : [ "obj-18", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-14", 0 ],

"destination" : [ "obj-62", 0 ],

"order" : 0

}

}

, {

"patchline" : {

"source" : [ "obj-14", 0 ],

"destination" : [ "obj-22", 0 ],

"order" : 2

}

}

, {

"patchline" : {

"source" : [ "obj-14", 0 ],

"destination" : [ "obj-21", 0 ],

"order" : 1

}

}

, {

"patchline" : {

"source" : [ "obj-12", 0 ],

"destination" : [ "obj-10", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-117", 0 ],

"destination" : [ "obj-52", 0 ],

"order" : 0

}

}

, {

"patchline" : {

"source" : [ "obj-117", 0 ],

"destination" : [ "obj-39", 0 ],

"order" : 1

}

}

, {

"patchline" : {

"source" : [ "obj-116", 0 ],

"destination" : [ "obj-50", 0 ],

"order" : 1

}

}

, {

"patchline" : {

"source" : [ "obj-116", 0 ],

"destination" : [ "obj-36", 0 ],

"order" : 0

}

}

, {

"patchline" : {

"source" : [ "obj-116", 0 ],

"destination" : [ "obj-119", 0 ],

"order" : 2

}

}

, {

"patchline" : {

"source" : [ "obj-115", 0 ],

"destination" : [ "obj-113", 1 ]

}

}

, {

"patchline" : {

"source" : [ "obj-114", 0 ],

"destination" : [ "obj-113", 1 ]

}

}

, {

"patchline" : {

"source" : [ "obj-113", 0 ],

"destination" : [ "obj-118", 0 ],

"order" : 2

}

}

, {

"patchline" : {

"source" : [ "obj-113", 0 ],

"destination" : [ "obj-117", 0 ],

"order" : 0

}

}

, {

"patchline" : {

"source" : [ "obj-113", 0 ],

"destination" : [ "obj-116", 0 ],

"order" : 1

}

}

, {

"patchline" : {

"source" : [ "obj-111", 0 ],

"destination" : [ "obj-60", 1 ]

}

}

, {

"patchline" : {

"source" : [ "obj-11", 0 ],

"destination" : [ "obj-49", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-10", 0 ],

"destination" : [ "obj-8", 0 ]

}

}

, {

"patchline" : {

"source" : [ "obj-10", 1 ],

"destination" : [ "obj-8", 1 ]

}

}

],

"appversion" : {

"major" : 9,

"minor" : 0,

"revision" : 2,

"architecture" : "x64",

"modernui" : 1

}

,

"classnamespace" : "box"

}