Forums > MaxMSP

How to make my patch enter full screen mode


Dec 12 2010 | 10:24 am

I have my patch so it does enter full screen mode but to do this i have to use the deferlow object and for some reason it makes kind of a delay and looks juddery on opening? Please help someone…

{
"boxes" : [ {
"box" : {
"maxclass" : "newobj",
"text" : "deferlow",
"fontname" : "Arial",
"numinlets" : 1,
"patching_rect" : [ 221.0, 149.0, 56.0, 20.0 ],
"id" : "obj-1",
"numoutlets" : 1,
"fontsize" : 12.0,
"outlettype" : [ "" ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "receive page8",
"fontname" : "Arial",
"numinlets" : 0,
"patching_rect" : [ 1487.0, 94.0, 86.0, 20.0 ],
"id" : "obj-21",
"numoutlets" : 1,
"fontsize" : 12.0,
"outlettype" : [ "" ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "receive page6 7",
"fontname" : "Arial",
"numinlets" : 0,
"patching_rect" : [ 1244.0, 94.0, 96.0, 20.0 ],
"id" : "obj-20",
"numoutlets" : 1,
"fontsize" : 12.0,
"outlettype" : [ "" ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "receive page4 5",
"fontname" : "Arial",
"numinlets" : 0,
"patching_rect" : [ 1020.0, 94.0, 96.0, 20.0 ],
"id" : "obj-19",
"numoutlets" : 1,
"fontsize" : 12.0,
"outlettype" : [ "" ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "receive page2 3",
"fontname" : "Arial",
"numinlets" : 0,
"patching_rect" : [ 776.0, 94.0, 96.0, 20.0 ],
"id" : "obj-18",
"numoutlets" : 1,
"fontsize" : 12.0,
"outlettype" : [ "" ]
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "script sendbox book replace 5.maxpat",
"fontname" : "Arial",
"numinlets" : 2,
"patching_rect" : [ 1487.0, 154.0, 213.0, 18.0 ],
"id" : "obj-16",
"numoutlets" : 1,
"fontsize" : 12.0,
"outlettype" : [ "" ]
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "script sendbox book replace 4.maxpat",
"fontname" : "Arial",
"numinlets" : 2,
"patching_rect" : [ 1244.0, 154.0, 213.0, 18.0 ],
"id" : "obj-15",
"numoutlets" : 1,
"fontsize" : 12.0,
"outlettype" : [ "" ]
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "script sendbox book replace 3.maxpat",
"fontname" : "Arial",
"numinlets" : 2,
"patching_rect" : [ 1020.0, 154.0, 213.0, 18.0 ],
"id" : "obj-12",
"numoutlets" : 1,
"fontsize" : 12.0,
"outlettype" : [ "" ]
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "script sendbox book replace 2.maxpat",
"fontname" : "Arial",
"numinlets" : 2,
"patching_rect" : [ 776.0, 154.0, 213.0, 18.0 ],
"id" : "obj-2",
"numoutlets" : 1,
"fontsize" : 12.0,
"outlettype" : [ "" ]
}

}
, {
"box" : {
"maxclass" : "bpatcher",
"varname" : "book",
"presentation_rect" : [ -1.0, -2.0, 1943.0, 1101.0 ],
"numinlets" : 0,
"patching_rect" : [ 155.0, 299.0, 1485.0, 568.0 ],
"presentation" : 1,
"id" : "obj-14",
"numoutlets" : 0,
"name" : "Front.maxpat",
"args" : [ ]
}

}
, {
"box" : {
"maxclass" : "toggle",
"numinlets" : 1,
"patching_rect" : [ 115.0, 168.0, 20.0, 20.0 ],
"id" : "obj-10",
"numoutlets" : 1,
"outlettype" : [ "int" ]
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "fullscreen $1",
"fontname" : "Arial",
"numinlets" : 2,
"patching_rect" : [ 115.0, 205.0, 79.0, 18.0 ],
"id" : "obj-11",
"numoutlets" : 1,
"fontsize" : 12.0,
"outlettype" : [ "" ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "select 27",
"fontname" : "Arial",
"numinlets" : 2,
"patching_rect" : [ 115.0, 131.0, 59.0, 20.0 ],
"id" : "obj-8",
"numoutlets" : 2,
"fontsize" : 12.0,
"outlettype" : [ "bang", "" ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "key",
"fontname" : "Arial",
"numinlets" : 0,
"patching_rect" : [ 115.0, 97.0, 59.5, 20.0 ],
"id" : "obj-9",
"numoutlets" : 4,
"fontsize" : 12.0,
"outlettype" : [ "int", "int", "int", "int" ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "thispatcher",
"fontname" : "Arial",
"numinlets" : 1,
"patching_rect" : [ 533.0, 222.0, 69.0, 20.0 ],
"id" : "obj-13",
"numoutlets" : 2,
"fontsize" : 12.0,
"outlettype" : [ "", "" ],
"save" : [ "#N", "thispatcher", ";", "#Q", "end", ";" ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "receive front",
"fontname" : "Arial",
"numinlets" : 0,
"patching_rect" : [ 414.0, 94.0, 77.0, 20.0 ],
"id" : "obj-6",
"numoutlets" : 1,
"fontsize" : 12.0,
"outlettype" : [ "" ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "receive page1",
"fontname" : "Arial",
"numinlets" : 0,
"patching_rect" : [ 533.0, 94.0, 86.0, 20.0 ],
"id" : "obj-5",
"numoutlets" : 1,
"fontsize" : 12.0,
"outlettype" : [ "" ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "loadbang",
"fontname" : "Arial",
"numinlets" : 1,
"patching_rect" : [ 294.0, 94.0, 60.0, 20.0 ],
"id" : "obj-4",
"numoutlets" : 1,
"fontsize" : 12.0,
"outlettype" : [ "bang" ]
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "script sendbox book replace 1.maxpat",
"fontname" : "Arial",
"numinlets" : 2,
"patching_rect" : [ 533.0, 154.0, 213.0, 18.0 ],
"id" : "obj-3",
"numoutlets" : 1,
"fontsize" : 12.0,
"outlettype" : [ "" ]
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "script sendbox book replace Front.maxpat",
"fontname" : "Arial",
"numinlets" : 2,
"patching_rect" : [ 294.0, 154.0, 234.0, 18.0 ],
"id" : "obj-7",
"numoutlets" : 1,
"fontsize" : 12.0,
"outlettype" : [ "" ]
}

}
],
"lines" : [ {
"patchline" : {
"source" : [ "obj-6", 0 ],
"destination" : [ "obj-7", 0 ],
"hidden" : 0,
"midpoints" : [ 423.5, 133.5, 303.5, 133.5 ]
}

}
, {
"patchline" : {
"source" : [ "obj-16", 0 ],
"destination" : [ "obj-13", 0 ],
"hidden" : 0,
"midpoints" : [ 1496.5, 196.0, 542.5, 196.0 ]
}

}
, {
"patchline" : {
"source" : [ "obj-15", 0 ],
"destination" : [ "obj-13", 0 ],
"hidden" : 0,
"midpoints" : [ 1253.5, 196.5, 542.5, 196.5 ]
}

}
, {
"patchline" : {
"source" : [ "obj-12", 0 ],
"destination" : [ "obj-13", 0 ],
"hidden" : 0,
"midpoints" : [ 1029.5, 196.5, 542.5, 196.5 ]
}

}
, {
"patchline" : {
"source" : [ "obj-2", 0 ],
"destination" : [ "obj-13", 0 ],
"hidden" : 0,
"midpoints" : [ 785.5, 196.5, 542.5, 196.5 ]
}

}
, {
"patchline" : {
"source" : [ "obj-11", 0 ],
"destination" : [ "obj-13", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-10", 0 ],
"destination" : [ "obj-11", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-8", 0 ],
"destination" : [ "obj-10", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-9", 0 ],
"destination" : [ "obj-8", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-4", 0 ],
"destination" : [ "obj-7", 0 ],
"hidden" : 0,
"midpoints" : [ 303.5, 152.0 ]
}

}
, {
"patchline" : {
"source" : [ "obj-7", 0 ],
"destination" : [ "obj-13", 0 ],
"hidden" : 0,
"midpoints" : [ 303.5, 196.5, 542.5, 196.5 ]
}

}
, {
"patchline" : {
"source" : [ "obj-3", 0 ],
"destination" : [ "obj-13", 0 ],
"hidden" : 0,
"midpoints" : [ 542.5, 196.5, 542.5, 196.5 ]
}

}
, {
"patchline" : {
"source" : [ "obj-5", 0 ],
"destination" : [ "obj-3", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-18", 0 ],
"destination" : [ "obj-2", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-19", 0 ],
"destination" : [ "obj-12", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-20", 0 ],
"destination" : [ "obj-15", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-21", 0 ],
"destination" : [ "obj-16", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-4", 0 ],
"destination" : [ "obj-1", 0 ],
"hidden" : 0,
"midpoints" : [ 303.5, 131.0, 230.5, 131.0 ]
}

}
, {
"patchline" : {
"source" : [ "obj-1", 0 ],
"destination" : [ "obj-10", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
]
}

Dec 12 2010 | 5:55 pm

Here is what i usually use, hope it helps.


-- Pasted Max Patch, click to expand. --

For future postings, i would kindly suggest using copy compressed when posting patches. It makes the code shorter. If you highlight your patch and go to the edit window and click "copy compressed", then you will get the type condensed code you see above and people on the forum would appreciate it too.

Dec 13 2010 | 11:07 am

Excellent thanks for your help and It was a first time for posting on the forum for me so thanks for advice :)

Jan 03 2011 | 3:49 pm

also many thanks. p.s. PIZZLY DA WICKEDEST!

Viewing 4 posts - 1 through 4 (of 4 total)

Forums > MaxMSP