{ "patcher" : { "fileversion" : 1, "appversion" : { "major" : 6, "minor" : 0, "revision" : 8 } , "rect" : [ 865.0, 183.0, 838.0, 588.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, "default_fontface" : 0, "default_fontname" : "Arial", "gridonopen" : 0, "gridsize" : [ 15.0, 15.0 ], "gridsnaponopen" : 0, "statusbarvisible" : 2, "toolbarvisible" : 1, "boxanimatetime" : 200, "imprint" : 0, "enablehscroll" : 1, "enablevscroll" : 1, "devicewidth" : 0.0, "description" : "", "digest" : "", "tags" : "", "boxes" : [ { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "frgb" : 0.0, "id" : "obj-67", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 700.0, 187.0, 92.5, 33.0 ], "text" : "Parameters for spectroscope~" } } , { "box" : { "attr" : "scroll", "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-63", "maxclass" : "attrui", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 570.0, 330.0, 222.5, 20.0 ] } } , { "box" : { "attr" : "monochrome", "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-13", "maxclass" : "attrui", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 570.0, 310.0, 222.5, 20.0 ] } } , { "box" : { "attr" : "sono", "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-11", "maxclass" : "attrui", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 570.0, 290.0, 222.5, 20.0 ] } } , { "box" : { "attr" : "logfreq", "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-64", "maxclass" : "attrui", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 570.0, 270.0, 222.5, 20.0 ] } } , { "box" : { "attr" : "phasespect", "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-7", "maxclass" : "attrui", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 570.0, 250.0, 222.5, 20.0 ] } } , { "box" : { "attr" : "logamp", "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-65", "maxclass" : "attrui", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 570.0, 230.0, 222.5, 20.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "frgb" : 0.0, "id" : "obj-62", "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 70.625, 150.0, 83.75, 47.0 ], "text" : "gain~ Exponential volume slider" } } , { "box" : { "id" : "obj-60", "maxclass" : "gain~", "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "signal", "int" ], "parameter_enable" : 0, "patching_rect" : [ 30.0, 150.0, 27.0, 146.5 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-59", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 195.0, 194.0, 51.0, 18.0 ], "text" : "-0.1 0.1" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "frgb" : 0.0, "id" : "obj-57", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 195.0, 163.5, 102.25, 20.0 ], "text" : "Min / max values" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-55", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 195.0, 225.0, 89.0, 20.0 ], "text" : "prepend range" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-54", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 213.75, 278.5, 32.5, 18.0 ], "text" : "64" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-52", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 162.5, 278.5, 37.0, 18.0 ], "text" : "1024" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-50", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 128.75, 278.5, 32.5, 18.0 ], "presentation_rect" : [ 121.5, 279.5, 0.0, 0.0 ], "text" : "512" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-46", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 278.75, 278.5, 32.5, 18.0 ], "presentation_rect" : [ 240.25, 278.5, 0.0, 0.0 ], "text" : "256" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-47", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 246.25, 278.5, 32.5, 18.0 ], "presentation_rect" : [ 207.75, 278.5, 0.0, 0.0 ], "text" : "128" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "frgb" : 0.0, "id" : "obj-45", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 66.25, 255.0, 122.5, 20.0 ], "presentation_rect" : [ 202.5, 257.0, 0.0, 0.0 ], "text" : "Buffers per pixel" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-44", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 96.25, 278.5, 32.5, 18.0 ], "text" : "256" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-42", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 63.75, 278.5, 32.5, 18.0 ], "text" : "128" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "frgb" : 0.0, "id" : "obj-34", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 213.75, 255.0, 122.5, 20.0 ], "text" : "Samples per buffer" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-32", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 452.0, 86.0, 111.0, 18.0 ], "presentation_rect" : [ 354.0, 130.0, 0.0, 0.0 ], "text" : "open drumLoop.aif" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "frgb" : 0.0, "id" : "obj-31", "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 420.0, 194.0, 120.0, 47.0 ], "presentation_rect" : [ 319.0, 139.0, 0.0, 0.0 ], "text" : "ezdac~ Digital to Analog Converter\nClick to turn on or off" } } , { "box" : { "id" : "obj-30", "maxclass" : "ezdac~", "numinlets" : 2, "numoutlets" : 0, "patching_rect" : [ 375.0, 194.0, 45.0, 45.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "frgb" : 0.0, "id" : "obj-29", "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 278.75, 450.0, 177.5, 47.0 ], "text" : "Both ezadc~ and sfplay~ can output stereo, but we are only using the left channel here" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-27", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 347.0, 86.0, 87.0, 18.0 ], "text" : "open anton.aif" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-23", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "signal", "bang" ], "patching_rect" : [ 347.0, 161.0, 49.0, 20.0 ], "save" : [ "#N", "sfplay~", "", 1, 120960, 0, "", ";" ], "text" : "sfplay~" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "frgb" : 0.0, "id" : "obj-22", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 512.0, 161.0, 60.0, 20.0 ], "text" : "playbar" } } , { "box" : { "id" : "obj-18", "maxclass" : "playbar", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "int" ], "patching_rect" : [ 347.0, 116.0, 225.0, 30.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "frgb" : 0.0, "id" : "obj-17", "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 278.75, 390.0, 177.5, 47.0 ], "text" : "Note that signal patchcords look differently than the ones that convey messages" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "frgb" : 0.0, "id" : "obj-15", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 477.5, 525.0, 197.5, 33.0 ], "presentation_rect" : [ 325.0, 492.0, 0.0, 0.0 ], "text" : "spectroscope~ \nSignal spectrogram or sonogram" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "frgb" : 0.0, "id" : "obj-14", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 135.0, 525.0, 130.0, 20.0 ], "text" : "scope~ Oscilloscope" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "frgb" : 0.0, "id" : "obj-12", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 30.0, 525.0, 90.0, 33.0 ], "text" : "meter~ Peak level indicator" } } , { "box" : { "id" : "obj-9", "logfreq" : 1, "maxclass" : "spectroscope~", "monochrome" : 0, "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 477.5, 375.0, 315.0, 130.0 ], "sono" : 1 } } , { "box" : { "fontname" : "Arial", "fontsize" : 13.0, "id" : "obj-19", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 254.5, 194.0, 34.0, 19.0 ], "text" : "-1 1" } } , { "box" : { "calccount" : 512, "id" : "obj-6", "maxclass" : "scope~", "numinlets" : 2, "numoutlets" : 0, "patching_rect" : [ 135.0, 375.0, 130.0, 130.0 ] } } , { "box" : { "id" : "obj-5", "maxclass" : "meter~", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "float" ], "patching_rect" : [ 30.0, 375.0, 30.0, 130.0 ] } } , { "box" : { "id" : "obj-1", "maxclass" : "ezadc~", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "signal", "signal" ], "patching_rect" : [ 30.0, 90.0, 45.0, 45.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "frgb" : 0.0, "id" : "obj-4", "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 90.0, 90.0, 127.5, 47.0 ], "text" : "ezadc~ Analog to Digital Converter\nClick to turn on or off" } } , { "box" : { "bubble" : 1, "fontname" : "Arial", "fontsize" : 12.0, "frgb" : 0.0, "id" : "obj-2", "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 15.0, 15.0, 315.0, 51.0 ], "text" : "Patch 061. Seeing Sounds\nWilliam J Turkel\nhttp://williamjturkel.net/code/#programming" } } , { "box" : { "bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ], "border" : 1, "id" : "obj-3", "maxclass" : "panel", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 15.0, 75.0, 810.0, 495.0 ], "rounded" : 20 } } ], "lines" : [ { "patchline" : { "destination" : [ "obj-60", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-1", 0 ] } } , { "patchline" : { "destination" : [ "obj-9", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 579.5, 312.0, 487.0, 312.0 ], "source" : [ "obj-11", 0 ] } } , { "patchline" : { "destination" : [ "obj-9", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 579.5, 330.0, 487.0, 330.0 ], "source" : [ "obj-13", 0 ] } } , { "patchline" : { "destination" : [ "obj-23", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-18", 0 ] } } , { "patchline" : { "destination" : [ "obj-55", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-19", 0 ] } } , { "patchline" : { "destination" : [ "obj-30", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-23", 0 ] } } , { "patchline" : { "destination" : [ "obj-5", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 356.5, 353.0, 39.5, 353.0 ], "source" : [ "obj-23", 0 ] } } , { "patchline" : { "destination" : [ "obj-6", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 356.5, 366.0, 144.5, 366.0 ], "source" : [ "obj-23", 0 ] } } , { "patchline" : { "destination" : [ "obj-9", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 356.5, 360.0, 487.0, 360.0 ], "source" : [ "obj-23", 0 ] } } , { "patchline" : { "destination" : [ "obj-23", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 356.5, 104.0, 332.0, 104.0, 332.0, 158.0, 356.5, 158.0 ], "source" : [ "obj-27", 0 ] } } , { "patchline" : { "destination" : [ "obj-23", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 461.5, 108.0, 340.0, 108.0, 340.0, 158.0, 356.5, 158.0 ], "source" : [ "obj-32", 0 ] } } , { "patchline" : { "destination" : [ "obj-6", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 73.25, 372.0, 144.5, 372.0 ], "source" : [ "obj-42", 0 ] } } , { "patchline" : { "destination" : [ "obj-6", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 105.75, 360.0, 144.5, 360.0 ], "source" : [ "obj-44", 0 ] } } , { "patchline" : { "destination" : [ "obj-6", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 288.25, 360.0, 144.5, 360.0 ], "source" : [ "obj-46", 0 ] } } , { "patchline" : { "destination" : [ "obj-6", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 255.75, 360.0, 144.5, 360.0 ], "source" : [ "obj-47", 0 ] } } , { "patchline" : { "destination" : [ "obj-6", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 138.25, 360.0, 144.5, 360.0 ], "source" : [ "obj-50", 0 ] } } , { "patchline" : { "destination" : [ "obj-6", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 172.0, 360.0, 144.5, 360.0 ], "source" : [ "obj-52", 0 ] } } , { "patchline" : { "destination" : [ "obj-6", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 223.25, 360.0, 144.5, 360.0 ], "source" : [ "obj-54", 0 ] } } , { "patchline" : { "destination" : [ "obj-6", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 204.5, 312.0, 144.5, 312.0 ], "source" : [ "obj-55", 0 ] } } , { "patchline" : { "destination" : [ "obj-55", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-59", 0 ] } } , { "patchline" : { "destination" : [ "obj-5", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-60", 0 ] } } , { "patchline" : { "destination" : [ "obj-6", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 39.5, 321.0, 144.5, 321.0 ], "source" : [ "obj-60", 0 ] } } , { "patchline" : { "destination" : [ "obj-9", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 39.5, 330.0, 487.0, 330.0 ], "source" : [ "obj-60", 0 ] } } , { "patchline" : { "destination" : [ "obj-9", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 579.5, 360.0, 487.0, 360.0 ], "source" : [ "obj-63", 0 ] } } , { "patchline" : { "destination" : [ "obj-9", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 579.5, 291.0, 487.0, 291.0 ], "source" : [ "obj-64", 0 ] } } , { "patchline" : { "destination" : [ "obj-9", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 579.5, 252.0, 487.0, 252.0 ], "source" : [ "obj-65", 0 ] } } , { "patchline" : { "destination" : [ "obj-9", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 579.5, 270.0, 487.0, 270.0 ], "source" : [ "obj-7", 0 ] } } ], "dependency_cache" : [ ] } }