diff --git a/patches/lib/camu.process.mfcc-chop.maxpat b/patches/lib/camu.process.mfcc-chop.maxpat new file mode 100644 index 0000000..52bdbdc --- /dev/null +++ b/patches/lib/camu.process.mfcc-chop.maxpat @@ -0,0 +1,325 @@ +{ + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 1, + "revision" : 5, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 0.0, 45.0, 1280.0, 301.0 ], + "bglocked" : 0, + "openinpresentation" : 1, + "default_fontsize" : 9.0, + "default_fontface" : 0, + "default_fontname" : "Geneva", + "gridonopen" : 1, + "gridsize" : [ 10.0, 10.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 0, + "lefttoolbarpinned" : 2, + "toptoolbarpinned" : 2, + "righttoolbarpinned" : 2, + "bottomtoolbarpinned" : 2, + "toolbars_unpinned_last_save" : 15, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "color" : [ 0.8295059975, 0.0, 0.0, 1.0 ], + "fontname" : "Arial", + "id" : "obj-51", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 435.0, 34.0, 52.0, 19.0 ], + "text" : "r #1" + } + + } +, { + "box" : { + "fontname" : "Geneva", + "fontsize" : 10.0, + "id" : "obj-2", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 161.0, 69.900024000000002, 150.0, 19.0 ], + "presentation" : 1, + "presentation_rect" : [ 161.0, 68.900024000000002, 150.0, 19.0 ], + "text" : "Calculate standard deviation" + } + + } +, { + "box" : { + "attr" : "chop.stddev", + "fontname" : "Geneva", + "fontsize" : 10.0, + "id" : "obj-4", + "maxclass" : "attrui", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 1.0, 68.900024000000002, 150.0, 21.0 ], + "presentation" : 1, + "presentation_rect" : [ 1.0, 68.900024000000002, 150.0, 21.0 ] + } + + } +, { + "box" : { + "fontname" : "Geneva", + "fontsize" : 9.0, + "id" : "obj-94", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 435.0, 155.700012000000015, 259.0, 20.0 ], + "restore" : [ 0.0 ], + "saved_object_attributes" : { + "parameter_enable" : 0, + "parameter_mappable" : 0 + } +, + "text" : "pattr mubu-chop-offset @bindto mubu-chop::chop.offset", + "varname" : "mubu-chop-offset" + } + + } +, { + "box" : { + "fontname" : "Geneva", + "fontsize" : 9.0, + "id" : "obj-93", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 435.0, 134.700012000000015, 240.0, 20.0 ], + "restore" : [ 250.0 ], + "saved_object_attributes" : { + "parameter_enable" : 0, + "parameter_mappable" : 0 + } +, + "text" : "pattr mubu-chop-size @bindto mubu-chop::chop.size", + "varname" : "mubu-chop-size" + } + + } +, { + "box" : { + "fontname" : "Geneva", + "fontsize" : 10.0, + "id" : "obj-23", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 161.0, 46.900024000000002, 150.0, 19.0 ], + "presentation" : 1, + "presentation_rect" : [ 161.0, 46.900024000000002, 150.0, 19.0 ], + "text" : "Offset Threshold" + } + + } +, { + "box" : { + "fontname" : "Geneva", + "fontsize" : 10.0, + "id" : "obj-26", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 161.0, 25.200012000000001, 174.0, 19.0 ], + "presentation" : 1, + "presentation_rect" : [ 161.0, 25.200012000000001, 174.0, 19.0 ], + "text" : "Segment duration (0 = whole file)" + } + + } +, { + "box" : { + "attr" : "chop.size", + "fontname" : "Geneva", + "fontsize" : 10.0, + "id" : "obj-30", + "maxclass" : "attrui", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 1.0, 25.200012000000001, 150.0, 21.0 ], + "presentation" : 1, + "presentation_rect" : [ 1.0, 25.200012000000001, 150.0, 21.0 ] + } + + } +, { + "box" : { + "attr" : "chop.offset", + "fontname" : "Geneva", + "fontsize" : 10.0, + "id" : "obj-31", + "maxclass" : "attrui", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 1.0, 46.900024000000002, 150.0, 21.0 ], + "presentation" : 1, + "presentation_rect" : [ 1.0, 46.900024000000002, 150.0, 21.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-1", + "index" : 0, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 923.5, 237.700011999999987, 25.0, 25.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-7", + "index" : 0, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 392.0, 0.0, 25.0, 25.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 0.854902, 0.839216, 0.917647, 1.0 ], + "color" : [ 0.815686, 0.094118, 0.094118, 1.0 ], + "fontface" : 0, + "fontname" : "Geneva", + "fontsize" : 11.0, + "id" : "obj-6", + "linecount" : 2, + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 4, + "outlettype" : [ "", "", "int", "" ], + "patching_rect" : [ 392.0, 62.700012000000001, 621.0, 36.0 ], + "text" : "mubu.process #1 audio mfcc:chop @name mfcc @priority 2 @process 0 @progressoutput input @timetagged 1 @mfcc.windsize 2048 @mfcc.hopsize 256 @chop.size 250. @chop.mean 1 @chop.stddev 0 @chop.duration 1", + "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ], + "varname" : "mubu-chop" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "index" : 0, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 392.0, 237.700011999999987, 25.0, 25.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 1.0, 0.592157, 0.0, 0.741176 ], + "fontname" : "Arial", + "fontsize" : 16.0, + "id" : "obj-54", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 1.0, 0.0, 310.0, 24.0 ], + "presentation" : 1, + "presentation_rect" : [ 1.0, 0.0, 310.0, 24.0 ], + "text" : "> Attributes: mfcc-chop (corpus)" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "hidden" : 1, + "source" : [ "obj-30", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "hidden" : 1, + "source" : [ "obj-31", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "hidden" : 1, + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-51", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-6", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-7", 0 ] + } + + } + ], + "dependency_cache" : [ { + "name" : "mubu.mxo", + "type" : "iLaX" + } + ], + "autosave" : 0 + } + +} diff --git a/patches/lib/camu.process.mfcc-gate.maxpat b/patches/lib/camu.process.mfcc-gate.maxpat new file mode 100644 index 0000000..c6d2026 --- /dev/null +++ b/patches/lib/camu.process.mfcc-gate.maxpat @@ -0,0 +1,506 @@ +{ + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 1, + "revision" : 5, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 0.0, 45.0, 1280.0, 301.0 ], + "bglocked" : 0, + "openinpresentation" : 1, + "default_fontsize" : 9.0, + "default_fontface" : 0, + "default_fontname" : "Geneva", + "gridonopen" : 1, + "gridsize" : [ 10.0, 10.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 0, + "lefttoolbarpinned" : 2, + "toptoolbarpinned" : 2, + "righttoolbarpinned" : 2, + "bottomtoolbarpinned" : 2, + "toolbars_unpinned_last_save" : 15, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "color" : [ 0.8295059975, 0.0, 0.0, 1.0 ], + "fontname" : "Arial", + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 428.0, 32.0, 52.0, 19.0 ], + "text" : "r #1" + } + + } +, { + "box" : { + "fontname" : "Geneva", + "fontsize" : 10.0, + "id" : "obj-2", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 161.0, 136.200012000000015, 150.0, 19.0 ], + "presentation" : 1, + "presentation_rect" : [ 160.0, 137.200012000000015, 150.0, 19.0 ], + "text" : "Calculate standard deviation" + } + + } +, { + "box" : { + "attr" : "gate.stddev", + "fontname" : "Geneva", + "fontsize" : 10.0, + "id" : "obj-4", + "maxclass" : "attrui", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 1.0, 136.200012000000015, 150.0, 21.0 ], + "presentation" : 1, + "presentation_rect" : [ 1.0, 135.200012000000015, 150.0, 21.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-1", + "index" : 0, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 923.5, 237.700011999999987, 25.0, 25.0 ] + } + + } +, { + "box" : { + "fontname" : "Geneva", + "fontsize" : 10.0, + "id" : "obj-119", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 161.0, 113.200012000000001, 234.0, 31.0 ], + "presentation" : 1, + "presentation_linecount" : 2, + "presentation_rect" : [ 161.0, 113.200012000000001, 234.0, 31.0 ], + "text" : "Maximum Segment Duration \n(chops non-silence segments when > 0)" + } + + } +, { + "box" : { + "attr" : "gate.maxdur", + "fontname" : "Geneva", + "fontsize" : 10.0, + "id" : "obj-120", + "maxclass" : "attrui", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 1.0, 113.200012000000001, 150.0, 21.0 ], + "presentation" : 1, + "presentation_rect" : [ 1.0, 113.200012000000001, 150.0, 21.0 ] + } + + } +, { + "box" : { + "fontname" : "Geneva", + "fontsize" : 10.0, + "id" : "obj-124", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 161.0, 91.200012000000001, 150.0, 19.0 ], + "presentation" : 1, + "presentation_rect" : [ 161.0, 91.200012000000001, 150.0, 19.0 ], + "text" : "Minimum Onset Interval" + } + + } +, { + "box" : { + "fontname" : "Geneva", + "fontsize" : 10.0, + "id" : "obj-125", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 161.0, 69.200012000000001, 150.0, 19.0 ], + "presentation" : 1, + "presentation_rect" : [ 161.0, 69.200012000000001, 150.0, 19.0 ], + "text" : "Minimum Segment Duration" + } + + } +, { + "box" : { + "fontname" : "Geneva", + "fontsize" : 10.0, + "id" : "obj-126", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 161.0, 47.200012000000001, 150.0, 19.0 ], + "presentation" : 1, + "presentation_rect" : [ 161.0, 47.200012000000001, 150.0, 19.0 ], + "text" : "Offset Threshold (dB)" + } + + } +, { + "box" : { + "fontname" : "Geneva", + "fontsize" : 10.0, + "id" : "obj-127", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 161.0, 24.5, 150.0, 19.0 ], + "presentation" : 1, + "presentation_rect" : [ 161.0, 24.5, 150.0, 19.0 ], + "text" : "Onset Threshold (dB)" + } + + } +, { + "box" : { + "attr" : "gate.durthresh", + "fontname" : "Geneva", + "fontsize" : 10.0, + "id" : "obj-131", + "maxclass" : "attrui", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 1.0, 69.200012000000001, 150.0, 21.0 ], + "presentation" : 1, + "presentation_rect" : [ 1.0, 69.200012000000001, 150.0, 21.0 ] + } + + } +, { + "box" : { + "attr" : "gate.mininter", + "fontname" : "Geneva", + "fontsize" : 10.0, + "id" : "obj-132", + "maxclass" : "attrui", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 1.0, 91.200012000000001, 150.0, 21.0 ], + "presentation" : 1, + "presentation_rect" : [ 1.0, 91.200012000000001, 150.0, 21.0 ] + } + + } +, { + "box" : { + "attr" : "gate.threshold", + "fontname" : "Geneva", + "fontsize" : 10.0, + "id" : "obj-133", + "maxclass" : "attrui", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 1.0, 24.5, 150.0, 21.0 ], + "presentation" : 1, + "presentation_rect" : [ 1.0, 24.5, 150.0, 21.0 ] + } + + } +, { + "box" : { + "attr" : "gate.offthresh", + "fontname" : "Geneva", + "fontsize" : 10.0, + "id" : "obj-134", + "maxclass" : "attrui", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 1.0, 47.200012000000001, 150.0, 21.0 ], + "presentation" : 1, + "presentation_rect" : [ 1.0, 47.200012000000001, 150.0, 21.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 1.0, 0.590925, 0.0, 0.74 ], + "fontname" : "Arial", + "fontsize" : 16.0, + "id" : "obj-27", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 1.0, -0.5, 310.0, 24.0 ], + "presentation" : 1, + "presentation_rect" : [ 1.0, -0.5, 310.0, 24.0 ], + "text" : "> Attributes: mfcc-gate (corpus)" + } + + } +, { + "box" : { + "fontname" : "Geneva", + "fontsize" : 9.0, + "id" : "obj-149", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 956.0, 146.700011999999987, 266.0, 20.0 ], + "restore" : [ 0.0 ], + "saved_object_attributes" : { + "parameter_enable" : 0, + "parameter_mappable" : 0 + } +, + "text" : "pattr mubu-gate-maxdur @bindto mubu-gate::gate.maxdur", + "varname" : "mubu-gate-maxdur" + } + + } +, { + "box" : { + "fontname" : "Geneva", + "fontsize" : 9.0, + "id" : "obj-148", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 956.0, 125.700012000000001, 273.0, 20.0 ], + "restore" : [ 50.0 ], + "saved_object_attributes" : { + "parameter_enable" : 0, + "parameter_mappable" : 0 + } +, + "text" : "pattr mubu-gate-mininter @bindto mubu-gate::gate.mininter", + "varname" : "mubu-gate-mininter" + } + + } +, { + "box" : { + "fontname" : "Geneva", + "fontsize" : 9.0, + "id" : "obj-147", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 956.0, 104.700012000000001, 286.0, 20.0 ], + "restore" : [ 0.0 ], + "saved_object_attributes" : { + "parameter_enable" : 0, + "parameter_mappable" : 0 + } +, + "text" : "pattr mubu-gate-durthresh @bindto mubu-gate::gate.durthresh", + "varname" : "mubu-gate-durthresh" + } + + } +, { + "box" : { + "fontname" : "Geneva", + "fontsize" : 9.0, + "id" : "obj-146", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 956.0, 83.700012000000001, 283.0, 20.0 ], + "restore" : [ -40.0 ], + "saved_object_attributes" : { + "parameter_enable" : 0, + "parameter_mappable" : 0 + } +, + "text" : "pattr mubu-gate-offthresh @bindto mubu-gate::gate.offthresh", + "varname" : "mubu-gate-offthresh" + } + + } +, { + "box" : { + "fontname" : "Geneva", + "fontsize" : 9.0, + "id" : "obj-145", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 956.0, 62.700012000000001, 284.0, 20.0 ], + "restore" : [ -20.0 ], + "saved_object_attributes" : { + "parameter_enable" : 0, + "parameter_mappable" : 0 + } +, + "text" : "pattr mubu-gate-threshold @bindto mubu-gate::gate.threshold", + "varname" : "mubu-gate-threshold" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-7", + "index" : 0, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 392.0, 0.0, 25.0, 25.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 0.854902, 0.839216, 0.917647, 1.0 ], + "color" : [ 0.815686, 0.094118, 0.094118, 1.0 ], + "fontface" : 0, + "fontname" : "Geneva", + "fontsize" : 11.0, + "id" : "obj-6", + "linecount" : 4, + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 4, + "outlettype" : [ "", "", "int", "" ], + "patching_rect" : [ 392.0, 62.700012000000001, 560.0, 63.0 ], + "text" : "mubu.process #1 audio mfcc:gate @name mfcc @priority 2 @process 0 @progressoutput input @timetagged 1 @mfcc.windsize 2048 @mfcc.hopsize 256 @gate.colindex 0 @gate.numcols 1 @gate.threshold -20 @gate.offthresh -40 @gate.durthresh 0. @gate.mininter 50 @gate.maxdur 0. @gate.mean 1 @gate.stddev 0 @gate.duration 1", + "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ], + "varname" : "mubu-gate" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "index" : 0, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 392.0, 237.700011999999987, 25.0, 25.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "hidden" : 1, + "source" : [ "obj-120", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "hidden" : 1, + "source" : [ "obj-131", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "hidden" : 1, + "source" : [ "obj-132", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "hidden" : 1, + "source" : [ "obj-133", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "hidden" : 1, + "source" : [ "obj-134", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-6", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-7", 0 ] + } + + } + ], + "dependency_cache" : [ { + "name" : "mubu.mxo", + "type" : "iLaX" + } + ], + "autosave" : 0 + } + +} diff --git a/patches/lib/camu.process.mfcc-onseg.maxpat b/patches/lib/camu.process.mfcc-onseg.maxpat new file mode 100644 index 0000000..dde1f10 --- /dev/null +++ b/patches/lib/camu.process.mfcc-onseg.maxpat @@ -0,0 +1,686 @@ +{ + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 1, + "revision" : 5, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 0.0, 45.0, 937.0, 279.0 ], + "bglocked" : 0, + "openinpresentation" : 1, + "default_fontsize" : 9.0, + "default_fontface" : 0, + "default_fontname" : "Geneva", + "gridonopen" : 1, + "gridsize" : [ 10.0, 10.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 0, + "lefttoolbarpinned" : 2, + "toptoolbarpinned" : 2, + "righttoolbarpinned" : 2, + "bottomtoolbarpinned" : 2, + "toolbars_unpinned_last_save" : 15, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "color" : [ 0.8295059975, 0.0, 0.0, 1.0 ], + "fontname" : "Arial", + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 428.0, 32.0, 52.0, 19.0 ], + "text" : "r #1" + } + + } +, { + "box" : { + "fontname" : "Geneva", + "fontsize" : 10.0, + "id" : "obj-2", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 176.0, 193.5, 175.0, 19.0 ], + "presentation" : 1, + "presentation_rect" : [ 163.0, 201.5, 175.0, 19.0 ], + "text" : "Calculate standard deviation" + } + + } +, { + "box" : { + "attr" : "onseg.stddev", + "fontname" : "Geneva", + "fontsize" : 10.0, + "id" : "obj-4", + "maxclass" : "attrui", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 16.0, 193.5, 150.0, 21.0 ], + "presentation" : 1, + "presentation_rect" : [ 3.0, 201.5, 150.0, 21.0 ], + "text_width" : 109.519897 + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-1", + "index" : 0, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 923.5, 237.700011999999987, 25.0, 25.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-7", + "index" : 0, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 392.0, 0.0, 25.0, 25.0 ] + } + + } +, { + "box" : { + "fontname" : "Geneva", + "fontsize" : 9.0, + "id" : "obj-95", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 956.0, 146.700011999999987, 291.0, 20.0 ], + "restore" : [ 10000.0 ], + "saved_object_attributes" : { + "parameter_enable" : 0, + "parameter_mappable" : 0 + } +, + "text" : "pattr mubu-onseg-maxsize @bindto mubu-onseg::onseg.maxsize", + "varname" : "mubu-onseg-maxsize" + } + + } +, { + "box" : { + "fontname" : "Geneva", + "fontsize" : 10.0, + "id" : "obj-87", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 161.0, 112.5, 222.0, 19.0 ], + "presentation" : 1, + "presentation_rect" : [ 161.0, 112.5, 222.0, 19.0 ], + "text" : "Maximum Segment Duration (0 = unlimited)" + } + + } +, { + "box" : { + "fontname" : "Geneva", + "fontsize" : 9.0, + "id" : "obj-92", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 956.0, 210.200011999999987, 325.0, 20.0 ], + "restore" : [ 1 ], + "saved_object_attributes" : { + "parameter_enable" : 0, + "parameter_mappable" : 0 + } +, + "text" : "pattr mubu-onseg-startisonset @bindto mubu-onseg::onseg.startisonset", + "varname" : "mubu-onseg-startisonset" + } + + } +, { + "box" : { + "fontname" : "Geneva", + "fontsize" : 9.0, + "id" : "obj-91", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 956.0, 189.200011999999987, 298.0, 20.0 ], + "restore" : [ 0 ], + "saved_object_attributes" : { + "parameter_enable" : 0, + "parameter_mappable" : 0 + } +, + "text" : "pattr mubu-onseg-odfmode @bindto mubu-onseg::onseg.odfmode", + "varname" : "mubu-onseg-odfmode" + } + + } +, { + "box" : { + "fontname" : "Geneva", + "fontsize" : 9.0, + "id" : "obj-89", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 956.0, 167.700011999999987, 296.0, 20.0 ], + "restore" : [ 5 ], + "saved_object_attributes" : { + "parameter_enable" : 0, + "parameter_mappable" : 0 + } +, + "text" : "pattr mubu-onseg-filtersize @bindto mubu-onseg::onseg.filtersize", + "varname" : "mubu-onseg-filtersize" + } + + } +, { + "box" : { + "fontname" : "Geneva", + "fontsize" : 9.0, + "id" : "obj-88", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 956.0, 125.700012000000001, 292.0, 20.0 ], + "restore" : [ 50.0 ], + "saved_object_attributes" : { + "parameter_enable" : 0, + "parameter_mappable" : 0 + } +, + "text" : "pattr mubu-onseg-mininter @bindto mubu-onseg::onseg.mininter", + "varname" : "mubu-onseg-mininter" + } + + } +, { + "box" : { + "fontname" : "Geneva", + "fontsize" : 9.0, + "id" : "obj-85", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 956.0, 104.700012000000001, 305.0, 20.0 ], + "restore" : [ 0.0 ], + "saved_object_attributes" : { + "parameter_enable" : 0, + "parameter_mappable" : 0 + } +, + "text" : "pattr mubu-onseg-durthresh @bindto mubu-onseg::onseg.durthresh", + "varname" : "mubu-onseg-durthresh" + } + + } +, { + "box" : { + "fontname" : "Geneva", + "fontsize" : 9.0, + "id" : "obj-78", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 956.0, 83.700012000000001, 302.0, 20.0 ], + "restore" : [ -100.0 ], + "saved_object_attributes" : { + "parameter_enable" : 0, + "parameter_mappable" : 0 + } +, + "text" : "pattr mubu-onseg-offthresh @bindto mubu-onseg::onseg.offthresh", + "varname" : "mubu-onseg-offthresh" + } + + } +, { + "box" : { + "fontname" : "Geneva", + "fontsize" : 9.0, + "id" : "obj-75", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 956.0, 62.700012000000001, 303.0, 20.0 ], + "restore" : [ 5.0 ], + "saved_object_attributes" : { + "parameter_enable" : 0, + "parameter_mappable" : 0 + } +, + "text" : "pattr mubu-onseg-threshold @bindto mubu-onseg::onseg.threshold", + "varname" : "mubu-onseg-threshold" + } + + } +, { + "box" : { + "fontname" : "Geneva", + "fontsize" : 10.0, + "id" : "obj-35", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 161.0, 178.5, 175.0, 19.0 ], + "presentation" : 1, + "presentation_rect" : [ 161.0, 178.5, 175.0, 19.0 ], + "text" : "Mark start of buffer" + } + + } +, { + "box" : { + "attr" : "onseg.startisonset", + "fontname" : "Geneva", + "fontsize" : 10.0, + "id" : "obj-8", + "maxclass" : "attrui", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 1.0, 178.5, 150.0, 21.0 ], + "presentation" : 1, + "presentation_rect" : [ 1.0, 178.5, 150.0, 21.0 ], + "text_width" : 109.519897 + } + + } +, { + "box" : { + "fontname" : "Geneva", + "fontsize" : 10.0, + "id" : "obj-57", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 161.0, 156.5, 175.0, 19.0 ], + "presentation" : 1, + "presentation_rect" : [ 161.0, 156.5, 175.0, 19.0 ], + "text" : "Onset Detection Calculation Mode" + } + + } +, { + "box" : { + "fontname" : "Geneva", + "fontsize" : 10.0, + "id" : "obj-56", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 161.0, 134.5, 151.0, 19.0 ], + "presentation" : 1, + "presentation_rect" : [ 161.0, 134.5, 151.0, 19.0 ], + "text" : "Median Filter Size" + } + + } +, { + "box" : { + "fontname" : "Geneva", + "fontsize" : 10.0, + "id" : "obj-55", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 161.0, 90.700012000000001, 151.0, 19.0 ], + "presentation" : 1, + "presentation_rect" : [ 161.0, 90.700012000000001, 151.0, 19.0 ], + "text" : "Minimum Onset Interval" + } + + } +, { + "box" : { + "fontname" : "Geneva", + "fontsize" : 10.0, + "id" : "obj-53", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 161.0, 68.700012000000001, 151.0, 19.0 ], + "presentation" : 1, + "presentation_rect" : [ 161.0, 68.700012000000001, 151.0, 19.0 ], + "text" : "Duration Threshold" + } + + } +, { + "box" : { + "fontname" : "Geneva", + "fontsize" : 10.0, + "id" : "obj-52", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 161.0, 46.700012000000001, 151.0, 19.0 ], + "presentation" : 1, + "presentation_rect" : [ 161.0, 46.700012000000001, 151.0, 19.0 ], + "text" : "Offset Threshold (dB)" + } + + } +, { + "box" : { + "fontname" : "Geneva", + "fontsize" : 10.0, + "id" : "obj-51", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 161.0, 25.0, 151.0, 19.0 ], + "presentation" : 1, + "presentation_rect" : [ 161.0, 25.0, 151.0, 19.0 ], + "text" : "Onset Threshold (dB)" + } + + } +, { + "box" : { + "attr" : "onseg.durthresh", + "fontname" : "Geneva", + "fontsize" : 10.0, + "id" : "obj-34", + "maxclass" : "attrui", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 1.0, 68.700012000000001, 151.0, 21.0 ], + "presentation" : 1, + "presentation_rect" : [ 1.0, 68.700012000000001, 151.0, 21.0 ] + } + + } +, { + "box" : { + "attr" : "onseg.filtersize", + "fontname" : "Geneva", + "fontsize" : 10.0, + "id" : "obj-11", + "maxclass" : "attrui", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 1.0, 134.5, 151.0, 21.0 ], + "presentation" : 1, + "presentation_rect" : [ 1.0, 134.5, 151.0, 21.0 ] + } + + } +, { + "box" : { + "attr" : "onseg.mininter", + "fontname" : "Geneva", + "fontsize" : 10.0, + "id" : "obj-42", + "maxclass" : "attrui", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 1.0, 90.700012000000001, 151.0, 21.0 ], + "presentation" : 1, + "presentation_rect" : [ 1.0, 90.700012000000001, 151.0, 21.0 ] + } + + } +, { + "box" : { + "attr" : "onseg.odfmode", + "fontname" : "Geneva", + "fontsize" : 10.0, + "id" : "obj-44", + "maxclass" : "attrui", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 1.0, 156.5, 158.0, 21.0 ], + "presentation" : 1, + "presentation_rect" : [ 1.0, 156.5, 158.0, 21.0 ] + } + + } +, { + "box" : { + "attr" : "onseg.threshold", + "fontname" : "Geneva", + "fontsize" : 10.0, + "id" : "obj-47", + "maxclass" : "attrui", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 1.0, 25.0, 151.0, 21.0 ], + "presentation" : 1, + "presentation_rect" : [ 1.0, 25.0, 151.0, 21.0 ] + } + + } +, { + "box" : { + "attr" : "onseg.offthresh", + "fontname" : "Geneva", + "fontsize" : 10.0, + "id" : "obj-49", + "maxclass" : "attrui", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 1.0, 46.700012000000001, 151.0, 21.0 ], + "presentation" : 1, + "presentation_rect" : [ 1.0, 46.700012000000001, 151.0, 21.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 0.854902, 0.839216, 0.917647, 1.0 ], + "color" : [ 0.815686, 0.094118, 0.094118, 1.0 ], + "fontface" : 0, + "fontname" : "Geneva", + "fontsize" : 11.0, + "id" : "obj-6", + "linecount" : 4, + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 4, + "outlettype" : [ "", "", "int", "" ], + "patching_rect" : [ 392.0, 62.700012000000001, 566.0, 63.0 ], + "text" : "mubu.process #1 audio mfcc:onseg @name mfcc @process 0 @prepad 0 @priority 2 @progressoutput input @timetagged 1 @mfcc.windsize 2048 @mfcc.hopsize 512 @onseg.colindex 0 @onseg.numcols 1 @onseg.mean 1 @onseg.stddev 0 @onseg.threshold 5 @onseg.filtersize 5 @onseg.duration 1 @onseg.offthresh -100 @onseg.maxsize 10000. @onseg.startisonset 1", + "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ], + "varname" : "mubu-onseg" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "index" : 0, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 392.0, 237.700011999999987, 25.0, 25.0 ] + } + + } +, { + "box" : { + "attr" : "onseg.maxsize", + "fontname" : "Geneva", + "fontsize" : 10.0, + "id" : "obj-58", + "maxclass" : "attrui", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 1.0, 112.5, 151.0, 21.0 ], + "presentation" : 1, + "presentation_rect" : [ 1.0, 112.5, 151.0, 21.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 1.0, 0.592157, 0.0, 0.741176 ], + "fontname" : "Arial", + "fontsize" : 16.0, + "id" : "obj-54", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 1.0, 0.0, 310.0, 24.0 ], + "presentation" : 1, + "presentation_rect" : [ 1.0, 0.0, 310.0, 24.0 ], + "text" : "> Attributes: mfcc-onseg (corpus)" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "hidden" : 1, + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "hidden" : 1, + "source" : [ "obj-34", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "hidden" : 1, + "source" : [ "obj-42", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "hidden" : 1, + "source" : [ "obj-44", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "hidden" : 1, + "source" : [ "obj-47", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "hidden" : 1, + "source" : [ "obj-49", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "hidden" : 1, + "source" : [ "obj-58", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-6", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "hidden" : 1, + "source" : [ "obj-8", 0 ] + } + + } + ], + "dependency_cache" : [ { + "name" : "mubu.mxo", + "type" : "iLaX" + } + ], + "autosave" : 0 + } + +}