diff --git a/projects/attmap/attmap_altstim/attmap_experiment_manager_v2.1.maxpat b/projects/attmap/attmap_altstim/attmap_experiment_manager_v2.1.maxpat new file mode 100644 index 0000000..3824538 --- /dev/null +++ b/projects/attmap/attmap_altstim/attmap_experiment_manager_v2.1.maxpat @@ -0,0 +1,13340 @@ +{ + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 6, + "minor" : 1, + "revision" : 6, + "architecture" : "x86" + } +, + "rect" : [ 176.0, 184.0, 789.0, 525.0 ], + "bglocked" : 0, + "openinpresentation" : 1, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 0, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 0, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "boxanimatetime" : 200, + "imprint" : 0, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "boxes" : [ { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-25", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 192.5, 323.0, 31.0, 16.0 ], + "text" : "1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-20", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 157.0, 323.0, 31.0, 16.0 ], + "text" : "0" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 157.0, 285.5, 90.0, 18.0 ], + "text" : "route 0 1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-18", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 170.75, 248.5, 102.0, 29.0 ], + "text" : "select deviant type based on expt name" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-62", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 157.0, 111.5, 52.0, 18.0 ], + "text" : "loadbang" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-32", + "items" : [ "attmap_altstim_inc", ",", "attmap_altstim_intensitydec" ], + "maxclass" : "umenu", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "int", "", "" ], + "parameter_enable" : 0, + "patching_rect" : [ 157.0, 177.5, 146.5, 18.0 ], + "presentation" : 1, + "presentation_rect" : [ 316.4375, 261.0, 146.5, 18.0 ] + } + + } +, { + "box" : { + "fontface" : 1, + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-24", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 179.0, 138.5, 71.0, 29.0 ], + "presentation" : 1, + "presentation_rect" : [ 331.9375, 234.0, 98.0, 18.0 ], + "text" : "*Experiment Name" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-31", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 220.75, 227.5, 68.0, 18.0 ], + "text" : "s expt_name" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-85", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 192.5, 451.0, 113.0, 40.0 ], + "text" : "deviance type is sent as 1 or 2. 1 = increase; 2 = decrease" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-64", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 157.0, 495.0, 59.0, 18.0 ], + "text" : "s dev_type" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-45", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 157.0, 462.0, 29.0, 18.0 ], + "text" : "+ 1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-40", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 176.5, 419.0, 127.0, 18.0 ], + "presentation" : 1, + "presentation_rect" : [ 164.5, 291.0, 97.0, 18.0 ], + "text" : "Intensity Decrease" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-39", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 176.5, 389.0, 127.0, 18.0 ], + "presentation" : 1, + "presentation_rect" : [ 164.5, 261.0, 97.0, 18.0 ], + "text" : "Intensity Increase" + } + + } +, { + "box" : { + "fontface" : 1, + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-26", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 183.25, 358.0, 81.0, 18.0 ], + "presentation" : 1, + "presentation_rect" : [ 179.25, 234.0, 70.0, 18.0 ], + "text" : "Deviant Type" + } + + } +, { + "box" : { + "disabled" : [ 0, 0 ], + "id" : "obj-19", + "itemtype" : 0, + "maxclass" : "radiogroup", + "numinlets" : 1, + "numoutlets" : 1, + "offset" : 30, + "outlettype" : [ "" ], + "parameter_enable" : 0, + "patching_rect" : [ 157.0, 389.0, 23.0, 62.0 ], + "presentation" : 1, + "presentation_rect" : [ 145.0, 261.0, 23.0, 62.0 ], + "size" : 2, + "value" : 0 + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-6", + "linecount" : 8, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 35.0, 4.0, 300.0, 96.0 ], + "text" : "Version 2.1\nUpdates: drop-down menu added for selecting experiment; deviant type dynamically selected based on experiment choice; stimuli played and manipulated as step sequences rather than WAV loops; outputs log file with timestamps of all stimulus and responses events; various minor optimizations\n\nBrian Hurley 3 Aug 2016 " + } + + } +, { + "box" : { + "fontface" : 1, + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-12", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 335.0, 138.5, 44.0, 16.0 ], + "presentation" : 1, + "presentation_rect" : [ 486.375, 179.0, 44.0, 16.0 ], + "text" : "START" + } + + } +, { + "box" : { + "fontface" : 1, + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-7", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 415.0, 138.5, 38.0, 16.0 ], + "presentation" : 1, + "presentation_rect" : [ 584.375, 179.0, 37.0, 16.0 ], + "text" : "STOP" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-30", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "bang", "float", "bang" ], + "patching_rect" : [ 30.5, 423.5, 52.0, 18.0 ], + "text" : "t b 0.25 b" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-21", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 47.0, 466.5, 72.0, 18.0 ], + "text" : "s std_amp_lvl" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 30.5, 443.5, 26.0, 18.0 ], + "text" : "s lb" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 30.5, 395.0, 52.0, 18.0 ], + "text" : "loadbang" + } + + } +, { + "box" : { + "fontface" : 1, + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-69", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 575.5, 389.0, 126.0, 18.0 ], + "presentation" : 1, + "presentation_rect" : [ 482.875, 234.0, 124.0, 18.0 ], + "text" : "Manage Files and Paths" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.5, 0.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-68", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 0, + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 6, + "minor" : 1, + "revision" : 6, + "architecture" : "x86" + } +, + "rect" : [ 0.0, 45.0, 515.0, 407.0 ], + "bglocked" : 0, + "openinpresentation" : 1, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 0, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 0, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "boxanimatetime" : 200, + "imprint" : 0, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "visible" : 1, + "boxes" : [ { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-45", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 130.5, 341.5, 77.0, 20.0 ], + "text" : "prepend text" + } + + } +, { + "box" : { + "align" : 0, + "bgcolor" : [ 0.849681, 0.849681, 0.849681, 1.0 ], + "bgoncolor" : [ 0.6, 0.6, 0.6, 1.0 ], + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-46", + "ignoreclick" : 1, + "maxclass" : "textbutton", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 130.5, 369.0, 100.0, 20.0 ], + "presentation" : 1, + "presentation_rect" : [ 36.0, 295.0, 432.0, 50.0 ], + "text" : "GrooveDisk:/Users/Shared/projects/attmap/attmap_altstim_intensitydec/data/main_expt/", + "truncate" : 0 + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-48", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 12.0, 265.0, 27.0, 20.0 ], + "text" : "r lb" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-51", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 12.0, 347.5, 73.0, 20.0 ], + "text" : "s data_path" + } + + } +, { + "box" : { + "id" : "obj-52", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 116.0, 256.0, 20.0, 20.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-53", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 141.0, 256.0, 79.0, 18.0 ], + "presentation" : 1, + "presentation_rect" : [ 383.0, 268.0, 85.0, 18.0 ], + "text" : "Change path" + } + + } +, { + "box" : { + "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ], + "bgcolor2" : [ 0.950103, 0.950103, 0.950103, 1.0 ], + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-54", + "linecount" : 3, + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 12.0, 310.5, 215.0, 46.0 ], + "text" : "GrooveDisk:/Users/Shared/projects/attmap/attmap_altstim_intensitydec/data/main_expt/" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-55", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "patching_rect" : [ 116.0, 279.0, 92.0, 20.0 ], + "text" : "opendialog fold" + } + + } +, { + "box" : { + "fontface" : 1, + "fontname" : "Arial", + "fontsize" : 12.0, + "frgb" : 0.0, + "id" : "obj-56", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 15.0, 229.0, 162.0, 20.0 ], + "presentation" : 1, + "presentation_rect" : [ 36.0, 267.0, 162.0, 20.0 ], + "text" : "Data File Path" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-41", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 400.0, 167.0, 77.0, 20.0 ], + "text" : "prepend text" + } + + } +, { + "box" : { + "align" : 0, + "bgcolor" : [ 0.849681, 0.849681, 0.849681, 1.0 ], + "bgoncolor" : [ 0.6, 0.6, 0.6, 1.0 ], + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-43", + "ignoreclick" : 1, + "maxclass" : "textbutton", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 400.0, 194.5, 100.0, 20.0 ], + "presentation" : 1, + "presentation_rect" : [ 36.0, 194.5, 432.0, 50.0 ], + "text" : "GrooveDisk:/Users/Shared/projects/attmap/attmap_altstim_intensitydec/samples/", + "truncate" : 0 + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-39", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 134.0, 155.0, 77.0, 20.0 ], + "text" : "prepend text" + } + + } +, { + "box" : { + "align" : 0, + "bgcolor" : [ 0.849681, 0.849681, 0.849681, 1.0 ], + "bgoncolor" : [ 0.6, 0.6, 0.6, 1.0 ], + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-36", + "ignoreclick" : 1, + "maxclass" : "textbutton", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 134.0, 181.5, 100.0, 20.0 ], + "presentation" : 1, + "presentation_rect" : [ 36.0, 96.5, 432.0, 50.0 ], + "text" : "GrooveDisk:/Users/Shared/projects/attmap/attmap_altstim_intensitydec/attmap_altstim_params.xml", + "truncate" : 0 + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-20", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 278.0, 51.0, 27.0, 20.0 ], + "text" : "r lb" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-21", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 278.0, 172.5, 62.0, 20.0 ], + "text" : "s stim_dir" + } + + } +, { + "box" : { + "id" : "obj-24", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 382.0, 42.0, 20.0, 20.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-30", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 407.0, 42.0, 86.0, 18.0 ], + "presentation" : 1, + "presentation_rect" : [ 383.0, 169.0, 85.0, 18.0 ], + "text" : "Change folder" + } + + } +, { + "box" : { + "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ], + "bgcolor2" : [ 0.950103, 0.950103, 0.950103, 1.0 ], + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-31", + "linecount" : 3, + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 278.0, 96.5, 215.0, 46.0 ], + "text" : "GrooveDisk:/Users/Shared/projects/attmap/attmap_altstim_intensitydec/samples/" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-32", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "patching_rect" : [ 382.0, 65.0, 92.0, 20.0 ], + "text" : "opendialog fold" + } + + } +, { + "box" : { + "fontface" : 1, + "fontname" : "Arial", + "fontsize" : 12.0, + "frgb" : 0.0, + "id" : "obj-19", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 281.0, 15.0, 162.0, 20.0 ], + "presentation" : 1, + "presentation_rect" : [ 36.0, 167.0, 162.0, 20.0 ], + "text" : "Stimulus File Directory" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-50", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 15.0, 54.0, 27.0, 20.0 ], + "text" : "r lb" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-47", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 15.0, 164.0, 100.0, 20.0 ], + "text" : "s params_fname" + } + + } +, { + "box" : { + "id" : "obj-44", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 129.0, 45.0, 20.0, 20.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-42", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 154.0, 45.0, 75.0, 18.0 ], + "presentation" : 1, + "presentation_rect" : [ 397.0, 71.5, 71.0, 18.0 ], + "text" : "Change file" + } + + } +, { + "box" : { + "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ], + "bgcolor2" : [ 0.950103, 0.950103, 0.950103, 1.0 ], + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-40", + "linecount" : 3, + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 15.0, 99.5, 227.0, 46.0 ], + "text" : "GrooveDisk:/Users/Shared/projects/attmap/attmap_altstim_intensitydec/attmap_altstim_params.xml" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-37", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "patching_rect" : [ 129.0, 68.0, 69.0, 20.0 ], + "text" : "opendialog" + } + + } +, { + "box" : { + "fontface" : 1, + "fontname" : "Arial", + "fontsize" : 12.0, + "frgb" : 0.0, + "id" : "obj-7", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 15.0, 15.0, 145.0, 20.0 ], + "presentation" : 1, + "presentation_rect" : [ 36.0, 69.5, 157.0, 20.0 ], + "text" : "Parameter Presets File" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-31", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-20", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-32", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-24", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-24", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-30", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-31", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-41", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 287.5, 160.75, 409.5, 160.75 ], + "source" : [ "obj-31", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-31", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-32", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-31", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-32", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-40", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-37", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-40", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-37", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-36", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-39", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-39", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 24.5, 149.25, 143.5, 149.25 ], + "source" : [ "obj-40", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-47", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-40", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-43", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-41", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-44", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-42", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-37", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-44", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-46", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-54", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-48", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-40", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-50", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-55", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-52", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-52", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-53", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-45", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 21.5, 334.5, 140.0, 334.5 ], + "source" : [ "obj-54", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-51", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-54", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-54", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-55", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-54", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-55", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 586.0, 415.0, 108.0, 18.0 ], + "presentation" : 1, + "presentation_rect" : [ 492.375, 261.0, 108.0, 18.0 ], + "saved_object_attributes" : { + "default_fontface" : 0, + "default_fontname" : "Arial", + "default_fontsize" : 12.0, + "description" : "", + "digest" : "", + "fontface" : 0, + "fontname" : "Arial", + "fontsize" : 12.0, + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p manage_files_paths" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-66", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 45.5, 309.5, 73.0, 18.0 ], + "presentation" : 1, + "presentation_rect" : [ 178.375, 200.0, 72.0, 18.0 ], + "text" : "(double click)" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-35", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 465.5, 415.5, 58.0, 18.0 ], + "text" : "r trial_num" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-33", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 392.0, 415.5, 56.0, 18.0 ], + "text" : "r run_num" + } + + } +, { + "box" : { + "bgcolor" : [ 0.113725, 0.105882, 0.086275, 1.0 ], + "bgcolor2" : [ 0.571429, 0.532969, 0.432724, 1.0 ], + "fontname" : "Helvetica Neue Light", + "fontsize" : 14.0, + "gradient" : 1, + "id" : "obj-80", + "ignoreclick" : 1, + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 420.5, 517.5, 63.0, 21.0 ], + "presentation" : 1, + "presentation_rect" : [ 539.625, 357.0, 66.0, 21.0 ], + "text" : "0:00:46", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "color" : [ 1.0, 0.5, 0.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-79", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 6, + "minor" : 1, + "revision" : 6, + "architecture" : "x86" + } +, + "rect" : [ 575.0, 100.0, 309.0, 459.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 0, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 0, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "boxanimatetime" : 200, + "imprint" : 0, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "boxes" : [ { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 192.0, 70.0, 67.0, 20.0 ], + "text" : "r exp_stop" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-39", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 37.0, 99.5, 32.5, 18.0 ], + "text" : "0" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-35", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 37.0, 70.0, 27.0, 20.0 ], + "text" : "r lb" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "frgb" : 0.0, + "id" : "obj-34", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 154.5, 398.5, 66.0, 20.0 ], + "text" : "hh:mm:ss" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-32", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 396.0, 25.0, 25.0 ] + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-31", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 178.0, 283.0, 38.0, 20.0 ], + "text" : "% 60" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-30", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 240.0, 217.0, 38.0, 20.0 ], + "text" : "% 60" + } + + } +, { + "box" : { + "bgcolor" : [ 0.8, 1.0, 0.8, 1.0 ], + "fontface" : 2, + "fontname" : "Arial", + "fontsize" : 12.0, + "frgb" : 0.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 11.0, 12.0, 285.0, 20.0 ], + "text" : "Display duration (hh:mm:ss) since experiment start " + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "frgb" : 0.0, + "id" : "obj-29", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 11.0, 283.0, 67.0, 20.0 ], + "text" : "min to hr" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "frgb" : 0.0, + "id" : "obj-28", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 11.0, 217.0, 67.0, 20.0 ], + "text" : "sec to min" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "frgb" : 0.0, + "id" : "obj-27", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 11.0, 158.0, 67.0, 20.0 ], + "text" : "ms to sec" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-25", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 116.0, 283.0, 32.5, 20.0 ], + "text" : "/ 60" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-24", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 116.0, 217.0, 32.5, 20.0 ], + "text" : "/ 60" + } + + } +, { + "box" : { + "fontname" : "Verdana", + "fontsize" : 12.0, + "id" : "obj-15", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 116.0, 339.0, 143.0, 21.0 ], + "text" : "sprintf %i:%02i:%02i" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-18", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 192.0, 99.5, 33.0, 18.0 ], + "text" : "stop" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 116.0, 158.0, 44.0, 20.0 ], + "text" : "/ 1000" + } + + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 116.0, 99.5, 20.0, 20.0 ] + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 116.0, 131.0, 79.0, 20.0 ], + "text" : "clocker 1000" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 116.0, 70.0, 67.0, 20.0 ], + "text" : "r exp_start" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-24", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-30", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 125.5, 197.0, 249.5, 197.0 ], + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-32", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-25", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-24", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-31", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 125.5, 249.5, 187.5, 249.5 ], + "source" : [ "obj-24", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-25", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-30", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-31", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-39", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-35", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-39", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 420.5, 492.5, 64.0, 18.0 ], + "saved_object_attributes" : { + "default_fontface" : 0, + "default_fontname" : "Arial", + "default_fontsize" : 12.0, + "description" : "", + "digest" : "", + "fontface" : 0, + "fontname" : "Arial", + "fontsize" : 12.0, + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p stopwatch" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-77", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 417.0, 467.5, 70.0, 18.0 ], + "presentation" : 1, + "presentation_rect" : [ 530.125, 331.0, 73.0, 18.0 ], + "text" : "Elapsed Time" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-75", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 465.5, 390.5, 45.0, 18.0 ], + "text" : "Iteration" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-76", + "maxclass" : "number", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "int", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 465.5, 440.5, 48.0, 18.0 ] + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-74", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 403.0, 363.5, 98.0, 18.0 ], + "text" : "Progress indicators" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-72", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 400.5, 390.5, 29.0, 18.0 ], + "presentation" : 1, + "presentation_rect" : [ 373.6875, 331.0, 28.0, 18.0 ], + "text" : "Run" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-70", + "maxclass" : "number", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "int", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 392.0, 440.5, 48.0, 18.0 ], + "presentation" : 1, + "presentation_rect" : [ 364.6875, 357.0, 48.0, 18.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 0.890097, 0.890097, 0.890097, 1.0 ], + "fontname" : "Helvetica", + "fontsize" : 30.0, + "frgb" : 0.0, + "id" : "obj-67", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 346.5, 20.5, 393.0, 66.0 ], + "presentation" : 1, + "presentation_rect" : [ 149.5, 94.0, 480.375, 36.0 ], + "text" : "attmap experiment manager v2.1" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-65", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 335.0, 314.5, 95.0, 18.0 ], + "text" : "s open_aud_status" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-63", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 335.0, 291.5, 33.0, 16.0 ], + "presentation" : 1, + "presentation_rect" : [ 205.5, 357.0, 31.0, 16.0 ], + "text" : "open" + } + + } +, { + "box" : { + "fontface" : 1, + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-60", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 335.0, 261.5, 81.0, 18.0 ], + "presentation" : 1, + "presentation_rect" : [ 177.5, 331.0, 78.0, 18.0 ], + "text" : "Audio Status" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-61", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 35.0, 203.5, 52.0, 18.0 ], + "text" : "route text" + } + + } +, { + "box" : { + "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ], + "fontface" : 1, + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-34", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 35.0, 261.5, 90.0, 18.0 ], + "presentation" : 1, + "presentation_rect" : [ 167.375, 153.0, 91.0, 18.0 ], + "text" : "Subject Interface" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.5, 0.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-17", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 0, + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 6, + "minor" : 1, + "revision" : 6, + "architecture" : "x86" + } +, + "rect" : [ 0.0, 45.0, 1761.0, 808.0 ], + "bglocked" : 0, + "openinpresentation" : 1, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 0, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 0, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "boxanimatetime" : 200, + "imprint" : 0, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "boxes" : [ { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 524.0, 154.0, 63.0, 20.0 ], + "text" : "delay 100" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-25", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 395.0, 203.0, 58.0, 20.0 ], + "text" : "route 1 2" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-23", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 395.0, 179.0, 32.5, 18.0 ], + "text" : "1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-21", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 524.0, 179.0, 32.5, 18.0 ], + "text" : "2" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 524.0, 130.0, 67.0, 20.0 ], + "text" : "r exp_stop" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-3", + "linecount" : 3, + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 560.0, 234.0, 261.0, 46.0 ], + "text" : "\"Please notify the experimenter that you have finished this portion of the experiment and wait for further instructions.\"" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-4", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 234.0, 450.0, 142.0, 18.0 ], + "text" : "\"Experiment in progress\"" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "frgb" : 0.0, + "id" : "obj-24", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 242.0, 17.0, 376.0, 48.0 ], + "text" : "start run via \"s\" key press, but only at start of experiment or after run ends\n* changed start run key from space bar to \"s\" -BH 3Aug2016" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-22", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 353.5, 371.0, 32.5, 18.0 ], + "text" : "1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-20", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "int", "bang" ], + "patching_rect" : [ 395.0, 371.0, 34.0, 20.0 ], + "text" : "t 0 b" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-16", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 395.0, 403.0, 34.0, 20.0 ], + "text" : "gate" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-15", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 395.0, 450.0, 67.0, 20.0 ], + "text" : "s start_run" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 13.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 395.0, 341.0, 69.0, 21.0 ], + "text" : "select 115" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 13.0, + "id" : "obj-18", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 4, + "outlettype" : [ "int", "int", "int", "int" ], + "patching_rect" : [ 395.0, 312.0, 59.5, 21.0 ], + "text" : "keyup" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 395.0, 151.0, 62.0, 20.0 ], + "text" : "r end_run" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-13", + "linecount" : 3, + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 395.0, 234.0, 146.0, 46.0 ], + "text" : "\"Feel free to take a short break. Then, press the S key for the next run.\"" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-10", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 395.0, 98.0, 146.0, 18.0 ], + "text" : "\"Press the S key to start.\"" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 16.0, + "id" : "obj-6", + "ignoreclick" : 1, + "maxclass" : "textbutton", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 242.0, 151.0, 108.0, 46.0 ], + "presentation" : 1, + "presentation_rect" : [ 754.0, 496.0, 406.0, 74.0 ], + "text" : "Please notify the experimenter that you have finished this portion of the experiment and wait for further instructions.", + "truncate" : 0 + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 242.0, 118.0, 77.0, 20.0 ], + "text" : "prepend text" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-2", + "linecount" : 2, + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 242.0, 69.0, 126.0, 34.0 ], + "text" : "loadmess \"Please wait for instructions.\"" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 395.0, 69.0, 67.0, 20.0 ], + "text" : "r exp_start" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 404.5, 89.0, 380.0, 89.0, 380.0, 357.0, 363.0, 357.0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 404.5, 299.0, 360.0, 299.0, 360.0, 115.0, 251.5, 115.0 ], + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 404.5, 176.0, 363.0, 176.0 ], + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 404.5, 428.0, 243.5, 428.0 ], + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-20", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-20", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-25", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-21", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-25", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-23", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-25", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-25", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 569.5, 298.0, 363.5, 298.0, 363.5, 113.0, 251.5, 113.0 ], + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 243.5, 472.0, 210.5, 472.0, 210.5, 115.0, 251.5, 115.0 ], + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 39.5, 285.5, 83.0, 18.0 ], + "presentation" : 1, + "presentation_rect" : [ 172.375, 179.0, 83.0, 18.0 ], + "saved_object_attributes" : { + "default_fontface" : 0, + "default_fontname" : "Arial", + "default_fontsize" : 12.0, + "description" : "", + "digest" : "", + "fontface" : 0, + "fontname" : "Arial", + "fontsize" : 12.0, + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p subj_interface" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-22", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 30.5, 358.0, 102.0, 29.0 ], + "text" : "Set standard (linear) amplitude level" + } + + } +, { + "box" : { + "fontface" : 1, + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-49", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 335.0, 111.5, 118.0, 18.0 ], + "presentation" : 1, + "presentation_rect" : [ 486.375, 152.0, 118.0, 18.0 ], + "text" : "*Start/Stop Experiment" + } + + } +, { + "box" : { + "bgcolor" : [ 0.8, 1.0, 0.8, 1.0 ], + "fontface" : 2, + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-4", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 575.0, 184.0, 181.0, 40.0 ], + "text" : "Play stimulus loop, select probe times, present deviants, collect response, write data to file" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.5, 0.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 0, + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 6, + "minor" : 1, + "revision" : 6, + "architecture" : "x86" + } +, + "rect" : [ 929.0, 264.0, 337.0, 492.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 0, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 0, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "boxanimatetime" : 200, + "imprint" : 0, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "visible" : 1, + "boxes" : [ { + "box" : { + "color" : [ 1.0, 0.5, 0.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 0, + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 6, + "minor" : 1, + "revision" : 6, + "architecture" : "x86" + } +, + "rect" : [ 0.0, 45.0, 1278.0, 551.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 0, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 0, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "boxanimatetime" : 200, + "imprint" : 0, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "boxes" : [ { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-39", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "int", "float" ], + "patching_rect" : [ 1148.88623, 197.0, 33.0, 18.0 ], + "text" : "t 10 f" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-40", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 1148.88623, 226.0, 33.0, 18.0 ], + "text" : "pow" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-38", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 1148.88623, 164.0, 47.0, 18.0 ], + "text" : "r pdf_sd" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-34", + "linecount" : 6, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 454.01062, 265.0, 100.0, 75.0 ], + "text" : "logging trials this way keeps trial # associated w/ probe when response period continues into next trial" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-32", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 454.01062, 197.0, 80.0, 18.0 ], + "text" : "r probe_applied" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-28", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 489.052307, 226.0, 32.5, 18.0 ], + "text" : "int" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-27", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 1066.406982, 164.0, 71.0, 18.0 ], + "text" : "r curr_dev_lvl" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-25", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 488.614624, 517.0, 73.0, 18.0 ], + "text" : "s data_written" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.5, 0.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-26", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 0, + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 6, + "minor" : 1, + "revision" : 6, + "architecture" : "x86" + } +, + "rect" : [ 39.0, 49.0, 744.0, 563.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 0, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 0, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "boxanimatetime" : 200, + "imprint" : 0, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "boxes" : [ { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-17", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "bang", "bang", "", "bang" ], + "patching_rect" : [ 312.093811, 218.0, 59.5, 18.0 ], + "text" : "t b b s b" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-16", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 669.010803, 248.0, 49.0, 18.0 ], + "text" : "cpuclock" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 312.093811, 179.0, 66.0, 18.0 ], + "text" : "r event_type" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-9", + "linecount" : 4, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 32.0, 11.0, 287.0, 52.0 ], + "text" : "Output a log for each time a stimulus plays, a probe is presented, and a response is made. \nUseful for tracking false alarms. Logging CPU clock also useful for reaction time." + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-30", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 123.5, 309.0, 66.0, 18.0 ], + "text" : "r expt_name" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-36", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 504.052307, 179.0, 56.0, 18.0 ], + "text" : "r run_num" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-62", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 32.0, 186.0, 112.0, 18.0 ], + "text" : "tosymbol @separator \\," + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-52", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 215.0, 335.0, 21.0, 18.0 ], + "text" : "t s" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-50", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 256.614624, 280.0, 63.0, 18.0 ], + "text" : "prepend set" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-47", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 44.0, 278.0, 72.0, 29.0 ], + "text" : "Write to file when banged" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-46", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "bang", "", "clear" ], + "patching_rect" : [ 32.0, 212.0, 51.0, 18.0 ], + "text" : "t b l clear" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-45", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 32.0, 85.0, 165.0, 18.0 ], + "text" : "Create header when patch loaded" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-42", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 32.0, 139.0, 292.0, 16.0 ], + "text" : "subject_id event_type stim_name run_num trial_num cpu_clock" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-41", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 32.0, 110.0, 24.0, 18.0 ], + "text" : "r lb" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-31", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "cr", "" ], + "patching_rect" : [ 503.614624, 473.0, 29.0, 18.0 ], + "text" : "t cr l" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-15", + "maxclass" : "newobj", + "numinlets" : 6, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 256.614624, 417.0, 186.0, 18.0 ], + "text" : "sprintf symout %s\\,%s\\,%s\\,%d\\,%d\\,%d" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 6, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 256.614563, 390.0, 431.39624, 18.0 ], + "text" : "pack s s s i i i" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 586.531555, 179.0, 58.0, 18.0 ], + "text" : "r trial_num" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 421.573059, 179.0, 66.0, 18.0 ], + "text" : "r stim_name" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-24", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 32.0, 388.0, 71.0, 18.0 ], + "text" : "prepend write" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-23", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 256.614624, 179.0, 43.0, 18.0 ], + "text" : "r subjid" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-19", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 32.0, 335.0, 35.0, 18.0 ], + "text" : "zl reg" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 32.0, 361.0, 202.0, 18.0 ], + "text" : "sprintf symout %s%s_eventlog_%s.csv" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 48.0, 309.0, 61.0, 18.0 ], + "text" : "r data_path" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "bang", "int" ], + "patching_rect" : [ 503.614624, 507.0, 42.0, 18.0 ], + "text" : "text" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-24", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-31", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 266.114624, 459.0, 513.114624, 459.0 ], + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 5 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 362.093811, 241.5, 678.510803, 241.5 ], + "source" : [ "obj-17", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 321.593811, 267.0, 41.5, 267.0 ], + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 335.093811, 312.5, 266.114563, 312.5 ], + "source" : [ "obj-17", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-19", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-50", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-23", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-52", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 266.114624, 208.0, 224.5, 208.0 ], + "source" : [ "obj-23", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 41.5, 498.0, 513.114624, 498.0 ], + "source" : [ "obj-24", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-30", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-31", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-31", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-36", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-42", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-41", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-62", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-42", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 73.5, 260.0, 247.0, 260.0, 247.0, 502.0, 513.114624, 502.0 ], + "source" : [ "obj-46", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 41.5, 241.0, 41.5, 241.0 ], + "source" : [ "obj-46", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-31", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 57.5, 258.0, 248.0, 258.0, 248.0, 451.0, 513.114624, 451.0 ], + "source" : [ "obj-46", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-50", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-52", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-46", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-62", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 1067.406982, 55.0, 89.0, 18.0 ], + "saved_object_attributes" : { + "default_fontface" : 0, + "default_fontname" : "Arial", + "default_fontsize" : 12.0, + "description" : "", + "digest" : "", + "fontface" : 0, + "fontname" : "Arial", + "fontsize" : 12.0, + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p write_event_log" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-30", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 108.5, 294.0, 66.0, 18.0 ], + "text" : "r expt_name" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-10", + "linecount" : 4, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 712.531372, 312.0, 111.0, 52.0 ], + "text" : "if dev_type 2 (intensity decrease), tansform thresh dB to negative value" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-29", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 594.51062, 294.0, 57.0, 18.0 ], + "text" : "r dev_type" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-21", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 634.51062, 323.0, 38.0, 18.0 ], + "text" : "gate 2" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-22", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 653.51062, 349.0, 31.0, 18.0 ], + "text" : "* -1." + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-36", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 406.573059, 164.0, 56.0, 18.0 ], + "text" : "r run_num" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-35", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 658.510803, 117.0, 74.0, 41.0 ], + "text" : "estimated thresh given trial resp" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-33", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "int", "int" ], + "patching_rect" : [ 571.531555, 197.0, 30.0, 18.0 ], + "text" : "t i i" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-18", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 610.260803, 396.0, 170.0, 29.0 ], + "text" : "NOTE: de-logging deviant level for reporting dB value" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-51", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "int", "float" ], + "patching_rect" : [ 657.010803, 265.0, 33.0, 18.0 ], + "text" : "t 10 f" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-20", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 657.010803, 294.0, 33.0, 18.0 ], + "text" : "pow" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-17", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 983.927795, 164.0, 58.0, 18.0 ], + "text" : "r sub_resp" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-16", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 657.010803, 241.0, 34.0, 18.0 ], + "text" : "zl nth" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 571.531555, 164.0, 58.0, 18.0 ], + "text" : "r obs_num" + } + + } +, { + "box" : { + "bgcolor" : [ 0.8, 1.0, 0.8, 1.0 ], + "fontface" : 2, + "fontname" : "Arial", + "fontsize" : 12.0, + "frgb" : 0.0, + "id" : "obj-9", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 17.0, 15.0, 292.0, 34.0 ], + "text" : "Initiate subject data CSV file upon experiment start. \nWrite trial data to file each time probe is tested." + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 901.448547, 164.0, 69.0, 18.0 ], + "text" : "r probe_cond" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-62", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 17.0, 171.0, 112.0, 18.0 ], + "text" : "tosymbol @separator \\," + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-52", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 200.0, 320.0, 21.0, 18.0 ], + "text" : "t s" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-50", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 241.614624, 265.0, 63.0, 18.0 ], + "text" : "prepend set" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-49", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 818.969299, 164.0, 67.0, 18.0 ], + "text" : "r probe_time" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-48", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 627.010803, 70.0, 137.0, 18.0 ], + "text" : "Format trial data for csv file" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-47", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 29.0, 263.0, 72.0, 29.0 ], + "text" : "Write to file when banged" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-46", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "bang", "", "clear" ], + "patching_rect" : [ 17.0, 197.0, 51.0, 18.0 ], + "text" : "t b l clear" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-45", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 17.0, 70.0, 165.0, 18.0 ], + "text" : "Create header when patch loaded" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-42", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 17.0, 124.0, 576.0, 16.0 ], + "text" : "subject_id stim_name run_num trial_num obs_num mean_pdf converged probe_time probe_cond sub_resp curr_dev_lvl pdf_sd" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-41", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 17.0, 95.0, 24.0, 18.0 ], + "text" : "r lb" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-37", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 657.010803, 197.0, 35.0, 18.0 ], + "text" : "zl reg" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-31", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "bang", "cr", "" ], + "patching_rect" : [ 488.614624, 458.0, 46.0, 18.0 ], + "text" : "t b cr l" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-15", + "maxclass" : "newobj", + "numinlets" : 12, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 241.614624, 402.0, 345.0, 18.0 ], + "text" : "sprintf symout %s\\,%s\\,%d\\,%d\\,%d\\,%.03f\\,%d\\,%d\\,%s\\,%d\\, %.03f\\, %.03f" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "bang", "bang", "bang", "int" ], + "patching_rect" : [ 727.531372, 197.0, 59.5, 18.0 ], + "text" : "t b b b i" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 324.093811, 265.0, 63.0, 18.0 ], + "text" : "prepend set" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 12, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 241.614563, 375.0, 926.271729, 18.0 ], + "text" : "pack s s i i i f i i s i f f" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 502.552307, 164.0, 58.0, 18.0 ], + "text" : "r trial_num" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 727.531372, 164.0, 80.0, 18.0 ], + "text" : "r conv_indicator" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 658.510803, 164.0, 61.0, 18.0 ], + "text" : "r mean_pdf" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 324.093811, 164.0, 66.0, 18.0 ], + "text" : "r stim_name" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-24", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 17.0, 373.0, 71.0, 18.0 ], + "text" : "prepend write" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-23", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 241.614624, 164.0, 43.0, 18.0 ], + "text" : "r subjid" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-19", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 17.0, 320.0, 35.0, 18.0 ], + "text" : "zl reg" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 17.0, 346.0, 202.0, 18.0 ], + "text" : "sprintf symout %s%s_%s.csv" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 33.0, 294.0, 61.0, 18.0 ], + "text" : "r data_path" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "bang", "int" ], + "patching_rect" : [ 502.114624, 492.0, 42.0, 18.0 ], + "text" : "text" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-33", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-24", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 737.031372, 262.5, 26.5, 262.5 ], + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-37", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 764.031372, 223.0, 712.281372, 223.0, 712.281372, 192.0, 666.510803, 192.0 ], + "source" : [ "obj-14", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 6 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 777.531372, 289.0, 745.990051, 289.0 ], + "source" : [ "obj-14", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 750.531372, 291.0, 251.114563, 291.0 ], + "source" : [ "obj-14", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-31", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 251.114624, 444.0, 498.114624, 444.0 ], + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-51", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 9 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-19", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 8 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 1 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 666.510803, 309.5, 663.01062, 309.5 ], + "source" : [ "obj-20", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-21", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 5 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 644.01062, 371.0, 663.510803, 371.0 ], + "source" : [ "obj-21", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 5 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-50", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-23", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-52", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 251.114624, 193.0, 209.5, 193.0 ], + "source" : [ "obj-23", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 26.5, 483.0, 511.614624, 483.0 ], + "source" : [ "obj-24", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 10 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-27", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-28", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-29", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-30", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-31", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-31", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-25", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-31", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-28", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-32", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-33", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-33", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-36", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-37", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-39", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-38", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-40", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-39", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-40", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-39", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-37", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 11 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-40", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-42", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-41", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-62", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-42", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 58.5, 245.0, 232.0, 245.0, 232.0, 487.0, 511.614624, 487.0 ], + "source" : [ "obj-46", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 26.5, 226.0, 26.5, 226.0 ], + "source" : [ "obj-46", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-31", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 42.5, 243.0, 233.0, 243.0, 233.0, 436.0, 498.114624, 436.0 ], + "source" : [ "obj-46", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 7 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-49", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-50", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-51", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-51", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-52", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-28", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-46", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-62", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 18.0, 453.0, 83.0, 18.0 ], + "saved_object_attributes" : { + "default_fontface" : 0, + "default_fontname" : "Arial", + "default_fontsize" : 12.0, + "description" : "", + "digest" : "", + "fontface" : 0, + "fontname" : "Arial", + "fontsize" : 12.0, + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p write_data_file" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.5, 0.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 0, + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 6, + "minor" : 1, + "revision" : 6, + "architecture" : "x86" + } +, + "rect" : [ 520.0, 296.0, 426.0, 295.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 0, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 0, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "boxanimatetime" : 200, + "imprint" : 0, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "boxes" : [ { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-13", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 340.0, 118.0, 76.0, 29.0 ], + "text" : "send keypress to event log" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 342.0, 152.0, 67.0, 18.0 ], + "text" : "s event_type" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "keypress" ], + "patching_rect" : [ 261.0, 123.0, 64.0, 18.0 ], + "text" : "t b keypress" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-34", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "bang" ], + "patching_rect" : [ 261.0, 162.0, 55.0, 18.0 ], + "text" : "bangbang" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-33", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 131.5, 248.0, 59.0, 18.0 ], + "text" : "s sub_resp" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-32", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 261.0, 188.0, 31.0, 16.0 ], + "text" : "0" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-23", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 11.0, 4.0, 402.0, 41.0 ], + "text" : "During response period, accept space bar press as a hit and close gate. If no hit by end of response period, register a miss and close gate.\nNote: for trial_resp, 0 = miss, 1 = hit." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-19", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 131.5, 94.0, 31.0, 16.0 ], + "text" : "0" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-16", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "int", "int" ], + "patching_rect" : [ 131.5, 123.0, 30.0, 18.0 ], + "text" : "t i i" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-15", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 11.0, 94.0, 31.0, 16.0 ], + "text" : "1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-12", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 297.0, 188.0, 31.0, 16.0 ], + "text" : "1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 131.5, 215.0, 30.0, 18.0 ], + "text" : "gate" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 131.5, 65.0, 92.0, 18.0 ], + "text" : "r end_resp_period" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 11.0, 65.0, 94.0, 18.0 ], + "text" : "r start_resp_period" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 261.0, 94.0, 52.0, 18.0 ], + "text" : "select 32" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-18", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 4, + "outlettype" : [ "int", "int", "int", "int" ], + "patching_rect" : [ 261.0, 65.0, 49.0, 18.0 ], + "text" : "keyup" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-33", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-16", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-19", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-32", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-34", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-32", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-34", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-34", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 18.0, 369.0, 94.0, 18.0 ], + "saved_object_attributes" : { + "default_fontface" : 0, + "default_fontname" : "Arial", + "default_fontsize" : 12.0, + "description" : "", + "digest" : "", + "fontface" : 0, + "fontname" : "Arial", + "fontsize" : 12.0, + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p collect_trial_resp" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.5, 0.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 6, + "minor" : 1, + "revision" : 6, + "architecture" : "x86" + } +, + "rect" : [ 700.0, 81.0, 573.0, 610.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 0, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 0, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "boxanimatetime" : 200, + "imprint" : 0, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "boxes" : [ { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-22", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 289.75, 156.5, 70.0, 18.0 ], + "text" : "s inst3_name" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-21", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 170.25, 156.5, 70.0, 18.0 ], + "text" : "s inst2_name" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-20", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 59.0, 156.5, 70.0, 18.0 ], + "text" : "s inst1_name" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-17", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "int", "" ], + "patching_rect" : [ 262.75, 107.5, 46.0, 18.0 ], + "text" : "t l 2 l" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-18", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 289.75, 132.5, 34.0, 18.0 ], + "text" : "zl nth" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-15", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "int", "" ], + "patching_rect" : [ 143.25, 107.5, 46.0, 18.0 ], + "text" : "t l 2 l" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-16", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 170.25, 132.5, 34.0, 18.0 ], + "text" : "zl nth" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "int", "" ], + "patching_rect" : [ 32.0, 107.5, 46.0, 18.0 ], + "text" : "t l 2 l" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 59.0, 132.5, 34.0, 18.0 ], + "text" : "zl nth" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "int", "bang" ], + "patching_rect" : [ 35.0, 515.5, 32.5, 18.0 ], + "text" : "t 1 b" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 35.0, 492.0, 58.0, 18.0 ], + "text" : "r exp_start" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-1", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 215.0, 360.0, 105.0, 29.0 ], + "text" : "control presentation of deviant targets" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-77", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 48.5, 576.0, 63.0, 16.0 ], + "text" : "startwindow" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-74", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 66.0, 435.0, 93.0, 18.0 ], + "text" : "r open_aud_status" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-73", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 351.0, 252.5, 129.0, 18.0 ], + "text" : "stim pattern sequencer" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-55", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 32.0, 424.0, 30.0, 18.0 ], + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-56", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 51.75, 228.5, 163.0, 18.0 ], + "text" : "play samples back when triggered" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-57", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 46.0, 276.5, 41.0, 18.0 ], + "text" : "sig~ 1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-42", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 204.25, 252.5, 28.0, 18.0 ], + "text" : "r t3" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-60", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 119.25, 252.5, 28.0, 18.0 ], + "text" : "r t2" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-61", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 32.0, 252.5, 28.0, 18.0 ], + "text" : "r t1" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-62", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 43.0, 389.0, 71.0, 18.0 ], + "text" : "r std_amp_lvl" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-63", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 215.0, 277.5, 41.0, 18.0 ], + "text" : "sig~ 1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-68", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 2, + "outlettype" : [ "signal", "signal" ], + "patching_rect" : [ 204.0, 303.5, 86.0, 18.0 ], + "text" : "groove~ inst_3" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-33", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 130.0, 278.5, 41.0, 18.0 ], + "text" : "sig~ 1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-69", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 2, + "outlettype" : [ "signal", "signal" ], + "patching_rect" : [ 119.0, 304.5, 86.0, 18.0 ], + "text" : "groove~ inst_2" + } + + } +, { + "box" : { + "id" : "obj-70", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 35.5, 546.0, 15.0, 15.0 ] + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-71", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 32.0, 462.0, 34.0, 18.0 ], + "text" : "dac~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-72", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 2, + "outlettype" : [ "signal", "signal" ], + "patching_rect" : [ 32.0, 303.5, 86.0, 18.0 ], + "text" : "groove~ inst_1" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.5, 0.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-53", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 0, + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 6, + "minor" : 1, + "revision" : 6, + "architecture" : "x86" + } +, + "rect" : [ 713.0, 61.0, 488.0, 633.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 0, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 0, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "boxanimatetime" : 200, + "imprint" : 0, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "boxes" : [ { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-41", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 126.5, 332.0, 90.0, 41.0 ], + "text" : "log start of each stim loop iteration in event log" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-40", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 58.0, 354.5, 67.0, 18.0 ], + "text" : "s event_type" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-38", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 58.0, 332.0, 49.0, 16.0 ], + "text" : "loopstart" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-24", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 58.0, 308.0, 102.0, 18.0 ], + "text" : "if $i1 == 0 then bang" + } + + } +, { + "box" : { + "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-33", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 117.0, 482.0, 97.0, 16.0 ], + "text" : "vdc_conga1_1.aif" + } + + } +, { + "box" : { + "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-30", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 117.0, 465.0, 97.0, 16.0 ], + "text" : "vdc_shaker_1.aif" + } + + } +, { + "box" : { + "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-29", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 117.0, 446.0, 97.0, 16.0 ], + "text" : "vdc_snap_1.aif" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-28", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 35.0, 473.0, 68.0, 18.0 ], + "text" : "r inst3_name" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-27", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 35.0, 446.0, 68.0, 18.0 ], + "text" : "r inst2_name" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-26", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 35.0, 420.0, 68.0, 18.0 ], + "text" : "r inst1_name" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-23", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "float" ], + "patching_rect" : [ 49.0, 156.0, 32.5, 18.0 ], + "text" : "t f f" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-22", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 94.0, 156.0, 76.0, 18.0 ], + "text" : "s step_dur_ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-19", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "int", "int", "int" ], + "patching_rect" : [ 32.0, 253.5, 71.0, 18.0 ], + "text" : "t i i i" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-15", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 157.0, 69.0, 57.0, 18.0 ], + "text" : "r exp_stop" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-21", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 84.0, 280.5, 62.0, 18.0 ], + "text" : "s step_num" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-16", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 101.0, 97.0, 31.0, 16.0 ], + "text" : "0" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-14", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 32.0, 97.0, 31.0, 16.0 ], + "text" : "1" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 101.0, 69.0, 53.0, 18.0 ], + "text" : "r end_run" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 32.0, 69.0, 56.0, 18.0 ], + "text" : "r start_run" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 230.0, 169.0, 68.0, 18.0 ], + "text" : "r stim_preset" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-32", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 304.0, 169.0, 78.0, 41.0 ], + "text" : "preset # \n(each preset = stim pattern)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-31", + "maxclass" : "number", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "int", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 230.0, 196.0, 48.0, 18.0 ] + } + + } +, { + "box" : { + "fontsize" : 10.0, + "id" : "obj-7", + "maxclass" : "preset", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "preset", "int", "preset", "int" ], + "patching_rect" : [ 230.0, 221.5, 100.0, 40.0 ], + "preset_data" : [ { + "number" : 1, + "data" : [ 148, "obj-9", "matrixctrl", "list", 0, 0, 0, 0, 1, 1, 0, 2, 1, 1, 0, 1, 1, 1, 0, 1, 2, 0, 2, 0, 1, 2, 1, 1, 2, 2, 0, 3, 0, 0, 3, 1, 0, 3, 2, 0, 4, 0, 1, 4, 1, 1, 4, 2, 0, 5, 0, 0, 5, 1, 0, 5, 2, 0, 6, 0, 1, 6, 1, 0, 6, 2, 1, 7, 0, 0, 7, 1, 1, 7, 2, 0, 8, 0, 0, 8, 1, 1, 8, 2, 1, 9, 0, 1, 9, 1, 0, 9, 2, 0, 10, 0, 1, 10, 1, 1, 10, 2, 0, 11, 0, 0, 11, 1, 0, 11, 2, 0, 12, 0, 1, 12, 1, 0, 12, 2, 0, 13, 0, 1, 13, 1, 1, 13, 2, 0, 14, 0, 0, 14, 1, 0, 14, 2, 0, 15, 0, 0, 15, 1, 1, 15, 2, 1 ] + } +, { + "number" : 2, + "data" : [ 148, "obj-9", "matrixctrl", "list", 0, 0, 0, 0, 1, 1, 0, 2, 1, 1, 0, 1, 1, 1, 1, 1, 2, 0, 2, 0, 0, 2, 1, 0, 2, 2, 0, 3, 0, 1, 3, 1, 0, 3, 2, 0, 4, 0, 1, 4, 1, 0, 4, 2, 1, 5, 0, 0, 5, 1, 1, 5, 2, 0, 6, 0, 1, 6, 1, 1, 6, 2, 0, 7, 0, 0, 7, 1, 0, 7, 2, 0, 8, 0, 0, 8, 1, 1, 8, 2, 1, 9, 0, 1, 9, 1, 1, 9, 2, 0, 10, 0, 0, 10, 1, 0, 10, 2, 0, 11, 0, 1, 11, 1, 0, 11, 2, 0, 12, 0, 0, 12, 1, 0, 12, 2, 0, 13, 0, 1, 13, 1, 0, 13, 2, 1, 14, 0, 0, 14, 1, 1, 14, 2, 0, 15, 0, 1, 15, 1, 1, 15, 2, 0 ] + } +, { + "number" : 3, + "data" : [ 148, "obj-9", "matrixctrl", "list", 0, 0, 1, 0, 1, 0, 0, 2, 1, 1, 0, 0, 1, 1, 0, 1, 2, 0, 2, 0, 0, 2, 1, 1, 2, 2, 0, 3, 0, 0, 3, 1, 0, 3, 2, 0, 4, 0, 1, 4, 1, 0, 4, 2, 1, 5, 0, 0, 5, 1, 0, 5, 2, 0, 6, 0, 0, 6, 1, 0, 6, 2, 1, 7, 0, 0, 7, 1, 0, 7, 2, 0, 8, 0, 1, 8, 1, 0, 8, 2, 1, 9, 0, 0, 9, 1, 0, 9, 2, 0, 10, 0, 0, 10, 1, 1, 10, 2, 0, 11, 0, 0, 11, 1, 0, 11, 2, 0, 12, 0, 1, 12, 1, 1, 12, 2, 0, 13, 0, 0, 13, 1, 0, 13, 2, 0, 14, 0, 0, 14, 1, 1, 14, 2, 0, 15, 0, 0, 15, 1, 0, 15, 2, 0 ] + } +, { + "number" : 4, + "data" : [ 148, "obj-9", "matrixctrl", "list", 0, 0, 1, 0, 1, 0, 0, 2, 1, 1, 0, 0, 1, 1, 0, 1, 2, 0, 2, 0, 1, 2, 1, 0, 2, 2, 0, 3, 0, 0, 3, 1, 0, 3, 2, 0, 4, 0, 0, 4, 1, 1, 4, 2, 0, 5, 0, 0, 5, 1, 0, 5, 2, 0, 6, 0, 0, 6, 1, 1, 6, 2, 1, 7, 0, 0, 7, 1, 0, 7, 2, 0, 8, 0, 0, 8, 1, 1, 8, 2, 0, 9, 0, 0, 9, 1, 0, 9, 2, 0, 10, 0, 1, 10, 1, 0, 10, 2, 0, 11, 0, 0, 11, 1, 0, 11, 2, 0, 12, 0, 1, 12, 1, 0, 12, 2, 1, 13, 0, 0, 13, 1, 0, 13, 2, 0, 14, 0, 0, 14, 1, 1, 14, 2, 1, 15, 0, 0, 15, 1, 0, 15, 2, 0 ] + } + ] + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 271.5, 41.0, 52.0, 18.0 ], + "text" : "loadbang" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-148", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 139.0, 585.0, 17.0, 16.0 ], + "text" : "1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-149", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 136.0, 561.0, 45.0, 18.0 ], + "text" : "select 1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-150", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 139.0, 608.0, 27.0, 18.0 ], + "text" : "s t3" + } + + } +, { + "box" : { + "bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "htextcolor" : [ 0.870588, 0.870588, 0.870588, 1.0 ], + "id" : "obj-151", + "maxclass" : "number", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "int", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 136.0, 536.0, 35.0, 18.0 ], + "triscale" : 0.9 + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-152", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 87.0, 585.0, 17.0, 16.0 ], + "text" : "1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-153", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 84.0, 561.0, 45.0, 18.0 ], + "text" : "select 1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-154", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 87.0, 608.0, 27.0, 18.0 ], + "text" : "s t2" + } + + } +, { + "box" : { + "bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "htextcolor" : [ 0.870588, 0.870588, 0.870588, 1.0 ], + "id" : "obj-155", + "maxclass" : "number", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "int", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 84.0, 536.0, 35.0, 18.0 ], + "triscale" : 0.9 + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-156", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 35.0, 585.0, 17.0, 16.0 ], + "text" : "1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-157", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 32.0, 561.0, 45.0, 18.0 ], + "text" : "select 1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-219", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 35.0, 608.0, 27.0, 18.0 ], + "text" : "s t1" + } + + } +, { + "box" : { + "bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "htextcolor" : [ 0.870588, 0.870588, 0.870588, 1.0 ], + "id" : "obj-220", + "maxclass" : "number", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "int", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 32.0, 536.0, 35.0, 18.0 ], + "triscale" : 0.9 + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-221", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "int", "int", "int" ], + "patching_rect" : [ 32.0, 503.0, 123.0, 18.0 ], + "text" : "unpack 0 0 0" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-18", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 109.0, 180.0, 64.0, 29.0 ], + "text" : "inter-step interval (ms)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-17", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 227.25, 21.0, 33.0, 18.0 ], + "text" : "BPM" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 230.0, 96.0, 32.5, 18.0 ], + "text" : "/ 4." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 230.0, 69.0, 49.0, 18.0 ], + "text" : "!/ 60000." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-3", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 230.0, 41.0, 29.0, 16.0 ], + "text" : "107" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-2", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 49.0, 180.0, 51.0, 18.0 ] + } + + } +, { + "box" : { + "id" : "obj-20", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 32.0, 135.0, 20.0, 20.0 ] + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 32.0, 387.0, 96.0, 18.0 ], + "text" : "prepend getcolumn" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 4, + "outlettype" : [ "int", "", "", "int" ], + "patching_rect" : [ 32.0, 227.5, 64.0, 18.0 ], + "text" : "counter 15" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 32.0, 203.0, 36.0, 18.0 ], + "text" : "metro" + } + + } +, { + "box" : { + "columns" : 16, + "id" : "obj-9", + "maxclass" : "matrixctrl", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "list", "list" ], + "parameter_enable" : 0, + "patching_rect" : [ 214.0, 449.0, 258.0, 50.0 ], + "presentation_rect" : [ 15.0, 15.0, 258.0, 50.0 ], + "rows" : 3 + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 41.5, 412.0, 223.5, 412.0 ], + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 239.5, 144.0, 58.5, 144.0 ], + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 41.5, 136.5, 41.5, 136.5 ], + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-150", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-148", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-148", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-149", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-149", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-151", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-154", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-152", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-152", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-153", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-153", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-155", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-219", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-156", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-156", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-157", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 110.5, 127.5, 41.5, 127.5 ], + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-19", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-19", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-24", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-19", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-20", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-157", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-220", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-151", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-221", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-155", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-221", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-220", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-221", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-23", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-23", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-38", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-24", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-29", 1 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 44.5, 441.5, 204.5, 441.5 ], + "source" : [ "obj-26", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-30", 1 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 44.5, 464.0, 204.5, 464.0 ], + "source" : [ "obj-27", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-33", 1 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 44.5, 500.0, 124.5, 500.0, 124.5, 472.0, 204.5, 472.0 ], + "source" : [ "obj-28", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-31", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-40", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-38", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-31", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 239.5, 361.0, 223.5, 361.0 ], + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-221", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 462.5, 500.5, 41.5, 500.5 ], + "source" : [ "obj-9", 1 ] + } + + } + ] + } +, + "patching_rect" : [ 382.5, 278.5, 66.0, 18.0 ], + "saved_object_attributes" : { + "default_fontface" : 0, + "default_fontname" : "Arial", + "default_fontsize" : 12.0, + "description" : "", + "digest" : "", + "fontface" : 0, + "fontname" : "Arial", + "fontsize" : 12.0, + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p sequencer" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "bang", "bang", "bang" ], + "patching_rect" : [ 32.0, 52.0, 43.0, 18.0 ], + "text" : "t b b b" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-19", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 32.0, 25.0, 24.0, 18.0 ], + "text" : "r lb" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-25", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 130.0, 52.0, 129.0, 18.0 ], + "text" : "load samples to buffer" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-67", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 262.75, 85.0, 113.0, 16.0 ], + "text" : "read vdc_conga1_1.aif" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-66", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 143.25, 85.0, 110.0, 16.0 ], + "text" : "read vdc_shaker_1.aif" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-65", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 32.0, 85.0, 102.0, 16.0 ], + "text" : "read vdc_snap_1.aif" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-26", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "bang" ], + "patching_rect" : [ 262.75, 181.5, 84.0, 18.0 ], + "text" : "buffer~ inst_3" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-27", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "bang" ], + "patching_rect" : [ 143.25, 181.5, 84.0, 18.0 ], + "text" : "buffer~ inst_2" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-64", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "bang" ], + "patching_rect" : [ 32.0, 181.5, 86.0, 18.0 ], + "text" : "buffer~ inst_1" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.5, 0.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 6, + "minor" : 1, + "revision" : 6, + "architecture" : "x86" + } +, + "rect" : [ 501.0, 103.0, 779.0, 603.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 0, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 0, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "boxanimatetime" : 200, + "imprint" : 0, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "boxes" : [ { + "box" : { + "id" : "obj-24", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 551.0, 280.0, 20.0, 20.0 ] + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-22", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 506.5, 565.5, 116.0, 29.0 ], + "text" : "Send probe application to event log" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-21", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 623.5, 576.5, 67.0, 18.0 ], + "text" : "s event_type" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-20", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 639.5, 503.5, 61.0, 18.0 ], + "text" : "r probe_idx" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 623.5, 527.0, 35.0, 18.0 ], + "text" : "zl reg" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 623.5, 552.5, 83.0, 18.0 ], + "text" : "sprintf probe_%i" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-19", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 184.75, 455.5, 66.0, 18.0 ], + "text" : "s probe_trial" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "int", "int" ], + "patching_rect" : [ 171.25, 397.0, 32.5, 18.0 ], + "text" : "t i i" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 184.75, 430.5, 102.0, 18.0 ], + "text" : "if $i1 == 1 then bang" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-18", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 444.5, 439.0, 82.0, 18.0 ], + "text" : "s probe_applied" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-17", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 441.0, 497.5, 55.0, 41.0 ], + "text" : "linear amplitude envelope" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-16", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 611.5, 88.5, 130.0, 18.0 ], + "text" : "amplitude deviant envelope" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-13", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 409.5, 505.0, 25.0, 25.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-12", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 664.0, 116.0, 25.0, 25.0 ] + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "bang", "bang", "bang" ], + "patching_rect" : [ 601.5, 430.5, 63.0, 18.0 ], + "text" : "bangbang 3" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-38", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 618.25, 397.0, 87.0, 29.0 ], + "text" : "Control response allowance period" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-37", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 645.5, 455.5, 96.0, 18.0 ], + "text" : "s start_resp_period" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 533.5, 481.5, 93.0, 18.0 ], + "text" : "s end_resp_period" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 533.5, 455.5, 59.0, 18.0 ], + "text" : "delay 1200" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-30", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 409.5, 383.5, 35.0, 18.0 ], + "text" : "zl reg" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "signal", "bang" ], + "patching_rect" : [ 409.5, 410.0, 54.0, 18.0 ], + "text" : "line~ 0.25" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-26", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 420.5, 202.0, 61.0, 18.0 ], + "text" : "r step_num" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-15", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 420.5, 258.0, 109.0, 18.0 ], + "text" : "if $i1 == $i2 then bang" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-6", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 234.5, 218.0, 122.0, 29.0 ], + "text" : "(trial_num message sent at end of each trial)" + } + + } +, { + "box" : { + "id" : "obj-11", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 409.5, 321.0, 20.0, 20.0 ] + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "bang", "bang", "int" ], + "patching_rect" : [ 388.5, 143.0, 40.0, 18.0 ], + "text" : "t b b 0" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-101", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 8.0, 348.5, 113.0, 29.0 ], + "text" : "view transition probs in Max window" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-99", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 8.0, 383.5, 36.0, 16.0 ], + "text" : "dump" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-83", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 159.625, 178.5, 213.0, 29.0 ], + "text" : "after 4th trial, open gate (ie., .85 probability of probe if no probe in previous loop iteration)" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-80", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 171.25, 218.0, 58.0, 18.0 ], + "text" : "r trial_num" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-78", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 171.25, 254.0, 96.0, 18.0 ], + "text" : "if $i1 > 4 then bang" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-77", + "maxclass" : "number", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "int", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 171.25, 371.0, 48.0, 18.0 ] + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-76", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 222.75, 312.0, 34.0, 17.0 ], + "text" : "clear" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-74", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 222.75, 287.0, 53.0, 18.0 ], + "text" : "r end_run" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-73", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 8.0, 236.0, 24.0, 18.0 ], + "text" : "r lb" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-64", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 71.0, 314.0, 72.0, 16.0 ], + "text" : "1 0 100, 1 1 0" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-58", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 47.25, 286.0, 72.0, 16.0 ], + "text" : "0 1 85, 0 0 15" + } + + } +, { + "box" : { + "id" : "obj-44", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 171.25, 292.0, 20.0, 20.0 ] + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-39", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "int", "bang" ], + "patching_rect" : [ 171.25, 344.0, 31.0, 18.0 ], + "save" : [ "#N", "prob", ";" ], + "text" : "prob" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-33", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 350.0, 83.0, 130.0, 29.0 ], + "text" : "close gate and repopulate weights at at start of run" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-29", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 388.5, 116.0, 56.0, 18.0 ], + "text" : "r start_run" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "frgb" : 0.0, + "id" : "obj-28", + "linecount" : 8, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 8.0, 12.0, 352.0, 117.0 ], + "text" : "Applies weighted transition probabilities to enforce the following rules in selecting trials for deviant. When rules met, deviant envelope is released.\n\n1. Trial # must be > 4\n2. After each \"standard\" (non-target) trial, 85% chance that next trial will contain a target.\n3. Each test trial followed by standard trial." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 409.5, 287.0, 30.0, 18.0 ], + "text" : "gate" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-96", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 420.5, 184.0, 165.5, 18.0 ], + "text" : "Apply probe at critical step position" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-94", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 510.5, 202.0, 68.0, 18.0 ], + "text" : "r probe_time" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 180.75, 422.0, 299.875, 422.0, 299.875, 277.0, 419.0, 277.0 ], + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-30", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-30", 1 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 673.5, 377.75, 435.0, 377.75 ], + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-37", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-20", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-26", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-29", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 419.0, 405.75, 611.0, 405.75 ], + "source" : [ "obj-30", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-30", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-77", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-39", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-39", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-44", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-39", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 56.75, 342.0, 180.75, 342.0 ], + "source" : [ "obj-58", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-39", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 80.5, 342.0, 180.75, 342.0 ], + "source" : [ "obj-64", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-58", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 17.5, 270.0, 56.75, 270.0 ], + "source" : [ "obj-73", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-64", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 17.5, 308.0, 80.5, 308.0 ], + "source" : [ "obj-73", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-76", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-74", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-39", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-76", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-77", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-44", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-78", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-78", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-80", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-58", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 408.5, 170.0, 56.75, 170.0 ], + "source" : [ "obj-9", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-64", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 398.0, 166.0, 80.5, 166.0 ], + "source" : [ "obj-9", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-94", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-24", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-94", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-39", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 17.5, 411.0, 157.0, 411.0, 157.0, 342.0, 180.75, 342.0 ], + "source" : [ "obj-99", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 207.0, 389.0, 105.0, 18.0 ], + "saved_object_attributes" : { + "default_fontface" : 0, + "default_fontname" : "Arial", + "default_fontsize" : 12.0, + "description" : "", + "digest" : "", + "fontface" : 0, + "fontname" : "Arial", + "fontsize" : 12.0, + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p control_target_pres" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-101", + "linecount" : 4, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 207.0, 499.0, 108.0, 52.0 ], + "text" : "Mark ends of trials based on sequencer steps and count no. trials" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.5, 0.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-97", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 0, + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 6, + "minor" : 1, + "revision" : 6, + "architecture" : "x86" + } +, + "rect" : [ 671.0, 45.0, 292.0, 366.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 0, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 0, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "boxanimatetime" : 200, + "imprint" : 0, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "boxes" : [ { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 24.0, 161.5, 56.0, 18.0 ], + "text" : "route 0 15" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-1", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 95.25, 115.0, 85.0, 18.0 ], + "text" : "(steps are 0-15)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-17", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 24.0, 80.0, 145.0, 29.0 ], + "text" : "Parse trial end as 100 ms before loop patter repeats" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "frgb" : 0.0, + "id" : "obj-16", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 24.0, 20.0, 227.0, 34.0 ], + "text" : "Demarcates ends of trials (i.e. loop each loop sequence) and counts trial #" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 156.0, 301.0, 57.0, 18.0 ], + "text" : "s end_trial" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 171.0, 218.5, 33.0, 18.0 ], + "text" : "- 100" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 171.0, 194.0, 74.0, 18.0 ], + "text" : "r step_dur_ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 156.0, 248.5, 34.0, 18.0 ], + "text" : "delay" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-26", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 24.0, 115.0, 61.0, 18.0 ], + "text" : "r step_num" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-2", + "maxclass" : "number", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "int", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 24.0, 325.0, 86.0, 18.0 ] + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-92", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 42.75, 189.5, 79.0, 18.0 ], + "text" : "count no. trials" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-90", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 65.25, 218.5, 56.0, 18.0 ], + "text" : "r start_run" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-89", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 40.0, 218.5, 24.0, 18.0 ], + "text" : "r lb" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-88", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 65.25, 248.5, 31.0, 16.0 ], + "text" : "1" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-86", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 41.5, 301.0, 97.0, 18.0 ], + "text" : "s trial_num" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-85", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 4, + "outlettype" : [ "int", "", "", "int" ], + "patching_rect" : [ 24.0, 276.0, 102.0, 18.0 ], + "text" : "counter" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-26", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-85", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 52.0, 184.75, 165.5, 184.75 ], + "source" : [ "obj-8", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-85", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-86", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-85", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-85", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-88", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-88", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-89", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-88", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-90", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 204.0, 560.0, 111.0, 18.0 ], + "saved_object_attributes" : { + "default_fontface" : 0, + "default_fontname" : "Arial", + "default_fontsize" : 12.0, + "description" : "", + "digest" : "", + "fontface" : 0, + "fontname" : "Arial", + "fontsize" : 12.0, + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p trial_marker_counter" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "frgb" : 0.0, + "id" : "obj-31", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 448.0, 25.0, 99.0, 32.0 ], + "text" : "Amplitude deviant envelope" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 485.0, 59.0, 25.0, 25.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-55", 1 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 216.5, 413.5, 52.5, 413.5 ], + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-64", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-15", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-15", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-27", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-26", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-19", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 494.5, 322.0, 216.5, 322.0 ], + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-69", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-33", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-70", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-77", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-68", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-42", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-71", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-55", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-71", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-55", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-72", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-57", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-65", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-66", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 53.5, 77.5, 152.75, 77.5 ], + "source" : [ "obj-6", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-67", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 65.5, 77.5, 272.25, 77.5 ], + "source" : [ "obj-6", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-69", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-60", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-72", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-61", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-55", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-62", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-68", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-63", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-65", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-66", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-67", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-55", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 213.5, 334.0, 41.5, 334.0 ], + "source" : [ "obj-68", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-55", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 128.5, 334.0, 41.5, 334.0 ], + "source" : [ "obj-69", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-71", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 44.5, 567.0, 24.0, 567.0, 24.0, 452.0, 41.5, 452.0 ], + "source" : [ "obj-70", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-55", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-72", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-71", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-74", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-71", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 58.0, 604.0, 23.0, 604.0, 23.0, 458.0, 41.5, 458.0 ], + "source" : [ "obj-77", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 18.0, 273.0, 115.0, 18.0 ], + "saved_object_attributes" : { + "default_fontface" : 0, + "default_fontname" : "Arial", + "default_fontsize" : 12.0, + "description" : "", + "digest" : "", + "fontface" : 0, + "fontname" : "Arial", + "fontsize" : 12.0, + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p stim_target_controller" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.5, 0.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 6, + "minor" : 1, + "revision" : 6, + "architecture" : "x86" + } +, + "rect" : [ 570.0, 45.0, 407.0, 651.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 0, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 0, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "boxanimatetime" : 200, + "imprint" : 0, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "boxes" : [ { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-36", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "float" ], + "patching_rect" : [ 74.5, 369.0, 32.5, 18.0 ], + "text" : "t f f" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-19", + "linecount" : 4, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 210.375, 562.0, 112.0, 52.0 ], + "text" : "duration of manipulated amplitude locked to 16th-note step duration" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-35", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 210.375, 518.0, 74.0, 18.0 ], + "text" : "r step_dur_ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-27", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "float" ], + "patching_rect" : [ 13.5, 369.0, 32.5, 18.0 ], + "text" : "t f f" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-32", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 245.5, 269.5, 49.0, 19.0 ] + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-37", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 298.25, 264.5, 93.0, 29.0 ], + "text" : "deviant amplitude height (dB SPL)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-20", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "bang" ], + "patching_rect" : [ 245.5, 298.0, 32.5, 18.0 ], + "text" : "t f b" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-18", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 291.25, 363.0, 85.0, 29.0 ], + "text" : "log trial's deviant level for data file" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 298.25, 399.0, 72.0, 18.0 ], + "text" : "s curr_dev_lvl" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-31", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 13.5, 239.5, 111.0, 41.0 ], + "text" : "if dev_type 2 (intensity decrease), tansform dB to negative value" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-29", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 13.5, 278.0, 57.0, 18.0 ], + "text" : "r dev_type" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-21", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 13.5, 306.0, 80.0, 18.0 ], + "text" : "gate 2" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 74.5, 336.0, 31.0, 18.0 ], + "text" : "* -1." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-59", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 48.0, 584.0, 130.0, 29.0 ], + "text" : "linear ramp of deviant envelope" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-53", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "bang", "float", "float" ], + "patching_rect" : [ 13.5, 480.0, 150.25, 18.0 ], + "text" : "t b f f" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-52", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 166.0, 224.0, 82.0, 29.0 ], + "text" : "de-log deviance value" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.5, 0.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-50", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 13.5, 431.0, 80.0, 18.0 ], + "text" : "dBtoA_refScale" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-33", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 13.5, 518.0, 29.0, 18.0 ], + "text" : "float" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-30", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "float", "float", "float" ], + "patching_rect" : [ 259.0, 480.0, 36.0, 18.0 ], + "text" : "t f f f" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-22", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 269.0, 431.0, 70.0, 18.0 ], + "text" : "r std_amp_lvl" + } + + } +, { + "box" : { + "id" : "obj-28", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 134.5, 157.0, 20.0, 20.0 ] + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-25", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "int", "float" ], + "patching_rect" : [ 134.5, 213.0, 33.0, 18.0 ], + "text" : "t 10 f" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-26", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 134.5, 240.0, 33.0, 18.0 ], + "text" : "pow" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-23", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 134.5, 186.0, 37.0, 18.0 ], + "text" : "zl reg" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-24", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 152.5, 157.0, 61.0, 18.0 ], + "text" : "r mean_pdf" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-51", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "int", "float" ], + "patching_rect" : [ 245.5, 213.0, 33.0, 18.0 ], + "text" : "t 10 f" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-17", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 245.5, 240.0, 33.0, 18.0 ], + "text" : "pow" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-16", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 178.0, 62.0, 127.0, 29.0 ], + "text" : "determine mean_pdf idx based on obs #" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 245.5, 186.0, 34.0, 18.0 ], + "text" : "zl nth" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 311.0, 157.0, 31.0, 18.0 ], + "text" : "- 1" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 178.0, 97.0, 58.0, 18.0 ], + "text" : "r obs_num" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 178.0, 126.0, 152.0, 18.0 ], + "text" : "if $i1 == 1 then $i1 else out2 $i1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-13", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 13.5, 455.0, 48.0, 18.0 ] + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-38", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 26.0, 411.0, 122.0, 18.0 ], + "text" : "transform to linear amp" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-34", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 259.0, 455.0, 29.0, 18.0 ], + "text" : "float" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 13.5, 587.0, 25.0, 25.0 ] + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 13.5, 546.0, 281.5, 18.0 ], + "text" : "sprintf %f\\, %f 1 %f %f %f 1" + } + + } +, { + "box" : { + "bgcolor" : [ 0.8, 1.0, 0.8, 1.0 ], + "fontface" : 2, + "fontname" : "Arial", + "fontsize" : 11.0, + "frgb" : 0.0, + "id" : "obj-9", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 14.0, 11.0, 288.0, 32.0 ], + "text" : "After each probe time is selected, calculate amplitude modulation envelope given ZEST estimate for that probe" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 245.5, 157.0, 61.0, 18.0 ], + "text" : "r mean_pdf" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-51", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-53", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-32", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-28", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 187.5, 149.0, 144.0, 149.0 ], + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-20", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-34", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-20", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-27", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-21", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-21", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-34", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-25", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-23", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-24", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-26", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-25", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-26", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-25", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-32", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-26", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-50", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 36.5, 408.5, 23.0, 408.5 ], + "source" : [ "obj-27", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 23.0, 396.5, 307.75, 396.5 ], + "source" : [ "obj-27", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-28", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-29", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-30", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-33", 1 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 268.5, 512.0, 33.0, 512.0 ], + "source" : [ "obj-30", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-50", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-30", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-32", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-33", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-30", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-34", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-35", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-50", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 97.5, 405.5, 23.0, 405.5 ], + "source" : [ "obj-36", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 84.0, 395.0, 307.75, 395.0 ], + "source" : [ "obj-36", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-36", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-50", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-51", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-51", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-53", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-53", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-33", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-53", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 18.0, 157.0, 126.0, 18.0 ], + "saved_object_attributes" : { + "default_fontface" : 0, + "default_fontname" : "Arial", + "default_fontsize" : 12.0, + "description" : "", + "digest" : "", + "fontface" : 0, + "fontname" : "Arial", + "fontsize" : 12.0, + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p calculate_deviant_envlp" + } + + } +, { + "box" : { + "bgcolor" : [ 0.8, 1.0, 0.8, 1.0 ], + "fontface" : 2, + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-4", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 18.0, 426.0, 206.0, 18.0 ], + "text" : "Write trial data to data file" + } + + } +, { + "box" : { + "bgcolor" : [ 0.8, 1.0, 0.8, 1.0 ], + "fontface" : 2, + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-7", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 18.0, 340.0, 205.0, 18.0 ], + "text" : "Collect subject target detection response" + } + + } +, { + "box" : { + "bgcolor" : [ 0.8, 1.0, 0.8, 1.0 ], + "fontface" : 2, + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-5", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 38.0, 217.0, 203.0, 40.0 ], + "text" : "Start playback at exp_start, present target deviant, and track trial (i.e., loop iteration) number" + } + + } +, { + "box" : { + "bgcolor" : [ 0.8, 1.0, 0.8, 1.0 ], + "fontface" : 2, + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-3", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 18.0, 114.0, 265.0, 29.0 ], + "text" : "Calculate amplitude deviant level for upcoming probe using ZEST calculations" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.5, 0.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-38", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 0, + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 6, + "minor" : 1, + "revision" : 6, + "architecture" : "x86" + } +, + "rect" : [ 55.0, 109.0, 539.0, 543.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 0, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 0, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "boxanimatetime" : 200, + "imprint" : 0, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "visible" : 1, + "boxes" : [ { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-27", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 316.0, 116.0, 71.0, 18.0 ], + "text" : "r data_written" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "frgb" : 0.0, + "id" : "obj-20", + "linecount" : 16, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 397.0, 89.0, 124.0, 203.0 ], + "text" : "*Changed probe selection to only happen after loop iteration containing previous probe has finished and response threshold corresponding to previous probe has been estimated and logged. This avoids selection of two probes in same loop iteration and mixing up observations between probes - BH 5Aug2016" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-16", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 266.0, 372.0, 51.0, 18.0 ], + "text" : "tosymbol" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-28", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 6, + "outlettype" : [ "int", "int", "bang", "bang", "int", "int" ], + "patching_rect" : [ 182.0, 281.0, 80.0, 18.0 ], + "text" : "t i i b b i i" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 266.0, 399.0, 71.0, 18.0 ], + "text" : "s probe_cond" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 266.0, 345.0, 34.0, 18.0 ], + "text" : "zl nth" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-11", + "linecount" : 2, + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 266.0, 307.0, 180.0, 27.0 ], + "text" : "hi_reson low_reson low_reson hi_reson" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 275.5, 274.0, 97.0, 18.0 ], + "text" : "r curr_probe_conds" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-9", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 30.0, 307.0, 104.0, 16.0 ], + "text" : "4 6 10 12" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-26", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 76.75, 136.0, 67.0, 18.0 ], + "text" : "r select_next" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-25", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 43.5, 515.0, 69.0, 18.0 ], + "text" : "s select_next" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-21", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 43.5, 487.0, 167.5, 18.0 ], + "text" : "if $i1==1 then bang else out2 $i2" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-15", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "", "", "", "" ], + "patching_rect" : [ 43.5, 457.0, 69.0, 18.0 ], + "saved_object_attributes" : { + "embed" : 0 + } +, + "text" : "coll converge" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 43.5, 433.0, 112.0, 18.0 ], + "text" : "prepend nth conv_msk" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-10", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 220.75, 465.0, 193.0, 40.0 ], + "text" : "If threshold for this probe has converged, skip and go to next selection. \nOtherwise, continue with selected probe." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "frgb" : 0.0, + "id" : "obj-2", + "linecount" : 4, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 13.0, 11.0, 423.0, 56.0 ], + "text" : "Randomly select probe events associated with current stim each time (a) slots are loaded for a new run, (b) a probe is applied by the stim player, or (c) the threshold tracker associated with the chosen probe has already converged.\nNote: probes events are numbered on a 0-15 step sequencer scale." + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-33", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 30.0, 372.0, 68.0, 18.0 ], + "text" : "s probe_time" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-31", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 192.0, 515.0, 62.0, 18.0 ], + "text" : "s probe_idx" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-30", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 212.0, 164.0, 32.0, 16.0 ], + "text" : "clear" + } + + } +, { + "box" : { + "id" : "obj-24", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 182.0, 164.0, 20.0, 20.0 ] + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-34", + "maxclass" : "number", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "int", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 182.0, 254.0, 48.0, 18.0 ] + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-32", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 182.0, 229.0, 29.0, 18.0 ], + "text" : "+ 1" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 164.0, 116.0, 73.0, 18.0 ], + "text" : "r slots_loaded" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 259.0, 174.0, 83.0, 18.0 ], + "text" : "r n_probe_times" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "int", "bang" ], + "patching_rect" : [ 182.0, 202.0, 29.0, 18.0 ], + "text" : "urn" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 30.0, 345.0, 34.0, 18.0 ], + "text" : "zl nth" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 30.0, 274.0, 94.0, 18.0 ], + "text" : "r curr_probe_times" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 1 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 285.0, 299.5, 436.5, 299.5 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-25", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-21", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-31", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-21", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-24", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-24", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-26", 0 ], + "watchpoint_flags" : 2, + "watchpoint_id" : 3 + } + + } +, { + "patchline" : { + "destination" : [ "obj-24", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-27", 0 ], + "watchpoint_flags" : 2, + "watchpoint_id" : 2 + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-28", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 191.5, 425.0, 53.0, 425.0 ], + "source" : [ "obj-28", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 252.5, 339.5, 290.5, 339.5 ], + "source" : [ "obj-28", 5 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-28", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 240.300003, 341.5, 54.5, 341.5 ], + "source" : [ "obj-28", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 215.899994, 303.0, 39.5, 303.0 ], + "source" : [ "obj-28", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 39.5, 297.5, 124.5, 297.5 ], + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 221.5, 184.0, 191.5, 184.0 ], + "source" : [ "obj-30", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-34", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-32", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-28", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-34", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-33", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-24", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 201.5, 225.0, 254.25, 225.0, 254.25, 154.0, 191.5, 154.0 ], + "source" : [ "obj-5", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-30", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 201.5, 225.0, 366.25, 225.0, 366.25, 160.0, 221.5, 160.0 ], + "source" : [ "obj-5", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-32", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 1 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 268.5, 199.0, 201.5, 199.0 ], + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-24", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-30", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 173.5, 145.0, 221.5, 145.0 ], + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 18.0, 55.0, 101.0, 18.0 ], + "saved_object_attributes" : { + "default_fontface" : 0, + "default_fontname" : "Arial", + "default_fontsize" : 12.0, + "description" : "", + "digest" : "", + "fontface" : 0, + "fontname" : "Arial", + "fontsize" : 12.0, + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p probe_time_select" + } + + } +, { + "box" : { + "bgcolor" : [ 0.8, 1.0, 0.8, 1.0 ], + "fontface" : 2, + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-2", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 18.0, 12.0, 214.0, 29.0 ], + "text" : "Playback stimulus, select times to probe and produce amp deviant, collect response" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 575.0, 234.5, 77.0, 18.0 ], + "saved_object_attributes" : { + "default_fontface" : 0, + "default_fontname" : "Arial", + "default_fontsize" : 12.0, + "description" : "", + "digest" : "", + "fontface" : 0, + "fontname" : "Arial", + "fontsize" : 12.0, + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p manage_trial" + } + + } +, { + "box" : { + "bgcolor" : [ 0.8, 1.0, 0.8, 1.0 ], + "fontface" : 2, + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-16", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 575.0, 283.5, 188.0, 40.0 ], + "text" : "Estimate threshold and maintain separate treshold trackers for each probe type" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.5, 0.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-15", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 0, + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 6, + "minor" : 1, + "revision" : 6, + "architecture" : "x86" + } +, + "rect" : [ 60.0, 45.0, 739.0, 705.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 0, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 0, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "boxanimatetime" : 200, + "imprint" : 0, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "visible" : 1, + "boxes" : [ { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-44", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 442.0, 291.0, 66.0, 19.0 ], + "text" : "r probe_idx" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "bang" ], + "patching_rect" : [ 103.5, 574.5, 53.0, 19.0 ], + "text" : "onebang" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-45", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 103.5, 547.5, 59.0, 19.0 ], + "text" : "r end_trial" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-24", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "int", "int" ], + "patching_rect" : [ 225.5, 649.5, 32.5, 19.0 ], + "text" : "t i i" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-56", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 156.5, 205.0, 37.0, 19.0 ], + "text" : "zl reg" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-50", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "int" ], + "patching_rect" : [ 442.0, 454.0, 32.5, 19.0 ], + "text" : "t b i" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-47", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 442.0, 479.0, 38.0, 17.0 ], + "text" : "4" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-31", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 489.0, 547.5, 34.0, 17.0 ], + "text" : "clear" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-29", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "bang" ], + "patching_rect" : [ 455.5, 649.5, 59.0, 19.0 ], + "text" : "bangbang" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-32", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 286.5, 602.0, 62.0, 19.0 ], + "text" : "r obs_num" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-28", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 103.5, 602.0, 80.0, 19.0 ], + "text" : "r calc_params" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-67", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "", "", "", "" ], + "patching_rect" : [ 471.0, 40.0, 59.5, 19.0 ], + "restore" : { + "obs_num" : [ 22 ] + } +, + "text" : "autopattr", + "varname" : "u671000670" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-54", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 119.5, 262.0, 81.0, 19.0 ], + "text" : "s calc_params" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-27", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 548.0, 380.0, 69.0, 19.0 ], + "text" : "prepend set" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-64", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 548.0, 357.0, 32.5, 19.0 ], + "text" : "+ 1" + } + + } +, { + "box" : { + "id" : "obj-46", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 102.5, 453.0, 20.0, 20.0 ] + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "frgb" : 0.0, + "id" : "obj-42", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 103.5, 380.0, 208.0, 43.0 ], + "text" : "Store values to current probe slot once thresh values calculated for current trial. After slot saved, bang to load next slot." + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-41", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 102.5, 425.0, 88.0, 19.0 ], + "text" : "r conv_indicator" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-40", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 141.0, 454.0, 38.0, 17.0 ], + "text" : "4" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-39", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 195.0, 425.0, 66.0, 19.0 ], + "text" : "r probe_idx" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-36", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 141.0, 479.0, 78.0, 19.0 ], + "text" : "prepend store" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "bang", "bang", "int" ], + "patching_rect" : [ 442.0, 318.0, 46.0, 19.0 ], + "text" : "t b b i" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 225.5, 680.0, 90.0, 19.0 ], + "text" : "s conv_indicator" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 442.0, 522.5, 32.5, 19.0 ], + "text" : "t b l" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-48", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 195.0, 602.0, 50.0, 17.0 ], + "text" : "1" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-18", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 226.0, 547.5, 62.0, 19.0 ], + "text" : "r sub_resp" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-65", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 455.5, 680.0, 59.0, 19.0 ], + "text" : "s end_run" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-62", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 455.5, 626.5, 119.0, 19.0 ], + "text" : "if $i1 == $i2 then bang" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-49", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 555.5, 600.5, 90.0, 19.0 ], + "text" : "r n_probe_times" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-35", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 455.5, 600.5, 42.0, 19.0 ], + "text" : "zl sum" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-30", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 417.5, 547.5, 38.0, 17.0 ], + "text" : "dump" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "frgb" : 0.0, + "id" : "obj-23", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 482.0, 433.0, 201.0, 31.0 ], + "text" : "Update convergence tracker and send bang when all probes converged" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 482.0, 479.0, 66.0, 19.0 ], + "text" : "r probe_idx" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 442.0, 501.0, 158.0, 19.0 ], + "text" : "sprintf nsub conv_msk %d %d" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "", "", "", "" ], + "patching_rect" : [ 455.5, 574.5, 75.0, 19.0 ], + "saved_object_attributes" : { + "embed" : 0 + } +, + "text" : "coll converge" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-60", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 174.5, 180.0, 91.0, 19.0 ], + "text" : "r params_fname" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-59", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 5, + "outlettype" : [ "bang", "bang", "int", "bang", "bang" ], + "patching_rect" : [ 102.5, 148.5, 91.0, 19.0 ], + "text" : "t b b 1 b b" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-38", + "maxclass" : "number", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "int", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 476.75, 353.0, 50.0, 19.0 ], + "varname" : "obs_num" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-26", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 429.5, 110.0, 34.0, 17.0 ], + "text" : "clear" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-37", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 406.0, 64.0, 19.0 ], + "text" : "s obs_num" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-34", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 4, + "outlettype" : [ "int", "", "", "int" ], + "patching_rect" : [ 442.0, 380.0, 88.5, 19.0 ], + "text" : "counter" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "frgb" : 0.0, + "id" : "obj-17", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 222.0, 189.0, 43.0 ], + "text" : "Switch to current probe's threshold tracker and add to this probe's observation counter" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 102.5, 124.0, 61.0, 19.0 ], + "text" : "r start_run" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 114.5, 353.0, 81.0, 19.0 ], + "text" : "s slots_loaded" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 156.5, 318.0, 78.0, 19.0 ], + "text" : "prepend store" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 127.5, 291.0, 90.0, 19.0 ], + "text" : "r n_probe_times" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "bang", "bang", "int" ], + "patching_rect" : [ 101.5, 318.0, 45.0, 19.0 ], + "text" : "uzi" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-22", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 156.5, 233.0, 76.0, 19.0 ], + "text" : "prepend read" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "frgb" : 0.0, + "id" : "obj-21", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 92.5, 76.5, 206.875, 43.0 ], + "text" : "Initialize pattrstorage slots by reading in param presets and storing to slots.\n# slots = # probe times" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 448.0, 135.0, 73.0, 17.0 ], + "text" : "clientwindow" + } + + } +, { + "box" : { + "bgcolor" : [ 0.8, 1.0, 0.8, 1.0 ], + "fontface" : 2, + "fontname" : "Arial", + "fontsize" : 11.0, + "frgb" : 0.0, + "id" : "obj-2", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 30.0, 28.0, 428.0, 31.0 ], + "text" : "Functions as a wrapper for the ZEST threshold patch.\nManages switching among the individual threshold trackers linked to each probe type." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "frgb" : 0.0, + "id" : "obj-33", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 103.5, 510.5, 198.0, 31.0 ], + "text" : "Pass subject response to ZEST upon trial end, output convergence indicator" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-16", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 471.0, 159.0, 84.0, 17.0 ], + "text" : "storagewindow" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 429.5, 192.0, 246.0, 19.0 ], + "saved_object_attributes" : { + "client_rect" : [ 0, 45, 1280, 647 ], + "parameter_enable" : 0, + "storage_rect" : [ 646, 45, 1206, 511 ] + } +, + "text" : "pattrstorage zest @savemode 0 @autorestore 0", + "varname" : "zest" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.5, 0.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 4, + "outlettype" : [ "", "", "int", "bang" ], + "patching_rect" : [ 103.5, 626.5, 202.0, 19.0 ], + "text" : "zest_pattr_v2", + "varname" : "zest_pattr" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 166.0, 342.0, 417.0, 342.0, 417.0, 186.0, 439.0, 186.0 ], + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-47", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-59", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 480.5, 178.0, 439.0, 178.0 ], + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-48", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 478.5, 341.0, 639.25, 341.0, 639.25, 182.0, 439.0, 182.0 ], + "source" : [ "obj-19", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-34", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-19", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-38", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-19", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 166.0, 256.0, 417.0, 256.0, 417.0, 186.0, 439.0, 186.0 ], + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-24", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-50", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 248.5, 674.5, 411.0, 674.5, 411.0, 444.0, 451.5, 444.0 ], + "source" : [ "obj-24", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 439.0, 127.0, 439.0, 127.0 ], + "source" : [ "obj-26", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-38", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 557.5, 408.0, 541.875, 408.0, 541.875, 349.0, 486.25, 349.0 ], + "source" : [ "obj-27", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-28", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-31", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 505.0, 670.5, 651.25, 670.5, 651.25, 543.5, 498.5, 543.5 ], + "source" : [ "obj-29", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-65", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-29", 0 ], + "watchpoint_flags" : 2, + "watchpoint_id" : 1 + } + + } +, { + "patchline" : { + "destination" : [ "obj-24", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-30", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-31", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-32", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-37", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-34", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-64", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 451.5, 403.0, 626.5, 403.0, 626.5, 349.0, 557.5, 349.0 ], + "source" : [ "obj-34", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-62", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-35", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 150.5, 502.0, 350.5, 502.0, 350.5, 182.0, 439.0, 182.0 ], + "source" : [ "obj-36", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-34", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-38", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-40", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-39", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-35", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-36", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-40", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-46", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-41", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-44", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-40", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 112.0, 476.0, 131.25, 476.0, 131.25, 446.0, 150.5, 446.0 ], + "source" : [ "obj-46", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-47", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-48", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-62", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-49", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-47", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-50", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 1 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 465.0, 473.5, 590.5, 473.5 ], + "source" : [ "obj-50", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-56", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-59", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 148.0, 173.25, 439.0, 173.25 ], + "source" : [ "obj-59", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-26", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 184.0, 171.5, 422.75, 171.5, 422.75, 103.0, 439.0, 103.0 ], + "source" : [ "obj-59", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-54", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-59", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-56", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-59", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-56", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-60", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-29", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-62", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-27", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-64", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-48", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 457.5, 154.0, 439.0, 154.0 ], + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-30", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 1 ] + } + + } + ] + } +, + "patching_rect" : [ 575.0, 335.5, 122.0, 18.0 ], + "saved_object_attributes" : { + "default_fontface" : 0, + "default_fontname" : "Arial", + "default_fontsize" : 12.0, + "description" : "", + "digest" : "", + "fontface" : 0, + "fontname" : "Arial", + "fontsize" : 12.0, + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p manage_zest_contexts", + "varname" : "manage_zest_contexts" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-27", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 35.0, 111.5, 78.0, 18.0 ], + "text" : "loadmess clear" + } + + } +, { + "box" : { + "bangmode" : 1, + "clickmode" : 1, + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-28", + "keymode" : 1, + "maxclass" : "textedit", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "", "int", "", "" ], + "outputmode" : 1, + "parameter_enable" : 0, + "patching_rect" : [ 35.0, 177.5, 105.0, 21.0 ], + "presentation" : 1, + "presentation_rect" : [ 337.1875, 179.0, 105.0, 21.0 ], + "text" : "test1", + "wordwrap" : 0 + } + + } +, { + "box" : { + "fontface" : 1, + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-29", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 57.0, 138.5, 61.0, 18.0 ], + "presentation" : 1, + "presentation_rect" : [ 351.9375, 153.0, 64.0, 18.0 ], + "text" : "*Subject ID" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-23", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 35.0, 227.5, 44.0, 18.0 ], + "text" : "s subjid" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 415.0, 195.5, 59.0, 18.0 ], + "text" : "s exp_stop" + } + + } +, { + "box" : { + "bgcolor" : [ 0.8, 1.0, 0.8, 1.0 ], + "fontface" : 2, + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-13", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 575.0, 98.5, 161.0, 29.0 ], + "text" : "Initiate stimulus, probe times, and thresh convergence tracker" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 335.0, 195.5, 59.0, 18.0 ], + "text" : "s exp_start" + } + + } +, { + "box" : { + "id" : "obj-9", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 415.0, 165.5, 20.0, 20.0 ] + } + + } +, { + "box" : { + "id" : "obj-8", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 335.0, 165.5, 20.0, 20.0 ] + } + + } +, { + "box" : { + "color" : [ 1.0, 0.5, 0.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 0, + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 6, + "minor" : 1, + "revision" : 6, + "architecture" : "x86" + } +, + "rect" : [ 559.0, 45.0, 678.0, 698.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 0, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 0, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "boxanimatetime" : 200, + "imprint" : 0, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "visible" : 1, + "boxes" : [ { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-2", + "linecount" : 3, + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 45.0, 152.0, 132.0, 38.0 ], + "text" : "1 prA_4_3i_1v_107bpm, 2 prC_124_3i_1v_107bpm, 3 simple1v2, 4 simple2v2" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 16.5, 554.0, 32.5, 18.0 ], + "text" : "t l l" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "int", "int", "int" ], + "patching_rect" : [ 139.75, 580.0, 46.0, 18.0 ], + "text" : "t i i i" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "frgb" : 0.0, + "id" : "obj-33", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 207.25, 295.5, 83.0, 43.0 ], + "text" : "send pattern preset # to stim sequencer" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-32", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 207.25, 274.5, 76.0, 19.0 ], + "text" : "s stim_preset" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-31", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "int", "int" ], + "patching_rect" : [ 193.75, 246.5, 32.5, 20.0 ], + "text" : "t i i" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-21", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 68.5, 497.0, 32.0, 16.0 ], + "text" : "clear" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-70", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 16.5, 52.0, 105.0, 29.0 ], + "text" : "Populate names of stimuli to select from" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-68", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "length", "bang", "clear" ], + "patching_rect" : [ 16.5, 115.5, 76.0, 18.0 ], + "text" : "t length b clear" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-60", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 16.5, 90.5, 24.0, 18.0 ], + "text" : "r lb" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-44", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "clear" ], + "patching_rect" : [ 293.75, 107.0, 46.0, 18.0 ], + "text" : "t b clear" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-41", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 193.75, 220.5, 30.0, 18.0 ], + "text" : "int" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-24", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 193.75, 184.5, 56.0, 18.0 ], + "text" : "r start_run" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 502.25, 267.5, 58.0, 18.0 ], + "text" : "r exp_start" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-50", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 289.75, 52.0, 178.0, 29.0 ], + "text" : "Ramdomly select stimulus until all have been selected " + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-49", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 395.5, 107.0, 51.0, 18.0 ], + "text" : "r n_stims" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-47", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 103.5, 274.5, 53.0, 18.0 ], + "text" : "s n_stims" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-51", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 422.75, 350.5, 58.0, 18.0 ], + "text" : "s run_num" + } + + } +, { + "box" : { + "id" : "obj-48", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 422.75, 296.5, 20.0, 20.0 ] + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-46", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 459.5, 296.5, 31.0, 16.0 ], + "text" : "1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-43", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 4, + "outlettype" : [ "int", "", "", "int" ], + "patching_rect" : [ 422.75, 323.5, 64.0, 18.0 ], + "text" : "counter" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-42", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 411.75, 267.5, 56.0, 18.0 ], + "text" : "r start_run" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-39", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 473.75, 267.5, 24.0, 18.0 ], + "text" : "r lb" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-38", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 422.75, 246.5, 62.0, 18.0 ], + "text" : "Count runs" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-30", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 554.0, 99.0, 18.0 ], + "text" : "s curr_probe_conds" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-28", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 442.0, 472.0, 175.0, 16.0 ], + "text" : "read attmap_altstim_probe_conds.txt" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-26", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "", "", "", "" ], + "patching_rect" : [ 442.0, 527.0, 86.0, 18.0 ], + "saved_object_attributes" : { + "embed" : 0 + } +, + "text" : "coll probe_conds" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-16", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "int" ], + "patching_rect" : [ 249.75, 630.5, 42.0, 18.0 ], + "text" : "t b i" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-20", + "linecount" : 2, + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 308.0, 655.0, 73.0, 29.0 ], + "text" : "prepend store conv_msk" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 395.5, 162.0, 59.0, 18.0 ], + "text" : "s exp_stop" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-23", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 399.5, 655.0, 24.0, 18.0 ], + "text" : "r lb" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-22", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 399.5, 683.0, 32.0, 16.0 ], + "text" : "clear" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 308.0, 630.5, 46.0, 18.0 ], + "text" : "zl group" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 249.75, 688.0, 22.0, 18.0 ], + "text" : "t 0" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "bang", "bang", "int" ], + "patching_rect" : [ 249.75, 661.0, 42.0, 18.0 ], + "text" : "uzi" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "", "", "", "" ], + "patching_rect" : [ 308.0, 696.5, 69.0, 18.0 ], + "saved_object_attributes" : { + "embed" : 0 + } +, + "text" : "coll converge" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-88", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 203.25, 554.0, 84.0, 18.0 ], + "text" : "s n_probe_times" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-87", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 139.75, 554.0, 34.0, 18.0 ], + "text" : "zl len" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-78", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 16.5, 587.0, 96.0, 18.0 ], + "text" : "s curr_probe_times" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-77", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 274.75, 497.0, 82.0, 18.0 ], + "text" : "prepend symbol" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-76", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 274.75, 472.0, 66.0, 18.0 ], + "text" : "r stim_name" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-75", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 299.75, 435.0, 24.0, 18.0 ], + "text" : "r lb" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-65", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "", "", "", "" ], + "patching_rect" : [ 16.5, 527.0, 83.0, 18.0 ], + "saved_object_attributes" : { + "embed" : 0 + } +, + "text" : "coll probe_times" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-62", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 16.5, 472.0, 172.0, 16.0 ], + "text" : "read attmap_altstim_probe_times.txt" + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-57", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 359.0, 83.0, 53.0, 18.0 ], + "text" : "r end_run" + } + + } +, { + "box" : { + "bgcolor" : [ 0.8, 1.0, 0.8, 1.0 ], + "fontface" : 2, + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-56", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 274.75, 596.0, 179.0, 18.0 ], + "text" : "Initialize convergence tracker " + } + + } +, { + "box" : { + "bgcolor" : [ 0.8, 1.0, 0.8, 1.0 ], + "fontface" : 2, + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-54", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 140.75, 410.0, 313.0, 18.0 ], + "text" : "Load list of probes times and conditions associated with current stim" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 16.5, 274.5, 67.0, 18.0 ], + "text" : "s stim_name" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-34", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 16.5, 246.5, 68.0, 18.0 ], + "text" : "route symbol" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-18", + "maxclass" : "number", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "int", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 359.0, 184.0, 48.0, 18.0 ] + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-17", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 359.0, 162.0, 29.0, 18.0 ], + "text" : "+ 1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-15", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "int", "bang" ], + "patching_rect" : [ 359.0, 135.0, 32.0, 18.0 ], + "text" : "urn" + } + + } +, { + "box" : { + "id" : "obj-14", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 359.0, 107.0, 20.0, 20.0 ] + } + + } +, { + "box" : { + "color" : [ 0.0, 1.0, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 293.75, 83.0, 58.0, 18.0 ], + "text" : "r exp_start" + } + + } +, { + "box" : { + "bgcolor" : [ 0.8, 1.0, 0.8, 1.0 ], + "fontface" : 2, + "fontname" : "Arial", + "fontsize" : 10.0, + "frgb" : 0.0, + "id" : "obj-6", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 20.5, 8.0, 244.0, 29.0 ], + "text" : "Load stimulus names, randomly select and load stim audio per run" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 10.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "", "", "", "" ], + "patching_rect" : [ 16.5, 220.5, 82.0, 18.0 ], + "saved_object_attributes" : { + "embed" : 0 + } +, + "text" : "coll stim_names" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-34", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-44", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-46", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-78", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-87", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 39.5, 581.0, 94.375, 581.0, 94.375, 549.0, 149.25, 549.0 ], + "source" : [ "obj-13", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-15", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-16", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-41", 1 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 368.5, 207.0, 214.25, 207.0 ], + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-20", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-65", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-21", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 409.0, 709.0, 388.25, 709.0, 388.25, 690.5, 317.5, 690.5 ], + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-23", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-41", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-24", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-30", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-26", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-26", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-28", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 203.25, 269.5, 114.625, 269.5, 114.625, 210.5, 26.0, 210.5 ], + "source" : [ "obj-31", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-32", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-31", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-34", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-47", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 75.0, 269.5, 113.0, 269.5 ], + "source" : [ "obj-34", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-46", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-39", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-31", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-41", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-48", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-42", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-51", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-43", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-44", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-44", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-43", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-46", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-43", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-46", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-43", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-48", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-49", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 259.25, 716.0, 296.375, 716.0, 296.375, 626.5, 317.5, 626.5 ], + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-57", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-68", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-60", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-65", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-62", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-65", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 83.0, 141.0, 26.0, 141.0 ], + "source" : [ "obj-68", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-68", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-68", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-28", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 309.25, 464.0, 451.5, 464.0 ], + "source" : [ "obj-75", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-62", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 309.25, 464.0, 26.0, 464.0 ], + "source" : [ "obj-75", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-77", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-76", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-26", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 284.25, 521.5, 451.5, 521.5 ], + "source" : [ "obj-77", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-65", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 284.25, 521.5, 26.0, 521.5 ], + "source" : [ "obj-77", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-87", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 149.25, 626.75, 259.25, 626.75 ], + "source" : [ "obj-9", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 1 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 162.75, 621.75, 344.5, 621.75 ], + "source" : [ "obj-9", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-88", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 176.25, 607.0, 194.5, 607.0, 194.5, 544.0, 212.75, 544.0 ], + "source" : [ "obj-9", 2 ] + } + + } + ] + } +, + "patching_rect" : [ 575.0, 136.5, 90.0, 18.0 ], + "saved_object_attributes" : { + "default_fontface" : 0, + "default_fontname" : "Arial", + "default_fontsize" : 12.0, + "description" : "", + "digest" : "", + "fontface" : 0, + "fontname" : "Arial", + "fontsize" : 12.0, + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p initiate_stimulus", + "varname" : "manage_stimulus_trial" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-30", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-45", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-19", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-20", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-25", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-28", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-27", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-61", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-28", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-30", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-30", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-31", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-32", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-32", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-70", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-33", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-76", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-35", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-64", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-25", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-61", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-32", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-62", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-65", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-63", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-80", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-79", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ], + "dependency_cache" : [ { + "name" : "attmap_altstim_probe_times.txt", + "bootpath" : "/Users/bkhurley/svn/private/maxmsp/projects/attmap/attmap_altstim", + "patcherrelativepath" : "./attmap_altstim", + "type" : "TEXT", + "implicit" : 1 + } +, { + "name" : "attmap_altstim_probe_conds.txt", + "bootpath" : "/Users/bkhurley/svn/private/maxmsp/projects/attmap/attmap_altstim", + "patcherrelativepath" : "./attmap_altstim", + "type" : "TEXT", + "implicit" : 1 + } +, { + "name" : "zest_pattr_v2.maxpat", + "bootpath" : "/Users/bkhurley/svn/private/maxmsp/projects/attmap", + "patcherrelativepath" : ".", + "type" : "JSON", + "implicit" : 1 + } +, { + "name" : "dBtoA_refScale.maxpat", + "bootpath" : "/Users/bkhurley/svn/private/maxmsp/utils", + "patcherrelativepath" : "../../utils", + "type" : "JSON", + "implicit" : 1 + } + ] + } + +}