Project 2 – Magic 8 Ball – Alex Reed

For this project I wanted to explore the possibility for using voice to text to control Max. After a lot of research and trial and error I found that speech processing is better suited to other programs, like Processing or Google APIs. So the project transformed in to small “performance” piece, where with a little behind the scenes magic, the user can ask to know their future.

Here is a demo video:

And some screenshots:

Gist:

{
"boxes" : [ {
"box" : {
"maxclass" : "comment",
"text" : "Run Processing Sketch then launch Speech Site",
"linecount" : 3,
"id" : "obj-65",
"bgcolor" : [ 0.322969, 0.31519, 0.325025, 0.0 ],
"patching_rect" : [ 126.333344, 321.666626, 219.0, 73.0 ],
"numinlets" : 1,
"presentation" : 1,
"fontsize" : 18.0,
"numoutlets" : 0,
"bubble" : 1,
"style" : "",
"presentation_rect" : [ 126.333344, 320.0, 453.666687, 31.0 ]
}
}
, {
"box" : {
"maxclass" : "live.button",
"varname" : "live.button",
"id" : "obj-64",
"patching_rect" : [ 359.333374, 610.666687, 15.0, 15.0 ],
"numinlets" : 1,
"presentation" : 1,
"parameter_enable" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"presentation_rect" : [ 46.000031, 309.333344, 52.333336, 52.333336 ],
"saved_attribute_attributes" : {
"valueof" : {
"parameter_longname" : "live.button",
"parameter_shortname" : "live.button",
"parameter_type" : 2,
"parameter_mmax" : 1.0,
"parameter_enum" : [ "off", "on" ]
}
}
}
}
, {
"box" : {
"maxclass" : "slider",
"id" : "obj-62",
"patching_rect" : [ 1983.0, 319.31842, 96.0, 37.333332 ],
"numinlets" : 1,
"presentation" : 1,
"parameter_enable" : 0,
"size" : 5.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"style" : "",
"presentation_rect" : [ 40.999989, 105.166672, 219.0, 37.333332 ]
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "Ask Anything!",
"id" : "obj-8",
"bgcolor" : [ 0.322969, 0.31519, 0.325025, 0.0 ],
"patching_rect" : [ 62.333324, 702.43103, 219.0, 31.0 ],
"numinlets" : 1,
"presentation" : 1,
"fontsize" : 18.0,
"numoutlets" : 0,
"bubble" : 1,
"style" : "",
"presentation_rect" : [ 547.666687, 393.666626, 219.0, 31.0 ]
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : " Find Display Corridinates",
"id" : "obj-108",
"patching_rect" : [ 1017.852417, 650.666687, 273.0, 31.0 ],
"numinlets" : 1,
"presentation" : 1,
"fontsize" : 18.0,
"numoutlets" : 0,
"bubble" : 1,
"style" : "",
"presentation_rect" : [ 276.999969, 108.333336, 273.0, 31.0 ]
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "set @rect to these cordinates for full screen\n",
"linecount" : 2,
"presentation_linecount" : 2,
"id" : "obj-106",
"patching_rect" : [ 462.5, 710.333313, 239.0, 52.0 ],
"numinlets" : 1,
"presentation" : 1,
"fontsize" : 18.0,
"numoutlets" : 0,
"bubble" : 1,
"style" : "",
"presentation_rect" : [ 276.999969, 160.833328, 244.0, 52.0 ]
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "coords 0 0 0 1280 720",
"id" : "obj-104",
"patching_rect" : [ 1789.0, 479.0, 219.0, 29.0 ],
"numinlets" : 2,
"presentation" : 1,
"fontsize" : 18.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"style" : "",
"presentation_rect" : [ 40.999989, 172.333328, 219.0, 29.0 ]
}
}
, {
"box" : {
"maxclass" : "number",
"id" : "obj-54",
"patching_rect" : [ 1983.0, 388.5, 53.0, 23.0 ],
"numinlets" : 1,
"parameter_enable" : 0,
"fontsize" : 13.0,
"numoutlets" : 2,
"outlettype" : [ "", "bang" ],
"style" : "",
"fontname" : "Arial"
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "coords $1",
"linecount" : 2,
"id" : "obj-12",
"patching_rect" : [ 1983.0, 415.0, 53.0, 38.0 ],
"numinlets" : 2,
"fontsize" : 13.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"style" : "",
"fontname" : "Arial"
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "print @popup 1",
"id" : "obj-34",
"patching_rect" : [ 1757.0, 415.0, 100.0, 23.0 ],
"numinlets" : 1,
"fontsize" : 13.0,
"numoutlets" : 0,
"style" : "",
"fontname" : "Arial"
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "jit.displays",
"id" : "obj-98",
"patching_rect" : [ 1741.0, 387.5, 70.0, 23.0 ],
"numinlets" : 1,
"fontsize" : 13.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"style" : "",
"fontname" : "Arial"
}
}
, {
"box" : {
"maxclass" : "message",
"text" : ";\r\nmax launch_browser C:/Users/nhamo/Desktop/Project/Chrome2processing/Chrome2processing.pde",
"linecount" : 4,
"id" : "obj-126",
"patching_rect" : [ 462.5, 627.666687, 351.0, 64.0 ],
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"style" : "default"
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "Make sure sound is ON!",
"id" : "obj-117",
"patching_rect" : [ 69.5, 607.0, 238.0, 31.0 ],
"numinlets" : 1,
"presentation" : 1,
"fontsize" : 18.0,
"numoutlets" : 0,
"bubble" : 1,
"style" : "",
"presentation_rect" : [ 40.999989, 37.666668, 423.0, 31.0 ]
}
}
, {
"box" : {
"maxclass" : "button",
"id" : "obj-115",
"patching_rect" : [ 189.75, 242.0, 19.25, 19.25 ],
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"style" : ""
}
}
, {
"box" : {
"maxclass" : "button",
"id" : "obj-113",
"patching_rect" : [ 233.0, 242.0, 16.0, 16.0 ],
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"style" : ""
}
}
, {
"box" : {
"maxclass" : "button",
"id" : "obj-109",
"patching_rect" : [ 233.0, 154.0, 24.0, 24.0 ],
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"style" : ""
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "onebang",
"id" : "obj-99",
"patching_rect" : [ 193.5, 204.0, 57.0, 22.0 ],
"numinlets" : 2,
"numoutlets" : 2,
"outlettype" : [ "bang", "bang" ],
"style" : ""
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "scale 0.5",
"id" : "obj-92",
"patching_rect" : [ 136.0, 107.0, 71.5, 22.0 ],
"numinlets" : 6,
"numoutlets" : 1,
"outlettype" : [ "" ],
"style" : ""
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "* 10000.",
"id" : "obj-89",
"patching_rect" : [ 136.0, 64.5, 55.0, 22.0 ],
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "float" ],
"style" : ""
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "delay 4000",
"id" : "obj-37",
"patching_rect" : [ 626.0, 154.0, 69.0, 22.0 ],
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"style" : ""
}
}
, {
"box" : {
"maxclass" : "toggle",
"id" : "obj-26",
"patching_rect" : [ 662.0, 96.0, 24.0, 24.0 ],
"numinlets" : 1,
"parameter_enable" : 0,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"style" : ""
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "loadbang",
"id" : "obj-50",
"patching_rect" : [ 844.0, 20.0, 74.0, 22.0 ],
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"style" : ""
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "open MagicNoise.mp3",
"linecount" : 2,
"id" : "obj-48",
"patching_rect" : [ 849.333313, 84.0, 102.0, 36.0 ],
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"style" : ""
}
}
, {
"box" : {
"maxclass" : "ezdac~",
"id" : "obj-30",
"patching_rect" : [ 768.5, 259.0, 45.0, 45.0 ],
"numinlets" : 2,
"numoutlets" : 0,
"style" : ""
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "sfplay~ 2",
"id" : "obj-19",
"patching_rect" : [ 766.5, 135.0, 59.0, 22.0 ],
"numinlets" : 2,
"numoutlets" : 3,
"outlettype" : [ "signal", "signal", "bang" ],
"style" : "",
"saved_object_attributes" : {
"basictuning" : 440,
"followglobaltempo" : 0,
"formantcorrection" : 0,
"mode" : "basic",
"originallength" : [ 3059.439453, "ticks" ],
"originaltempo" : 120.0,
"pitchcorrection" : 0,
"quality" : "basic",
"timestretch" : [ 0 ]
}
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "What does the future hold?",
"id" : "obj-13",
"patching_rect" : [ 17.0, 380.0, 155.0, 22.0 ],
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"style" : ""
}
}
, {
"box" : {
"maxclass" : "jit.fpsgui",
"id" : "obj-93",
"patching_rect" : [ 756.0, 505.0, 80.0, 36.0 ],
"numinlets" : 1,
"fontface" : 0,
"fontsize" : 12.0,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"style" : "",
"mode" : 3,
"fontname" : "Arial"
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "jit.op @op !- @val 255",
"id" : "obj-24",
"patching_rect" : [ 1272.0, 361.0, 126.0, 22.0 ],
"numinlets" : 2,
"fontsize" : 11.595187,
"numoutlets" : 2,
"outlettype" : [ "jit_matrix", "" ],
"style" : "",
"fontname" : "Arial"
}
}
, {
"box" : {
"maxclass" : "button",
"id" : "obj-78",
"patching_rect" : [ 233.0, 336.0, 24.0, 24.0 ],
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"style" : ""
}
}
, {
"box" : {
"maxclass" : "button",
"id" : "obj-72",
"patching_rect" : [ 445.5, 177.0, 24.0, 24.0 ],
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"style" : ""
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "route What",
"id" : "obj-68",
"patching_rect" : [ 160.0, 454.899994, 69.0, 22.0 ],
"numinlets" : 2,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"style" : ""
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "moveto 75 95",
"id" : "obj-60",
"patching_rect" : [ 252.5, 517.223877, 81.0, 22.0 ],
"numinlets" : 2,
"fontsize" : 11.595187,
"numoutlets" : 1,
"outlettype" : [ "" ],
"style" : "",
"fontname" : "Arial"
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "It has been determined!",
"id" : "obj-29",
"patching_rect" : [ 193.5, 380.0, 137.0, 22.0 ],
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"style" : ""
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "jit.gl.videoplane @blend_enable 1 @scale 0.7 0.7 0.7 @enable 1",
"id" : "obj-86",
"patching_rect" : [ 1296.72998, 465.0, 356.0, 22.0 ],
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "jit_matrix", "" ],
"style" : ""
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "loadbang",
"id" : "obj-21",
"patching_rect" : [ 17.0, 328.0, 60.0, 22.0 ],
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"style" : ""
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "jit.world mom @erase_color 1 1 1 1 @enable 1 @rect 3840 654 5760 1734",
"id" : "obj-58",
"patching_rect" : [ 1238.977051, 543.5, 611.0, 29.0 ],
"numinlets" : 1,
"presentation" : 1,
"fontsize" : 18.0,
"numoutlets" : 3,
"outlettype" : [ "", "bang", "" ],
"style" : "",
"presentation_rect" : [ 40.999989, 236.666672, 611.0, 29.0 ]
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "Print subtitles with jit.lcd",
"id" : "obj-56",
"patching_rect" : [ 1474.0, 50.0, 150.0, 20.0 ],
"numinlets" : 1,
"numoutlets" : 0,
"style" : ""
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "moveto 55 95",
"id" : "obj-73",
"patching_rect" : [ 160.0, 517.223877, 81.0, 22.0 ],
"numinlets" : 2,
"fontsize" : 11.595187,
"numoutlets" : 1,
"outlettype" : [ "" ],
"style" : "",
"fontname" : "Arial"
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "prepend write",
"id" : "obj-74",
"patching_rect" : [ 69.5, 517.223877, 81.0, 22.0 ],
"numinlets" : 1,
"fontsize" : 11.595187,
"numoutlets" : 1,
"outlettype" : [ "" ],
"style" : "",
"fontname" : "Arial"
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "s lcd",
"id" : "obj-75",
"patching_rect" : [ 28.5, 567.43103, 34.0, 22.0 ],
"numinlets" : 1,
"fontsize" : 11.595187,
"numoutlets" : 0,
"style" : "",
"fontname" : "Arial"
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "t b s s clear",
"id" : "obj-76",
"patching_rect" : [ 28.5, 438.5, 70.0, 22.0 ],
"numinlets" : 1,
"fontsize" : 11.595187,
"numoutlets" : 4,
"outlettype" : [ "bang", "", "", "clear" ],
"style" : "",
"fontname" : "Arial"
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "r alphamask",
"id" : "obj-79",
"patching_rect" : [ 1016.852417, 309.651733, 74.0, 22.0 ],
"numinlets" : 0,
"fontsize" : 11.595187,
"numoutlets" : 1,
"outlettype" : [ "" ],
"style" : "",
"fontname" : "Arial"
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "s alphamask",
"id" : "obj-80",
"patching_rect" : [ 1412.22998, 286.370453, 76.0, 22.0 ],
"numinlets" : 1,
"fontsize" : 11.595187,
"numoutlets" : 0,
"style" : "",
"fontname" : "Arial"
}
}
, {
"box" : {
"maxclass" : "jit.pwindow",
"id" : "obj-81",
"patching_rect" : [ 1569.437256, 164.40947, 160.0, 120.0 ],
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"border" : 1.0
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "loadbang",
"id" : "obj-82",
"patching_rect" : [ 1462.965698, 75.6036, 58.0, 22.0 ],
"numinlets" : 1,
"fontsize" : 11.595187,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"style" : "",
"fontname" : "Arial"
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "t b",
"id" : "obj-83",
"patching_rect" : [ 1124.852417, 309.651733, 23.0, 22.0 ],
"numinlets" : 1,
"fontsize" : 11.595187,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"style" : "",
"fontname" : "Arial"
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "jit.pack 4",
"id" : "obj-84",
"patching_rect" : [ 1140.602417, 355.651733, 62.0, 22.0 ],
"numinlets" : 4,
"numoutlets" : 2,
"outlettype" : [ "jit_matrix", "" ],
"style" : "newobjGreen-1"
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "jit.unpack 4",
"id" : "obj-27",
"patching_rect" : [ 1140.852417, 268.992249, 76.0, 22.0 ],
"numinlets" : 1,
"numoutlets" : 5,
"outlettype" : [ "jit_matrix", "jit_matrix", "jit_matrix", "jit_matrix", "" ],
"style" : "newobjGreen-1"
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "jit.rgb2luma",
"id" : "obj-85",
"patching_rect" : [ 1412.22998, 220.603027, 73.0, 22.0 ],
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "jit_matrix", "" ],
"style" : "newobjBlue-1"
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "r lcd",
"id" : "obj-87",
"patching_rect" : [ 1412.22998, 128.522339, 32.0, 22.0 ],
"numinlets" : 0,
"fontsize" : 11.595187,
"numoutlets" : 1,
"outlettype" : [ "" ],
"style" : "",
"fontname" : "Arial"
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "jit.alphablend",
"id" : "obj-42",
"patching_rect" : [ 1184.852417, 411.311188, 82.0, 22.0 ],
"numinlets" : 2,
"numoutlets" : 2,
"outlettype" : [ "jit_matrix", "" ],
"style" : "newobjBlue-1"
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "font times 28, textface bold, brgb 255 255 255, frgb 0 0 0, clear, bang",
"linecount" : 2,
"id" : "obj-43",
"patching_rect" : [ 1462.965698, 110.27916, 308.0, 35.0 ],
"numinlets" : 2,
"fontsize" : 11.595187,
"numoutlets" : 1,
"outlettype" : [ "" ],
"style" : "",
"fontname" : "Arial"
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "jit.lcd 4 char 432 432",
"id" : "obj-44",
"patching_rect" : [ 1412.22998, 170.819504, 122.0, 22.0 ],
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "jit_matrix", "" ],
"style" : "newobjYellow-1"
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "loadbang",
"id" : "obj-5",
"patching_rect" : [ 268.0, 236.0, 60.0, 22.0 ],
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"style" : ""
}
}
, {
"box" : {
"maxclass" : "dropfile",
"id" : "obj-4",
"patching_rect" : [ 560.0, 143.0, 92.0, 44.0 ],
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "" ]
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "sel",
"id" : "obj-49",
"patching_rect" : [ 560.0, 338.0, 29.5, 22.0 ],
"numinlets" : 2,
"numoutlets" : 2,
"outlettype" : [ "bang", "" ],
"style" : ""
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "+ 1",
"id" : "obj-41",
"patching_rect" : [ 440.0, 272.0, 29.5, 22.0 ],
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"style" : ""
}
}
, {
"box" : {
"maxclass" : "button",
"id" : "obj-38",
"patching_rect" : [ 408.0, 485.0, 24.0, 24.0 ],
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"style" : ""
}
}
, {
"box" : {
"maxclass" : "button",
"id" : "obj-28",
"patching_rect" : [ 544.0, 408.5, 24.0, 24.0 ],
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"style" : ""
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "delay 8000",
"id" : "obj-25",
"patching_rect" : [ 408.0, 438.5, 69.0, 22.0 ],
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"style" : ""
}
}
, {
"box" : {
"maxclass" : "number",
"id" : "obj-23",
"patching_rect" : [ 268.0, 297.0, 50.0, 22.0 ],
"numinlets" : 1,
"parameter_enable" : 0,
"numoutlets" : 2,
"outlettype" : [ "", "bang" ],
"style" : ""
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "random 16",
"id" : "obj-1",
"patching_rect" : [ 440.0, 236.0, 68.0, 22.0 ],
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"style" : ""
}
}
, {
"box" : {
"maxclass" : "number",
"id" : "obj-47",
"patching_rect" : [ 440.0, 319.0, 50.0, 22.0 ],
"numinlets" : 1,
"parameter_enable" : 0,
"numoutlets" : 2,
"outlettype" : [ "", "bang" ],
"style" : ""
}
}
, {
"box" : {
"maxclass" : "button",
"id" : "obj-33",
"patching_rect" : [ 25.25, 199.0, 20.0, 20.0 ],
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"style" : ""
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "togedge",
"id" : "obj-9",
"patching_rect" : [ 32.25, 166.0, 47.0, 20.0 ],
"numinlets" : 1,
"fontsize" : 10.0,
"numoutlets" : 2,
"outlettype" : [ "bang", "bang" ],
"style" : "",
"fontname" : "Arial"
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "> 10",
"id" : "obj-35",
"patching_rect" : [ 32.25, 140.0, 30.0, 20.0 ],
"numinlets" : 2,
"fontsize" : 10.0,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"style" : "",
"fontname" : "Arial"
}
}
, {
"box" : {
"maxclass" : "meter~",
"id" : "obj-36",
"patching_rect" : [ 17.0, 78.0, 80.0, 13.0 ],
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "float" ],
"style" : ""
}
}
, {
"box" : {
"maxclass" : "ezadc~",
"id" : "obj-2",
"patching_rect" : [ 17.0, 20.0, 45.0, 45.0 ],
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "signal", "signal" ],
"style" : ""
}
}
, {
"box" : {
"maxclass" : "message",
"text" : ";\r\nmax launch_browser https://codepen.io/getflourish/pen/NpBGqe",
"linecount" : 2,
"id" : "obj-18",
"patching_rect" : [ 62.333324, 650.666687, 351.0, 36.0 ],
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"style" : "default"
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "\" it was one sound of time\"",
"id" : "obj-22",
"patching_rect" : [ 104.0, 297.0, 338.0, 36.0 ],
"numinlets" : 2,
"presentation" : 1,
"fontsize" : 24.0,
"numoutlets" : 1,
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"outlettype" : [ "" ],
"style" : "",
"presentation_rect" : [ 35.666656, 391.166626, 496.0, 36.0 ],
"fontname" : "Arial",
"gradient" : 1,
"bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
"bgcolor2" : [ 1.0, 1.0, 1.0, 1.0 ],
"bgfillcolor_type" : "gradient",
"bgfillcolor_color1" : [ 1.0, 1.0, 1.0, 1.0 ],
"bgfillcolor_color2" : [ 1.0, 1.0, 1.0, 1.0 ],
"bgfillcolor_color" : [ 0.290196, 0.309804, 0.301961, 1.0 ],
"bgfillcolor_angle" : 270.0,
"bgfillcolor_proportion" : 0.39,
"bgfillcolor_autogradient" : 0
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "jit.slide @slide_up 25 @slide_down 25",
"id" : "obj-16",
"patching_rect" : [ 895.0, 268.992249, 216.0, 22.0 ],
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "jit_matrix", "" ],
"style" : ""
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "jit.movie",
"id" : "obj-11",
"patching_rect" : [ 600.5, 447.899994, 55.0, 22.0 ],
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "jit_matrix", "" ],
"style" : ""
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "prepend read",
"id" : "obj-14",
"patching_rect" : [ 600.5, 408.5, 82.0, 22.0 ],
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"style" : ""
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "prepend prefix",
"id" : "obj-15",
"patching_rect" : [ 560.0, 235.0, 87.0, 22.0 ],
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"style" : ""
}
}
, {
"box" : {
"maxclass" : "umenu",
"id" : "obj-17",
"patching_rect" : [ 560.0, 289.0, 100.0, 22.0 ],
"numinlets" : 1,
"parameter_enable" : 0,
"numoutlets" : 3,
"prefix" : "C:/Users/nhamo/Desktop/Project/Magic/",
"autopopulate" : 1,
"outlettype" : [ "int", "", "" ],
"items" : [ "8Ball-Cover.png", ",", "Ask-Again.PNG", ",", "Can't-Predict.PNG", ",", "Certain.PNG", ",", "Dont-Count.PNG", ",", "Hazy.PNG", ",", "Most-Likely.PNG", ",", "Outlook-Good.PNG", ",", "Rely-On-it.PNG", ",", "Reply-No.PNG", ",", "See-yes.PNG", ",", "Signs-point-to-yes.PNG", ",", "Sources-Say-No.PNG", ",", "Very-Doubtful.PNG", ",", "With-Out-A-doubt.PNG", ",", "Yes-Definitly.PNG", ",", "Yes.PNG" ],
"style" : ""
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "will launch the code website\n",
"linecount" : 2,
"id" : "obj-20",
"patching_rect" : [ 718.0, 20.0, 117.0, 34.0 ],
"numinlets" : 1,
"numoutlets" : 0,
"style" : ""
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "print text to screen\nanimate 8 ball\nbang random answers",
"linecount" : 3,
"id" : "obj-10",
"patching_rect" : [ 397.799988, 72.0, 160.0, 48.0 ],
"numinlets" : 1,
"numoutlets" : 0,
"style" : ""
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "print",
"id" : "obj-6",
"patching_rect" : [ 17.0, 282.0, 34.0, 22.0 ],
"numinlets" : 1,
"numoutlets" : 0,
"style" : ""
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "udpreceive 12000",
"id" : "obj-3",
"patching_rect" : [ 17.0, 236.0, 106.0, 22.0 ],
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"style" : ""
}
}
, {
"box" : {
"maxclass" : "panel",
"id" : "obj-119",
"patching_rect" : [ 872.666687, 585.833313, 128.0, 128.0 ],
"numinlets" : 1,
"presentation" : 1,
"numoutlets" : 0,
"style" : "",
"presentation_rect" : [ 17.0, 10.0, 774.000061, 475.333344 ],
"mode" : 0,
"angle" : 270.0,
"bgcolor" : [ 0.439216, 0.74902, 0.254902, 1.0 ],
"proportion" : 0.39
}
}
],
"lines" : [ {
"patchline" : {
"source" : [ "obj-64", 0 ],
"destination" : [ "obj-18", 0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-50", 0 ],
"destination" : [ "obj-126", 0 ],
"order" : 1
}
}
, {
"patchline" : {
"source" : [ "obj-19", 1 ],
"destination" : [ "obj-30", 1 ]
}
}
, {
"patchline" : {
"source" : [ "obj-19", 0 ],
"destination" : [ "obj-30", 0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-2", 0 ],
"destination" : [ "obj-36", 0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-62", 0 ],
"destination" : [ "obj-54", 0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-54", 0 ],
"destination" : [ "obj-12", 0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-25", 0 ],
"destination" : [ "obj-38", 0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-28", 0 ],
"destination" : [ "obj-25", 0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-115", 0 ],
"destination" : [ "obj-22", 0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-3", 0 ],
"destination" : [ "obj-22", 1 ],
"order" : 0
}
}
, {
"patchline" : {
"source" : [ "obj-99", 0 ],
"destination" : [ "obj-115", 0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-99", 1 ],
"destination" : [ "obj-113", 0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-98", 0 ],
"destination" : [ "obj-34", 0 ],
"order" : 1
}
}
, {
"patchline" : {
"source" : [ "obj-98", 0 ],
"destination" : [ "obj-104", 1 ],
"order" : 0
}
}
, {
"patchline" : {
"source" : [ "obj-92", 0 ],
"destination" : [ "obj-35", 0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-9", 0 ],
"destination" : [ "obj-33", 0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-89", 0 ],
"destination" : [ "obj-92", 0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-87", 0 ],
"destination" : [ "obj-44", 0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-86", 0 ],
"destination" : [ "obj-58", 0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-85", 0 ],
"destination" : [ "obj-81", 0 ],
"midpoints" : [ 1421.72998, 262.0, 1556.0, 262.0, 1556.0, 159.0, 1578.937256, 159.0 ],
"order" : 0
}
}
, {
"patchline" : {
"source" : [ "obj-85", 0 ],
"destination" : [ "obj-80", 0 ],
"order" : 1
}
}
, {
"patchline" : {
"source" : [ "obj-84", 0 ],
"destination" : [ "obj-42", 0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-83", 0 ],
"destination" : [ "obj-84", 0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-82", 0 ],
"destination" : [ "obj-43", 0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-79", 0 ],
"destination" : [ "obj-84", 0 ],
"midpoints" : [ 1026.352417, 344.651733, 1150.102417, 344.651733 ]
}
}
, {
"patchline" : {
"source" : [ "obj-76", 0 ],
"destination" : [ "obj-75", 0 ],
"color" : [ 0.380392, 0.611765, 0.611765, 1.0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-76", 3 ],
"destination" : [ "obj-75", 0 ],
"color" : [ 0.290196, 0.611765, 0.380392, 1.0 ],
"midpoints" : [ 89.0, 481.809448, 38.0, 481.809448 ]
}
}
, {
"patchline" : {
"source" : [ "obj-76", 1 ],
"destination" : [ "obj-74", 0 ],
"color" : [ 1.0, 0.890196, 0.090196, 1.0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-76", 2 ],
"destination" : [ "obj-68", 0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-74", 0 ],
"destination" : [ "obj-75", 0 ],
"color" : [ 1.0, 0.890196, 0.090196, 1.0 ],
"midpoints" : [ 79.0, 554.327393, 38.0, 554.327393 ]
}
}
, {
"patchline" : {
"source" : [ "obj-73", 0 ],
"destination" : [ "obj-75", 0 ],
"color" : [ 0.4, 0.4, 0.8, 1.0 ],
"midpoints" : [ 169.5, 552.899414, 38.0, 552.899414 ]
}
}
, {
"patchline" : {
"source" : [ "obj-72", 0 ],
"destination" : [ "obj-37", 0 ],
"order" : 1
}
}
, {
"patchline" : {
"source" : [ "obj-72", 0 ],
"destination" : [ "obj-26", 0 ],
"order" : 0
}
}
, {
"patchline" : {
"source" : [ "obj-72", 0 ],
"destination" : [ "obj-1", 0 ],
"order" : 2
}
}
, {
"patchline" : {
"source" : [ "obj-68", 0 ],
"destination" : [ "obj-73", 0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-68", 1 ],
"destination" : [ "obj-60", 0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-60", 0 ],
"destination" : [ "obj-75", 0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-50", 0 ],
"destination" : [ "obj-48", 0 ],
"order" : 0
}
}
, {
"patchline" : {
"source" : [ "obj-5", 0 ],
"destination" : [ "obj-23", 0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-49", 1 ],
"destination" : [ "obj-28", 0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-48", 0 ],
"destination" : [ "obj-19", 0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-44", 0 ],
"destination" : [ "obj-85", 0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-43", 0 ],
"destination" : [ "obj-44", 0 ],
"midpoints" : [ 1472.465698, 163.801498, 1421.72998, 163.801498 ]
}
}
, {
"patchline" : {
"source" : [ "obj-42", 0 ],
"destination" : [ "obj-86", 0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-41", 0 ],
"destination" : [ "obj-47", 0 ],
"order" : 1
}
}
, {
"patchline" : {
"source" : [ "obj-41", 0 ],
"destination" : [ "obj-17", 0 ],
"order" : 0
}
}
, {
"patchline" : {
"source" : [ "obj-4", 0 ],
"destination" : [ "obj-15", 0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-38", 0 ],
"destination" : [ "obj-23", 0 ],
"order" : 0
}
}
, {
"patchline" : {
"source" : [ "obj-38", 0 ],
"destination" : [ "obj-13", 0 ],
"order" : 1
}
}
, {
"patchline" : {
"source" : [ "obj-37", 0 ],
"destination" : [ "obj-26", 0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-36", 0 ],
"destination" : [ "obj-89", 0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-35", 0 ],
"destination" : [ "obj-9", 0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-33", 0 ],
"destination" : [ "obj-99", 0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-3", 0 ],
"destination" : [ "obj-6", 0 ],
"order" : 2
}
}
, {
"patchline" : {
"source" : [ "obj-3", 0 ],
"destination" : [ "obj-109", 0 ],
"order" : 1
}
}
, {
"patchline" : {
"source" : [ "obj-29", 0 ],
"destination" : [ "obj-76", 0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-27", 1 ],
"destination" : [ "obj-84", 1 ]
}
}
, {
"patchline" : {
"source" : [ "obj-27", 2 ],
"destination" : [ "obj-84", 2 ]
}
}
, {
"patchline" : {
"source" : [ "obj-27", 3 ],
"destination" : [ "obj-84", 3 ]
}
}
, {
"patchline" : {
"source" : [ "obj-27", 0 ],
"destination" : [ "obj-83", 0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-26", 0 ],
"destination" : [ "obj-19", 0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-24", 0 ],
"destination" : [ "obj-42", 1 ]
}
}
, {
"patchline" : {
"source" : [ "obj-23", 0 ],
"destination" : [ "obj-17", 0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-22", 0 ],
"destination" : [ "obj-78", 0 ],
"order" : 1
}
}
, {
"patchline" : {
"source" : [ "obj-22", 0 ],
"destination" : [ "obj-72", 0 ],
"order" : 0
}
}
, {
"patchline" : {
"source" : [ "obj-22", 0 ],
"destination" : [ "obj-29", 0 ],
"order" : 2
}
}
, {
"patchline" : {
"source" : [ "obj-21", 0 ],
"destination" : [ "obj-13", 0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-17", 0 ],
"destination" : [ "obj-49", 0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-17", 1 ],
"destination" : [ "obj-14", 0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-16", 0 ],
"destination" : [ "obj-27", 0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-15", 0 ],
"destination" : [ "obj-17", 0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-14", 0 ],
"destination" : [ "obj-11", 0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-13", 0 ],
"destination" : [ "obj-76", 0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-12", 0 ],
"destination" : [ "obj-98", 0 ],
"midpoints" : [ 1992.5, 443.0, 1975.5, 443.0, 1975.5, 383.0, 1750.5, 383.0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-11", 0 ],
"destination" : [ "obj-93", 0 ],
"order" : 2
}
}
, {
"patchline" : {
"source" : [ "obj-11", 0 ],
"destination" : [ "obj-24", 0 ],
"order" : 0
}
}
, {
"patchline" : {
"source" : [ "obj-11", 0 ],
"destination" : [ "obj-16", 0 ],
"order" : 1
}
}
, {
"patchline" : {
"source" : [ "obj-109", 0 ],
"destination" : [ "obj-99", 1 ],
"order" : 0
}
}
, {
"patchline" : {
"source" : [ "obj-109", 0 ],
"destination" : [ "obj-33", 0 ],
"order" : 1
}
}
, {
"patchline" : {
"source" : [ "obj-1", 0 ],
"destination" : [ "obj-41", 0 ]
}
}
],
"appversion" : {
"major" : 7,
"minor" : 3,
"revision" : 4,
"architecture" : "x86",
"modernui" : 1
}
,
"styles" : [ {
"name" : "newobjBlue-1",
"default" : {
"accentcolor" : [ 0.317647, 0.654902, 0.976471, 1.0 ]
}
,
"parentstyle" : "",
"multi" : 0
}
, {
"name" : "newobjGreen-1",
"default" : {
"accentcolor" : [ 0.0, 0.533333, 0.168627, 1.0 ]
}
,
"parentstyle" : "",
"multi" : 0
}
, {
"name" : "newobjYellow-1",
"default" : {
"fontsize" : [ 12.059008 ],
"accentcolor" : [ 0.82517, 0.78181, 0.059545, 1.0 ]
}
,
"parentstyle" : "",
"multi" : 0
}
]
}
view raw Magic 8 Ball hosted with ❤ by GitHub