Author Archives: aereed@andrew.cmu.edu

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

Project 1- Alex

I like taking digital mediums and making them more accessible for untrained artists. I think that everyone should be able to mess around with computers and make cool stuff. For this project, I decided to make a physical interface for the media lab control patch Jesse gave us.

insert photo of the arduino I forgot to take here

Arduino control code

// constants won’t change. They’re used here to set pin numbers:
const int buttonOnePin = 3; // the number of the redlight pushbutton pin
const int ledOnePin = 9; // the number of the LED pin
const int buttonTwoPin = 4; // the number of the yellowlight pushbutton pin
const int ledTwoPin = 10; // the number of the LED pin
const int buttonThreePin = 5; // the number of the bluelight pushbutton pin
const int ledThreePin = 8; // the number of the LED pin

// variable buttons
int buttonOneState = 0; // variable for reading the pushbutton status
int buttonTwoState = 0;
int buttonThreeState = 0;

//variables knob
const int potPin = 3; // select the input pin for the potentiometer
int potVal = 0; // variable to store the value coming from the sensor
int mappedPotVal = 0;

//variables slider
const int slidePin = 0;
int slideVal = 0;
int mappedSlideVal = 0;

//variables for ir detector
const int irPin = 5;
int irVal = 0;
int mappedIrVal = 0;

//joystick
const int swPin = 2; // digital pin connected to switch output
const int xPin = 2; // analog pin connected to X output
const int yPin = 1; // analog pin connected to Y output

int xState = 0;
int yState = 0;
int mappedXState = 0;
int mappedYState = 0;

void setup() {
Serial.begin(9600);
// initialize the LED pin as an output:
pinMode(ledOnePin, OUTPUT);
pinMode(ledTwoPin, OUTPUT);
pinMode(ledThreePin, OUTPUT);
// initialize the pushbutton pin as an input:
pinMode(buttonOnePin, INPUT);
pinMode(buttonTwoPin, INPUT);
pinMode(buttonThreePin, INPUT);

}

void loop() {
// read the state of the pushbutton value:
buttonOneState = digitalRead(buttonOnePin);
buttonTwoState = digitalRead(buttonTwoPin);
buttonThreeState = digitalRead(buttonThreePin);

// check if the redlight pushbutton is pressed. If it is, the buttonState is HIGH:
if (buttonOneState == HIGH) {
// turn LED on:
digitalWrite(ledOnePin, HIGH);
} else {
// turn LED off:
digitalWrite(ledOnePin, LOW);
}

// check if the yellowlight pushbutton is pressed. If it is, the buttonState is HIGH:
if (buttonTwoState == HIGH) {
// turn LED on:
digitalWrite(ledTwoPin, HIGH);
} else {
// turn LED off:
digitalWrite(ledTwoPin, LOW);
}

// check if the bluelight pushbutton is pressed. If it is, the buttonState is HIGH:
if (buttonThreeState == HIGH) {
// turn LED on:
digitalWrite(ledThreePin, HIGH);
} else {
// turn LED off:
digitalWrite(ledThreePin, LOW);
}

//check the turn potentiometer values, map them to the bay range
potVal = analogRead(potPin); // read the value from the potentiometer
mappedPotVal = map(potVal, 0, 1023, 1, 9);

//check the slide potentiometer values, map them to the saturation range
slideVal = analogRead(slidePin);
mappedSlideVal = map(slideVal, 0, 1023, 0, 255);

//check switch
xState = analogRead(xPin);
yState = analogRead(yPin);
mappedXState = map(xState, 0, 1023, 0, 255);
mappedYState = map(yState, 0, 1023, 0, 255);

//check the ir values
irVal = analogRead(irPin);
mappedIrVal = map(irVal, 0, 550, 0, 8);

Serial.print(buttonOneState);
Serial.print(” “);
Serial.print(buttonTwoState);
Serial.print(” “);
Serial.print(buttonThreeState);
Serial.print(” “);
Serial.print(mappedPotVal);
Serial.print(” “);
Serial.print(mappedSlideVal);
Serial.print(” “);
Serial.print(mappedXState);
Serial.print(” “);
Serial.print(mappedYState);
Serial.print(” “);
Serial.println(mappedIrVal);
delay(50);
}

Control patch

bpatcher edits

video of working is too big sorry

