{ "patcher" : { "fileversion" : 1, "rect" : [ 222.0, 166.0, 544.0, 440.0 ], "bglocked" : 0, "defrect" : [ 222.0, 166.0, 544.0, 440.0 ], "openrect" : [ 0.0, 0.0, 0.0, 0.0 ], "openinpresentation" : 0, "default_fontsize" : 11.595187, "default_fontface" : 0, "default_fontname" : "Arial", "gridonopen" : 0, "gridsize" : [ 15.0, 15.0 ], "gridsnaponopen" : 0, "toolbarvisible" : 1, "boxanimatetime" : 200, "imprint" : 0, "boxes" : [ { "box" : { "maxclass" : "newobj", "text" : "r #3-filter_Q", "numinlets" : 0, "patching_rect" : [ 246.0, 7.0, 99.0, 20.0 ], "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial", "id" : "obj-10", "fontsize" : 11.595187 } } , { "box" : { "maxclass" : "newobj", "text" : "loadbang", "numinlets" : 1, "patching_rect" : [ 333.0, 68.0, 58.0, 20.0 ], "numoutlets" : 1, "outlettype" : [ "bang" ], "fontname" : "Arial", "id" : "obj-28", "fontsize" : 11.595187 } } , { "box" : { "maxclass" : "message", "text" : "set #1", "numinlets" : 2, "patching_rect" : [ 333.0, 96.0, 42.0, 18.0 ], "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial", "id" : "obj-25", "fontsize" : 11.595187 } } , { "box" : { "maxclass" : "outlet", "numinlets" : 1, "patching_rect" : [ 333.0, 124.0, 25.0, 25.0 ], "numoutlets" : 0, "id" : "obj-18", "comment" : "" } } , { "box" : { "maxclass" : "comment", "text" : "center frequency", "numinlets" : 1, "patching_rect" : [ 393.0, 10.0, 150.0, 20.0 ], "numoutlets" : 0, "fontname" : "Arial", "id" : "obj-17", "fontsize" : 11.595187 } } , { "box" : { "maxclass" : "inlet", "hint" : "Center Frequency", "numinlets" : 0, "patching_rect" : [ 358.0, 7.0, 25.0, 25.0 ], "numoutlets" : 1, "outlettype" : [ "" ], "id" : "obj-4", "comment" : "" } } , { "box" : { "maxclass" : "comment", "text" : "Note that #3 vocoder instance number is actually the #0 passed down from the top-level patcher. This behaviour is new to Max5.", "linecount" : 4, "numinlets" : 1, "patching_rect" : [ 293.0, 254.0, 197.0, 60.0 ], "numoutlets" : 0, "fontname" : "Arial", "id" : "obj-29", "fontface" : 3, "fontsize" : 11.595187 } } , { "box" : { "maxclass" : "comment", "text" : "energy at freq.\n(for display)", "linecount" : 2, "numinlets" : 1, "patching_rect" : [ 162.0, 340.0, 87.0, 33.0 ], "numoutlets" : 0, "fontname" : "Arial", "id" : "obj-27", "fontsize" : 11.595187 } } , { "box" : { "maxclass" : "comment", "text" : "arguments:\n#1 center frequency\n#2 filter number\n#3 vocoder instance number ", "linecount" : 4, "numinlets" : 1, "patching_rect" : [ 291.0, 185.0, 184.0, 60.0 ], "numoutlets" : 0, "fontname" : "Arial", "id" : "obj-26", "fontface" : 3, "fontsize" : 11.595187 } } , { "box" : { "maxclass" : "message", "text" : "#2 $1", "numinlets" : 2, "patching_rect" : [ 167.0, 299.0, 101.0, 18.0 ], "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial", "id" : "obj-24", "fontsize" : 11.595187 } } , { "box" : { "maxclass" : "message", "text" : "$1 100", "numinlets" : 2, "patching_rect" : [ 167.0, 252.0, 46.0, 18.0 ], "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial", "id" : "obj-23", "fontsize" : 11.595187 } } , { "box" : { "maxclass" : "comment", "text" : "amplitude follower", "linecount" : 2, "numinlets" : 1, "patching_rect" : [ 32.0, 153.0, 67.0, 33.0 ], "numoutlets" : 0, "fontname" : "Arial", "id" : "obj-20", "fontface" : 3, "fontsize" : 11.595187 } } , { "box" : { "maxclass" : "newobj", "text" : "s #3-energy", "numinlets" : 1, "patching_rect" : [ 167.0, 323.0, 96.0, 20.0 ], "numoutlets" : 0, "fontname" : "Arial", "id" : "obj-16", "fontsize" : 11.595187 } } , { "box" : { "maxclass" : "newobj", "text" : "line", "numinlets" : 3, "patching_rect" : [ 167.0, 275.0, 38.705883, 20.0 ], "numoutlets" : 2, "outlettype" : [ "", "" ], "fontname" : "Arial", "id" : "obj-15", "fontsize" : 11.595187 } } , { "box" : { "maxclass" : "newobj", "text" : "* 50.", "numinlets" : 2, "patching_rect" : [ 167.0, 229.0, 34.0, 20.0 ], "numoutlets" : 1, "outlettype" : [ "float" ], "fontname" : "Arial", "id" : "obj-14", "fontsize" : 11.595187 } } , { "box" : { "maxclass" : "newobj", "text" : "* 100.", "numinlets" : 2, "patching_rect" : [ 118.0, 205.0, 41.0, 20.0 ], "numoutlets" : 1, "outlettype" : [ "float" ], "fontname" : "Arial", "id" : "obj-13", "fontsize" : 11.595187 } } , { "box" : { "maxclass" : "newobj", "text" : "avg~", "numinlets" : 1, "patching_rect" : [ 118.0, 161.0, 36.0, 20.0 ], "numoutlets" : 1, "outlettype" : [ "float" ], "fontname" : "Arial", "id" : "obj-12", "fontsize" : 11.595187 } } , { "box" : { "maxclass" : "newobj", "text" : "r #3-lock", "numinlets" : 0, "patching_rect" : [ 132.0, 133.0, 78.0, 20.0 ], "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial", "id" : "obj-11", "fontsize" : 11.595187 } } , { "box" : { "maxclass" : "comment", "text" : "bandpass filters\nfor analysis", "linecount" : 2, "numinlets" : 1, "patching_rect" : [ 0.0, 58.0, 101.0, 33.0 ], "numoutlets" : 0, "fontname" : "Arial", "id" : "obj-5", "fontface" : 3, "fontsize" : 11.595187 } } , { "box" : { "maxclass" : "newobj", "text" : "reson~ 1. #1 40", "numinlets" : 4, "patching_rect" : [ 118.0, 79.0, 126.0, 20.0 ], "numoutlets" : 1, "outlettype" : [ "signal" ], "fontname" : "Arial", "id" : "obj-3", "fontsize" : 11.595187 } } , { "box" : { "maxclass" : "newobj", "text" : "reson~ 1. #1 40", "numinlets" : 4, "patching_rect" : [ 118.0, 47.0, 110.0, 20.0 ], "numoutlets" : 1, "outlettype" : [ "signal" ], "fontname" : "Arial", "id" : "obj-2", "fontsize" : 11.595187 } } , { "box" : { "maxclass" : "newobj", "text" : "receive~ #3-filterInput", "numinlets" : 1, "patching_rect" : [ 118.0, 6.0, 122.0, 20.0 ], "numoutlets" : 1, "outlettype" : [ "signal" ], "fontname" : "Arial", "id" : "obj-1", "fontsize" : 11.595187 } } , { "box" : { "maxclass" : "comment", "text" : "{", "numinlets" : 1, "patching_rect" : [ 95.0, 46.0, 37.0, 54.0 ], "numoutlets" : 0, "fontname" : "Geneva", "id" : "obj-6", "fontsize" : 35.995605 } } , { "box" : { "maxclass" : "comment", "text" : "{", "numinlets" : 1, "patching_rect" : [ 97.0, 143.0, 37.0, 54.0 ], "numoutlets" : 0, "fontname" : "Geneva", "id" : "obj-21", "fontsize" : 35.995605 } } ], "lines" : [ { "patchline" : { "source" : [ "obj-10", 0 ], "destination" : [ "obj-3", 3 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-10", 0 ], "destination" : [ "obj-2", 3 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-24", 0 ], "destination" : [ "obj-16", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-11", 0 ], "destination" : [ "obj-12", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-1", 0 ], "destination" : [ "obj-2", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-15", 0 ], "destination" : [ "obj-24", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-23", 0 ], "destination" : [ "obj-15", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-14", 0 ], "destination" : [ "obj-23", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-13", 0 ], "destination" : [ "obj-14", 0 ], "hidden" : 0, "midpoints" : [ 127.5, 227.0, 176.5, 227.0 ] } } , { "patchline" : { "source" : [ "obj-12", 0 ], "destination" : [ "obj-13", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-3", 0 ], "destination" : [ "obj-12", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-2", 0 ], "destination" : [ "obj-3", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-4", 0 ], "destination" : [ "obj-2", 2 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-4", 0 ], "destination" : [ "obj-3", 2 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-28", 0 ], "destination" : [ "obj-25", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-25", 0 ], "destination" : [ "obj-18", 0 ], "hidden" : 0, "midpoints" : [ ] } } ] } }