From fb458863a4891a9377bfe7ca5b729012748314c6 Mon Sep 17 00:00:00 2001 From: James Bradbury Date: Tue, 17 May 2022 15:10:47 +0200 Subject: [PATCH 1/3] update rt mfcc --- help/fluid.mfcc~.maxhelp | 2181 ++++++++++++++++++++++++++------------ 1 file changed, 1509 insertions(+), 672 deletions(-) diff --git a/help/fluid.mfcc~.maxhelp b/help/fluid.mfcc~.maxhelp index 37356e42..cf492c6d 100644 --- a/help/fluid.mfcc~.maxhelp +++ b/help/fluid.mfcc~.maxhelp @@ -2,22 +2,23 @@ "patcher" : { "fileversion" : 1, "appversion" : { - "major" : 7, + "major" : 8, "minor" : 3, - "revision" : 5, + "revision" : 0, "architecture" : "x64", "modernui" : 1 } , - "rect" : [ 100.0, 100.0, 846.0, 785.0 ], + "classnamespace" : "box", + "rect" : [ 99.0, 87.0, 796.0, 648.0 ], "bglocked" : 0, "openinpresentation" : 0, - "default_fontsize" : 12.0, + "default_fontsize" : 13.0, "default_fontface" : 0, "default_fontname" : "Arial", - "gridonopen" : 1, - "gridsize" : [ 15.0, 15.0 ], - "gridsnaponopen" : 1, + "gridonopen" : 2, + "gridsize" : [ 10.0, 10.0 ], + "gridsnaponopen" : 2, "objectsnaponopen" : 1, "statusbarvisible" : 2, "toolbarvisible" : 1, @@ -38,50 +39,34 @@ "subpatcher_template" : "", "showrootpatcherontab" : 0, "showontab" : 0, + "assistshowspatchername" : 0, "boxes" : [ { - "box" : { - "id" : "obj-2", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 167.0, 110.0, 152.0, 22.0 ], - "saved_object_attributes" : { - "filename" : "helpstarter.js", - "parameter_enable" : 0 - } -, - "style" : "", - "text" : "js helpstarter.js fluid.mfcc~" - } - - } -, { "box" : { "hidden" : 1, - "id" : "obj-1", + "id" : "obj-3", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 0, "patcher" : { "fileversion" : 1, "appversion" : { - "major" : 7, + "major" : 8, "minor" : 3, - "revision" : 5, + "revision" : 0, "architecture" : "x64", "modernui" : 1 } , - "rect" : [ 100.0, 126.0, 846.0, 759.0 ], + "classnamespace" : "box", + "rect" : [ 0.0, 26.0, 796.0, 622.0 ], "bglocked" : 0, "openinpresentation" : 0, - "default_fontsize" : 12.0, + "default_fontsize" : 13.0, "default_fontface" : 0, "default_fontname" : "Arial", - "gridonopen" : 1, - "gridsize" : [ 15.0, 15.0 ], - "gridsnaponopen" : 1, + "gridonopen" : 2, + "gridsize" : [ 10.0, 10.0 ], + "gridsnaponopen" : 2, "objectsnaponopen" : 1, "statusbarvisible" : 2, "toolbarvisible" : 1, @@ -101,49 +86,201 @@ "style" : "", "subpatcher_template" : "", "showontab" : 1, + "assistshowspatchername" : 0, "boxes" : [ { "box" : { - "bgmode" : 0, - "border" : 0, - "clickthrough" : 0, - "enablehscroll" : 0, - "enablevscroll" : 0, - "id" : "obj-1", - "lockeddragscroll" : 0, - "maxclass" : "bpatcher", - "name" : "fluid.flucomaorg.maxpat", - "numinlets" : 0, + "arrows" : 1, + "id" : "obj-18", + "justification" : 1, + "maxclass" : "live.line", + "numinlets" : 1, "numoutlets" : 0, - "offset" : [ -10.0, -8.0 ], - "patching_rect" : [ 680.75, 716.0, 156.0, 42.0 ], - "viewvisibility" : 1 + "patching_rect" : [ 160.0, 424.75, 130.0, 18.25 ] } } , { "box" : { - "id" : "obj-43", - "linecount" : 11, + "id" : "obj-16", + "linecount" : 5, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 290.0, 420.0, 300.0, 79.0 ], + "presentation_linecount" : 7, + "text" : "Inside this subpatch a Euclidian distance is calculated on the current MFCC analysis to the one stored against either the first or second template. The lower the number, the more similar it is.", + "textcolor" : [ 0.5, 0.5, 0.5, 1.0 ] + } + + } +, { + "box" : { + "bubble" : 1, + "id" : "obj-30", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 250.0, 300.0, 75.0, 25.0 ], + "text" : "audio on" + } + + } +, { + "box" : { + "bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ], + "fontname" : "Arial Bold", + "hint" : "", + "id" : "obj-42", + "ignoreclick" : 1, + "legacytextcolor" : 1, + "maxclass" : "textbutton", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 327.0, 302.5, 20.0, 20.0 ], + "rounded" : 60.0, + "text" : "1", + "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] + } + + } +, { + "box" : { + "id" : "obj-12", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 607.333374, 552.0, 186.0, 154.0 ], - "style" : "", - "text" : "Select a source and click on the first button to define the a timbre template. \n\nSelect a different timbre and use second button to define a 2nd template. \n\nInside the subpatch a Euclidian distance is taken. The lower the number, the more similar it is...", + "patching_rect" : [ 10.333374000000049, 62.0, 222.0, 21.0 ], + "presentation_linecount" : 2, + "text" : "A real-time timbral matching example", "textcolor" : [ 0.5, 0.5, 0.5, 1.0 ] } } , { "box" : { - "id" : "obj-40", + "id" : "obj-11", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 321.666625999999951, 100.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 20.0, 330.0, 121.0, 23.0 ], + "text" : "fluid.stats @size 10" + } + + } +, { + "box" : { + "candycane" : 9, + "ghostbar" : 42, + "id" : "obj-26", + "maxclass" : "multislider", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "parameter_enable" : 0, + "patching_rect" : [ 260.0, 527.0, 210.0, 80.0 ], + "setminmax" : [ -60.0, 60.0 ], + "setstyle" : 1, + "signed" : 1, + "size" : 20 + } + + } +, { + "box" : { + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 20.0, 220.0, 29.5, 23.0 ], + "text" : "+~" + } + + } +, { + "box" : { + "id" : "obj-6", + "linecount" : 2, + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "signal", "bang" ], + "patching_rect" : [ 321.666625999999951, 140.0, 298.0, 38.0 ], + "text" : "sfplay~ @audiofile Olencki-TenTromboneLongTones-M.wav @loop 1" + } + + } +, { + "box" : { + "id" : "obj-5", + "maxclass" : "ezdac~", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 199.666625999999951, 290.0, 45.0, 45.0 ] + } + + } +, { + "box" : { + "id" : "obj-4", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 20.0, 100.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "id" : "obj-2", "linecount" : 2, + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "signal", "bang" ], + "patching_rect" : [ 20.0, 140.0, 300.0, 38.0 ], + "text" : "sfplay~ @audiofile Tremblay-ASWINE-ScratchySynth-M.wav @loop 1" + } + + } +, { + "box" : { + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 20.0, 290.0, 170.0, 23.0 ], + "text" : "fluid.mfcc~ 20 @startcoeff 1" + } + + } +, { + "box" : { + "id" : "obj-43", + "linecount" : 9, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 372.0, 185.0, 301.833344, 33.0 ], - "style" : "", - "text" : "Observe how stable is the spectral description, apart from the first coefficient, which is amplitude-dependant", + "patching_rect" : [ 358.0, 245.0, 196.0, 137.0 ], + "text" : "1) Play one of the sfplay~ sources.\n\n2) Click on the first button to define the a timbre template. \n\n3) Select the other second and use second button to define a 2nd template.", "textcolor" : [ 0.5, 0.5, 0.5, 1.0 ] } @@ -158,15 +295,15 @@ "numoutlets" : 2, "outlettype" : [ "", "" ], "parameter_enable" : 1, - "patching_rect" : [ 472.5, 690.0, 113.0, 19.0 ], + "patching_rect" : [ 123.0, 554.0, 113.0, 19.0 ], "rounded" : 100.0, "saved_attribute_attributes" : { "valueof" : { + "parameter_enum" : [ "val1", "val2" ], "parameter_longname" : "live.text[2]", + "parameter_mmax" : 1, "parameter_shortname" : "live.text", - "parameter_type" : 2, - "parameter_mmax" : 1.0, - "parameter_enum" : [ "val1", "val2" ] + "parameter_type" : 2 } } @@ -186,15 +323,15 @@ "numoutlets" : 2, "outlettype" : [ "", "" ], "parameter_enable" : 1, - "patching_rect" : [ 369.5, 690.0, 101.0, 19.0 ], + "patching_rect" : [ 20.0, 554.0, 101.0, 19.0 ], "rounded" : 100.0, "saved_attribute_attributes" : { "valueof" : { + "parameter_enum" : [ "val1", "val2" ], "parameter_longname" : "live.text[3]", + "parameter_mmax" : 1, "parameter_shortname" : "live.text", - "parameter_type" : 2, - "parameter_mmax" : 1.0, - "parameter_enum" : [ "val1", "val2" ] + "parameter_type" : 2 } } @@ -214,15 +351,15 @@ "numoutlets" : 2, "outlettype" : [ "", "" ], "parameter_enable" : 1, - "patching_rect" : [ 497.0, 531.0, 101.0, 19.0 ], + "patching_rect" : [ 147.5, 385.0, 101.0, 19.0 ], "rounded" : 100.0, "saved_attribute_attributes" : { "valueof" : { + "parameter_enum" : [ "val1", "val2" ], "parameter_longname" : "live.text[1]", + "parameter_mmax" : 1, "parameter_shortname" : "live.text", - "parameter_type" : 2, - "parameter_mmax" : 1.0, - "parameter_enum" : [ "val1", "val2" ] + "parameter_type" : 2 } } @@ -242,15 +379,15 @@ "numoutlets" : 2, "outlettype" : [ "", "" ], "parameter_enable" : 1, - "patching_rect" : [ 392.5, 531.0, 101.0, 19.0 ], + "patching_rect" : [ 43.0, 385.0, 101.0, 19.0 ], "rounded" : 100.0, "saved_attribute_attributes" : { "valueof" : { + "parameter_enum" : [ "val1", "val2" ], "parameter_longname" : "live.text", + "parameter_mmax" : 1, "parameter_shortname" : "live.text", - "parameter_type" : 2, - "parameter_mmax" : 1.0, - "parameter_enum" : [ "val1", "val2" ] + "parameter_type" : 2 } } @@ -259,59 +396,6 @@ "varname" : "live.text" } - } -, { - "box" : { - "bgmode" : 0, - "border" : 0, - "clickthrough" : 0, - "enablehscroll" : 0, - "enablevscroll" : 0, - "id" : "obj-29", - "lockeddragscroll" : 0, - "maxclass" : "bpatcher", - "name" : "fluid.demosound.maxpat", - "numinlets" : 0, - "numoutlets" : 1, - "offset" : [ 0.0, 0.0 ], - "outlettype" : [ "signal" ], - "patching_rect" : [ 380.833344, 220.0, 230.5, 121.0 ], - "viewvisibility" : 1 - } - - } -, { - "box" : { - "border" : 0, - "filename" : "helpdetails.js", - "id" : "obj-13", - "ignoreclick" : 1, - "jsarguments" : [ "fluid.mfcc~" ], - "maxclass" : "jsui", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "parameter_enable" : 0, - "patching_rect" : [ 10.0, 10.0, 620.0, 125.0 ] - } - - } -, { - "box" : { - "border" : 0, - "filename" : "helpargs.js", - "id" : "obj-28", - "ignoreclick" : 1, - "jsarguments" : [ "fluid.mfcc~" ], - "maxclass" : "jsui", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "parameter_enable" : 0, - "patching_rect" : [ 136.0, 396.0, 226.282791, 54.0 ], - "presentation_rect" : [ 136.0, 396.0, 226.282791, 54.0 ] - } - } , { "box" : { @@ -320,49 +404,21 @@ "numinlets" : 3, "numoutlets" : 3, "outlettype" : [ "bang", "bang", "" ], - "patching_rect" : [ 369.5, 663.0, 225.0, 22.0 ], - "style" : "", + "patching_rect" : [ 20.0, 527.0, 225.0, 23.0 ], "text" : "sel 1 0" } } , { "box" : { - "id" : "obj-25", - "linecount" : 3, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 270.558105, 553.5, 92.0, 47.0 ], - "style" : "", - "text" : "removing the first coefficient (the energy)", - "textcolor" : [ 0.5, 0.5, 0.5, 1.0 ] - } - - } -, { - "box" : { - "id" : "obj-22", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 331.5, 531.0, 57.0, 22.0 ], - "style" : "", - "text" : "zl slice 1" - } - - } -, { - "box" : { + "bubble" : 1, + "bubbleside" : 2, "id" : "obj-20", - "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 632.333374, 517.0, 161.0, 33.0 ], - "style" : "", - "text" : "a basic timbral classification example. " + "patching_rect" : [ 380.0, 203.0, 161.0, 40.0 ], + "text" : "Follow these instructions" } } @@ -379,9 +435,8 @@ "numoutlets" : 3, "outlettype" : [ "", "", "int" ], "parameter_enable" : 0, - "patching_rect" : [ 610.333374, 523.5, 20.0, 20.0 ], + "patching_rect" : [ 358.0, 203.0, 20.0, 20.0 ], "rounded" : 60.0, - "style" : "", "text" : "2", "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] } @@ -394,89 +449,34 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "int" ], - "patching_rect" : [ 369.5, 636.0, 31.0, 22.0 ], - "style" : "", + "patching_rect" : [ 20.0, 497.0, 31.0, 23.0 ], "text" : "< 0." } } , { "box" : { - "id" : "obj-79", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "float" ], - "patching_rect" : [ 687.833374, 257.0, 35.0, 22.0 ], - "style" : "", - "text" : "* 0.1" - } - - } -, { - "box" : { - "id" : "obj-78", - "maxclass" : "toggle", + "format" : 6, + "id" : "obj-63", + "maxclass" : "flonum", "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "int" ], + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], "parameter_enable" : 0, - "patching_rect" : [ 728.833374, 220.0, 24.0, 24.0 ], - "style" : "" - } - - } -, { - "box" : { - "id" : "obj-76", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "signal" ], - "patching_rect" : [ 677.333374, 289.0, 29.5, 22.0 ], - "style" : "", - "text" : "*~" + "patching_rect" : [ 108.0, 455.0, 82.0, 23.0 ] } } , { "box" : { - "id" : "obj-75", - "maxclass" : "newobj", + "format" : 6, + "id" : "obj-59", + "maxclass" : "flonum", "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "signal" ], - "patching_rect" : [ 677.333374, 220.0, 46.0, 22.0 ], - "style" : "", - "text" : "noise~" - } - - } -, { - "box" : { - "format" : 6, - "id" : "obj-63", - "maxclass" : "flonum", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 457.5, 601.0, 82.0, 22.0 ], - "style" : "" - } - - } -, { - "box" : { - "format" : 6, - "id" : "obj-59", - "maxclass" : "flonum", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 369.5, 601.0, 82.0, 22.0 ], - "style" : "" + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 20.0, 455.0, 82.0, 23.0 ] } } @@ -490,22 +490,23 @@ "patcher" : { "fileversion" : 1, "appversion" : { - "major" : 7, + "major" : 8, "minor" : 3, - "revision" : 5, + "revision" : 0, "architecture" : "x64", "modernui" : 1 } , - "rect" : [ 640.0, 79.0, 640.0, 480.0 ], + "classnamespace" : "box", + "rect" : [ 640.0, 87.0, 640.0, 480.0 ], "bglocked" : 0, "openinpresentation" : 0, - "default_fontsize" : 12.0, + "default_fontsize" : 13.0, "default_fontface" : 0, "default_fontname" : "Arial", - "gridonopen" : 1, - "gridsize" : [ 15.0, 15.0 ], - "gridsnaponopen" : 1, + "gridonopen" : 2, + "gridsize" : [ 10.0, 10.0 ], + "gridsnaponopen" : 2, "objectsnaponopen" : 1, "statusbarvisible" : 2, "toolbarvisible" : 1, @@ -524,43 +525,54 @@ "tags" : "", "style" : "", "subpatcher_template" : "", + "assistshowspatchername" : 0, "boxes" : [ { "box" : { - "id" : "obj-25", - "maxclass" : "newobj", - "numinlets" : 1, + "comment" : "", + "id" : "obj-10", + "index" : 3, + "maxclass" : "inlet", + "numinlets" : 0, "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 419.0, 87.0, 24.0, 22.0 ], - "style" : "", - "text" : "t 3" + "outlettype" : [ "" ], + "patching_rect" : [ 355.0, 20.0, 30.0, 30.0 ] } } , { "box" : { "comment" : "", - "id" : "obj-26", - "index" : 3, + "id" : "obj-9", + "index" : 2, "maxclass" : "inlet", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 419.0, 54.0, 30.0, 30.0 ], - "style" : "" + "patching_rect" : [ 155.0, 20.0, 30.0, 30.0 ] } } , { "box" : { - "id" : "obj-15", + "id" : "obj-7", "maxclass" : "newobj", - "numinlets" : 1, + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 355.0, 120.0, 40.0, 23.0 ], + "text" : "zl.reg" + } + + } +, { + "box" : { + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 2, "numoutlets" : 2, - "outlettype" : [ "int", "" ], - "patching_rect" : [ 399.0, 154.0, 30.0, 22.0 ], - "style" : "", - "text" : "t 1 l" + "outlettype" : [ "", "" ], + "patching_rect" : [ 155.0, 120.0, 40.0, 23.0 ], + "text" : "zl.reg" } } @@ -571,8 +583,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "float" ], - "patching_rect" : [ 294.0, 256.0, 31.0, 22.0 ], - "style" : "", + "patching_rect" : [ 230.0, 240.0, 31.0, 23.0 ], "text" : "sqrt" } @@ -584,9 +595,8 @@ "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 294.0, 229.0, 45.0, 22.0 ], - "style" : "", - "text" : "zl sum" + "patching_rect" : [ 230.0, 200.0, 46.0, 23.0 ], + "text" : "zl.sum" } } @@ -597,8 +607,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 294.0, 203.0, 135.0, 22.0 ], - "style" : "", + "patching_rect" : [ 230.0, 163.0, 144.0, 23.0 ], "text" : "vexpr pow(($f1 - $f2)\\,2)" } @@ -611,61 +620,7 @@ "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 294.0, 289.0, 30.0, 30.0 ], - "style" : "" - } - - } -, { - "box" : { - "id" : "obj-10", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 255.0, 87.0, 24.0, 22.0 ], - "style" : "", - "text" : "t 2" - } - - } -, { - "box" : { - "id" : "obj-9", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "int", "" ], - "patching_rect" : [ 238.0, 154.0, 30.0, 22.0 ], - "style" : "", - "text" : "t 1 l" - } - - } -, { - "box" : { - "id" : "obj-8", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 3, - "outlettype" : [ "", "", "" ], - "patching_rect" : [ 133.0, 154.0, 54.0, 22.0 ], - "style" : "", - "text" : "gate 3 1" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-7", - "index" : 2, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 255.0, 54.0, 30.0, 30.0 ], - "style" : "" + "patching_rect" : [ 230.0, 280.0, 30.0, 30.0 ] } } @@ -676,8 +631,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "float" ], - "patching_rect" : [ 133.0, 256.0, 31.0, 22.0 ], - "style" : "", + "patching_rect" : [ 30.0, 240.0, 31.0, 23.0 ], "text" : "sqrt" } @@ -689,9 +643,8 @@ "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 133.0, 229.0, 45.0, 22.0 ], - "style" : "", - "text" : "zl sum" + "patching_rect" : [ 30.0, 200.0, 46.0, 23.0 ], + "text" : "zl.sum" } } @@ -702,8 +655,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 133.0, 203.0, 135.0, 22.0 ], - "style" : "", + "patching_rect" : [ 30.0, 163.0, 144.0, 23.0 ], "text" : "vexpr pow(($f1 - $f2)\\,2)" } @@ -716,8 +668,7 @@ "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 133.0, 289.0, 30.0, 30.0 ], - "style" : "" + "patching_rect" : [ 30.0, 280.0, 30.0, 30.0 ] } } @@ -730,37 +681,51 @@ "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 168.0, 54.0, 30.0, 30.0 ], - "style" : "" + "patching_rect" : [ 30.0, 20.0, 30.0, 30.0 ] } } ], "lines" : [ { "patchline" : { - "destination" : [ "obj-8", 1 ], + "destination" : [ "obj-18", 0 ], + "midpoints" : [ 39.5, 105.0, 239.5, 105.0 ], + "order" : 1, "source" : [ "obj-1", 0 ] } } , { "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-10", 0 ] + "destination" : [ "obj-2", 1 ], + "midpoints" : [ 39.5, 105.0, 185.5, 105.0 ], + "order" : 2, + "source" : [ "obj-1", 0 ] } } , { "patchline" : { - "destination" : [ "obj-18", 1 ], - "source" : [ "obj-15", 1 ] + "destination" : [ "obj-4", 0 ], + "midpoints" : [ 39.5, 53.0, 39.5, 53.0 ], + "order" : 3, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 1 ], + "midpoints" : [ 39.5, 105.0, 385.5, 105.0 ], + "order" : 0, + "source" : [ "obj-1", 0 ] } } , { "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-15", 0 ] + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-10", 0 ] } } @@ -787,15 +752,8 @@ } , { "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-25", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-25", 0 ], - "source" : [ "obj-26", 0 ] + "destination" : [ "obj-4", 1 ], + "source" : [ "obj-2", 0 ] } } @@ -822,82 +780,1130 @@ } , { "patchline" : { - "destination" : [ "obj-10", 0 ], + "destination" : [ "obj-18", 1 ], "source" : [ "obj-7", 0 ] } } , { "patchline" : { - "destination" : [ "obj-15", 0 ], - "source" : [ "obj-8", 2 ] + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-9", 0 ] } } -, { - "patchline" : { - "destination" : [ "obj-18", 0 ], - "midpoints" : [ 142.5, 193.0, 303.5, 193.0 ], - "order" : 0, - "source" : [ "obj-8", 0 ] - } + ] + } +, + "patching_rect" : [ 20.0, 420.0, 136.0, 23.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 13.0, + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p \"euclidean distance\"" + } - } -, { - "patchline" : { - "destination" : [ "obj-4", 0 ], - "order" : 1, - "source" : [ "obj-8", 0 ] - } + } +, { + "box" : { + "border" : 0, + "filename" : "helpdetails.js", + "id" : "obj-13", + "ignoreclick" : 1, + "jsarguments" : [ "fluid.mfcc~" ], + "maxclass" : "jsui", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "parameter_enable" : 0, + "patching_rect" : [ 10.333374000000049, 10.0, 239.666625999999951, 50.0 ] + } - } -, { - "patchline" : { - "destination" : [ "obj-9", 0 ], - "source" : [ "obj-8", 1 ] - } + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "midpoints" : [ 29.5, 179.0, 29.5, 179.0 ], + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-36", 0 ], + "source" : [ "obj-27", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-37", 0 ], + "source" : [ "obj-27", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-57", 1 ], + "source" : [ "obj-32", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-57", 2 ], + "source" : [ "obj-33", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-59", 0 ], + "source" : [ "obj-57", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-63", 0 ], + "midpoints" : [ 146.5, 448.0, 117.5, 448.0 ], + "source" : [ "obj-57", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-80", 0 ], + "source" : [ "obj-59", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "midpoints" : [ 331.166625999999951, 206.0, 29.5, 206.0 ], + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-80", 1 ], + "midpoints" : [ 117.5, 491.0, 41.5, 491.0 ], + "source" : [ "obj-63", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "midpoints" : [ 29.5, 265.0, 29.5, 265.0 ], + "order" : 2, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 1 ], + "midpoints" : [ 29.5, 277.0, 235.166625999999951, 277.0 ], + "order" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "midpoints" : [ 29.5, 277.0, 209.166625999999951, 277.0 ], + "order" : 1, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-27", 0 ], + "source" : [ "obj-80", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-26", 0 ], + "midpoints" : [ 29.5, 372.0, 269.5, 372.0 ], + "order" : 0, + "source" : [ "obj-9", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-57", 0 ], + "order" : 1, + "source" : [ "obj-9", 0 ] + } + + } + ], + "styles" : [ { + "name" : "max6box", + "default" : { + "accentcolor" : [ 0.8, 0.839216, 0.709804, 1.0 ], + "bgcolor" : [ 1.0, 1.0, 1.0, 0.5 ], + "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] + } +, + "parentstyle" : "", + "multi" : 0 + } +, { + "name" : "max6inlet", + "default" : { + "color" : [ 0.423529, 0.372549, 0.27451, 1.0 ] + } +, + "parentstyle" : "", + "multi" : 0 + } +, { + "name" : "max6message", + "default" : { + "bgfillcolor" : { + "angle" : 270.0, + "autogradient" : 0, + "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], + "color1" : [ 0.866667, 0.866667, 0.866667, 1.0 ], + "color2" : [ 0.788235, 0.788235, 0.788235, 1.0 ], + "proportion" : 0.39, + "type" : "gradient" + } +, + "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] + } +, + "parentstyle" : "max6box", + "multi" : 0 + } +, { + "name" : "max6outlet", + "default" : { + "color" : [ 0.0, 0.454902, 0.498039, 1.0 ] + } +, + "parentstyle" : "", + "multi" : 0 + } + ] + } +, + "patching_rect" : [ 130.0, 210.0, 124.0, 23.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 13.0, + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p \"timbral matching\"", + "varname" : "basic_tab[2]" + } + + } +, { + "box" : { + "hidden" : 1, + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 0, + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 3, + "revision" : 0, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 0.0, 26.0, 796.0, 622.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 13.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 2, + "gridsize" : [ 10.0, 10.0 ], + "gridsnaponopen" : 2, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "showontab" : 1, + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "arrows" : 1, + "id" : "obj-33", + "justification" : 1, + "maxclass" : "live.line", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 243.5, 216.5, 46.5, 13.5 ] + } + + } +, { + "box" : { + "bubble" : 1, + "id" : "obj-31", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 134.25, 110.0, 113.0, 25.0 ], + "presentation_linecount" : 2, + "text" : "select a source" + } + + } +, { + "box" : { + "bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ], + "fontname" : "Arial Bold", + "hint" : "", + "id" : "obj-32", + "ignoreclick" : 1, + "legacytextcolor" : 1, + "maxclass" : "textbutton", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 251.25, 112.5, 20.0, 20.0 ], + "rounded" : 60.0, + "text" : "1", + "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] + } + + } +, { + "box" : { + "bubble" : 1, + "id" : "obj-30", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 177.0, 430.0, 75.0, 25.0 ], + "text" : "audio on" + } + + } +, { + "box" : { + "id" : "obj-28", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 243.5, 360.0, 344.0, 21.0 ], + "text" : "or just have the default behaviour of counting from the first", + "textcolor" : [ 0.5, 0.5, 0.5, 1.0 ] + } + + } +, { + "box" : { + "id" : "obj-27", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 210.0, 320.0, 449.0, 21.0 ], + "presentation_linecount" : 2, + "text" : "ask the object for 13 MFCCs starting from the second (it counts starting at 0)", + "textcolor" : [ 0.5, 0.5, 0.5, 1.0 ] + } + + } +, { + "box" : { + "id" : "obj-25", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 168.5, 360.0, 73.0, 23.0 ], + "text" : "startcoeff 0" + } + + } +, { + "box" : { + "id" : "obj-24", + "linecount" : 11, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 292.0, 140.25, 278.0, 166.0 ], + "presentation_linecount" : 10, + "text" : "The first coefficient (the first index) is essentally a value that represents the loudness.\n\nTry modulating the volume here on any of the sources, and watch that it doesn't really effect the \"shape\" of the coefficients.\n\nRemoving the first coefficient is a common practice if you only care about the timbre of the measured sound.", + "textcolor" : [ 0.5, 0.5, 0.5, 1.0 ] + } + + } +, { + "box" : { + "id" : "obj-23", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 10.333374000000049, 62.0, 304.0, 21.0 ], + "text" : "Understanding the role of the first MFCC coefficient", + "textcolor" : [ 0.5, 0.5, 0.5, 1.0 ] + } + + } +, { + "box" : { + "id" : "obj-22", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 3, + "revision" : 0, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 0.0, 0.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "id" : "obj-6", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 180.0, 110.0, 34.0, 23.0 ], + "text" : "$1 5" + } + + } +, { + "box" : { + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "signal", "bang" ], + "patching_rect" : [ 180.0, 150.0, 36.0, 23.0 ], + "text" : "line~" + } + + } +, { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 50.0, 220.0, 36.0, 23.0 ], + "text" : "*~ 1." + } + + } +, { + "box" : { + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 4, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 50.0, 100.0, 72.0, 23.0 ], + "text" : "selector~ 3" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "index" : 2, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 85.0, 40.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "index" : 3, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 120.0, 40.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-19", + "index" : 4, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 155.0, 40.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "index" : 5, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 190.0, 40.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 50.0, 303.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "midpoints" : [ 59.5, 125.0, 59.5, 125.0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 1 ], + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 2 ], + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 3 ], + "source" : [ "obj-19", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-20", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 1 ], + "midpoints" : [ 189.5, 206.0, 76.5, 206.0 ], + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-6", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 30.0, 260.0, 158.0, 23.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p \"simple source selector\"" + } + + } +, { + "box" : { + "id" : "obj-15", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 134.25, 320.0, 73.0, 23.0 ], + "text" : "startcoeff 1" + } + + } +, { + "box" : { + "format" : 6, + "id" : "obj-12", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 190.0, 210.0, 50.0, 23.0 ] + } + + } +, { + "box" : { + "id" : "obj-10", + "items" : [ "off", ",", "sine", ",", "sawtooth", ",", "triangle" ], + "maxclass" : "umenu", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "int", "", "" ], + "parameter_enable" : 0, + "patching_rect" : [ 30.0, 110.0, 100.0, 23.0 ] + } + + } +, { + "box" : { + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 134.25, 210.0, 52.0, 23.0 ], + "text" : "tri~ 220" + } + + } +, { + "box" : { + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 100.0, 180.0, 65.0, 23.0 ], + "text" : "saw~ 220" + } + + } +, { + "box" : { + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 64.75, 150.0, 71.0, 23.0 ], + "text" : "cycle~ 220" + } + + } +, { + "box" : { + "border" : 0, + "filename" : "helpdetails.js", + "id" : "obj-13", + "ignoreclick" : 1, + "jsarguments" : [ "fluid.mfcc~" ], + "maxclass" : "jsui", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "parameter_enable" : 0, + "patching_rect" : [ 10.333374000000049, 10.0, 239.666625999999951, 50.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ], + "fontname" : "Arial Bold", + "hint" : "", + "id" : "obj-42", + "ignoreclick" : 1, + "legacytextcolor" : 1, + "maxclass" : "textbutton", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 254.0, 432.5, 20.0, 20.0 ], + "rounded" : 60.0, + "text" : "1", + "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] + } + + } +, { + "box" : { + "candycane" : 9, + "ghostbar" : 42, + "id" : "obj-26", + "maxclass" : "multislider", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "parameter_enable" : 0, + "patching_rect" : [ 30.0, 498.0, 350.0, 110.0 ], + "setminmax" : [ -60.0, 60.0 ], + "setstyle" : 1, + "signed" : 1, + "size" : 13 + } + + } +, { + "box" : { + "id" : "obj-60", + "local" : 1, + "maxclass" : "ezdac~", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 130.0, 420.0, 45.0, 45.0 ] + } + + } +, { + "box" : { + "id" : "obj-85", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 30.0, 463.0, 64.0, 23.0 ], + "text" : "zl.change" + } + + } +, { + "box" : { + "fontsize" : 13.0, + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 30.0, 420.0, 89.0, 23.0 ], + "text" : "fluid.mfcc~ 13" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 4 ], + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "midpoints" : [ 143.75, 406.0, 39.5, 406.0 ], + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-85", 0 ], + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "midpoints" : [ 39.5, 284.0, 39.5, 284.0 ], + "order" : 2, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-60", 1 ], + "midpoints" : [ 39.5, 405.0, 165.5, 405.0 ], + "order" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-60", 0 ], + "midpoints" : [ 39.5, 405.0, 139.5, 405.0 ], + "order" : 1, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "midpoints" : [ 178.0, 406.0, 39.5, 406.0 ], + "source" : [ "obj-25", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 1 ], + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 2 ], + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-26", 0 ], + "source" : [ "obj-85", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 3 ], + "source" : [ "obj-9", 0 ] + } + + } + ], + "styles" : [ { + "name" : "max6box", + "default" : { + "accentcolor" : [ 0.8, 0.839216, 0.709804, 1.0 ], + "bgcolor" : [ 1.0, 1.0, 1.0, 0.5 ], + "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] + } +, + "parentstyle" : "", + "multi" : 0 + } +, { + "name" : "max6inlet", + "default" : { + "color" : [ 0.423529, 0.372549, 0.27451, 1.0 ] + } +, + "parentstyle" : "", + "multi" : 0 + } +, { + "name" : "max6message", + "default" : { + "bgfillcolor" : { + "angle" : 270.0, + "autogradient" : 0, + "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], + "color1" : [ 0.866667, 0.866667, 0.866667, 1.0 ], + "color2" : [ 0.788235, 0.788235, 0.788235, 1.0 ], + "proportion" : 0.39, + "type" : "gradient" + } +, + "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] + } +, + "parentstyle" : "max6box", + "multi" : 0 + } +, { + "name" : "max6outlet", + "default" : { + "color" : [ 0.0, 0.454902, 0.498039, 1.0 ] + } +, + "parentstyle" : "", + "multi" : 0 + } + ] + } +, + "patching_rect" : [ 80.0, 160.0, 153.0, 23.0 ], + "presentation_linecount" : 4, + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 13.0, + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p \"first MFCC coefficient\"", + "varname" : "basic_tab[1]" + } + + } +, { + "box" : { + "hidden" : 1, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 0, + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 3, + "revision" : 0, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 99.0, 113.0, 796.0, 622.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 13.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 2, + "gridsize" : [ 10.0, 10.0 ], + "gridsnaponopen" : 2, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "showontab" : 1, + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "args" : [ "mfcc" ], + "bgmode" : 0, + "border" : 0, + "clickthrough" : 0, + "enablehscroll" : 0, + "enablevscroll" : 0, + "id" : "obj-46", + "lockeddragscroll" : 0, + "lockedsize" : 0, + "maxclass" : "bpatcher", + "name" : "fluid.learn.maxpat", + "numinlets" : 0, + "numoutlets" : 0, + "offset" : [ 0.0, 0.0 ], + "patching_rect" : [ 542.0, 10.0, 230.0, 105.0 ], + "viewvisibility" : 1 + } - } -, { - "patchline" : { - "destination" : [ "obj-4", 1 ], - "source" : [ "obj-9", 1 ] - } + } +, { + "box" : { + "bubble" : 1, + "id" : "obj-1", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 251.166655999999989, 180.0, 99.0, 25.0 ], + "presentation_linecount" : 2, + "text" : "play a sound" + } - } -, { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-9", 0 ] - } + } +, { + "box" : { + "bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ], + "fontname" : "Arial Bold", + "hint" : "", + "id" : "obj-3", + "ignoreclick" : 1, + "legacytextcolor" : 1, + "maxclass" : "textbutton", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 352.166655999999989, 182.5, 20.0, 20.0 ], + "rounded" : 60.0, + "text" : "2", + "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] + } - } - ] - } -, - "patching_rect" : [ 369.5, 566.0, 128.0, 22.0 ], - "saved_object_attributes" : { - "description" : "", - "digest" : "", - "globalpatchername" : "", - "style" : "", - "tags" : "" - } -, - "style" : "", - "text" : "p \"euclidean distance\"" + } +, { + "box" : { + "id" : "obj-28", + "linecount" : 4, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 294.0, 520.5, 220.0, 65.0 ], + "presentation_linecount" : 3, + "text" : "MFCCs are output as a list which can be used for many applications where we are interested in the timbral differences between sounds.", + "textcolor" : [ 0.5, 0.5, 0.5, 1.0 ] } } , { "box" : { - "id" : "obj-41", + "bubble" : 1, + "id" : "obj-30", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 396.916687, 163.0, 252.0, 20.0 ], - "style" : "", - "text" : "select a source. Add noise. Change the gain. " + "patching_rect" : [ 376.666625999999951, 304.0, 75.0, 25.0 ], + "text" : "audio on" } } @@ -914,13 +1920,50 @@ "numoutlets" : 3, "outlettype" : [ "", "", "int" ], "parameter_enable" : 0, - "patching_rect" : [ 373.416687, 163.0, 20.0, 20.0 ], + "patching_rect" : [ 453.666625999999951, 306.5, 20.0, 20.0 ], "rounded" : 60.0, - "style" : "", "text" : "1", "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] } + } +, { + "box" : { + "args" : [ "@file", "Olencki-TenTromboneLongTones-M.wav", "@vol", 0, "@loop", 1 ], + "bgmode" : 0, + "border" : 0, + "clickthrough" : 0, + "enablehscroll" : 0, + "enablevscroll" : 0, + "id" : "obj-29", + "lockeddragscroll" : 0, + "lockedsize" : 0, + "maxclass" : "bpatcher", + "name" : "fluid.demosound.maxpat", + "numinlets" : 0, + "numoutlets" : 1, + "offset" : [ 0.0, 0.0 ], + "outlettype" : [ "signal" ], + "patching_rect" : [ 20.0, 130.0, 229.166655999999989, 121.0 ], + "viewvisibility" : 1 + } + + } +, { + "box" : { + "border" : 0, + "filename" : "helpdetails.js", + "id" : "obj-13", + "ignoreclick" : 1, + "jsarguments" : [ "fluid.mfcc~" ], + "maxclass" : "jsui", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "parameter_enable" : 0, + "patching_rect" : [ 10.333374000000049, 10.0, 529.666625999999951, 110.0 ] + } + } , { "box" : { @@ -932,10 +1975,11 @@ "numoutlets" : 2, "outlettype" : [ "", "" ], "parameter_enable" : 0, - "patching_rect" : [ 32.333344, 498.0, 224.0, 211.0 ], - "setminmax" : [ -30.0, 30.0 ], - "size" : 13, - "style" : "" + "patching_rect" : [ 20.0, 510.0, 272.0, 86.0 ], + "setminmax" : [ -60.0, 60.0 ], + "setstyle" : 1, + "signed" : 1, + "size" : 13 } } @@ -947,8 +1991,8 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 54.333344, 264.0, 204.0, 22.0 ], - "style" : "" + "parameter_enable" : 0, + "patching_rect" : [ 42.0, 318.0, 204.0, 23.0 ] } } @@ -960,8 +2004,8 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 54.333344, 288.0, 204.0, 22.0 ], - "style" : "" + "parameter_enable" : 0, + "patching_rect" : [ 42.0, 342.0, 204.0, 23.0 ] } } @@ -972,8 +2016,7 @@ "maxclass" : "ezdac~", "numinlets" : 2, "numoutlets" : 0, - "patching_rect" : [ 380.833344, 448.0, 45.0, 45.0 ], - "style" : "" + "patching_rect" : [ 329.666625999999951, 294.0, 45.0, 45.0 ] } } @@ -985,8 +2028,8 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 54.333344, 312.0, 204.0, 22.0 ], - "style" : "" + "parameter_enable" : 0, + "patching_rect" : [ 42.0, 366.0, 204.0, 23.0 ] } } @@ -999,8 +2042,8 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 54.333344, 336.0, 278.0, 22.0 ], - "style" : "" + "parameter_enable" : 0, + "patching_rect" : [ 42.0, 390.0, 278.0, 23.0 ] } } @@ -1011,9 +2054,8 @@ "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 32.333344, 428.0, 66.0, 22.0 ], - "style" : "", - "text" : "zl change" + "patching_rect" : [ 20.0, 470.0, 64.0, 23.0 ], + "text" : "zl.change" } } @@ -1024,9 +2066,8 @@ "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, - "outlettype" : [ "list", "" ], - "patching_rect" : [ 32.333344, 396.0, 91.0, 23.0 ], - "style" : "", + "outlettype" : [ "", "" ], + "patching_rect" : [ 20.0, 440.0, 91.0, 23.0 ], "text" : "fluid.mfcc~ 13" } @@ -1039,8 +2080,8 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 54.333344, 240.0, 150.0, 22.0 ], - "style" : "" + "parameter_enable" : 0, + "patching_rect" : [ 42.0, 294.0, 150.0, 23.0 ] } } @@ -1048,7 +2089,7 @@ "lines" : [ { "patchline" : { "destination" : [ "obj-2", 0 ], - "midpoints" : [ 63.833344, 306.5, 41.833344, 306.5 ], + "midpoints" : [ 51.5, 366.0, 29.5, 366.0 ], "source" : [ "obj-12", 0 ] } @@ -1056,7 +2097,7 @@ , { "patchline" : { "destination" : [ "obj-2", 0 ], - "midpoints" : [ 63.833344, 282.5, 41.833344, 282.5 ], + "midpoints" : [ 51.5, 342.0, 29.5, 342.0 ], "source" : [ "obj-19", 0 ] } @@ -1071,36 +2112,15 @@ , { "patchline" : { "destination" : [ "obj-2", 0 ], - "midpoints" : [ 63.833344, 259.5, 41.833344, 259.5 ], + "midpoints" : [ 51.5, 318.0, 29.5, 318.0 ], "source" : [ "obj-21", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-57", 0 ], - "source" : [ "obj-22", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-36", 0 ], - "source" : [ "obj-27", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-37", 0 ], - "source" : [ "obj-27", 0 ] - } - } , { "patchline" : { "destination" : [ "obj-2", 0 ], - "midpoints" : [ 390.333344, 383.0, 41.833344, 383.0 ], + "midpoints" : [ 29.5, 252.0, 29.5, 252.0 ], "order" : 2, "source" : [ "obj-29", 0 ] } @@ -1109,7 +2129,7 @@ , { "patchline" : { "destination" : [ "obj-60", 1 ], - "midpoints" : [ 390.333344, 382.0, 416.333344, 382.0 ], + "midpoints" : [ 29.5, 279.0, 365.166625999999951, 279.0 ], "order" : 0, "source" : [ "obj-29", 0 ] } @@ -1118,132 +2138,23 @@ , { "patchline" : { "destination" : [ "obj-60", 0 ], + "midpoints" : [ 29.5, 279.0, 339.166625999999951, 279.0 ], "order" : 1, "source" : [ "obj-29", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-57", 1 ], - "source" : [ "obj-32", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-57", 2 ], - "midpoints" : [ 506.5, 559.5, 488.0, 559.5 ], - "source" : [ "obj-33", 0 ] - } - } , { "patchline" : { "destination" : [ "obj-2", 0 ], - "midpoints" : [ 63.833344, 359.5, 41.833344, 359.5 ], + "midpoints" : [ 51.5, 414.0, 29.5, 414.0 ], "source" : [ "obj-5", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-59", 0 ], - "source" : [ "obj-57", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-63", 0 ], - "midpoints" : [ 488.0, 594.0, 467.0, 594.0 ], - "source" : [ "obj-57", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-80", 0 ], - "source" : [ "obj-59", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-80", 1 ], - "source" : [ "obj-63", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-76", 0 ], - "source" : [ "obj-75", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "midpoints" : [ 686.833374, 389.0, 41.833344, 389.0 ], - "order" : 2, - "source" : [ "obj-76", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-60", 1 ], - "midpoints" : [ 686.833374, 388.0, 416.333344, 388.0 ], - "order" : 0, - "source" : [ "obj-76", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-60", 0 ], - "midpoints" : [ 686.833374, 389.0, 390.333344, 389.0 ], - "order" : 1, - "source" : [ "obj-76", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-79", 0 ], - "midpoints" : [ 738.333374, 247.5, 697.333374, 247.5 ], - "source" : [ "obj-78", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-76", 1 ], - "source" : [ "obj-79", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-27", 0 ], - "source" : [ "obj-80", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-22", 0 ], - "midpoints" : [ 41.833344, 482.5, 341.0, 482.5 ], - "order" : 0, - "source" : [ "obj-85", 0 ] - } - } , { "patchline" : { "destination" : [ "obj-26", 0 ], - "order" : 1, "source" : [ "obj-85", 0 ] } @@ -1251,7 +2162,7 @@ , { "patchline" : { "destination" : [ "obj-2", 0 ], - "midpoints" : [ 63.833344, 334.5, 41.833344, 334.5 ], + "midpoints" : [ 51.5, 390.0, 29.5, 390.0 ], "source" : [ "obj-9", 0 ] } @@ -1260,9 +2171,9 @@ "styles" : [ { "name" : "max6box", "default" : { + "accentcolor" : [ 0.8, 0.839216, 0.709804, 1.0 ], "bgcolor" : [ 1.0, 1.0, 1.0, 0.5 ], - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], - "accentcolor" : [ 0.8, 0.839216, 0.709804, 1.0 ] + "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] } , "parentstyle" : "", @@ -1281,13 +2192,13 @@ "name" : "max6message", "default" : { "bgfillcolor" : { - "type" : "gradient", + "angle" : 270.0, + "autogradient" : 0, + "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], "color1" : [ 0.866667, 0.866667, 0.866667, 1.0 ], "color2" : [ 0.788235, 0.788235, 0.788235, 1.0 ], - "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], - "angle" : 270.0, "proportion" : 0.39, - "autogradient" : 0 + "type" : "gradient" } , "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] @@ -1308,16 +2219,15 @@ ] } , - "patching_rect" : [ 42.0, 122.0, 49.0, 22.0 ], + "patching_rect" : [ 42.0, 122.0, 50.0, 23.0 ], "saved_object_attributes" : { "description" : "", "digest" : "", + "fontsize" : 13.0, "globalpatchername" : "", - "style" : "", "tags" : "" } , - "style" : "", "text" : "p basic", "varname" : "basic_tab" } @@ -1335,7 +2245,7 @@ "numoutlets" : 1, "outlettype" : [ "" ], "parameter_enable" : 0, - "patching_rect" : [ 10.0, 10.0, 238.06076, 57.567627 ] + "patching_rect" : [ 10.0, 10.0, 238.039993286132812, 57.599853515625 ] } } @@ -1348,22 +2258,23 @@ "patcher" : { "fileversion" : 1, "appversion" : { - "major" : 7, + "major" : 8, "minor" : 3, - "revision" : 5, + "revision" : 0, "architecture" : "x64", "modernui" : 1 } , - "rect" : [ 0.0, 26.0, 846.0, 759.0 ], + "classnamespace" : "box", + "rect" : [ 0.0, 26.0, 796.0, 622.0 ], "bglocked" : 0, "openinpresentation" : 0, - "default_fontsize" : 12.0, + "default_fontsize" : 13.0, "default_fontface" : 0, "default_fontname" : "Arial", - "gridonopen" : 1, - "gridsize" : [ 15.0, 15.0 ], - "gridsnaponopen" : 1, + "gridonopen" : 2, + "gridsize" : [ 10.0, 10.0 ], + "gridsnaponopen" : 2, "objectsnaponopen" : 1, "statusbarvisible" : 2, "toolbarvisible" : 1, @@ -1383,20 +2294,20 @@ "style" : "", "subpatcher_template" : "", "showontab" : 1, + "assistshowspatchername" : 0, "boxes" : [ ], "lines" : [ ] } , - "patching_rect" : [ 205.0, 205.0, 50.0, 22.0 ], + "patching_rect" : [ 250.0, 250.0, 50.0, 23.0 ], "saved_object_attributes" : { "description" : "", "digest" : "", + "fontsize" : 13.0, "globalpatchername" : "", - "style" : "", "tags" : "" } , - "style" : "", "text" : "p ?", "varname" : "q_tab" } @@ -1405,105 +2316,31 @@ ], "lines" : [ ], "parameters" : { - "obj-1::obj-36" : [ "live.text[2]", "live.text", 0 ], - "obj-1::obj-29::obj-35" : [ "[5]", "Level", 0 ], - "obj-1::obj-37" : [ "live.text[3]", "live.text", 0 ], "obj-1::obj-29::obj-21::obj-6" : [ "live.tab[3]", "live.tab[1]", 0 ], - "obj-1::obj-32" : [ "live.text", "live.text", 0 ], - "obj-1::obj-33" : [ "live.text[1]", "live.text", 0 ] + "obj-1::obj-29::obj-35" : [ "[5]", "Level", 0 ], + "obj-3::obj-32" : [ "live.text", "live.text", 0 ], + "obj-3::obj-33" : [ "live.text[1]", "live.text", 0 ], + "obj-3::obj-36" : [ "live.text[2]", "live.text", 0 ], + "obj-3::obj-37" : [ "live.text[3]", "live.text", 0 ], + "parameterbanks" : { + "0" : { + "index" : 0, + "name" : "", + "parameters" : [ "-", "-", "-", "-", "-", "-", "-", "-" ] + } + + } +, + "inherited_shortname" : 1 } , - "dependency_cache" : [ { - "name" : "helpname.js", - "bootpath" : "C74:/help/resources", - "type" : "TEXT", - "implicit" : 1 - } -, { - "name" : "helpargs.js", - "bootpath" : "C74:/help/resources", - "type" : "TEXT", - "implicit" : 1 - } -, { - "name" : "helpdetails.js", - "bootpath" : "C74:/help/resources", - "type" : "TEXT", - "implicit" : 1 - } -, { - "name" : "fluid.demosound.maxpat", - "bootpath" : "~/Documents/documents@hudd/research/projects/fluid corpus navigation/research/flucoma-max/help", - "patcherrelativepath" : ".", - "type" : "JSON", - "implicit" : 1 - } -, { - "name" : "sine.svg", - "bootpath" : "C74:/media/max/picts/m4l-picts", - "type" : "svg ", - "implicit" : 1 - } -, { - "name" : "saw.svg", - "bootpath" : "C74:/media/max/picts/m4l-picts", - "type" : "svg ", - "implicit" : 1 - } -, { - "name" : "square.svg", - "bootpath" : "C74:/media/max/picts/m4l-picts", - "type" : "svg ", - "implicit" : 1 - } -, { - "name" : "random.svg", - "bootpath" : "C74:/media/max/picts/m4l-picts", - "type" : "svg ", - "implicit" : 1 - } -, { - "name" : "interfacecolor.js", - "bootpath" : "C74:/interfaces", - "type" : "TEXT", - "implicit" : 1 - } -, { - "name" : "fluid.patchpath.js", - "bootpath" : "~/Documents/documents@hudd/research/projects/fluid corpus navigation/research/flucoma-max/help", - "patcherrelativepath" : ".", - "type" : "TEXT", - "implicit" : 1 - } -, { - "name" : "fluid.flucomaorg.maxpat", - "bootpath" : "~/Documents/documents@hudd/research/projects/fluid corpus navigation/research/flucoma-max/help", - "patcherrelativepath" : ".", - "type" : "JSON", - "implicit" : 1 - } -, { - "name" : "helpstarter.js", - "bootpath" : "C74:/help/resources", - "type" : "TEXT", - "implicit" : 1 - } -, { - "name" : "fluid.mfcc~.mxo", - "type" : "iLaX" - } -, { - "name" : "vtimes~.mxo", - "type" : "iLaX" - } - ], "autosave" : 0, "styles" : [ { "name" : "max6box", "default" : { + "accentcolor" : [ 0.8, 0.839216, 0.709804, 1.0 ], "bgcolor" : [ 1.0, 1.0, 1.0, 0.5 ], - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], - "accentcolor" : [ 0.8, 0.839216, 0.709804, 1.0 ] + "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] } , "parentstyle" : "", @@ -1522,13 +2359,13 @@ "name" : "max6message", "default" : { "bgfillcolor" : { - "type" : "gradient", + "angle" : 270.0, + "autogradient" : 0, + "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], "color1" : [ 0.866667, 0.866667, 0.866667, 1.0 ], "color2" : [ 0.788235, 0.788235, 0.788235, 1.0 ], - "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], - "angle" : 270.0, "proportion" : 0.39, - "autogradient" : 0 + "type" : "gradient" } , "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] From 314efad8b1ebf5e24a3e86bbb511219d28f3ab23 Mon Sep 17 00:00:00 2001 From: James Bradbury Date: Tue, 17 May 2022 16:05:48 +0200 Subject: [PATCH 2/3] update bufmfcc to match translation better --- help/fluid.bufmfcc~.maxhelp | 1591 ++++++----------------------------- 1 file changed, 276 insertions(+), 1315 deletions(-) diff --git a/help/fluid.bufmfcc~.maxhelp b/help/fluid.bufmfcc~.maxhelp index 15f4b07a..437b937c 100644 --- a/help/fluid.bufmfcc~.maxhelp +++ b/help/fluid.bufmfcc~.maxhelp @@ -3,7 +3,7 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 1, + "minor" : 3, "revision" : 0, "architecture" : "x64", "modernui" : 1 @@ -13,12 +13,12 @@ "rect" : [ 100.0, 100.0, 927.0, 674.0 ], "bglocked" : 0, "openinpresentation" : 0, - "default_fontsize" : 12.0, + "default_fontsize" : 13.0, "default_fontface" : 0, "default_fontname" : "Arial", - "gridonopen" : 1, - "gridsize" : [ 15.0, 15.0 ], - "gridsnaponopen" : 1, + "gridonopen" : 2, + "gridsize" : [ 10.0, 10.0 ], + "gridsnaponopen" : 2, "objectsnaponopen" : 1, "statusbarvisible" : 2, "toolbarvisible" : 1, @@ -39,13 +39,14 @@ "subpatcher_template" : "", "showrootpatcherontab" : 0, "showontab" : 0, + "assistshowspatchername" : 0, "boxes" : [ { "box" : { "id" : "obj-4", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 0, - "patching_rect" : [ 90.0, 204.0, 240.0, 22.0 ], + "patching_rect" : [ 90.0, 204.0, 259.0, 23.0 ], "text" : "fluid_decomposition.blocking fluid.bufmfcc~" } @@ -57,7 +58,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 194.0, 117.0, 168.0, 22.0 ], + "patching_rect" : [ 194.0, 117.0, 179.0, 23.0 ], "saved_object_attributes" : { "filename" : "helpstarter.js", "parameter_enable" : 0 @@ -77,7 +78,7 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 1, + "minor" : 3, "revision" : 0, "architecture" : "x64", "modernui" : 1 @@ -87,12 +88,12 @@ "rect" : [ 0.0, 26.0, 927.0, 648.0 ], "bglocked" : 0, "openinpresentation" : 0, - "default_fontsize" : 12.0, + "default_fontsize" : 13.0, "default_fontface" : 0, "default_fontname" : "Arial", - "gridonopen" : 1, - "gridsize" : [ 15.0, 15.0 ], - "gridsnaponopen" : 1, + "gridonopen" : 2, + "gridsize" : [ 10.0, 10.0 ], + "gridsnaponopen" : 2, "objectsnaponopen" : 1, "statusbarvisible" : 2, "toolbarvisible" : 1, @@ -112,469 +113,180 @@ "style" : "", "subpatcher_template" : "", "showontab" : 1, + "assistshowspatchername" : 0, "boxes" : [ { "box" : { - "fontsize" : 13.0, - "id" : "obj-26", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 10.0, 62.0, 163.0, 21.0 ], - "text" : "multichannel layout" - } - - } -, { - "box" : { - "id" : "obj-24", - "linecount" : 2, + "id" : "obj-19", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 23.0, 546.5, 69.0, 33.0 ], - "text" : "channel 2 \nMFCCs", + "patching_rect" : [ 576.0, 435.5, 188.0, 21.0 ], + "presentation_linecount" : 3, + "text" : "Listen to the source if you want", "textcolor" : [ 0.5, 0.5, 0.5, 1.0 ] } } , { "box" : { - "id" : "obj-23", - "linecount" : 2, + "bubble" : 1, + "id" : "obj-22", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 23.0, 368.0, 69.0, 33.0 ], - "text" : "channel 1 \nMFCCs", - "textcolor" : [ 0.5, 0.5, 0.5, 1.0 ] - } - - } -, { - "box" : { - "border" : 2.0, - "id" : "obj-21", - "linecolor" : [ 0.92549, 0.364706, 0.341176, 1.0 ], - "maxclass" : "live.line", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 100.5, 297.0, 9.0, 175.0 ] - } - - } -, { - "box" : { - "border" : 2.0, - "id" : "obj-20", - "linecolor" : [ 0.317647, 0.654902, 0.976471, 1.0 ], - "maxclass" : "live.line", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 100.5, 474.0, 9.0, 169.0 ] + "patching_rect" : [ 56.0, 120.0, 104.0, 25.0 ], + "text" : "Start analysis" } } , { "box" : { - "id" : "obj-19", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 8, - "minor" : 1, - "revision" : 0, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 84.0, 129.0, 640.0, 480.0 ], - "bglocked" : 0, - "openinpresentation" : 0, - "default_fontsize" : 12.0, - "default_fontface" : 0, - "default_fontname" : "Arial", - "gridonopen" : 1, - "gridsize" : [ 15.0, 15.0 ], - "gridsnaponopen" : 1, - "objectsnaponopen" : 1, - "statusbarvisible" : 2, - "toolbarvisible" : 1, - "lefttoolbarpinned" : 0, - "toptoolbarpinned" : 0, - "righttoolbarpinned" : 0, - "bottomtoolbarpinned" : 0, - "toolbars_unpinned_last_save" : 0, - "tallnewobj" : 0, - "boxanimatetime" : 200, - "enablehscroll" : 1, - "enablevscroll" : 1, - "devicewidth" : 0.0, - "description" : "", - "digest" : "", - "tags" : "", - "style" : "", - "subpatcher_template" : "", - "boxes" : [ { - "box" : { - "id" : "obj-35", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 50.0, 182.5, 56.0, 22.0 ], - "text" : "deferlow" - } - - } -, { - "box" : { - "id" : "obj-27", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 50.0, 100.0, 95.0, 22.0 ], - "text" : "loadmess 0.004" - } - - } -, { - "box" : { - "id" : "obj-25", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 147.0, 100.0, 111.0, 22.0 ], - "text" : "loadmess bipolar 1" - } - - } -, { - "box" : { - "id" : "obj-16", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 50.0, 152.0, 63.0, 22.0 ], - "text" : "vzoom $1" - } - - } -, { - "box" : { - "format" : 6, - "id" : "obj-17", - "maxclass" : "flonum", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 50.0, 128.0, 50.0, 22.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-18", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 50.0, 264.5, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-35", 0 ], - "source" : [ "obj-16", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-16", 0 ], - "source" : [ "obj-17", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-35", 0 ], - "midpoints" : [ 156.5, 178.75, 59.5, 178.75 ], - "source" : [ "obj-25", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-17", 0 ], - "source" : [ "obj-27", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-18", 0 ], - "source" : [ "obj-35", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 107.0, 260.0, 57.0, 22.0 ], - "saved_object_attributes" : { - "description" : "", - "digest" : "", - "globalpatchername" : "", - "tags" : "" - } -, - "text" : "p setup" - } - - } -, { - "box" : { - "id" : "obj-13", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "float", "bang" ], - "patching_rect" : [ 535.0, 61.0, 161.0, 22.0 ], - "text" : "buffer~ bufmfcc_help_mfcc2" - } - - } -, { - "box" : { - "border" : 0, - "filename" : "helpname.js", - "id" : "obj-11", + "bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ], + "fontname" : "Arial Bold", + "hint" : "", + "id" : "obj-7", "ignoreclick" : 1, - "jsarguments" : [ "fluid.bufmfcc~" ], - "maxclass" : "jsui", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "parameter_enable" : 0, - "patching_rect" : [ 10.0, 10.0, 308.531035999999972, 57.567627000000002 ] - } - - } -, { - "box" : { - "id" : "obj-3", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 166.0, 260.0, 177.0, 22.0 ], - "text" : "setbuffer bufmfcc_help_mfcc2" - } - - } -, { - "box" : { - "filename" : "fluid.bufview.js", - "id" : "obj-46", - "maxclass" : "jsui", + "legacytextcolor" : 1, + "maxclass" : "textbutton", "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], + "numoutlets" : 3, + "outlettype" : [ "", "", "int" ], "parameter_enable" : 0, - "patching_rect" : [ 107.0, 297.0, 594.5, 346.0 ] + "patching_rect" : [ 162.0, 122.5, 20.0, 20.0 ], + "rounded" : 60.0, + "text" : "1", + "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] } } , { "box" : { - "id" : "obj-9", + "id" : "obj-18", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 376.5, 260.0, 325.0, 20.0 ], - "text" : "data is laid out chan 1 MFCCs 1-N, chan 2 MFCCs 1-N etc,", + "patching_rect" : [ 600.0, 121.5, 99.0, 21.0 ], + "presentation_linecount" : 3, + "text" : "A stereo source", "textcolor" : [ 0.5, 0.5, 0.5, 1.0 ] } } , { "box" : { - "id" : "obj-8", - "maxclass" : "newobj", + "id" : "obj-15", + "linecount" : 14, + "maxclass" : "comment", "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 15.5, 153.0, 56.0, 22.0 ], - "text" : "deferlow" + "numoutlets" : 0, + "patching_rect" : [ 550.0, 216.5, 259.0, 210.0 ], + "presentation_linecount" : 14, + "text" : "The fluid.bufmfcc~ object above only returns 3 MFCC coefficients. The buffer~ with the analysis is 6 channels, because it calculates 3 channels per channel in the input buffer, which in this case is stereo.\n\nThe layout is as follows then:\n\nMFCC 0 - L\nMFCC 1 - L\nMFCC 2 - L\nMFCC 0 - R\nMFCC 1 - R\nMFCC - 2 R", + "textcolor" : [ 0.5, 0.5, 0.5, 1.0 ] } } , { "box" : { - "id" : "obj-6", - "maxclass" : "newobj", + "id" : "obj-14", + "maxclass" : "toggle", "numinlets" : 1, "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 15.5, 129.0, 60.0, 22.0 ], - "text" : "loadbang" + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 550.0, 434.0, 24.0, 24.0 ] } } , { "box" : { - "id" : "obj-5", - "linecount" : 3, + "color" : [ 0.423529411764706, 0.513725490196078, 1.0, 1.0 ], + "id" : "obj-8", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "float", "" ], - "patching_rect" : [ 15.5, 177.0, 314.0, 49.0 ], - "text" : "fluid.bufcompose~ @source bufmfcc_help_src3 @startframe 555000 @numframes 468335 @deststartchan 1 @destination bufmfcc_help_src2" + "numoutlets" : 2, + "outlettype" : [ "float", "bang" ], + "patching_rect" : [ 470.0, 163.0, 170.0, 23.0 ], + "text" : "buffer~ help.mfcc.features.2" } } , { "box" : { - "id" : "obj-2", + "color" : [ 0.423529411764706, 0.513725490196078, 1.0, 1.0 ], + "id" : "obj-6", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "float", "bang" ], - "patching_rect" : [ 535.0, 34.0, 357.0, 22.0 ], - "text" : "buffer~ bufmfcc_help_src3 Tremblay-AaS-AcousticStrums-M.wav" + "patching_rect" : [ 210.0, 120.0, 388.0, 23.0 ], + "text" : "buffer~ help.mfcc.src.2 Tremblay-SA-UprightPianoPedalWide.wav" } } , { "box" : { - "id" : "obj-113", - "maxclass" : "button", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 362.0, 137.0, 24.0, 24.0 ] - } - - } -, { - "box" : { - "id" : "obj-107", + "id" : "obj-5", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 44.265518, 102.0, 240.0, 20.0 ], - "text" : "an exagerated stereo source is composited", + "patching_rect" : [ 10.0, 70.0, 259.0, 21.0 ], + "presentation_linecount" : 2, + "text" : "multichannel processing with fluid.bufmfcc~", "textcolor" : [ 0.5, 0.5, 0.5, 1.0 ] } } , { "box" : { - "bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ], - "fontname" : "Arial Bold", - "hint" : "", - "id" : "obj-108", - "ignoreclick" : 1, - "legacytextcolor" : 1, - "maxclass" : "textbutton", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "int" ], - "parameter_enable" : 0, - "patching_rect" : [ 16.765518, 102.0, 20.0, 20.0 ], - "rounded" : 60.0, - "text" : "1", - "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] - } - - } -, { - "box" : { - "bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ], - "fontname" : "Arial Bold", - "hint" : "", - "id" : "obj-67", - "ignoreclick" : 1, - "legacytextcolor" : 1, - "maxclass" : "textbutton", + "filename" : "fluid.waveform~", + "id" : "obj-4", + "maxclass" : "jsui", "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "int" ], + "numoutlets" : 1, + "outlettype" : [ "" ], "parameter_enable" : 0, - "patching_rect" : [ 354.5, 260.0, 20.0, 20.0 ], - "rounded" : 60.0, - "text" : "3", - "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] + "patching_rect" : [ 30.0, 253.0, 510.0, 243.0 ] } } , { "box" : { - "id" : "obj-62", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 384.0, 107.067627000000002, 53.0, 20.0 ], - "text" : "process", - "textcolor" : [ 0.5, 0.5, 0.5, 1.0 ] - } - - } -, { - "box" : { - "bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ], - "fontname" : "Arial Bold", - "hint" : "", - "id" : "obj-56", + "border" : 0, + "filename" : "helpname.js", + "id" : "obj-11", "ignoreclick" : 1, - "legacytextcolor" : 1, - "maxclass" : "textbutton", + "jsarguments" : [ "fluid.bufmfcc~" ], + "maxclass" : "jsui", "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "int" ], + "numoutlets" : 1, + "outlettype" : [ "" ], "parameter_enable" : 0, - "patching_rect" : [ 362.0, 107.067627000000002, 20.0, 20.0 ], - "rounded" : 60.0, - "text" : "2", - "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] + "patching_rect" : [ 10.0, 10.0, 308.5040283203125, 57.599853515625 ] } } , { "box" : { - "id" : "obj-15", + "id" : "obj-3", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 762.0, 497.0, 33.0, 22.0 ], - "text" : "stop" + "patching_rect" : [ 30.0, 203.0, 176.0, 23.0 ], + "text" : "features help.mfcc.features.2" } } , { "box" : { - "id" : "obj-14", - "maxclass" : "message", - "numinlets" : 2, + "id" : "obj-113", + "maxclass" : "button", + "numinlets" : 1, "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 727.0, 497.0, 34.0, 22.0 ], - "text" : "start" + "outlettype" : [ "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 30.0, 120.0, 24.0, 24.0 ] } } @@ -585,7 +297,7 @@ "maxclass" : "ezdac~", "numinlets" : 2, "numoutlets" : 0, - "patching_rect" : [ 727.0, 590.0, 45.0, 45.0 ] + "patching_rect" : [ 550.0, 514.0, 45.0, 45.0 ] } } @@ -594,35 +306,23 @@ "id" : "obj-10", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "signal", "signal", "bang" ], - "patching_rect" : [ 727.0, 539.0, 154.0, 22.0 ], - "text" : "play~ bufmfcc_help_src2 2" - } - - } -, { - "box" : { - "id" : "obj-7", - "maxclass" : "newobj", - "numinlets" : 1, "numoutlets" : 2, - "outlettype" : [ "float", "bang" ], - "patching_rect" : [ 535.0, 10.0, 381.0, 22.0 ], - "text" : "buffer~ bufmfcc_help_src2 Tremblay-SA-UprightPianoPedalWide.wav" + "outlettype" : [ "signal", "bang" ], + "patching_rect" : [ 550.0, 473.0, 131.0, 23.0 ], + "text" : "play~ help.mfcc.src.2" } } , { "box" : { + "color" : [ 0.423529411764706, 0.513725490196078, 1.0, 1.0 ], "id" : "obj-1", - "linecount" : 2, "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "float", "" ], - "patching_rect" : [ 362.0, 177.0, 272.0, 35.0 ], - "text" : "fluid.bufmfcc~ 5 @source bufmfcc_help_src2 @features bufmfcc_help_mfcc2 @numcoeffs 5" + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 30.0, 163.0, 431.0, 23.0 ], + "text" : "fluid.bufmfcc~ 3 @source help.mfcc.src.2 @features help.mfcc.features.2" } } @@ -630,7 +330,6 @@ "lines" : [ { "patchline" : { "destination" : [ "obj-3", 0 ], - "midpoints" : [ 371.5, 237.5, 175.5, 237.5 ], "source" : [ "obj-1", 0 ] } @@ -638,13 +337,15 @@ , { "patchline" : { "destination" : [ "obj-12", 1 ], - "source" : [ "obj-10", 1 ] + "order" : 0, + "source" : [ "obj-10", 0 ] } } , { "patchline" : { "destination" : [ "obj-12", 0 ], + "order" : 1, "source" : [ "obj-10", 0 ] } @@ -665,47 +366,18 @@ } , { "patchline" : { - "destination" : [ "obj-10", 0 ], - "source" : [ "obj-15", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-46", 0 ], - "source" : [ "obj-19", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-46", 0 ], - "midpoints" : [ 175.5, 291.5, 116.5, 291.5 ], + "destination" : [ "obj-4", 0 ], "source" : [ "obj-3", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-6", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-5", 0 ], - "source" : [ "obj-8", 0 ] - } - } ], "styles" : [ { "name" : "max6box", "default" : { - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], + "accentcolor" : [ 0.8, 0.839216, 0.709804, 1.0 ], "bgcolor" : [ 1.0, 1.0, 1.0, 0.5 ], - "accentcolor" : [ 0.8, 0.839216, 0.709804, 1.0 ] + "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] } , "parentstyle" : "", @@ -723,17 +395,17 @@ , { "name" : "max6message", "default" : { - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], "bgfillcolor" : { - "type" : "gradient", + "angle" : 270.0, + "autogradient" : 0, + "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], "color1" : [ 0.866667, 0.866667, 0.866667, 1.0 ], "color2" : [ 0.788235, 0.788235, 0.788235, 1.0 ], - "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], - "angle" : 270.0, "proportion" : 0.39, - "autogradient" : 0 + "type" : "gradient" } - +, + "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] } , "parentstyle" : "max6box", @@ -751,10 +423,11 @@ ] } , - "patching_rect" : [ 60.000014999999998, 168.999968999999993, 88.0, 22.0 ], + "patching_rect" : [ 60.000014999999998, 168.999968999999993, 92.0, 23.0 ], "saved_object_attributes" : { "description" : "", "digest" : "", + "fontsize" : 13.0, "globalpatchername" : "", "tags" : "" } @@ -773,7 +446,7 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 1, + "minor" : 3, "revision" : 0, "architecture" : "x64", "modernui" : 1 @@ -783,12 +456,12 @@ "rect" : [ 100.0, 126.0, 927.0, 648.0 ], "bglocked" : 0, "openinpresentation" : 0, - "default_fontsize" : 12.0, + "default_fontsize" : 13.0, "default_fontface" : 0, "default_fontname" : "Arial", - "gridonopen" : 1, - "gridsize" : [ 15.0, 15.0 ], - "gridsnaponopen" : 1, + "gridonopen" : 2, + "gridsize" : [ 10.0, 10.0 ], + "gridsnaponopen" : 2, "objectsnaponopen" : 1, "statusbarvisible" : 2, "toolbarvisible" : 1, @@ -808,715 +481,178 @@ "style" : "", "subpatcher_template" : "", "showontab" : 1, + "assistshowspatchername" : 0, "boxes" : [ { "box" : { + "args" : [ "mfcc" ], "bgmode" : 0, "border" : 0, "clickthrough" : 0, "enablehscroll" : 0, "enablevscroll" : 0, - "id" : "obj-2", + "id" : "obj-46", "lockeddragscroll" : 0, + "lockedsize" : 0, "maxclass" : "bpatcher", - "name" : "fluid.flucomaorg.maxpat", + "name" : "fluid.learn.maxpat", "numinlets" : 0, "numoutlets" : 0, - "offset" : [ -10.0, -8.0 ], - "patching_rect" : [ 763.75, 599.0, 156.0, 42.0 ], - "viewvisibility" : 1 - } - - } -, { - "box" : { - "id" : "obj-62", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 6.0, 562.0, 50.0, 20.0 ], - "text" : "coeff N ", - "textcolor" : [ 0.5, 0.5, 0.5, 1.0 ] - } - - } -, { - "box" : { - "id" : "obj-61", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 6.0, 396.0, 50.0, 20.0 ], - "text" : "coeff 0 ", - "textcolor" : [ 0.5, 0.5, 0.5, 1.0 ] - } - - } -, { - "box" : { - "bgmode" : 0, - "border" : 0, - "clickthrough" : 0, - "embed" : 1, - "enablehscroll" : 0, - "enablevscroll" : 0, - "id" : "obj-59", - "lockeddragscroll" : 0, - "maxclass" : "bpatcher", - "numinlets" : 1, - "numoutlets" : 0, - "offset" : [ 2.0, -109.0 ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 8, - "minor" : 1, - "revision" : 0, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 59.0, 104.0, 640.0, 480.0 ], - "bglocked" : 0, - "openinpresentation" : 0, - "default_fontsize" : 12.0, - "default_fontface" : 0, - "default_fontname" : "Arial", - "gridonopen" : 1, - "gridsize" : [ 15.0, 15.0 ], - "gridsnaponopen" : 1, - "objectsnaponopen" : 1, - "statusbarvisible" : 2, - "toolbarvisible" : 1, - "lefttoolbarpinned" : 0, - "toptoolbarpinned" : 0, - "righttoolbarpinned" : 0, - "bottomtoolbarpinned" : 0, - "toolbars_unpinned_last_save" : 0, - "tallnewobj" : 0, - "boxanimatetime" : 200, - "enablehscroll" : 1, - "enablevscroll" : 1, - "devicewidth" : 0.0, - "description" : "", - "digest" : "", - "tags" : "", - "style" : "", - "subpatcher_template" : "", - "boxes" : [ { - "box" : { - "comment" : "", - "id" : "obj-1", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 0.0, 6.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "id" : "obj-39", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 49.0, 50.0, 60.0, 22.0 ], - "text" : "loadbang" - } - - } -, { - "box" : { - "id" : "obj-35", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 390.0, 81.0, 56.0, 22.0 ], - "text" : "deferlow" - } - - } -, { - "box" : { - "buffername" : "bufmfcc_help_src1", - "gridcolor" : [ 0.92, 0.92, 0.92, 1.0 ], - "id" : "obj-28", - "maxclass" : "waveform~", - "numinlets" : 5, - "numoutlets" : 6, - "outlettype" : [ "float", "float", "float", "float", "list", "" ], - "patching_rect" : [ 0.0, 294.5, 663.0, 48.0 ], - "presentation" : 1, - "presentation_rect" : [ 5.0, 167.5, 472.0, 56.0 ] - } - - } -, { - "box" : { - "id" : "obj-27", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 503.0, 0.0, 89.0, 22.0 ], - "text" : "loadmess 0.01" - } - - } -, { - "box" : { - "id" : "obj-25", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 390.0, 0.0, 111.0, 22.0 ], - "text" : "loadmess bipolar 1" - } - - } -, { - "box" : { - "id" : "obj-16", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 503.0, 52.0, 63.0, 22.0 ], - "text" : "vzoom $1" - } - - } -, { - "box" : { - "format" : 6, - "id" : "obj-17", - "maxclass" : "flonum", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 503.0, 28.0, 50.0, 22.0 ] - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 0.0, 81.0, 170.0, 22.0 ], - "text" : "setbuffer bufmfcc_help_mfcc1" - } - - } -, { - "box" : { - "border" : 0, - "filename" : "fluid.bufview.js", - "id" : "obj-46", - "maxclass" : "jsui", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "parameter_enable" : 0, - "patching_rect" : [ 0.0, 110.5, 663.0, 180.0 ], - "presentation" : 1, - "presentation_rect" : [ 5.0, 3.5, 472.0, 162.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-1", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-35", 0 ], - "midpoints" : [ 512.5, 77.0, 399.5, 77.0 ], - "source" : [ "obj-16", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-16", 0 ], - "source" : [ "obj-17", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-46", 0 ], - "source" : [ "obj-2", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-35", 0 ], - "source" : [ "obj-25", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-17", 0 ], - "source" : [ "obj-27", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-46", 0 ], - "midpoints" : [ 399.5, 106.25, 9.5, 106.25 ], - "source" : [ "obj-35", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-39", 0 ] - } - - } - ], - "styles" : [ { - "name" : "max6box", - "default" : { - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], - "bgcolor" : [ 1.0, 1.0, 1.0, 0.5 ], - "accentcolor" : [ 0.8, 0.839216, 0.709804, 1.0 ] - } -, - "parentstyle" : "", - "multi" : 0 - } -, { - "name" : "max6inlet", - "default" : { - "color" : [ 0.423529, 0.372549, 0.27451, 1.0 ] - } -, - "parentstyle" : "", - "multi" : 0 - } -, { - "name" : "max6message", - "default" : { - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], - "bgfillcolor" : { - "type" : "gradient", - "color1" : [ 0.866667, 0.866667, 0.866667, 1.0 ], - "color2" : [ 0.788235, 0.788235, 0.788235, 1.0 ], - "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], - "angle" : 270.0, - "proportion" : 0.39, - "autogradient" : 0 - } - - } -, - "parentstyle" : "max6box", - "multi" : 0 - } -, { - "name" : "max6outlet", - "default" : { - "color" : [ 0.0, 0.454902, 0.498039, 1.0 ] - } -, - "parentstyle" : "", - "multi" : 0 - } - ] - } -, - "patching_rect" : [ 61.0, 396.0, 665.0, 229.0 ], - "viewvisibility" : 1 - } - - } -, { - "box" : { - "bgmode" : 0, - "border" : 0, - "clickthrough" : 0, - "embed" : 1, - "enablehscroll" : 0, - "enablevscroll" : 0, - "id" : "obj-45", - "lockeddragscroll" : 0, - "maxclass" : "bpatcher", - "numinlets" : 0, - "numoutlets" : 1, - "offset" : [ 0.0, 0.0 ], - "outlettype" : [ "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 8, - "minor" : 1, - "revision" : 0, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 59.0, 104.0, 640.0, 480.0 ], - "bglocked" : 0, - "openinpresentation" : 1, - "default_fontsize" : 12.0, - "default_fontface" : 0, - "default_fontname" : "Arial", - "gridonopen" : 1, - "gridsize" : [ 15.0, 15.0 ], - "gridsnaponopen" : 1, - "objectsnaponopen" : 1, - "statusbarvisible" : 2, - "toolbarvisible" : 1, - "lefttoolbarpinned" : 0, - "toptoolbarpinned" : 0, - "righttoolbarpinned" : 0, - "bottomtoolbarpinned" : 0, - "toolbars_unpinned_last_save" : 0, - "tallnewobj" : 0, - "boxanimatetime" : 200, - "enablehscroll" : 1, - "enablevscroll" : 1, - "devicewidth" : 0.0, - "description" : "", - "digest" : "", - "tags" : "", - "style" : "", - "subpatcher_template" : "", - "boxes" : [ { - "box" : { - "id" : "obj-2", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 6.0, 4.0, 89.0, 22.0 ], - "text" : "loadmess path" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-1", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 130.5, 194.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "id" : "obj-48", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 130.5, 167.833344000000011, 97.0, 22.0 ], - "text" : "prepend replace" - } - - } -, { - "box" : { - "id" : "obj-45", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 73.5, 113.833343999999997, 87.0, 22.0 ], - "text" : "prepend prefix" - } - - } -, { - "box" : { - "autopopulate" : 1, - "id" : "obj-44", - "items" : [ "Green-Box639.wav", ",", "Green-Box641.wav", ",", "Nicol-LoopE-M.wav", ",", "Tremblay-AaS-AcousticStrums-M.wav", ",", "Tremblay-AaS-SynthTwoVoices-M.wav", ",", "Tremblay-ASWINE-ScratchySynth-M.wav", ",", "Tremblay-BaB-HumDC-M.wav", ",", "Tremblay-BaB-SoundscapeGolcarWithDog.wav", ",", "Tremblay-beatRemember.wav", ",", "Tremblay-CF-ChurchBells.wav", ",", "Tremblay-ComplexDescent-M.wav", ",", "Tremblay-FMTri-M.wav", ",", "Tremblay-FMTriDist-M.wav", ",", "Tremblay-Iterative-M.wav", ",", "Tremblay-SA-UprightPianoPedalWide.wav", ",", "Tremblay-SlideChoirAdd-M.wav", ",", "Tremblay-SlideChoirSin-M.wav", ",", "Tremblay-UW-ComplexDescent-M.wav" ], - "maxclass" : "umenu", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "int", "", "" ], - "parameter_enable" : 0, - "patching_rect" : [ 73.5, 140.833344000000011, 133.0, 22.0 ], - "prefix" : "", - "presentation" : 1, - "presentation_rect" : [ 2.5, 2.833344, 282.0, 22.0 ], - "types" : [ "WAVE", "AIFF" ] - } - - } -, { - "box" : { - "id" : "obj-40", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 73.5, 85.833343999999997, 125.0, 22.0 ], - "text" : "combine path /media/" - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 13.0, - "id" : "obj-37", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 5, - "outlettype" : [ "", "", "", "", "" ], - "patching_rect" : [ 56.0, 57.833343999999997, 89.0, 23.0 ], - "text" : "regexp (.+)/.+" - } - - } -, { - "box" : { - "id" : "obj-23", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 6.0, 32.0, 69.0, 22.0 ], - "save" : [ "#N", "thispatcher", ";", "#Q", "end", ";" ], - "text" : "thispatcher" - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-23", 0 ], - "source" : [ "obj-2", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-37", 0 ], - "source" : [ "obj-23", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-40", 0 ], - "source" : [ "obj-37", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-45", 0 ], - "source" : [ "obj-40", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-48", 0 ], - "source" : [ "obj-44", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-44", 0 ], - "source" : [ "obj-45", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-48", 0 ] - } + "offset" : [ 0.0, 0.0 ], + "patching_rect" : [ 510.0, 10.0, 230.0, 105.0 ], + "viewvisibility" : 1 + } - } - ], - "styles" : [ { - "name" : "max6box", - "default" : { - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], - "bgcolor" : [ 1.0, 1.0, 1.0, 0.5 ], - "accentcolor" : [ 0.8, 0.839216, 0.709804, 1.0 ] - } -, - "parentstyle" : "", - "multi" : 0 - } -, { - "name" : "max6inlet", - "default" : { - "color" : [ 0.423529, 0.372549, 0.27451, 1.0 ] - } -, - "parentstyle" : "", - "multi" : 0 - } -, { - "name" : "max6message", - "default" : { - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], - "bgfillcolor" : { - "type" : "gradient", - "color1" : [ 0.866667, 0.866667, 0.866667, 1.0 ], - "color2" : [ 0.788235, 0.788235, 0.788235, 1.0 ], - "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], - "angle" : 270.0, - "proportion" : 0.39, - "autogradient" : 0 - } + } +, { + "box" : { + "bubble" : 1, + "bubbleside" : 2, + "id" : "obj-22", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 40.0, 150.0, 100.0, 40.0 ], + "text" : "Select a source" + } - } -, - "parentstyle" : "max6box", - "multi" : 0 - } -, { - "name" : "max6outlet", - "default" : { - "color" : [ 0.0, 0.454902, 0.498039, 1.0 ] - } -, - "parentstyle" : "", - "multi" : 0 - } - ] - } -, - "patching_rect" : [ 6.0, 169.5, 289.0, 31.0 ], - "viewvisibility" : 1 + } +, { + "box" : { + "id" : "obj-20", + "linecount" : 7, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 488.0, 450.0, 150.0, 108.0 ], + "text" : "This plots each of the MFCC coefficients in time as it changes. It's not too informative, but may be useful to get a sense of what these MFCC curves look like.", + "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] } } , { "box" : { - "border" : 0, - "filename" : "helpdetails.js", - "id" : "obj-43", - "ignoreclick" : 1, - "jsarguments" : [ "fluid.bufmfcc~" ], - "maxclass" : "jsui", + "color" : [ 0.423529411764706, 0.513725490196078, 1.0, 1.0 ], + "id" : "obj-17", + "maxclass" : "newobj", "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "bang" ], + "patching_rect" : [ 612.5, 358.0, 159.0, 23.0 ], + "text" : "buffer~ help.mfcc.features" + } + + } +, { + "box" : { + "id" : "obj-16", + "maxclass" : "message", + "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "parameter_enable" : 0, - "patching_rect" : [ 10.0, 10.0, 620.0, 125.0 ] + "patching_rect" : [ 354.5, 398.0, 188.0, 23.0 ], + "text" : "features help.mfcc.features red" } } , { "box" : { - "attr" : "maxfreq", - "id" : "obj-6", - "maxclass" : "attrui", - "numinlets" : 1, + "id" : "obj-14", + "maxclass" : "message", + "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 497.0, 255.5, 150.0, 22.0 ], - "text_width" : 89.0 + "patching_rect" : [ 150.0, 288.0, 180.0, 23.0 ], + "text" : "clear, waveform help.mfcc.src" } } , { "box" : { - "attr" : "minfreq", - "id" : "obj-9", - "maxclass" : "attrui", + "id" : "obj-11", + "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 345.0, 253.5, 150.0, 22.0 ], - "text_width" : 89.0 + "numoutlets" : 2, + "outlettype" : [ "float", "bang" ], + "patching_rect" : [ 40.0, 237.0, 129.0, 23.0 ], + "text" : "buffer~ help.mfcc.src" } } , { "box" : { - "attr" : "numbands", - "id" : "obj-13", - "maxclass" : "attrui", + "filename" : "fluid.waveform~", + "id" : "obj-10", + "maxclass" : "jsui", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 497.0, 204.0, 150.0, 22.0 ], - "text_width" : 89.0 + "parameter_enable" : 0, + "patching_rect" : [ 150.0, 446.0, 336.0, 109.0 ] } } , { "box" : { - "attr" : "numcoeffs", - "id" : "obj-18", - "maxclass" : "attrui", - "numinlets" : 1, + "bgmode" : 0, + "border" : 0, + "clickthrough" : 0, + "enablehscroll" : 0, + "enablevscroll" : 0, + "id" : "obj-5", + "lockeddragscroll" : 0, + "lockedsize" : 0, + "maxclass" : "bpatcher", + "name" : "fluid.bufloader.maxpat", + "numinlets" : 0, "numoutlets" : 1, + "offset" : [ 0.0, 0.0 ], "outlettype" : [ "" ], - "patching_rect" : [ 497.0, 228.0, 150.0, 22.0 ], - "text_width" : 89.0 + "patching_rect" : [ 40.0, 191.0, 280.0, 31.0 ], + "viewvisibility" : 1 } } , { "box" : { - "id" : "obj-4", - "linecount" : 2, - "maxclass" : "comment", + "border" : 0, + "filename" : "helpdetails.js", + "id" : "obj-43", + "ignoreclick" : 1, + "jsarguments" : [ "fluid.bufmfcc~" ], + "maxclass" : "jsui", "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 625.0, 279.5, 174.0, 33.0 ], - "text" : "try with a huge (e.g. 44100) hop size and/or window size", - "textcolor" : [ 0.5, 0.5, 0.5, 1.0 ] + "numoutlets" : 1, + "outlettype" : [ "" ], + "parameter_enable" : 0, + "patching_rect" : [ 10.0, 10.0, 500.0, 100.0 ] } } , { "box" : { - "attr" : "fftsettings", - "displaymode" : 3, - "id" : "obj-53", + "attr" : "maxfreq", + "id" : "obj-6", "maxclass" : "attrui", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 345.0, 279.5, 278.0, 22.0 ], + "parameter_enable" : 0, + "patching_rect" : [ 416.5, 258.5, 150.0, 23.0 ], "text_width" : 89.0 } } , { "box" : { - "id" : "obj-47", - "maxclass" : "comment", + "attr" : "minfreq", + "id" : "obj-9", + "maxclass" : "attrui", "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 37.5, 144.0, 91.0, 20.0 ], - "text" : "select a source", - "textcolor" : [ 0.5, 0.5, 0.5, 1.0 ] + "numoutlets" : 1, + "outlettype" : [ "" ], + "parameter_enable" : 0, + "patching_rect" : [ 416.5, 233.5, 150.0, 23.0 ], + "text_width" : 89.0 } } @@ -1533,7 +669,7 @@ "numoutlets" : 3, "outlettype" : [ "", "", "int" ], "parameter_enable" : 0, - "patching_rect" : [ 10.0, 144.0, 20.0, 20.0 ], + "patching_rect" : [ 142.0, 150.0, 20.0, 20.0 ], "rounded" : 60.0, "text" : "1", "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] @@ -1546,7 +682,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 336.0, 358.5, 99.0, 20.0 ], + "patching_rect" : [ 382.5, 358.0, 105.0, 21.0 ], "text" : "bang when done", "textcolor" : [ 0.5, 0.5, 0.5, 1.0 ] } @@ -1554,25 +690,14 @@ } , { "box" : { - "id" : "obj-52", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 768.0, 374.5, 92.0, 20.0 ], - "text" : "play the source", - "textcolor" : [ 0.5, 0.5, 0.5, 1.0 ] - } - - } -, { - "box" : { + "bubble" : 1, "id" : "obj-48", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 321.0, 144.0, 53.0, 20.0 ], - "text" : "process", - "textcolor" : [ 0.5, 0.5, 0.5, 1.0 ] + "patching_rect" : [ 382.5, 129.5, 143.0, 25.0 ], + "text" : "start MFCC analysis", + "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ] } } @@ -1582,7 +707,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 384.5, 181.5, 163.0, 20.0 ], + "patching_rect" : [ 416.5, 161.0, 169.0, 21.0 ], "text" : "experiment with parameters", "textcolor" : [ 0.5, 0.5, 0.5, 1.0 ] } @@ -1601,7 +726,7 @@ "numoutlets" : 3, "outlettype" : [ "", "", "int" ], "parameter_enable" : 0, - "patching_rect" : [ 297.0, 144.0, 20.0, 20.0 ], + "patching_rect" : [ 524.5, 132.0, 20.0, 20.0 ], "rounded" : 60.0, "text" : "2", "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] @@ -1616,78 +741,7 @@ "numoutlets" : 1, "outlettype" : [ "bang" ], "parameter_enable" : 0, - "patching_rect" : [ 308.0, 173.0, 24.0, 24.0 ] - } - - } -, { - "box" : { - "id" : "obj-15", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 773.0, 403.0, 33.0, 22.0 ], - "text" : "stop" - } - - } -, { - "box" : { - "id" : "obj-14", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 738.0, 403.0, 34.0, 22.0 ], - "text" : "start" - } - - } -, { - "box" : { - "id" : "obj-12", - "local" : 1, - "maxclass" : "ezdac~", - "numinlets" : 2, - "numoutlets" : 0, - "patching_rect" : [ 738.0, 494.0, 45.0, 45.0 ] - } - - } -, { - "box" : { - "id" : "obj-10", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "signal", "bang" ], - "patching_rect" : [ 738.0, 445.0, 144.0, 22.0 ], - "text" : "play~ bufmfcc_help_src1" - } - - } -, { - "box" : { - "id" : "obj-42", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 21.0, 204.0, 50.0, 22.0 ], - "text" : "replace" - } - - } -, { - "box" : { - "id" : "obj-5", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "float", "bang" ], - "patching_rect" : [ 6.0, 244.0, 172.0, 22.0 ], - "text" : "buffer~ bufmfcc_help_src1 1 1" + "patching_rect" : [ 354.5, 129.5, 24.0, 24.0 ] } } @@ -1699,32 +753,20 @@ "numoutlets" : 1, "outlettype" : [ "bang" ], "parameter_enable" : 0, - "patching_rect" : [ 308.0, 358.5, 24.0, 24.0 ] - } - - } -, { - "box" : { - "id" : "obj-3", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "float", "bang" ], - "patching_rect" : [ 6.0, 276.0, 171.0, 22.0 ], - "text" : "buffer~ bufmfcc_help_mfcc1 1" + "patching_rect" : [ 354.5, 356.5, 24.0, 24.0 ] } } , { "box" : { + "color" : [ 0.423529411764706, 0.513725490196078, 1.0, 1.0 ], "id" : "obj-1", - "linecount" : 2, "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "float", "" ], - "patching_rect" : [ 308.0, 310.0, 317.0, 35.0 ], - "text" : "fluid.bufmfcc~ 13 @source bufmfcc_help_src1 @features bufmfcc_help_mfcc1 @numchans 1" + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 354.5, 318.0, 417.0, 23.0 ], + "text" : "fluid.bufmfcc~ 13 @source help.mfcc.src @features help.mfcc.features" } } @@ -1736,7 +778,8 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 345.0, 204.0, 150.0, 22.0 ], + "parameter_enable" : 0, + "patching_rect" : [ 416.5, 184.0, 150.0, 23.0 ], "text_width" : 89.0 } @@ -1749,7 +792,8 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 345.0, 228.0, 150.0, 22.0 ], + "parameter_enable" : 0, + "patching_rect" : [ 416.5, 208.0, 150.0, 23.0 ], "text_width" : 89.0 } @@ -1764,25 +808,8 @@ } , { "patchline" : { - "destination" : [ "obj-12", 1 ], - "order" : 0, - "source" : [ "obj-10", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-12", 0 ], - "order" : 1, - "source" : [ "obj-10", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "hidden" : 1, - "source" : [ "obj-13", 0 ] + "destination" : [ "obj-14", 0 ], + "source" : [ "obj-11", 1 ] } } @@ -1796,22 +823,15 @@ , { "patchline" : { "destination" : [ "obj-10", 0 ], - "source" : [ "obj-15", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "hidden" : 1, - "source" : [ "obj-18", 0 ] + "midpoints" : [ 364.0, 432.0, 159.5, 432.0 ], + "source" : [ "obj-16", 0 ] } } , { "patchline" : { "destination" : [ "obj-1", 0 ], - "hidden" : 1, + "midpoints" : [ 426.0, 208.0, 389.5, 208.0, 389.5, 304.0, 364.0, 304.0 ], "source" : [ "obj-23", 0 ] } @@ -1819,6 +839,7 @@ , { "patchline" : { "destination" : [ "obj-1", 0 ], + "midpoints" : [ 364.0, 211.0, 364.0, 211.0 ], "source" : [ "obj-38", 0 ] } @@ -1826,45 +847,29 @@ , { "patchline" : { "destination" : [ "obj-1", 0 ], - "hidden" : 1, + "midpoints" : [ 426.0, 232.0, 364.0, 232.0 ], "source" : [ "obj-41", 0 ] } } , { "patchline" : { - "destination" : [ "obj-5", 0 ], - "source" : [ "obj-42", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-5", 0 ], - "source" : [ "obj-45", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "hidden" : 1, - "source" : [ "obj-53", 0 ] + "destination" : [ "obj-11", 0 ], + "source" : [ "obj-5", 0 ] } } , { "patchline" : { "destination" : [ "obj-1", 0 ], - "hidden" : 1, + "midpoints" : [ 426.0, 304.0, 364.0, 304.0 ], "source" : [ "obj-6", 0 ] } } , { "patchline" : { - "destination" : [ "obj-59", 0 ], - "midpoints" : [ 317.5, 389.25, 70.5, 389.25 ], + "destination" : [ "obj-16", 0 ], "source" : [ "obj-8", 0 ] } @@ -1872,7 +877,7 @@ , { "patchline" : { "destination" : [ "obj-1", 0 ], - "hidden" : 1, + "midpoints" : [ 426.0, 259.0, 364.0, 259.0 ], "source" : [ "obj-9", 0 ] } @@ -1881,9 +886,9 @@ "styles" : [ { "name" : "max6box", "default" : { - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], + "accentcolor" : [ 0.8, 0.839216, 0.709804, 1.0 ], "bgcolor" : [ 1.0, 1.0, 1.0, 0.5 ], - "accentcolor" : [ 0.8, 0.839216, 0.709804, 1.0 ] + "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] } , "parentstyle" : "", @@ -1901,17 +906,17 @@ , { "name" : "max6message", "default" : { - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], "bgfillcolor" : { - "type" : "gradient", + "angle" : 270.0, + "autogradient" : 0, + "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], "color1" : [ 0.866667, 0.866667, 0.866667, 1.0 ], "color2" : [ 0.788235, 0.788235, 0.788235, 1.0 ], - "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], - "angle" : 270.0, "proportion" : 0.39, - "autogradient" : 0 + "type" : "gradient" } - +, + "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] } , "parentstyle" : "max6box", @@ -1929,10 +934,11 @@ ] } , - "patching_rect" : [ 19.333335999999999, 135.333313000000004, 49.0, 22.0 ], + "patching_rect" : [ 19.333335999999999, 135.333313000000004, 50.0, 23.0 ], "saved_object_attributes" : { "description" : "", "digest" : "", + "fontsize" : 13.0, "globalpatchername" : "", "tags" : "" } @@ -1968,7 +974,7 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 1, + "minor" : 3, "revision" : 0, "architecture" : "x64", "modernui" : 1 @@ -1978,12 +984,12 @@ "rect" : [ 0.0, 26.0, 927.0, 648.0 ], "bglocked" : 0, "openinpresentation" : 0, - "default_fontsize" : 12.0, + "default_fontsize" : 13.0, "default_fontface" : 0, "default_fontname" : "Arial", - "gridonopen" : 1, - "gridsize" : [ 15.0, 15.0 ], - "gridsnaponopen" : 1, + "gridonopen" : 2, + "gridsize" : [ 10.0, 10.0 ], + "gridsnaponopen" : 2, "objectsnaponopen" : 1, "statusbarvisible" : 2, "toolbarvisible" : 1, @@ -2003,14 +1009,16 @@ "style" : "", "subpatcher_template" : "", "showontab" : 1, + "assistshowspatchername" : 0, "boxes" : [ ], "lines" : [ ] } , - "patching_rect" : [ 132.0, 241.0, 50.0, 22.0 ], + "patching_rect" : [ 132.0, 241.0, 50.0, 23.0 ], "saved_object_attributes" : { "description" : "", "digest" : "", + "fontsize" : 13.0, "globalpatchername" : "", "tags" : "" } @@ -2027,64 +1035,17 @@ "parameterbanks" : { } - +, + "inherited_shortname" : 1 } , - "dependency_cache" : [ { - "name" : "helpname.js", - "bootpath" : "C74:/help/resources", - "type" : "TEXT", - "implicit" : 1 - } -, { - "name" : "helpdetails.js", - "bootpath" : "C74:/help/resources", - "type" : "TEXT", - "implicit" : 1 - } -, { - "name" : "fluid.bufview.js", - "bootpath" : "~/Documents/Max 7/Packages/flucoma-max-devkit/help", - "patcherrelativepath" : ".", - "type" : "TEXT", - "implicit" : 1 - } -, { - "name" : "fluid.flucomaorg.maxpat", - "bootpath" : "~/Documents/Max 7/Packages/flucoma-max-devkit/help", - "patcherrelativepath" : ".", - "type" : "JSON", - "implicit" : 1 - } -, { - "name" : "helpstarter.js", - "bootpath" : "C74:/help/resources", - "type" : "TEXT", - "implicit" : 1 - } -, { - "name" : "fluid_decomposition.blocking.maxpat", - "bootpath" : "~/Documents/Max 7/Packages/flucoma-max-devkit/help", - "patcherrelativepath" : ".", - "type" : "JSON", - "implicit" : 1 - } -, { - "name" : "fluid.bufmfcc~.mxo", - "type" : "iLaX" - } -, { - "name" : "fluid.bufcompose~.mxo", - "type" : "iLaX" - } - ], "autosave" : 0, "styles" : [ { "name" : "max6box", "default" : { - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], + "accentcolor" : [ 0.8, 0.839216, 0.709804, 1.0 ], "bgcolor" : [ 1.0, 1.0, 1.0, 0.5 ], - "accentcolor" : [ 0.8, 0.839216, 0.709804, 1.0 ] + "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] } , "parentstyle" : "", @@ -2102,17 +1063,17 @@ , { "name" : "max6message", "default" : { - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], "bgfillcolor" : { - "type" : "gradient", + "angle" : 270.0, + "autogradient" : 0, + "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], "color1" : [ 0.866667, 0.866667, 0.866667, 1.0 ], "color2" : [ 0.788235, 0.788235, 0.788235, 1.0 ], - "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], - "angle" : 270.0, "proportion" : 0.39, - "autogradient" : 0 + "type" : "gradient" } - +, + "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] } , "parentstyle" : "max6box", From 52989006fb9f2e364c46a7354e2e4ae03b081abe Mon Sep 17 00:00:00 2001 From: James Bradbury Date: Mon, 23 May 2022 10:12:27 +0100 Subject: [PATCH 3/3] PAs review --- help/fluid.bufmfcc~.maxhelp | 8 ++------ help/fluid.mfcc~.maxhelp | 13 +++---------- 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/help/fluid.bufmfcc~.maxhelp b/help/fluid.bufmfcc~.maxhelp index 437b937c..f852734e 100644 --- a/help/fluid.bufmfcc~.maxhelp +++ b/help/fluid.bufmfcc~.maxhelp @@ -121,7 +121,6 @@ "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 576.0, 435.5, 188.0, 21.0 ], - "presentation_linecount" : 3, "text" : "Listen to the source if you want", "textcolor" : [ 0.5, 0.5, 0.5, 1.0 ] } @@ -166,7 +165,6 @@ "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 600.0, 121.5, 99.0, 21.0 ], - "presentation_linecount" : 3, "text" : "A stereo source", "textcolor" : [ 0.5, 0.5, 0.5, 1.0 ] } @@ -180,7 +178,6 @@ "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 550.0, 216.5, 259.0, 210.0 ], - "presentation_linecount" : 14, "text" : "The fluid.bufmfcc~ object above only returns 3 MFCC coefficients. The buffer~ with the analysis is 6 channels, because it calculates 3 channels per channel in the input buffer, which in this case is stereo.\n\nThe layout is as follows then:\n\nMFCC 0 - L\nMFCC 1 - L\nMFCC 2 - L\nMFCC 0 - R\nMFCC 1 - R\nMFCC - 2 R", "textcolor" : [ 0.5, 0.5, 0.5, 1.0 ] } @@ -231,7 +228,6 @@ "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 10.0, 70.0, 259.0, 21.0 ], - "presentation_linecount" : 2, "text" : "multichannel processing with fluid.bufmfcc~", "textcolor" : [ 0.5, 0.5, 0.5, 1.0 ] } @@ -593,6 +589,7 @@ } , { "box" : { + "args" : [ "@file", "Nicol-LoopE-M.wav" ], "bgmode" : 0, "border" : 0, "clickthrough" : 0, @@ -696,8 +693,7 @@ "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 382.5, 129.5, 143.0, 25.0 ], - "text" : "start MFCC analysis", - "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ] + "text" : "start MFCC analysis" } } diff --git a/help/fluid.mfcc~.maxhelp b/help/fluid.mfcc~.maxhelp index cf492c6d..8b8cf357 100644 --- a/help/fluid.mfcc~.maxhelp +++ b/help/fluid.mfcc~.maxhelp @@ -58,7 +58,7 @@ } , "classnamespace" : "box", - "rect" : [ 0.0, 26.0, 796.0, 622.0 ], + "rect" : [ 99.0, 113.0, 796.0, 622.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 13.0, @@ -107,7 +107,6 @@ "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 290.0, 420.0, 300.0, 79.0 ], - "presentation_linecount" : 7, "text" : "Inside this subpatch a Euclidian distance is calculated on the current MFCC analysis to the one stored against either the first or second template. The lower the number, the more similar it is.", "textcolor" : [ 0.5, 0.5, 0.5, 1.0 ] } @@ -152,7 +151,6 @@ "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 10.333374000000049, 62.0, 222.0, 21.0 ], - "presentation_linecount" : 2, "text" : "A real-time timbral matching example", "textcolor" : [ 0.5, 0.5, 0.5, 1.0 ] } @@ -228,6 +226,7 @@ , { "box" : { "id" : "obj-5", + "local" : 1, "maxclass" : "ezdac~", "numinlets" : 2, "numoutlets" : 0, @@ -1104,7 +1103,6 @@ "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 134.25, 110.0, 113.0, 25.0 ], - "presentation_linecount" : 2, "text" : "select a source" } @@ -1160,7 +1158,6 @@ "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 210.0, 320.0, 449.0, 21.0 ], - "presentation_linecount" : 2, "text" : "ask the object for 13 MFCCs starting from the second (it counts starting at 0)", "textcolor" : [ 0.5, 0.5, 0.5, 1.0 ] } @@ -1186,7 +1183,6 @@ "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 292.0, 140.25, 278.0, 166.0 ], - "presentation_linecount" : 10, "text" : "The first coefficient (the first index) is essentally a value that represents the loudness.\n\nTry modulating the volume here on any of the sources, and watch that it doesn't really effect the \"shape\" of the coefficients.\n\nRemoving the first coefficient is a common practice if you only care about the timbre of the measured sound.", "textcolor" : [ 0.5, 0.5, 0.5, 1.0 ] } @@ -1766,7 +1762,6 @@ } , "patching_rect" : [ 80.0, 160.0, 153.0, 23.0 ], - "presentation_linecount" : 4, "saved_object_attributes" : { "description" : "", "digest" : "", @@ -1798,7 +1793,7 @@ } , "classnamespace" : "box", - "rect" : [ 99.0, 113.0, 796.0, 622.0 ], + "rect" : [ 0.0, 26.0, 796.0, 622.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 13.0, @@ -1856,7 +1851,6 @@ "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 251.166655999999989, 180.0, 99.0, 25.0 ], - "presentation_linecount" : 2, "text" : "play a sound" } @@ -1889,7 +1883,6 @@ "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 294.0, 520.5, 220.0, 65.0 ], - "presentation_linecount" : 3, "text" : "MFCCs are output as a list which can be used for many applications where we are interested in the timbral differences between sounds.", "textcolor" : [ 0.5, 0.5, 0.5, 1.0 ] }