{ "patcher" : { "fileversion" : 1, "appversion" : { "major" : 7, "minor" : 0, "revision" : 1, "architecture" : "x86", "modernui" : 1 } , "rect" : [ 355.0, 160.0, 854.0, 601.0 ], "bgcolor" : [ 0.721569, 0.737255, 0.85098, 1.0 ], "editing_bgcolor" : [ 0.721569, 0.737255, 0.85098, 1.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, "default_fontface" : 0, "default_fontname" : "Arial", "gridonopen" : 1, "gridsize" : [ 15.0, 15.0 ], "gridsnaponopen" : 1, "objectsnaponopen" : 1, "statusbarvisible" : 2, "toolbarvisible" : 1, "lefttoolbarpinned" : 0, "toptoolbarpinned" : 0, "righttoolbarpinned" : 0, "bottomtoolbarpinned" : 0, "toolbars_unpinned_last_save" : 0, "tallnewobj" : 0, "boxanimatetime" : 200, "enablehscroll" : 1, "enablevscroll" : 1, "devicewidth" : 0.0, "description" : "", "digest" : "", "tags" : "", "style" : "", "subpatcher_template" : "IceCubeTray", "boxes" : [ { "box" : { "id" : "obj-28", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 30.0, 225.0, 76.0, 22.0 ], "presentation_rect" : [ 28.0, 232.0, 0.0, 0.0 ], "style" : "", "text" : "send~ audio" } } , { "box" : { "id" : "obj-27", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "signal" ], "patching_rect" : [ 335.0, 194.0, 89.0, 22.0 ], "style" : "", "text" : "receive~ audio" } } , { "box" : { "id" : "obj-26", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 624.0, 132.0, 150.0, 33.0 ], "style" : "", "text" : "MSP version sending without patch cords" } } , { "box" : { "id" : "obj-23", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 453.0, 132.0, 76.0, 22.0 ], "presentation_rect" : [ 486.0, 133.0, 0.0, 0.0 ], "style" : "", "text" : "send~ audio" } } , { "box" : { "id" : "obj-21", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 285.0, 132.0, 76.0, 22.0 ], "style" : "", "text" : "send~ audio" } } , { "box" : { "data" : { "clips" : [ { "filename" : "drumLoop.aif", "filekind" : "audiofile", "loop" : 1, "content_state" : { "quality" : [ "basic" ], "pitchshift" : [ 1.0 ], "slurtime" : [ 0.0 ], "pitchshiftcent" : [ 0 ], "formant" : [ 1.0 ], "basictuning" : [ 440 ], "originaltempo" : [ 120.0 ], "play" : [ 0 ], "originallength" : [ 0.0, "ticks" ], "followglobaltempo" : [ 0 ], "timestretch" : [ 0 ], "originallengthms" : [ 0.0 ], "pitchcorrection" : [ 0 ], "formantcorrection" : [ 0 ], "speed" : [ 1.0 ], "mode" : [ "basic" ] } } ] } , "id" : "obj-20", "maxclass" : "playlist~", "numinlets" : 1, "numoutlets" : 5, "outlettype" : [ "signal", "signal", "signal", "", "dictionary" ], "patching_rect" : [ 453.0, 90.0, 150.0, 30.0 ], "style" : "" } } , { "box" : { "data" : { "clips" : [ { "filename" : "anton.aif", "filekind" : "audiofile", "loop" : 0, "content_state" : { "quality" : [ "basic" ], "pitchshift" : [ 1.0 ], "slurtime" : [ 0.0 ], "pitchshiftcent" : [ 0 ], "formant" : [ 1.0 ], "basictuning" : [ 440 ], "originaltempo" : [ 120.0 ], "play" : [ 0 ], "originallength" : [ 0.0, "ticks" ], "followglobaltempo" : [ 0 ], "timestretch" : [ 0 ], "originallengthms" : [ 0.0 ], "pitchcorrection" : [ 0 ], "formantcorrection" : [ 0 ], "speed" : [ 1.0 ], "mode" : [ "basic" ] } } ] } , "id" : "obj-10", "maxclass" : "playlist~", "numinlets" : 1, "numoutlets" : 5, "outlettype" : [ "signal", "signal", "signal", "", "dictionary" ], "patching_rect" : [ 285.0, 90.0, 150.0, 30.0 ], "style" : "" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-67", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 700.0, 187.0, 92.5, 33.0 ], "style" : "", "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, 22.0 ], "style" : "" } } , { "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, 22.0 ], "style" : "" } } , { "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, 22.0 ], "style" : "" } } , { "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, 22.0 ], "style" : "" } } , { "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, 22.0 ], "style" : "" } } , { "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, 22.0 ], "style" : "" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-62", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 45.0, 180.0, 109.375, 33.0 ], "style" : "", "text" : "gain~ Exponential volume slider" } } , { "box" : { "id" : "obj-60", "interpinlet" : 1, "maxclass" : "gain~", "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "signal", "int" ], "parameter_enable" : 0, "patching_rect" : [ 30.0, 150.0, 124.375, 25.5 ], "style" : "" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-59", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 195.0, 194.0, 51.0, 22.0 ], "style" : "", "text" : "-0.1 0.1" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-57", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 195.0, 163.5, 102.25, 20.0 ], "style" : "", "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, 22.0 ], "style" : "", "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, 22.0 ], "style" : "", "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, 22.0 ], "style" : "", "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, 22.0 ], "style" : "", "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, 22.0 ], "style" : "", "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, 22.0 ], "style" : "", "text" : "128" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-45", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 66.25, 255.0, 122.5, 20.0 ], "style" : "", "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, 22.0 ], "style" : "", "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, 22.0 ], "style" : "", "text" : "128" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-34", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 213.75, 255.0, 122.5, 20.0 ], "style" : "", "text" : "Samples per buffer" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-31", "linecount" : 4, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 366.0, 290.0, 102.0, 60.0 ], "style" : "", "text" : "ezdac~ Digital to Analog Converter\nClick to turn on or off" } } , { "box" : { "id" : "obj-30", "maxclass" : "ezdac~", "numinlets" : 2, "numoutlets" : 0, "patching_rect" : [ 366.0, 242.5, 45.0, 45.0 ], "style" : "" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-29", "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 278.75, 450.0, 177.5, 47.0 ], "style" : "", "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-22", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 624.0, 90.0, 60.0, 33.0 ], "style" : "", "text" : "playlist objects" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-17", "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 278.75, 390.0, 177.5, 47.0 ], "style" : "", "text" : "Note that signal patchcords look differently than the ones that convey messages" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-15", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 477.5, 525.0, 197.5, 33.0 ], "style" : "", "text" : "spectroscope~ \nSignal spectrogram or sonogram" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-14", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 135.0, 525.0, 130.0, 20.0 ], "style" : "", "text" : "scope~ Oscilloscope" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-12", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 30.0, 525.0, 90.0, 33.0 ], "style" : "", "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, "style" : "" } } , { "box" : { "fontname" : "Arial", "fontsize" : 13.0, "id" : "obj-19", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 254.5, 194.0, 34.0, 23.0 ], "style" : "", "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 ], "style" : "" } } , { "box" : { "id" : "obj-5", "maxclass" : "meter~", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "float" ], "patching_rect" : [ 30.0, 375.0, 30.0, 130.0 ], "style" : "" } } , { "box" : { "id" : "obj-1", "maxclass" : "ezadc~", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "signal", "signal" ], "patching_rect" : [ 30.0, 90.0, 45.0, 45.0 ], "style" : "" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-4", "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 90.0, 90.0, 127.5, 47.0 ], "style" : "", "text" : "ezadc~ Analog to Digital Converter\nClick to turn on or off" } } , { "box" : { "bubble" : 1, "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-2", "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 15.0, 15.0, 315.0, 51.0 ], "style" : "", "text" : "Patch 7-050. Seeing Sounds\nWilliam J Turkel\nhttp://williamjturkel.net/code/#programming" } } , { "box" : { "angle" : 0.0, "bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ], "border" : 1, "id" : "obj-3", "maxclass" : "panel", "mode" : 0, "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 15.0, 75.0, 810.0, 495.0 ], "proportion" : 0.39, "rounded" : 20, "style" : "" } } ], "lines" : [ { "patchline" : { "destination" : [ "obj-60", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-1", 0 ] } } , { "patchline" : { "destination" : [ "obj-21", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-10", 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-55", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-19", 0 ] } } , { "patchline" : { "destination" : [ "obj-23", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-20", 0 ] } } , { "patchline" : { "destination" : [ "obj-30", 1 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-27", 0 ] } } , { "patchline" : { "destination" : [ "obj-30", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-27", 0 ] } } , { "patchline" : { "destination" : [ "obj-5", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 344.5, 344.0, 39.5, 344.0 ], "source" : [ "obj-27", 0 ] } } , { "patchline" : { "destination" : [ "obj-6", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 344.5, 367.0, 144.5, 367.0 ], "source" : [ "obj-27", 0 ] } } , { "patchline" : { "destination" : [ "obj-9", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 344.5, 360.0, 487.0, 360.0 ], "source" : [ "obj-27", 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-28", 0 ], "disabled" : 0, "hidden" : 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" : [ ], "embedsnapshot" : 0, "default_bgcolor" : [ 0.207843, 0.215686, 0.278431, 1.0 ], "color" : [ 0.901961, 0.901961, 0.901961, 1.0 ], "elementcolor" : [ 0.376471, 0.407843, 0.619608, 1.0 ], "accentcolor" : [ 0.552941, 0.588235, 0.85098, 1.0 ], "selectioncolor" : [ 0.552941, 0.588235, 0.85098, 1.0 ], "textcolor" : [ 0.090196, 0.07451, 0.07451, 1.0 ], "textcolor_inverse" : [ 0.721569, 0.737255, 0.85098, 1.0 ], "patchlinecolor" : [ 0.207843, 0.215686, 0.278431, 0.9 ], "bgfillcolor_type" : "gradient", "bgfillcolor_color1" : [ 0.376471, 0.407843, 0.619608, 1.0 ], "bgfillcolor_color2" : [ 0.376471, 0.407843, 0.619608, 1.0 ], "bgfillcolor_color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], "bgfillcolor_angle" : 270.0, "bgfillcolor_proportion" : 0.39 } }