{ "patcher" : { "fileversion" : 1, "appversion" : { "major" : 6, "minor" : 0, "revision" : 4 } , "rect" : [ 117.0, 68.0, 767.0, 584.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" : { "id" : "obj-66", "maxclass" : "slider", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "parameter_enable" : 0, "patching_rect" : [ 570.0, 493.0, 149.0, 19.0 ], "presentation_rect" : [ 574.0, 490.0, 0.0, 0.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-65", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 465.0, 493.0, 65.0, 20.0 ], "presentation_rect" : [ 460.0, 491.0, 0.0, 0.0 ], "text" : "metro 200" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-63", "maxclass" : "number", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "parameter_enable" : 0, "patching_rect" : [ 570.0, 525.0, 50.0, 20.0 ], "presentation_rect" : [ 564.0, 524.0, 0.0, 0.0 ] } } , { "box" : { "id" : "obj-61", "maxclass" : "toggle", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, "patching_rect" : [ 465.0, 465.0, 20.0, 20.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-59", "maxclass" : "newobj", "numinlets" : 3, "numoutlets" : 1, "outlettype" : [ "int" ], "patching_rect" : [ 465.0, 525.0, 81.0, 20.0 ], "text" : "drunk 127 16" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-58", "linecount" : 6, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 315.0, 465.0, 120.0, 89.0 ], "text" : "You can use some of the objects that you have already learned about to control the action of dials and sliders" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-56", "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 45.0, 465.0, 90.0, 48.0 ], "presentation_rect" : [ 42.0, 463.0, 0.0, 0.0 ], "text" : "Automating dials and sliders" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-54", "maxclass" : "number", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "parameter_enable" : 0, "patching_rect" : [ 247.0, 525.0, 50.0, 20.0 ] } } , { "box" : { "id" : "obj-52", "maxclass" : "toggle", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, "patching_rect" : [ 150.0, 465.0, 20.0, 20.0 ] } } , { "box" : { "id" : "obj-50", "maxclass" : "dial", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "float" ], "parameter_enable" : 0, "patching_rect" : [ 247.0, 465.0, 40.0, 40.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-49", "maxclass" : "newobj", "numinlets" : 5, "numoutlets" : 4, "outlettype" : [ "int", "", "", "int" ], "patching_rect" : [ 150.0, 525.0, 74.0, 20.0 ], "text" : "counter 127" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-48", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 150.0, 493.0, 65.0, 20.0 ], "text" : "metro 200" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-47", "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 510.0, 375.0, 225.0, 48.0 ], "text" : "This slider has been set to have floating point output, a minimum of 0, a range of 100, and an output multiplier of 0.01" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-35", "linecount" : 4, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 570.0, 225.0, 165.0, 62.0 ], "text" : "This dial has been set to have floating point output, a minimum of 0, 100 steps and a step multiplier of 0.01" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-32", "maxclass" : "flonum", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "float", "bang" ], "parameter_enable" : 0, "patching_rect" : [ 510.0, 286.0, 50.0, 20.0 ] } } , { "box" : { "floatoutput" : 1, "id" : "obj-33", "maxclass" : "dial", "mult" : 0.01, "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "float" ], "parameter_enable" : 0, "patching_rect" : [ 510.0, 225.0, 40.0, 40.0 ], "size" : 100.0 } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-30", "maxclass" : "flonum", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "float", "bang" ], "parameter_enable" : 0, "patching_rect" : [ 510.0, 345.0, 50.0, 20.0 ] } } , { "box" : { "floatoutput" : 1, "id" : "obj-31", "maxclass" : "slider", "mult" : 0.01, "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "parameter_enable" : 1, "patching_rect" : [ 510.0, 314.5, 149.0, 19.0 ], "saved_attribute_attributes" : { "valueof" : { "parameter_type" : 3, "parameter_invisible" : 1, "parameter_shortname" : "slider", "parameter_longname" : "slider" } } , "size" : 100.0, "varname" : "slider" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-29", "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 420.0, 225.0, 75.0, 48.0 ], "text" : "Floating point dials and sliders" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-26", "linecount" : 6, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 570.0, 90.0, 165.0, 89.0 ], "text" : "Floating point (or decimal) numbers are stored in flonum objects\n\nTry typing a decimal number directly into the box" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-24", "maxclass" : "flonum", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "float", "bang" ], "parameter_enable" : 0, "patching_rect" : [ 510.0, 90.0, 50.0, 20.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-21", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 420.0, 90.0, 75.0, 20.0 ], "text" : "Flonum" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-16", "linecount" : 6, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 45.0, 270.0, 90.0, 89.0 ], "presentation_rect" : [ 48.0, 273.0, 0.0, 0.0 ], "text" : "Many objects in Max can be used both to enter values and to display them" } } , { "box" : { "id" : "obj-13", "maxclass" : "dial", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "float" ], "parameter_enable" : 0, "patching_rect" : [ 150.0, 360.0, 40.0, 40.0 ], "presentation_rect" : [ 437.0, 184.0, 0.0, 0.0 ] } } , { "box" : { "id" : "obj-14", "maxclass" : "slider", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "parameter_enable" : 0, "patching_rect" : [ 225.0, 360.0, 149.0, 19.0 ], "presentation_rect" : [ 512.0, 205.0, 0.0, 0.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-9", "maxclass" : "number", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "parameter_enable" : 0, "patching_rect" : [ 150.0, 327.0, 50.0, 20.0 ], "presentation_rect" : [ 437.0, 149.0, 0.0, 0.0 ] } } , { "box" : { "id" : "obj-10", "maxclass" : "dial", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "float" ], "parameter_enable" : 0, "patching_rect" : [ 150.0, 270.0, 40.0, 40.0 ], "presentation_rect" : [ 437.0, 92.0, 0.0, 0.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-11", "maxclass" : "number", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "parameter_enable" : 0, "patching_rect" : [ 225.0, 327.0, 50.0, 20.0 ], "presentation_rect" : [ 512.0, 149.0, 0.0, 0.0 ] } } , { "box" : { "id" : "obj-12", "maxclass" : "slider", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "parameter_enable" : 0, "patching_rect" : [ 225.0, 291.0, 149.0, 19.0 ], "presentation_rect" : [ 512.0, 113.0, 0.0, 0.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-8", "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 150.0, 180.0, 234.0, 48.0 ], "text" : "By default, dials and sliders range between 0 and 127 and count in steps of one. Change this with Object Inspector " } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-5", "maxclass" : "number", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "parameter_enable" : 0, "patching_rect" : [ 150.0, 147.0, 50.0, 20.0 ] } } , { "box" : { "id" : "obj-4", "maxclass" : "dial", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "float" ], "parameter_enable" : 0, "patching_rect" : [ 150.0, 90.0, 40.0, 40.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-6", "maxclass" : "number", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "parameter_enable" : 0, "patching_rect" : [ 225.0, 147.0, 50.0, 20.0 ] } } , { "box" : { "id" : "obj-1", "maxclass" : "slider", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "parameter_enable" : 0, "patching_rect" : [ 225.0, 111.0, 149.0, 19.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-3", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 45.0, 90.0, 90.0, 20.0 ], "text" : "Dial and slider" } } , { "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, 285.0, 52.0 ], "text" : "Representing continuous phenomena in Max 6\nWilliam J Turkel\nhttp://williamjturkel.net/code" } } , { "box" : { "background" : 1, "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ], "border" : 1, "id" : "obj-55", "ignoreclick" : 1, "maxclass" : "panel", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 30.0, 450.0, 720.0, 120.0 ], "presentation_rect" : [ 34.0, 399.0, 0.0, 0.0 ], "rounded" : 30 } } , { "box" : { "background" : 1, "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ], "border" : 1, "id" : "obj-41", "ignoreclick" : 1, "maxclass" : "panel", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 405.0, 210.0, 345.0, 225.0 ], "presentation_rect" : [ 393.0, 436.0, 0.0, 0.0 ], "rounded" : 30 } } , { "box" : { "background" : 1, "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ], "border" : 1, "id" : "obj-27", "ignoreclick" : 1, "maxclass" : "panel", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 405.0, 75.0, 345.0, 120.0 ], "presentation_rect" : [ 28.0, 410.0, 0.0, 0.0 ], "rounded" : 30 } } , { "box" : { "background" : 1, "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ], "border" : 1, "id" : "obj-15", "ignoreclick" : 1, "maxclass" : "panel", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 30.0, 255.0, 360.0, 180.0 ], "presentation_rect" : [ 30.0, 255.0, 0.0, 0.0 ], "rounded" : 30 } } , { "box" : { "background" : 1, "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ], "border" : 1, "id" : "obj-23", "ignoreclick" : 1, "maxclass" : "panel", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 30.0, 75.0, 360.0, 165.0 ], "rounded" : 30 } } ], "lines" : [ { "patchline" : { "destination" : [ "obj-6", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-1", 0 ] } } , { "patchline" : { "destination" : [ "obj-9", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-10", 0 ] } } , { "patchline" : { "destination" : [ "obj-14", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-11", 0 ] } } , { "patchline" : { "destination" : [ "obj-11", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-12", 0 ] } } , { "patchline" : { "destination" : [ "obj-30", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-31", 0 ] } } , { "patchline" : { "destination" : [ "obj-32", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-33", 0 ] } } , { "patchline" : { "destination" : [ "obj-5", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-4", 0 ] } } , { "patchline" : { "destination" : [ "obj-49", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-48", 0 ] } } , { "patchline" : { "destination" : [ "obj-50", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 159.5, 555.0, 233.0, 555.0, 233.0, 462.0, 256.5, 462.0 ], "source" : [ "obj-49", 0 ] } } , { "patchline" : { "destination" : [ "obj-54", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-50", 0 ] } } , { "patchline" : { "destination" : [ "obj-48", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-52", 0 ] } } , { "patchline" : { "destination" : [ "obj-66", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 474.5, 555.0, 555.0, 555.0, 555.0, 489.0, 579.5, 489.0 ], "source" : [ "obj-59", 0 ] } } , { "patchline" : { "destination" : [ "obj-65", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-61", 0 ] } } , { "patchline" : { "destination" : [ "obj-59", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-65", 0 ] } } , { "patchline" : { "destination" : [ "obj-63", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-66", 0 ] } } , { "patchline" : { "destination" : [ "obj-13", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-9", 0 ] } } ], "parameters" : { "obj-31" : [ "slider", "slider", 0 ] } , "dependency_cache" : [ ] } }