Problematic Max 6 Patch for the Interactive Basketball Hoop

Simply copy and paste the following raw data into your own Max 6 patch.  Back to Hoop Dreams: Programming Problems. 
{
“boxes” : [ {
“box” : {
“maxclass” : “comment”,
“text” : “RESET”,
“presentation” : 1,
“id” : “obj-68”,
“fontname” : “Arial”,
“frgb” : 0.0,
“numinlets” : 1,
“numoutlets” : 0,
“fontsize” : 20.0,
“presentation_rect” : [ 684.0, 86.5, 230.0, 29.0 ],
“patching_rect” : [ 740.0, 283.0, 230.0, 29.0 ]
}
}
,  {
“box” : {
“maxclass” : “comment”,
“text” : “SCORE”,
“presentation” : 1,
“id” : “obj-46”,
“fontname” : “Arial”,
“frgb” : 0.0,
“numinlets” : 1,
“numoutlets” : 0,
“fontsize” : 20.0,
“presentation_rect” : [ 409.5, 21.0, 236.0, 29.0 ],
“patching_rect” : [ 766.0, 176.0, 236.0, 29.0 ]
}
}
,  {
“box” : {
“maxclass” : “number”,
“varname” : “number”,
“presentation” : 1,
“id” : “obj-39”,
“fontname” : “Arial”,
“parameter_enable” : 0,
“numinlets” : 1,
“numoutlets” : 2,
“fontsize” : 72.0,
“presentation_rect” : [ 409.5, 52.0, 163.0, 87.0 ],
“outlettype” : [ “int”, “bang” ],
“patching_rect” : [ 787.5, 39.0, 163.0, 87.0 ]
}
}
,  {
“box” : {
“maxclass” : “newobj”,
“text” : “counter”,
“id” : “obj-32”,
“fontname” : “Arial”,
“numinlets” : 5,
“numoutlets” : 4,
“fontsize” : 12.0,
“outlettype” : [ “int”, “”, “”, “int” ],
“patching_rect” : [ 318.0, 163.0, 73.0, 20.0 ]
}
}
,  {
“box” : {
“maxclass” : “toggle”,
“presentation” : 1,
“id” : “obj-40”,
“parameter_enable” : 0,
“numinlets” : 1,
“numoutlets” : 1,
“presentation_rect” : [ 402.0, 184.0, 20.0, 20.0 ],
“outlettype” : [ “int” ],
“patching_rect” : [ 280.0, 351.0, 20.0, 20.0 ]
}
}
,  {
“box” : {
“maxclass” : “button”,
“id” : “obj-33”,
“numinlets” : 1,
“numoutlets” : 1,
“outlettype” : [ “bang” ],
“patching_rect” : [ 400.0, 118.0, 20.0, 20.0 ]
}
}
,  {
“box” : {
“maxclass” : “number”,
“id” : “obj-14”,
“fontname” : “Arial”,
“parameter_enable” : 0,
“numinlets” : 1,
“numoutlets” : 2,
“fontsize” : 12.0,
“outlettype” : [ “int”, “bang” ],
“patching_rect” : [ 354.0, 58.0, 50.0, 20.0 ]
}
}
,  {
“box” : {
“maxclass” : “newobj”,
“text” : “key”,
“id” : “obj-12”,
“fontname” : “Arial”,
“numinlets” : 0,
“numoutlets” : 4,
“fontsize” : 12.0,
“outlettype” : [ “int”, “int”, “int”, “int” ],
“patching_rect” : [ 307.0, 18.0, 59.5, 20.0 ]
}
}
,  {
“box” : {
“maxclass” : “newobj”,
“text” : “select 32”,
“id” : “obj-10”,
“fontname” : “Arial”,
“numinlets” : 2,
“numoutlets” : 2,
“fontsize” : 12.0,
“outlettype” : [ “bang”, “” ],
“patching_rect” : [ 258.5, 49.0, 59.0, 20.0 ]
}
}
,  {
“box” : {
“maxclass” : “button”,
“id” : “obj-4”,
“numinlets” : 1,
“numoutlets” : 1,
“outlettype” : [ “bang” ],
“patching_rect” : [ 286.0, 87.0, 20.0, 20.0 ]
}
}
,  {
“box” : {
“maxclass” : “toggle”,
“id” : “obj-6”,
“parameter_enable” : 0,
“numinlets” : 1,
“numoutlets” : 1,
“outlettype” : [ “int” ],
“patching_rect” : [ 454.5, 391.0, 20.0, 20.0 ]
}
}
,  {
“box” : {
“maxclass” : “message”,
“text” : “loop $1”,
“id” : “obj-2”,
“fontname” : “Arial”,
“numinlets” : 2,
“numoutlets” : 1,
“fontsize” : 13.0,
“outlettype” : [ “” ],
“patching_rect” : [ 454.5, 422.0, 54.0, 19.0 ]
}
}
,  {
“box” : {
“maxclass” : “comment”,
“text” : “play/stop current file”,
“presentation” : 1,
“id” : “obj-9”,
“fontname” : “Arial”,
“frgb” : 0.0,
“numinlets” : 1,
“numoutlets” : 0,
“fontsize” : 13.0,
“presentation_rect” : [ 434.0, 184.0, 147.0, 25.0 ],
“bubble” : 1,
“patching_rect” : [ 300.0, 351.0, 147.0, 25.0 ]
}
}
,  {
“box” : {
“maxclass” : “comment”,
“text” : “open an audio file “,
“id” : “obj-27”,
“fontname” : “Arial”,
“frgb” : 0.0,
“numinlets” : 1,
“numoutlets” : 0,
“fontsize” : 13.0,
“bubble” : 1,
“patching_rect” : [ 102.5, 351.0, 137.0, 25.0 ]
}
}
,  {
“box” : {
“maxclass” : “live.gain~”,
“varname” : “live.gain~”,
“presentation” : 1,
“id” : “obj-5”,
“parameter_enable” : 1,
“numinlets” : 2,
“fontface” : 0,
“numoutlets” : 5,
“fontsize” : 12.0,
“showname” : 0,
“presentation_rect” : [ 480.5, 278.0, 54.0, 136.0 ],
“outlettype” : [ “signal”, “signal”, “”, “float”, “list” ],
“patching_rect” : [ 50.5, 445.0, 54.0, 136.0 ],
“saved_attribute_attributes” : {
“valueof” : {
“parameter_unitstyle” : 4,
“parameter_mmax” : 6.0,
“parameter_mmin” : -70.0,
“parameter_initial” : [ -70 ],
“parameter_type” : 0,
“parameter_initial_enable” : 1,
“parameter_shortname” : “live.gain~”,
“parameter_longname” : “live.gain~”
}
}
}
}
,  {
“box” : {
“maxclass” : “ezdac~”,
“prototypename” : “helpfile”,
“presentation” : 1,
“id” : “obj-7”,
“local” : 1,
“numinlets” : 2,
“border” : 1.75,
“numoutlets” : 0,
“presentation_rect” : [ 480.5, 428.0, 44.0, 44.0 ],
“bgcolor” : [ 1.0, 1.0, 1.0, 1.0 ],
“patching_rect” : [ 50.5, 595.0, 44.0, 44.0 ],
“bordercolor” : [ 0.501961, 0.501961, 0.501961, 1.0 ]
}
}
,  {
“box” : {
“maxclass” : “button”,
“id” : “obj-42”,
“numinlets” : 1,
“numoutlets” : 1,
“outlettype” : [ “bang” ],
“patching_rect” : [ 120.5, 523.0, 20.0, 20.0 ]
}
}
,  {
“box” : {
“maxclass” : “newobj”,
“text” : “sfplay~ 2”,
“id” : “obj-43”,
“fontname” : “Arial”,
“numinlets” : 2,
“numoutlets” : 3,
“fontsize” : 13.0,
“outlettype” : [ “signal”, “signal”, “bang” ],
“patching_rect” : [ 50.5, 398.0, 89.0, 21.0 ],
“save” : [ “#N”, “sfplay~”, “”, 2, 40320, 0, “”, “;” ]
}
}
,  {
“box” : {
“maxclass” : “message”,
“text” : “seek 300”,
“id” : “obj-34”,
“fontname” : “Arial”,
“numinlets” : 2,
“numoutlets” : 1,
“fontsize” : 13.0,
“outlettype” : [ “” ],
“patching_rect” : [ 444.0, 571.0, 65.0, 19.0 ]
}
}
,  {
“box” : {
“maxclass” : “message”,
“text” : “seek 300 600”,
“id” : “obj-35”,
“fontname” : “Arial”,
“numinlets” : 2,
“numoutlets” : 1,
“fontsize” : 13.0,
“outlettype” : [ “” ],
“patching_rect” : [ 420.0, 538.0, 89.0, 19.0 ]
}
}
,  {
“box” : {
“maxclass” : “message”,
“text” : “resume”,
“id” : “obj-36”,
“fontname” : “Arial”,
“numinlets” : 2,
“numoutlets” : 1,
“fontsize” : 13.0,
“outlettype” : [ “” ],
“patching_rect” : [ 454.0, 482.0, 55.0, 19.0 ]
}
}
,  {
“box” : {
“maxclass” : “message”,
“text” : “pause”,
“id” : “obj-37”,
“fontname” : “Arial”,
“numinlets” : 2,
“numoutlets” : 1,
“fontsize” : 13.0,
“outlettype” : [ “” ],
“patching_rect” : [ 462.5, 455.0, 47.0, 19.0 ]
}
}
,  {
“box” : {
“maxclass” : “message”,
“text” : “open”,
“id” : “obj-41”,
“fontname” : “Arial”,
“numinlets” : 2,
“numoutlets” : 1,
“fontsize” : 13.0,
“outlettype” : [ “” ],
“patching_rect” : [ 50.5, 351.0, 40.0, 19.0 ]
}
}
,  {
“box” : {
“maxclass” : “message”,
“text” : “set 0”,
“presentation” : 1,
“id” : “obj-66”,
“fontname” : “Arial”,
“numinlets” : 2,
“numoutlets” : 1,
“fontsize” : 20.0,
“presentation_rect” : [ 619.0, 86.5, 55.0, 27.0 ],
“outlettype” : [ “” ],
“patching_rect” : [ 543.0, 218.0, 54.0, 27.0 ]
}
}
,  {
“box” : {
“maxclass” : “textbutton”,
“hint” : “”,
“id” : “obj-11”,
“fontname” : “Arial”,
“rounded” : 60.0,
“parameter_enable” : 0,
“textcolor” : [ 0.34902, 0.34902, 0.34902, 1.0 ],
“textovercolor” : [ 0.2, 0.2, 0.2, 1.0 ],
“numinlets” : 1,
“border” : 0,
“fontface” : 1,
“numoutlets” : 3,
“fontsize” : 13.0,
“text” : “2”,
“outlettype” : [ “”, “”, “int” ],
“background” : 1,
“bgcolor” : [ 1.0, 0.788235, 0.470588, 1.0 ],
“patching_rect” : [ 260.0, 351.0, 20.0, 20.0 ],
“ignoreclick” : 1,
“bordercolor” : [ 0.0, 0.0, 0.0, 1.0 ]
}
}
,  {
“box” : {
“maxclass” : “textbutton”,
“hint” : “”,
“id” : “obj-93”,
“fontname” : “Arial”,
“rounded” : 60.0,
“parameter_enable” : 0,
“textcolor” : [ 0.34902, 0.34902, 0.34902, 1.0 ],
“textovercolor” : [ 0.2, 0.2, 0.2, 1.0 ],
“numinlets” : 1,
“border” : 0,
“fontface” : 1,
“numoutlets” : 3,
“fontsize” : 13.0,
“text” : “1”,
“outlettype” : [ “”, “”, “int” ],
“background” : 1,
“bgcolor” : [ 1.0, 0.788235, 0.470588, 1.0 ],
“patching_rect” : [ 30.5, 351.0, 20.0, 20.0 ],
“ignoreclick” : 1,
“bordercolor” : [ 0.0, 0.0, 0.0, 1.0 ]
}
}
 ],
“lines” : [ {
“patchline” : {
“source” : [ “obj-66”, 0 ],
“destination” : [ “obj-39”, 0 ],
“hidden” : 0,
“disabled” : 0
}
}
,  {
“patchline” : {
“source” : [ “obj-66”, 0 ],
“destination” : [ “obj-32”, 0 ],
“hidden” : 0,
“disabled” : 0
}
}
,  {
“patchline” : {
“source” : [ “obj-6”, 0 ],
“destination” : [ “obj-2”, 0 ],
“hidden” : 0,
“disabled” : 0
}
}
,  {
“patchline” : {
“source” : [ “obj-5”, 0 ],
“destination” : [ “obj-7”, 0 ],
“hidden” : 0,
“disabled” : 0
}
}
,  {
“patchline” : {
“source” : [ “obj-5”, 1 ],
“destination” : [ “obj-7”, 1 ],
“hidden” : 0,
“disabled” : 0
}
}
,  {
“patchline” : {
“source” : [ “obj-43”, 0 ],
“destination” : [ “obj-5”, 0 ],
“hidden” : 0,
“disabled” : 0
}
}
,  {
“patchline” : {
“source” : [ “obj-43”, 1 ],
“destination” : [ “obj-5”, 1 ],
“hidden” : 0,
“disabled” : 0
}
}
,  {
“patchline” : {
“source” : [ “obj-43”, 2 ],
“destination” : [ “obj-42”, 0 ],
“hidden” : 0,
“disabled” : 0
}
}
,  {
“patchline” : {
“source” : [ “obj-41”, 0 ],
“destination” : [ “obj-43”, 0 ],
“hidden” : 0,
“disabled” : 0
}
}
,  {
“patchline” : {
“source” : [ “obj-40”, 0 ],
“destination” : [ “obj-43”, 0 ],
“hidden” : 0,
“disabled” : 0
}
}
,  {
“patchline” : {
“source” : [ “obj-4”, 0 ],
“destination” : [ “obj-40”, 0 ],
“hidden” : 0,
“disabled” : 0
}
}
,  {
“patchline” : {
“source” : [ “obj-4”, 0 ],
“destination” : [ “obj-32”, 0 ],
“hidden” : 0,
“disabled” : 0
}
}
,  {
“patchline” : {
“source” : [ “obj-37”, 0 ],
“destination” : [ “obj-43”, 0 ],
“hidden” : 0,
“disabled” : 0
}
}
,  {
“patchline” : {
“source” : [ “obj-36”, 0 ],
“destination” : [ “obj-43”, 0 ],
“hidden” : 0,
“disabled” : 0
}
}
,  {
“patchline” : {
“source” : [ “obj-35”, 0 ],
“destination” : [ “obj-43”, 0 ],
“hidden” : 0,
“disabled” : 0
}
}
,  {
“patchline” : {
“source” : [ “obj-34”, 0 ],
“destination” : [ “obj-43”, 0 ],
“hidden” : 0,
“disabled” : 0
}
}
,  {
“patchline” : {
“source” : [ “obj-33”, 0 ],
“destination” : [ “obj-32”, 0 ],
“hidden” : 0,
“disabled” : 0
}
}
,  {
“patchline” : {
“source” : [ “obj-32”, 0 ],
“destination” : [ “obj-39”, 0 ],
“hidden” : 0,
“disabled” : 0
}
}
,  {
“patchline” : {
“source” : [ “obj-2”, 0 ],
“destination” : [ “obj-43”, 0 ],
“hidden” : 0,
“disabled” : 0
}
}
,  {
“patchline” : {
“source” : [ “obj-12”, 0 ],
“destination” : [ “obj-14”, 0 ],
“hidden” : 0,
“disabled” : 0
}
}
,  {
“patchline” : {
“source” : [ “obj-12”, 0 ],
“destination” : [ “obj-10”, 0 ],
“hidden” : 0,
“disabled” : 0
}
}
,  {
“patchline” : {
“source” : [ “obj-10”, 0 ],
“destination” : [ “obj-4”, 0 ],
“hidden” : 0,
“disabled” : 0
}
}
,  {
“patchline” : {
“source” : [ “obj-10”, 1 ],
“destination” : [ “obj-33”, 0 ],
“hidden” : 0,
“disabled” : 0
}
}
 ],
“appversion” : {
“major” : 6,
“minor” : 0,
“revision” : 8
}
}
Advertisements

One thought on “Problematic Max 6 Patch for the Interactive Basketball Hoop

  1. Pingback: Hoop Dreams: Programming Problems | Writing History and other things

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s