User:Emily/Prototyping/Trimester 01/05

From XPUB & Lens-Based wiki

code of maxmsp

{
	"boxes" : [ 		{
			"box" : 			{
				"maxclass" : "preset",
				"numinlets" : 1,
				"outlettype" : [ "preset", "int", "preset", "int" ],
				"numoutlets" : 4,
				"patching_rect" : [ 77.399994, 501.0, 100.0, 40.0 ],
				"id" : "obj-43",
				"preset_data" : [ 					{
						"number" : 1,
						"data" : [ 5, "obj-3", "toggle", "int", 1, 5, "obj-111", "live.gain~", "float", -30.0 ]
					}
 ]
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "live.gain~",
				"varname" : "live.gain~",
				"presentation_rect" : [ 105.0, 105.0, 50.0, 31.0 ],
				"showname" : 0,
				"channels" : 1,
				"numinlets" : 1,
				"outlettype" : [ "signal", "", "float", "list" ],
				"numoutlets" : 4,
				"patching_rect" : [ 252.399994, 630.5, 136.0, 31.0 ],
				"id" : "obj-111",
				"parameter_enable" : 1,
				"orientation" : 1,
				"saved_attribute_attributes" : 				{
					"valueof" : 					{
						"parameter_longname" : "live.gain~[1]",
						"parameter_shortname" : "live.gain~",
						"parameter_type" : 0,
						"parameter_mmin" : -70.0,
						"parameter_mmax" : 6.0,
						"parameter_initial_enable" : 1,
						"parameter_initial" : [ -30 ],
						"parameter_unitstyle" : 4
					}

				}

			}

		}
, 		{
			"box" : 			{
				"maxclass" : "ezdac~",
				"prototypename" : "helpfile",
				"numinlets" : 2,
				"border" : 1.75,
				"numoutlets" : 0,
				"bordercolor" : [ 0.501961, 0.501961, 0.501961, 1.0 ],
				"patching_rect" : [ 252.399994, 674.0, 44.0, 44.0 ],
				"id" : "obj-112",
				"local" : 1,
				"bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ]
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "comment",
				"text" : "attrui",
				"fontsize" : 12.0,
				"frgb" : 0.0,
				"numinlets" : 1,
				"numoutlets" : 0,
				"patching_rect" : [ 84.899994, 82.260002, 38.0, 20.0 ],
				"id" : "obj-50",
				"fontname" : "Arial"
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "attrui",
				"fontsize" : 12.0,
				"numinlets" : 1,
				"outlettype" : [ "" ],
				"numoutlets" : 1,
				"attr" : "visible",
				"patching_rect" : [ 67.899994, 56.259998, 126.0, 20.0 ],
				"id" : "obj-51",
				"fontname" : "Arial"
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "newobj",
				"text" : "jit.window grains @noaccel 1",
				"fontsize" : 12.0,
				"numinlets" : 1,
				"outlettype" : [ "bang", "" ],
				"numoutlets" : 2,
				"patching_rect" : [ 67.899994, 102.260002, 165.0, 20.0 ],
				"id" : "obj-52",
				"fontname" : "Arial"
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "comment",
				"text" : "spigot~ soundtrack send",
				"fontsize" : 12.0,
				"frgb" : 0.0,
				"numinlets" : 1,
				"numoutlets" : 0,
				"patching_rect" : [ 338.399994, 83.260002, 150.0, 20.0 ],
				"id" : "obj-11",
				"fontname" : "Arial"
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "newobj",
				"text" : "sound_subpatcher",
				"fontsize" : 12.0,
				"numinlets" : 4,
				"outlettype" : [ "signal" ],
				"numoutlets" : 1,
				"patching_rect" : [ 479.399994, 56.259998, 109.0, 20.0 ],
				"id" : "obj-9",
				"fontname" : "Arial"
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "message",
				"text" : "stop",
				"fontsize" : 12.0,
				"numinlets" : 2,
				"outlettype" : [ "" ],
				"numoutlets" : 1,
				"patching_rect" : [ 384.399994, 28.26, 33.0, 18.0 ],
				"id" : "obj-4",
				"fontname" : "Arial"
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "message",
				"text" : "start",
				"fontsize" : 12.0,
				"numinlets" : 2,
				"outlettype" : [ "" ],
				"numoutlets" : 1,
				"patching_rect" : [ 338.399994, 28.26, 34.0, 18.0 ],
				"id" : "obj-5",
				"fontname" : "Arial"
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "toggle",
				"numinlets" : 1,
				"outlettype" : [ "int" ],
				"numoutlets" : 1,
				"patching_rect" : [ 252.399994, 18.26, 20.0, 20.0 ],
				"id" : "obj-3",
				"parameter_enable" : 0
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "newobj",
				"text" : "video_subpatcher",
				"fontsize" : 12.0,
				"numinlets" : 2,
				"outlettype" : [ "jit_matrix", "bang", "int", "", "signal" ],
				"numoutlets" : 5,
				"patching_rect" : [ 252.399994, 56.259998, 105.0, 20.0 ],
				"id" : "obj-1",
				"fontname" : "Arial"
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "jit.pwindow",
				"numinlets" : 1,
				"outlettype" : [ "", "" ],
				"numoutlets" : 2,
				"patching_rect" : [ 252.399994, 127.760002, 767.0, 459.190796 ],
				"id" : "obj-117",
				"background" : 1
			}

		}
 ],
	"lines" : [ 		{
			"patchline" : 			{
				"source" : [ "obj-9", 0 ],
				"destination" : [ "obj-111", 0 ],
				"hidden" : 0,
				"midpoints" : [ 488.899994, 78.0, 489.0, 78.0, 489.0, 114.0, 237.0, 114.0, 237.0, 615.0, 261.899994, 615.0 ],
				"disabled" : 0
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-51", 0 ],
				"destination" : [ "obj-52", 0 ],
				"hidden" : 0,
				"disabled" : 0
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-5", 0 ],
				"destination" : [ "obj-1", 1 ],
				"hidden" : 0,
				"disabled" : 0
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-4", 0 ],
				"destination" : [ "obj-1", 1 ],
				"hidden" : 0,
				"disabled" : 0
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-3", 0 ],
				"destination" : [ "obj-1", 0 ],
				"hidden" : 0,
				"disabled" : 0
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-111", 0 ],
				"destination" : [ "obj-112", 0 ],
				"hidden" : 0,
				"disabled" : 0
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-111", 0 ],
				"destination" : [ "obj-112", 1 ],
				"hidden" : 0,
				"disabled" : 0
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-1", 1 ],
				"destination" : [ "obj-9", 2 ],
				"hidden" : 0,
				"midpoints" : [ 283.399994, 87.0, 333.0, 87.0, 333.0, 78.0, 369.0, 78.0, 369.0, 57.0, 465.0, 57.0, 465.0, 42.0, 548.900024, 42.0 ],
				"disabled" : 0
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-1", 2 ],
				"destination" : [ "obj-9", 3 ],
				"hidden" : 0,
				"midpoints" : [ 304.899994, 78.0, 369.0, 78.0, 369.0, 57.0, 465.0, 57.0, 465.0, 42.0, 578.900024, 42.0 ],
				"disabled" : 0
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-1", 3 ],
				"destination" : [ "obj-9", 1 ],
				"hidden" : 0,
				"disabled" : 0
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-1", 4 ],
				"destination" : [ "obj-9", 0 ],
				"hidden" : 0,
				"midpoints" : [ 347.899994, 76.26001, 369.399994, 76.26001, 369.399994, 58.26001, 453.399994, 58.26001, 453.399994, 52.26001, 488.899994, 52.26001 ],
				"disabled" : 0
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-1", 0 ],
				"destination" : [ "obj-117", 0 ],
				"hidden" : 0,
				"disabled" : 0
			}

		}
 ],
	"appversion" : 	{
		"major" : 6,
		"minor" : 1,
		"revision" : 7,
		"architecture" : "x86"
	}

}




- I tried to work with the gunpowder sound and then to see how I can manipulate the sound by breaking down source samples into tiny "sound grains". Later on maybe I can process each grain separately before putting them back together.