diff --git a/chain.map/chain.map.c b/chain.map/chain.map.c index a626de2..ee771f5 100644 --- a/chain.map/chain.map.c +++ b/chain.map/chain.map.c @@ -151,6 +151,7 @@ int C74_EXPORT main(void) CLASS_ATTR_ACCESSORS(c, "ang_ele", NULL, chain_map_set_ang_ele); CLASS_ATTR_SYM(c, "name", ATTR_SET_OPAQUE_USER, t_chain_map, s_worker.s_site_name); + CLASS_ATTR_SAVE(c, "name", ATTR_SET_OPAQUE_USER); CLASS_ATTR_CHAR(c, "trackmouse", 0, t_chain_map, s_trackmouse); CLASS_ATTR_STYLE_LABEL(c, "trackmouse", 0, "onoff", "Track Mouse"); diff --git a/chain.metric/chain.metric.c b/chain.metric/chain.metric.c index 84d7af6..794115c 100644 --- a/chain.metric/chain.metric.c +++ b/chain.metric/chain.metric.c @@ -33,7 +33,7 @@ void chain_metric_send_median(t_chain_metric *x); static t_class *s_chain_metric_class = NULL; t_symbol *ps_url, *ps_db; -t_symbol *ps_mean, *ps_std, *ps_deviation, *ps_interpolation, *ps_max, *ps_min, *ps_median; +t_symbol *ps_mean, *ps_std, *ps_deviation, *ps_interpolation, *ps_max, *ps_min, *ps_median, *ps_proximal; t_symbol *ps_bilinear; int C74_EXPORT main(void) @@ -73,6 +73,7 @@ int C74_EXPORT main(void) ps_median = gensym("median"); ps_bilinear = gensym("bilinear"); + ps_proximal = gensym("proximal"); s_chain_metric_class = c; @@ -91,7 +92,7 @@ void *chain_metric_new(t_symbol *s, long argc, t_atom *argv) x->s_pos_z = 0.0; x->s_measure = ps_mean; - x->s_interp = ps_bilinear; + x->s_interp = ps_proximal; attr_args_process(x, argc, argv); @@ -190,12 +191,59 @@ void chain_metric_send_std(t_chain_metric *x) free(argv); } + void chain_metric_send_deviation(t_chain_metric *x){ - chain_error("Unimplemented"); + if (x->s_interp == ps_bilinear){ + chain_error("Unimplemented"); + return; + } else if (x->s_interp == ps_proximal){ + t_db_result *db_result = NULL; + + // This is basically a hack ... TODO: make this not a hack + double radius = x->s_radius; + if (radius <= 0.0){ + radius = 1000000.0; + } + + query_near_data_by_metric_name(x->s_worker.s_db, x->s_pos_x, + x->s_pos_z, radius, x->s_metric_name->s_name, &db_result); + double *argv; + long argc; + chain_metric_unpack_values(db_result, &argv, &argc); + if (argc < 1){ + chain_error("No data returned for interpolation"); + return; + } + outlet_float(x->s_outlet, (*argv - chain_mean(argv,argc)) / chain_std(argv,argc)); + free(argv); + } } void chain_metric_send_interpolation(t_chain_metric *x){ - chain_error("Unimplemented"); + if (x->s_interp == ps_bilinear){ + chain_error("Unimplemented"); + return; + } else if (x->s_interp == ps_proximal){ + t_db_result *db_result = NULL; + + // This is basically a hack ... TODO: make this not a hack + double radius = x->s_radius; + if (radius <= 0.0){ + radius = 1000000.0; + } + + query_near_data_by_metric_name(x->s_worker.s_db, x->s_pos_x, + x->s_pos_z, radius, x->s_metric_name->s_name, &db_result); + double *argv; + long argc; + chain_metric_unpack_values(db_result, &argv, &argc); + if (argc < 1){ + chain_error("No data returned for interpolation"); + return; + } + outlet_float(x->s_outlet, *argv); + free(argv); + } } void chain_metric_send_max(t_chain_metric *x){ diff --git a/common/queries.c b/common/queries.c index 8c92ebe..5d94b1c 100644 --- a/common/queries.c +++ b/common/queries.c @@ -121,7 +121,7 @@ static const char *get_near_data_by_metric_name = \ "SELECT sensors.value, devices.x, devices.z, " "(((devices.x - %lf) * (devices.x - %lf)) + ((devices.z - %lf) * (devices.z - %lf))) AS distance " "FROM sensors, devices, metrics WHERE " -"distance <= %lf * %lf AND" +"distance <= %lf * %lf AND " "sensors.device_id=devices.device_id AND " "sensors.metric_id=metrics.metric_id AND " "metrics.name=(\"%s\") " diff --git a/package/maxchain/help/chain.map.maxhelp b/package/maxchain/help/chain.map.maxhelp index dbdbc4f..e233b94 100644 --- a/package/maxchain/help/chain.map.maxhelp +++ b/package/maxchain/help/chain.map.maxhelp @@ -9,7 +9,7 @@ "modernui" : 1 } , - "rect" : [ 61.0, 145.0, 769.0, 800.0 ], + "rect" : [ 91.0, 86.0, 981.0, 800.0 ], "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ], "editing_bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ], "bglocked" : 0, @@ -39,6 +39,19 @@ "style" : "maxchain", "subpatcher_template" : "", "boxes" : [ { + "box" : { + "id" : "obj-1", + "maxclass" : "chain.map", + "name" : "maphelp", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 314.0, 299.0, 370.0, 177.0 ], + "trackmouse" : 0 + } + + } +, { "box" : { "format" : 6, "id" : "obj-14", @@ -144,18 +157,6 @@ "text" : "chain.device maphelp" } - } -, { - "box" : { - "id" : "obj-1", - "maxclass" : "chain.map", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 314.0, 273.0, 352.0, 228.0 ], - "trackmouse" : 0 - } - } , { "box" : { @@ -338,6 +339,7 @@ "destination" : [ "obj-2", 0 ], "disabled" : 0, "hidden" : 0, + "midpoints" : [ 323.5, 506.0, 323.5, 506.0 ], "source" : [ "obj-1", 0 ] } @@ -347,7 +349,7 @@ "destination" : [ "obj-9", 0 ], "disabled" : 0, "hidden" : 0, - "midpoints" : [ 323.5, 525.0, 495.5, 525.0 ], + "midpoints" : [ 323.5, 523.0, 495.5, 523.0 ], "source" : [ "obj-1", 0 ] } @@ -385,6 +387,7 @@ "destination" : [ "obj-1", 0 ], "disabled" : 0, "hidden" : 0, + "midpoints" : [ 323.5, 267.0, 323.5, 267.0 ], "source" : [ "obj-3", 0 ] } @@ -412,7 +415,7 @@ "destination" : [ "obj-1", 0 ], "disabled" : 0, "hidden" : 0, - "midpoints" : [ 451.0, 267.5, 323.5, 267.5 ], + "midpoints" : [ 451.0, 267.0, 323.5, 267.0 ], "source" : [ "obj-5", 0 ] } @@ -428,8 +431,8 @@ } ], "parameters" : { - "obj-7" : [ "number", "number", 0 ], - "obj-11" : [ "number[1]", "number[1]", 0 ] + "obj-11" : [ "number[1]", "number[1]", 0 ], + "obj-7" : [ "number", "number", 0 ] } , "dependency_cache" : [ { @@ -437,11 +440,11 @@ "type" : "iLaX" } , { - "name" : "chain.map.mxo", + "name" : "chain.device.mxo", "type" : "iLaX" } , { - "name" : "chain.device.mxo", + "name" : "chain.map.mxo", "type" : "iLaX" } ], @@ -449,9 +452,15 @@ "styles" : [ { "name" : "maxchain", "default" : { + "accentcolor" : [ 0.0, 0.0, 0.0, 1.0 ], + "elementcolor" : [ 0.282353, 0.309804, 0.266667, 1.0 ], + "bgcolor" : [ 0.095481, 0.100396, 0.100293, 1.0 ], "fontname" : [ "Courier" ], + "color" : [ 0.960784, 0.827451, 0.156863, 1.0 ], + "textjustification" : [ 0 ], "textcolor_inverse" : [ 1.0, 1.0, 1.0, 1.0 ], "patchlinecolor" : [ 0.639216, 0.458824, 0.070588, 0.9 ], + "fontface" : [ 0 ], "bgfillcolor" : { "type" : "color", "color" : [ 0.639216, 0.458824, 0.070588, 1.0 ], @@ -461,13 +470,7 @@ "proportion" : 0.39, "autogradient" : 0 } -, - "fontface" : [ 0 ], - "textjustification" : [ 0 ], - "bgcolor" : [ 0.095481, 0.100396, 0.100293, 1.0 ], - "accentcolor" : [ 0.0, 0.0, 0.0, 1.0 ], - "elementcolor" : [ 0.282353, 0.309804, 0.266667, 1.0 ], - "color" : [ 0.960784, 0.827451, 0.156863, 1.0 ] + } , "parentstyle" : "", @@ -485,8 +488,8 @@ , { "name" : "maxchain-subtitle", "default" : { - "fontsize" : [ 20.0 ], - "textcolor" : [ 0.870588, 0.415686, 0.062745, 1.0 ] + "textcolor" : [ 0.870588, 0.415686, 0.062745, 1.0 ], + "fontsize" : [ 20.0 ] } , "parentstyle" : "", @@ -496,9 +499,9 @@ "name" : "maxchain-title", "default" : { "fontname" : [ "Courier Bold" ], + "textcolor" : [ 0.960784, 0.827451, 0.156863, 1.0 ], "clearcolor" : [ 0.317647, 0.654902, 0.976471, 0.0 ], - "fontsize" : [ 48.0 ], - "textcolor" : [ 0.960784, 0.827451, 0.156863, 1.0 ] + "fontsize" : [ 48.0 ] } , "parentstyle" : "", diff --git a/package/maxchain/help/chain.metric.maxhelp b/package/maxchain/help/chain.metric.maxhelp index 1aa6ec3..1605d6b 100644 --- a/package/maxchain/help/chain.metric.maxhelp +++ b/package/maxchain/help/chain.metric.maxhelp @@ -9,7 +9,7 @@ "modernui" : 1 } , - "rect" : [ 41.0, 82.0, 1103.0, 652.0 ], + "rect" : [ 41.0, 82.0, 886.0, 652.0 ], "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ], "editing_bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ], "bglocked" : 0, @@ -39,6 +39,46 @@ "style" : "maxchain", "subpatcher_template" : "", "boxes" : [ { + "box" : { + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 799.25, 112.0, 68.0, 20.0 ], + "style" : "", + "text" : "loadbang" + } + + } +, { + "box" : { + "id" : "obj-20", + "items" : [ "bilinear", ",", "proximal" ], + "maxclass" : "umenu", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "int", "", "" ], + "parameter_enable" : 0, + "patching_rect" : [ 799.25, 145.0, 123.5, 20.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-6", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 851.5, 227.0, 75.0, 20.0 ], + "style" : "", + "text" : "interp $1" + } + + } +, { "box" : { "id" : "obj-31", "maxclass" : "newobj", @@ -53,10 +93,11 @@ , { "box" : { "id" : "obj-30", + "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 859.0, 187.0, 177.0, 18.0 ], + "patching_rect" : [ 950.0, 169.0, 85.0, 42.0 ], "style" : "", "text" : "bang - outputs measure" } @@ -390,7 +431,7 @@ , { "box" : { "id" : "obj-19", - "items" : "", + "items" : [ "health", ",", "solar_voltage", ",", "battery_voltage", ",", "charge_flags_charge", ",", "charge_flags_fault", ",", "sht_humidity", ",", "bmp_pressure", ",", "accel_z", ",", "accel_x", ",", "accel_y", ",", "illuminance", ",", "sht_temperature", ",", "bmp_temperature", ",", "wind_speed", ",", "soil_moisture", ",", "soil_moisture_deep", ",", "wind_direction", ",", "analog", ",", "charge_flags", ",", "version", ",", "soil_vwc2", ",", "soil_vwc", ",", "sla_flags", ",", "lipo_state", ",", "sla_full_voltage", ",", "sla_voltage", ",", "sla_temperature", ",", "sla_charge", ",", "sla_flags_charging", ",", "sla_flags_full", ",", "sla_flags_battery_overload", ",", "sla_flags_overload", ",", "sla_flags_load_on", ",", "sla_flags_overdischarge", ",", "sla_flags_short", ",", "lipo_current", ",", "lipo_state_charging", ",", "lipo_state_power_good", ",", "sla_overdischarge_voltage", ",", "sla_charge_current", ",", "sla_load_current", ",", "lipo_charge", ",", "pv_voltage", ",", "lipo_voltage", ",", "lipo_charge_capacity", ",", "battery_current", ",", "panel_voltage", ",", "discharge_current", ",", "charge_current", ",", "charging", ",", "overdischarge_voltage", ",", "battery_full_voltage", ",", "battery_overload", ",", "overload", ",", "load_on", ",", "battery_full", ",", "over_discharge", ",", "battery_temperature", ",", "load_current", ",", "load_short", ",", "charge", ",", "Test" ], "maxclass" : "umenu", "numinlets" : 1, "numoutlets" : 3, @@ -659,6 +700,15 @@ "source" : [ "obj-10", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 0 ] + } + } , { "patchline" : { @@ -678,6 +728,15 @@ "source" : [ "obj-19", 1 ] } + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-20", 1 ] + } + } , { "patchline" : { @@ -772,6 +831,16 @@ "source" : [ "obj-5", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 861.0, 261.5, 542.0, 261.5 ], + "source" : [ "obj-6", 0 ] + } + } , { "patchline" : { @@ -809,6 +878,7 @@ "styles" : [ { "name" : "maxchain", "default" : { + "fontname" : [ "Courier" ], "textcolor_inverse" : [ 1.0, 1.0, 1.0, 1.0 ], "patchlinecolor" : [ 0.639216, 0.458824, 0.070588, 0.9 ], "bgfillcolor" : { @@ -821,13 +891,12 @@ "autogradient" : 0 } , - "bgcolor" : [ 0.095481, 0.100396, 0.100293, 1.0 ], - "fontname" : [ "Courier" ], "textjustification" : [ 0 ], - "accentcolor" : [ 0.0, 0.0, 0.0, 1.0 ], - "elementcolor" : [ 0.282353, 0.309804, 0.266667, 1.0 ], + "color" : [ 0.960784, 0.827451, 0.156863, 1.0 ], "fontface" : [ 0 ], - "color" : [ 0.960784, 0.827451, 0.156863, 1.0 ] + "bgcolor" : [ 0.095481, 0.100396, 0.100293, 1.0 ], + "accentcolor" : [ 0.0, 0.0, 0.0, 1.0 ], + "elementcolor" : [ 0.282353, 0.309804, 0.266667, 1.0 ] } , "parentstyle" : "", @@ -845,8 +914,8 @@ , { "name" : "maxchain-subtitle", "default" : { - "fontsize" : [ 20.0 ], - "textcolor" : [ 0.870588, 0.415686, 0.062745, 1.0 ] + "textcolor" : [ 0.870588, 0.415686, 0.062745, 1.0 ], + "fontsize" : [ 20.0 ] } , "parentstyle" : "", @@ -855,10 +924,10 @@ , { "name" : "maxchain-title", "default" : { - "fontsize" : [ 48.0 ], "textcolor" : [ 0.960784, 0.827451, 0.156863, 1.0 ], + "fontname" : [ "Courier Bold" ], "clearcolor" : [ 0.317647, 0.654902, 0.976471, 0.0 ], - "fontname" : [ "Courier Bold" ] + "fontsize" : [ 48.0 ] } , "parentstyle" : "", diff --git a/testproj/patchers/devicesound~.maxpat b/testproj/patchers/devicesound~.maxpat index dd6031c..c658ecd 100644 --- a/testproj/patchers/devicesound~.maxpat +++ b/testproj/patchers/devicesound~.maxpat @@ -9,7 +9,7 @@ "modernui" : 1 } , - "rect" : [ 88.0, 331.0, 640.0, 480.0 ], + "rect" : [ 88.0, 331.0, 697.0, 518.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -37,6 +37,1282 @@ "style" : "", "subpatcher_template" : "", "boxes" : [ { + "box" : { + "id" : "obj-37", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 3, + "architecture" : "x86", + "modernui" : 1 + } +, + "rect" : [ 59.0, 104.0, 730.0, 821.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "boxes" : [ { + "box" : { + "comment" : "", + "id" : "obj-15", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 366.0, 13.0, 30.0, 30.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-14", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 57.0, 689.0, 30.0, 30.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-13", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 595.0, 523.0, 51.0, 22.0 ], + "style" : "", + "text" : "target 0" + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "patching_rect" : [ 574.0, 478.0, 30.0, 22.0 ], + "style" : "", + "text" : "t l b" + } + + } +, { + "box" : { + "id" : "obj-9", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 574.0, 442.0, 37.0, 22.0 ], + "style" : "", + "text" : "reset" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-7", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 574.0, 13.0, 30.0, 30.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-47", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "float" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 3, + "architecture" : "x86", + "modernui" : 1 + } +, + "rect" : [ 59.0, 104.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "boxes" : [ { + "box" : { + "id" : "obj-40", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 289.0, 239.0, 29.5, 22.0 ], + "style" : "", + "text" : "/ 1." + } + + } +, { + "box" : { + "id" : "obj-41", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 285.0, 206.0, 29.5, 22.0 ], + "style" : "", + "text" : "- 0." + } + + } +, { + "box" : { + "id" : "obj-42", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 293.5, 177.0, 49.0, 22.0 ], + "style" : "", + "text" : "r std_ill" + } + + } +, { + "box" : { + "id" : "obj-43", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 209.0, 177.0, 63.0, 22.0 ], + "style" : "", + "text" : "r mean_ill" + } + + } +, { + "box" : { + "id" : "obj-39", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 130.0, 235.0, 29.5, 22.0 ], + "style" : "", + "text" : "/ 1." + } + + } +, { + "box" : { + "id" : "obj-38", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 126.0, 202.0, 29.5, 22.0 ], + "style" : "", + "text" : "- 0." + } + + } +, { + "box" : { + "id" : "obj-37", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 134.5, 173.0, 67.0, 22.0 ], + "style" : "", + "text" : "r std_temp" + } + + } +, { + "box" : { + "id" : "obj-35", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 173.0, 81.0, 22.0 ], + "style" : "", + "text" : "r mean_temp" + } + + } +, { + "box" : { + "id" : "obj-28", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 59.5, 100.0, 192.0, 22.0 ], + "style" : "", + "text" : "route sht_temperature illuminance" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-44", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 59.5, 40.0, 30.0, 30.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-45", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 130.0, 321.0, 30.0, 30.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-46", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 289.0, 321.0, 30.0, 30.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-38", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-28", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-41", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-28", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-38", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-35", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-39", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-37", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-39", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-38", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-45", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-39", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-46", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-40", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-40", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-41", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-40", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-42", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-41", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-43", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-28", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-44", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 189.0, 54.0, 87.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p reduce_data" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-4", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 189.0, 13.0, 30.0, 30.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 62.5, 93.0, 102.0, 22.0 ], + "style" : "", + "text" : "r slowupdatebeat" + } + + } +, { + "box" : { + "id" : "obj-25", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 144.0, 237.0, 59.0, 22.0 ], + "style" : "", + "text" : "r valence" + } + + } +, { + "box" : { + "id" : "obj-29", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 62.5, 317.0, 75.0, 22.0 ], + "style" : "", + "text" : "prepend get" + } + + } +, { + "box" : { + "id" : "obj-21", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 120.0, 207.0, 50.0, 22.0 ], + "style" : "", + "text" : "zl reg 0" + } + + } +, { + "box" : { + "id" : "obj-26", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 62.5, 207.0, 50.0, 22.0 ], + "style" : "", + "text" : "zl reg 0" + } + + } +, { + "box" : { + "id" : "obj-27", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 62.5, 281.0, 66.0, 22.0 ], + "style" : "", + "text" : "pack 0 0 0" + } + + } +, { + "box" : { + "id" : "obj-28", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 62.5, 381.0, 75.0, 22.0 ], + "style" : "", + "text" : "route speak" + } + + } +, { + "box" : { + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 62.5, 350.0, 119.0, 22.0 ], + "saved_object_attributes" : { + "filename" : "samplemapping.js", + "parameter_enable" : 0 + } +, + "style" : "", + "text" : "js samplemapping.js" + } + + } +, { + "box" : { + "id" : "obj-16", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 238.0, 335.0, 47.0, 22.0 ], + "style" : "", + "text" : "clear 1" + } + + } +, { + "box" : { + "id" : "obj-30", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "bang", "bang", "bang" ], + "patching_rect" : [ 62.5, 134.0, 134.0, 22.0 ], + "style" : "", + "text" : "t b b b" + } + + } +, { + "box" : { + "id" : "obj-31", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 250.0, 478.0, 125.0, 22.0 ], + "style" : "", + "text" : "receive~ globaltempo" + } + + } +, { + "box" : { + "id" : "obj-32", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 57.0, 539.0, 40.0, 22.0 ], + "style" : "", + "text" : "seq~" + } + + } +, { + "box" : { + "id" : "obj-19", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 120.0, 419.0, 71.0, 22.0 ], + "style" : "", + "text" : "add 1 0. $1" + } + + } +, { + "box" : { + "id" : "obj-33", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 57.0, 651.0, 138.0, 22.0 ], + "style" : "", + "text" : "poly~ sampleplayer~ 14" + } + + } +, { + "box" : { + "id" : "obj-34", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 57.0, 576.0, 51.0, 22.0 ], + "style" : "", + "text" : "note $1" + } + + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 322.0, 376.0, 60.0, 22.0 ], + "style" : "", + "text" : "loadbang" + } + + } +, { + "box" : { + "id" : "obj-35", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 373.0, 412.0, 43.0, 22.0 ], + "style" : "", + "text" : "play 1" + } + + } +, { + "box" : { + "id" : "obj-36", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 322.0, 412.0, 40.0, 22.0 ], + "style" : "", + "text" : "seq 1" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 594.5, 512.0, 604.5, 512.0 ], + "source" : [ "obj-10", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-33", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 583.5, 629.0, 66.5, 629.0 ], + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-35", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-36", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-33", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 604.5, 630.5, 66.5, 630.5 ], + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-32", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 247.5, 489.5, 66.5, 489.5 ], + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-32", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 129.5, 466.0, 66.5, 466.0 ], + "source" : [ "obj-19", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-27", 1 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 129.5, 255.5, 95.5, 255.5 ], + "source" : [ "obj-21", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-27", 2 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 153.5, 270.5, 119.0, 270.5 ], + "source" : [ "obj-25", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-27", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-26", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-29", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-27", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 128.0, 413.0, 129.5, 413.0 ], + "source" : [ "obj-28", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-29", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-30", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 187.0, 193.0, 247.5, 193.0 ], + "source" : [ "obj-30", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-30", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-26", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-30", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-32", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 259.5, 515.5, 66.5, 515.5 ], + "source" : [ "obj-31", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-34", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-32", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-33", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-33", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-34", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-32", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 382.5, 465.0, 66.5, 465.0 ], + "source" : [ "obj-35", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-32", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 331.5, 463.0, 66.5, 463.0 ], + "source" : [ "obj-36", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-47", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 1 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 266.5, 174.0, 160.5, 174.0 ], + "source" : [ "obj-47", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-26", 1 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 198.5, 168.0, 103.0, 168.0 ], + "source" : [ "obj-47", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-28", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 22.0, 200.0, 99.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p sample_player" + } + + } +, { + "box" : { + "id" : "obj-23", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 3, + "architecture" : "x86", + "modernui" : 1 + } +, + "rect" : [ 59.0, 104.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "boxes" : [ { + "box" : { + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 50.0, 299.0, 36.0, 22.0 ], + "style" : "", + "text" : "*~ 0." + } + + } +, { + "box" : { + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 67.0, 268.0, 57.0, 22.0 ], + "style" : "", + "text" : "r speech" + } + + } +, { + "box" : { + "id" : "obj-21", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 247.5, 123.0, 29.5, 22.0 ], + "style" : "", + "text" : "0" + } + + } +, { + "box" : { + "id" : "obj-19", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 212.0, 123.0, 29.5, 22.0 ], + "style" : "", + "text" : "1" + } + + } +, { + "box" : { + "id" : "obj-17", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 212.0, 162.0, 71.0, 22.0 ], + "style" : "", + "text" : "metro 1000" + } + + } +, { + "box" : { + "id" : "obj-16", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "signal", "bang" ], + "patching_rect" : [ 50.0, 229.0, 90.0, 22.0 ], + "style" : "", + "text" : "speaknumber~" + } + + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 50.0, 100.0, 129.0, 22.0 ], + "style" : "", + "text" : "route sht_temperature" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-5", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 212.0, 40.0, 30.0, 30.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-8", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 247.5, 40.0, 30.0, 30.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 50.0, 338.0, 30.0, 30.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-19", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 257.0, 150.0, 221.5, 150.0 ], + "source" : [ "obj-21", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 131.5, 200.0, 103.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p speaker_player" + } + + } +, { "box" : { "id" : "obj-4", "maxclass" : "comment", @@ -55,7 +1331,7 @@ "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 385.0, 355.0, 30.0, 30.0 ], + "patching_rect" : [ 411.0, 355.0, 30.0, 30.0 ], "style" : "" } @@ -97,71 +1373,6 @@ "style" : "" } - } -, { - "box" : { - "id" : "obj-21", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 219.5, 123.0, 29.5, 22.0 ], - "style" : "", - "text" : "0" - } - - } -, { - "box" : { - "id" : "obj-19", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 184.0, 123.0, 29.5, 22.0 ], - "style" : "", - "text" : "1" - } - - } -, { - "box" : { - "id" : "obj-17", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 184.0, 162.0, 71.0, 22.0 ], - "style" : "", - "text" : "metro 1000" - } - - } -, { - "box" : { - "id" : "obj-16", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "signal", "bang" ], - "patching_rect" : [ 22.0, 229.0, 90.0, 22.0 ], - "style" : "", - "text" : "speaknumber~" - } - - } -, { - "box" : { - "id" : "obj-12", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 22.0, 100.0, 129.0, 22.0 ], - "style" : "", - "text" : "route sht_temperature" - } - } , { "box" : { @@ -217,7 +1428,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 417.0, 360.0, 150.0, 20.0 ], + "patching_rect" : [ 443.0, 360.0, 150.0, 20.0 ], "style" : "", "text" : "bang when done stopping" } @@ -263,19 +1474,20 @@ ], "lines" : [ { "patchline" : { - "destination" : [ "obj-12", 0 ], + "destination" : [ "obj-23", 0 ], "disabled" : 0, "hidden" : 0, + "midpoints" : [ 31.5, 130.5, 141.0, 130.5 ], "source" : [ "obj-1", 0 ] } } , { "patchline" : { - "destination" : [ "obj-16", 0 ], + "destination" : [ "obj-37", 0 ], "disabled" : 0, "hidden" : 0, - "source" : [ "obj-12", 0 ] + "source" : [ "obj-1", 0 ] } } @@ -284,64 +1496,66 @@ "destination" : [ "obj-20", 0 ], "disabled" : 0, "hidden" : 0, - "midpoints" : [ 420.5, 342.0, 394.5, 342.0 ], + "midpoints" : [ 420.5, 342.0, 420.5, 342.0 ], "source" : [ "obj-14", 0 ] } } , { "patchline" : { - "destination" : [ "obj-21", 0 ], + "destination" : [ "obj-23", 2 ], "disabled" : 0, "hidden" : 0, - "midpoints" : [ 420.5, 110.0, 229.0, 110.0 ], + "midpoints" : [ 420.5, 109.5, 225.0, 109.5 ], "source" : [ "obj-14", 0 ] } } , { "patchline" : { - "destination" : [ "obj-13", 0 ], + "destination" : [ "obj-37", 2 ], "disabled" : 0, "hidden" : 0, - "source" : [ "obj-16", 0 ] + "midpoints" : [ 420.5, 109.5, 111.5, 109.5 ], + "source" : [ "obj-14", 0 ] } } , { "patchline" : { - "destination" : [ "obj-16", 0 ], + "destination" : [ "obj-13", 0 ], "disabled" : 0, "hidden" : 0, - "source" : [ "obj-17", 0 ] + "midpoints" : [ 141.0, 288.0, 31.5, 288.0 ], + "source" : [ "obj-23", 0 ] } } , { "patchline" : { - "destination" : [ "obj-17", 0 ], + "destination" : [ "obj-13", 0 ], "disabled" : 0, "hidden" : 0, - "source" : [ "obj-19", 0 ] + "source" : [ "obj-37", 0 ] } } , { "patchline" : { - "destination" : [ "obj-17", 0 ], + "destination" : [ "obj-23", 1 ], "disabled" : 0, "hidden" : 0, - "midpoints" : [ 229.0, 150.0, 193.5, 150.0 ], - "source" : [ "obj-21", 0 ] + "midpoints" : [ 248.5, 181.5, 183.0, 181.5 ], + "source" : [ "obj-7", 0 ] } } , { "patchline" : { - "destination" : [ "obj-19", 0 ], + "destination" : [ "obj-37", 1 ], "disabled" : 0, "hidden" : 0, - "midpoints" : [ 248.5, 100.0, 193.5, 100.0 ], + "midpoints" : [ 248.5, 181.5, 71.5, 181.5 ], "source" : [ "obj-7", 0 ] } @@ -354,6 +1568,20 @@ "type" : "JSON", "implicit" : 1 } +, { + "name" : "sampleplayer~.maxpat", + "bootpath" : "~/Documents/Max 7/Projects/bogrock/patchers", + "patcherrelativepath" : "../../../../Documents/Max 7/Projects/bogrock/patchers", + "type" : "JSON", + "implicit" : 1 + } +, { + "name" : "samplemapping.js", + "bootpath" : "~/Documents/Max 7/Projects/bogrock/code", + "patcherrelativepath" : "../../../../Documents/Max 7/Projects/bogrock/code", + "type" : "TEXT", + "implicit" : 1 + } ], "embedsnapshot" : 0 }