heres the gist

<pre><code>
----------begin_max5_patcher----------
3562.3oc4cszbiaiD97jpx+AV9ztU4nBuAXtkZOkC6o83toRQaywlSjD8RQM
YbRs+2W7fjhxxDngMDsnilJVwPxhe8G5tQitaP8me+28oqto9ak6tJ6Gy92Y
e5S+odjOYGyLxm5G3SWso3a2ttXm8Md0s0a1Tts8pq6dw1xu0ZegaxL+qIKa
Wl4w2L+3I8+U0L7d2teS010ks1OIb+nU2Y+6qu4K+P9va8wh1aenZ68+ZS4s
sNDRwqPWmwDLySXI07DQ+yreYzme8919K.pe3csOstzdMF93+b811cU+gcTr
9CzN7+66+Nyy5mtFLcrs720.+T1XWVScaQySZHAW7o9DeQN0I3DySRKKPHwI
9uZw7yqqiRRvXxHttYSgUHDdDOLQO+JzOHBsPRry0bTHgj3YN9whlhMkskM+
Z41habu5.o39LZe5wR2kW+moUgK1d+UY+xqlk1TtaWw8kmpMfI7Wl6HuD2gj
9zCHHlvPT44DM2nUJLjFWSZL1Jte1B6gsNkPdCDwzVEEqW+qqqZKiPUBo.SG
TZ9.cvmWKDOy84wL260EHNWpFLRVjy8OrOlodLBLabzTe9kxTOKlodpe8bU9
JJkxx0Bn.ysqEtDl0uo3IQzl7L3TgvtTgTZm8ErEnIO2uRdtzHrTIaANuGm4
NR.mI5l1oKPKco202wRse8E5DNORCcYNblvMgKTKxU0w9kSDd4NiGoINANSr
fMwE98joW4xpLurlqYQZcKTfHgErgsvu+KFhsHmlixjVh.wAKYiY+duwJwvt
PVXS0zXsnIvYhkrYs2cho2iNa4NgGkssfAmHVvF3buqVqb5vKrYZRjl1bIDN
XAaTy8FMhTJVjSxwYNifPAKYCYu9q37k3b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r4C6rnwNO2qlCe1vtqYiiC7Drda+
ztlMdJQHEAMBJp0.Q5fbQi4na2MOri+M9v2G0b2ujD2lXPYmmjtrJggcvNRW
kcwx49BBJ3E44beTvf.0elHz9b6avH9yxglcryzJI.wNOFrON+TSgcz7gcVL
Xeb9flB6z4C6zXv937pLE1YyG1wQf8tcsOEpEyGpQQf5w62bJnKmOnOgKtTD
1.FzN1voaSvXF3tn2SXJHl7jHbYtSR84L3VffmFO3M2D6BEdNa1j.aY.iSBT
3ydHt.wNNZryx8p4HlMr6NUw.AOo6fDKTlCDH9v8D6Cuv4JtnHNalwMSPPTR
vrDflQQHdkIrjJBJBIIBODrimONcUq+jCJ9TzVBWu.AaEJjHgWRJrKIKgWRL
rKY5RNr4BxBl7aTf1hjsRuuZ8RulnTs6rtqGms+VxvY3L75uyHE4jU4DkFoN
jY25OsGm7jgyfEpgDXOKR4JBloC4b.mr98.jRbFNSEg1exvjrsVRpzCQQPHF
P0jyWIMy3rAbdTxsRKZoAsbC0UzpUBlQCc.sc6HIs3jGDmAJIq49VklSI4GX
0wqAlVzJCu1l+tTPJ6zSc15DFdXez1wNAoc20bJd7wuV1rq6h4.4UaJ9Rsam
eW698pste2cGK6plxuV0+mvbCUzb6CUsk21tuwcW54ahtasnWsoVGJv18U8w
jYwf9G+e.HxPBhB
-----------end_max5_patcher-----------
</code></pre>
view raw gistfile1.txt hosted with ❤ by GitHub

Assignment 4 – Alex

For this assignment I decided to make a voice changer, I found a tutorial online for a robot voice, so I started there then I explored the [gizmo] object and added  speed and pitch shifter. Here’s the gist, if you have time, record your voice in and play around!

https://gist.github.com/alexesreed/0d02756669b748476983e9fff502652d.js

For funsies you can listen to Trevor Noah do a set as a speedy robot.

 

Assignment 3 – Alex Reed

Mostly Screaming

Proposal #1 – Alex Reed

As an interaction designer, interfacing the virtual world with the physical is super interesting to me. For this first project I would like to see how Max interacts with sensors and microprocessors like arduino.

I’ll be using physical inputs, like motion, light, buttons, poteniometers, etc. to “dj” a short piece. Kind of like an unnecessarily complicated midi board interface.

Assignment 2

Three videos (Spaceballs, Little People Doing the Single Ladies Dance, and Funniest Star Trek Moments) are played simultaneously. The frames are triggered to start/stop via the various levels of the song Remember the Name by Fort minor. Then the song is shifted 1 second off and fed back to the system

FLicker


----------begin_max5_patcher----------
2477.3oc6bsrjaqaDc83p7+.iVkaUSTgW7UV4rJaRVkkWmxEDEjFXSRvKIzL
dxsh+1CdPR8Xnjnffn0jDWkGogj.c2GbP2MZ.N+9G+vCyVH9NqYVveN3WCd3
geWckGLWSekG5tvCyJneOKm1XdvYErlF5Z1rGauoj8co4FMRQU+U4KMWSr3q
+ITT+UK2TH1HyYRSWA6tbEUl8Dub8WpYYRq1fw34fGCHgg5Or+BBMGD7O6ZT
i70blQH8cusukuVwrcxrYaebkn4kcRFYt3+9ieP+o5iGudq+kZtjMn4Sbw7i
fFyGPLlez8h4WxdQYSu05qC9GxMqVMn8Cbv9IPigSZYAH+Z+.ua+ekKm+bV8
P1OL8H1O5j1ug2GhRrz.2rekV8kBprl+8YOdbz.OkrAXhKrAjYBPbb76C1Py
Ir+3iX+fSX+PKM.BiSmGp..xn.f8LR3MXPVofh5kEC50C5vvbDxP5IvT8GQo
2+CymBAvNLPGAMDcXngnGCmxw4LQQAqT9Vyrpl0vpelorVZtjWvBT+Po2A+Q
5xkAh5fk0hpfU0TUrw.ZSPIisjs7WlGDHVsJXwqAKYqnaxk+g9tNmWp.tMkx
8bCtRTJa3+Ki0A0yw245kpN2nL+kZNMeP3NwA7NkDaiuZcvhsQaI+jAbchTA
57Izfr7IVPg3Y9VN10gSQN.SI.iKWLBtCLg.+jgISFWATK57nk.VSUWh2D74
YXk58YUXuLwRVl8ReshsVeoeaCMmKe0dwRQcAMWeYM0tIil21AQ.U6+b4vjV
reFLbIXPhMX.Bg2YvfjLMCFTordC2STwzyEiPKMarlVOOyNAtDmB1YtLLD32
vGP+ujg8Vvz0AkjXGh2FGs6z52cqwZODCeoHFzkkkDkZhWfRr.mchH99cY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is+.t+larsh+JP5uKJoYhcJyNMKiUZ6ztNKIDBR08UBAgH1ugA.B5ftlkyJ
NrswIfTHwzD..ASrcCFFkbPi2qUvjjDj9QQIIPfo43PHFCOnQKVuhmm22z81
22tcQX15Z5R9N+EI3.YgRAvzHiH.oIsBSeoCDVayfsaugEcSU+Klz8szgaBp
GHg3X.z.An3HrEVT1p9Eje+1QKWa2aDT7daCbsnRT2uCvywoaawFon2R6yBq
ivYAq8r6TkXIXipGmDFFa+FBA6FV6lz7X2LyZUW+lMsYVghVx6knY10G+f5i
+CjYNpRM
-----------end_max5_patcher-----------

Assignment 1 – Alex Reed

The system I selected was the information database, Wikipedia. I started with a simple search term, Signal, and followed what I thought were interesting links from page to page. Many times I have gone down the wormhole that is Wikipedia links, and ended up nowhere close to the topic I started off on.

This particular trip took me from internet history, to U.S governance, back to computer science, to Carnegie and Mellon, to golf, to horse shows, to obsessive compulsive disorders, to polio, to history, to math, to data, to film, to mythology, to national disasters, and finally currency.