# HG changeset patch # User Andrew N Robertson # Date 1339700689 -3600 # Node ID 93d21c20cfbcf891883997185d7e7a5462f60e2a # Parent 8df911733fdc4d264ba40b9cf18a059d35efdc38 Added Markers and the ability to switch to these points in the file when playing diff -r 8df911733fdc -r 93d21c20cfbc EvaluationPlan.pages Binary file EvaluationPlan.pages has changed diff -r 8df911733fdc -r 93d21c20cfbc MaxPatchToPlayFiles/MultiMatchPlayer4b.maxpat --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/MaxPatchToPlayFiles/MultiMatchPlayer4b.maxpat Thu Jun 14 20:04:49 2012 +0100 @@ -0,0 +1,9558 @@ +{ + "patcher" : { + "fileversion" : 1, + "rect" : [ 578.0, 54.0, 1152.0, 878.0 ], + "bglocked" : 0, + "defrect" : [ 578.0, 54.0, 1152.0, 878.0 ], + "openrect" : [ 0.0, 0.0, 0.0, 0.0 ], + "openinpresentation" : 1, + "default_fontsize" : 10.0, + "default_fontface" : 0, + "default_fontname" : "Verdana", + "gridonopen" : 0, + "gridsize" : [ 5.0, 5.0 ], + "gridsnaponopen" : 0, + "toolbarvisible" : 1, + "boxanimatetime" : 200, + "imprint" : 0, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "boxes" : [ { + "box" : { + "maxclass" : "comment", + "text" : "aubiopitch~", + "patching_rect" : [ 57.0, 442.0, 150.0, 19.0 ], + "presentation" : 1, + "id" : "obj-217", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 71.0, 440.0, 150.0, 19.0 ], + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "yin", + "patching_rect" : [ 34.0, 433.0, 150.0, 19.0 ], + "presentation" : 1, + "id" : "obj-215", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 16.0, 438.0, 24.0, 19.0 ], + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "button", + "patching_rect" : [ 568.0, 940.0, 20.0, 20.0 ], + "outlettype" : [ "bang" ], + "id" : "obj-213", + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "f 0.", + "patching_rect" : [ 535.0, 1058.0, 32.5, 19.0 ], + "outlettype" : [ "float" ], + "id" : "obj-211", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "flonum", + "patching_rect" : [ 586.0, 1065.0, 50.0, 19.0 ], + "outlettype" : [ "float", "bang" ], + "presentation" : 1, + "id" : "obj-210", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 75.0, 457.0, 50.0, 19.0 ], + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "aubiopitch~", + "patching_rect" : [ 568.0, 1005.0, 71.0, 19.0 ], + "outlettype" : [ "signal", "float" ], + "id" : "obj-207", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "number", + "patching_rect" : [ 1313.0, 983.0, 50.0, 19.0 ], + "outlettype" : [ "int", "bang" ], + "id" : "obj-208", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "gain~", + "patching_rect" : [ 1192.0, 1025.0, 20.0, 140.0 ], + "outlettype" : [ "signal", "int" ], + "presentation" : 1, + "id" : "obj-200", + "numinlets" : 2, + "presentation_rect" : [ 367.0, 234.0, 20.0, 140.0 ], + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "delay~ 8800", + "patching_rect" : [ 1243.0, 1013.0, 74.0, 19.0 ], + "outlettype" : [ "signal" ], + "id" : "obj-194", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "the track to be replaced should match the `rehearsals' loaded in openFrameworks, and the other four tracks can be consider the `live' version.", + "linecount" : 6, + "presentation_linecount" : 6, + "patching_rect" : [ 526.0, 175.0, 150.0, 79.0 ], + "presentation" : 1, + "id" : "obj-195", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 491.0, 225.0, 150.0, 79.0 ], + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "120", + "patching_rect" : [ 24.0, 895.0, 32.5, 17.0 ], + "outlettype" : [ "" ], + "id" : "obj-16", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "main vol", + "patching_rect" : [ 435.0, 102.0, 150.0, 19.0 ], + "presentation" : 1, + "id" : "obj-177", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 417.0, 117.0, 58.0, 19.0 ], + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "ezdac~", + "patching_rect" : [ 428.0, 990.0, 45.0, 45.0 ], + "presentation" : 1, + "id" : "obj-4", + "numinlets" : 2, + "presentation_rect" : [ 28.0, 14.0, 45.0, 45.0 ], + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "gain~", + "patching_rect" : [ 428.0, 866.0, 66.0, 90.0 ], + "outlettype" : [ "signal", "int" ], + "presentation" : 1, + "id" : "obj-2", + "numinlets" : 2, + "presentation_rect" : [ 404.0, 137.0, 66.0, 90.0 ], + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "r seekplay", + "patching_rect" : [ 1517.0, 502.0, 62.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-206", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 0, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "r seekplay", + "patching_rect" : [ 785.0, 284.0, 62.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-205", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 0, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "r seekplay", + "patching_rect" : [ 493.0, 283.0, 62.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-204", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 0, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "r seekplay", + "patching_rect" : [ 55.0, 290.0, 62.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-203", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 0, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "s seekplay", + "patching_rect" : [ 131.0, 120.0, 63.0, 19.0 ], + "id" : "obj-202", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "manual open files", + "patching_rect" : [ 673.0, 116.0, 150.0, 19.0 ], + "presentation" : 1, + "id" : "obj-201", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 684.0, 106.0, 104.0, 19.0 ], + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "r startTime", + "patching_rect" : [ 941.0, 553.0, 66.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-199", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 0, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "r startTime", + "patching_rect" : [ 651.0, 550.0, 66.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-65", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 0, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "f 0.", + "patching_rect" : [ 1613.0, 799.0, 32.5, 19.0 ], + "outlettype" : [ "float" ], + "id" : "obj-198", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "r startTime", + "patching_rect" : [ 1685.0, 765.0, 66.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-68", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 0, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "- 0.", + "patching_rect" : [ 1666.0, 792.0, 37.5, 19.0 ], + "outlettype" : [ "float" ], + "id" : "obj-155", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "cpuclock", + "patching_rect" : [ 1666.0, 739.0, 58.0, 19.0 ], + "outlettype" : [ "float" ], + "id" : "obj-160", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "loadmess 1", + "patching_rect" : [ 1544.0, 854.0, 68.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-197", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "print", + "patching_rect" : [ 1018.0, 43.0, 34.0, 19.0 ], + "id" : "obj-196", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "open /Users/andrew/Documents/work/programming/MadMax/AudioFiles/LiveDuesVerse2/01Bass.wav", + "patching_rect" : [ -306.0, 339.0, 783.0, 17.0 ], + "outlettype" : [ "" ], + "presentation" : 1, + "id" : "obj-188", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "presentation_rect" : [ 9.0, 385.0, 783.0, 17.0 ], + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "t b l", + "patching_rect" : [ 1613.0, 724.0, 47.5, 19.0 ], + "outlettype" : [ "bang", "" ], + "id" : "obj-159", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "zl join", + "patching_rect" : [ 1613.0, 855.0, 41.0, 19.0 ], + "outlettype" : [ "", "" ], + "id" : "obj-173", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "toggle", + "patching_rect" : [ 1585.0, 886.0, 20.0, 20.0 ], + "outlettype" : [ "int" ], + "presentation" : 1, + "id" : "obj-62", + "numinlets" : 1, + "presentation_rect" : [ 199.0, 256.0, 20.0, 20.0 ], + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "gate", + "patching_rect" : [ 1599.0, 916.0, 33.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-9", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend /elec 3", + "patching_rect" : [ 1613.0, 884.0, 89.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-193", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "button", + "patching_rect" : [ 1778.0, 607.0, 59.0, 59.0 ], + "outlettype" : [ "bang" ], + "presentation" : 1, + "id" : "obj-192", + "numinlets" : 1, + "presentation_rect" : [ 189.0, 286.0, 41.0, 41.0 ], + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "multislider", + "patching_rect" : [ 1781.0, 677.0, 270.0, 73.0 ], + "outlettype" : [ "", "" ], + "presentation" : 1, + "id" : "obj-178", + "setstyle" : 1, + "setminmax" : [ 0.0, 1.0 ], + "size" : 12, + "numinlets" : 1, + "presentation_rect" : [ 175.0, 442.0, 270.0, 73.0 ], + "candycane" : 2, + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "r --stop", + "patching_rect" : [ 1644.0, 427.0, 49.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-176", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 0, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "s --stop", + "patching_rect" : [ 683.0, -45.0, 50.0, 19.0 ], + "id" : "obj-175", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "click", + "patching_rect" : [ 331.0, 1154.0, 150.0, 19.0 ], + "presentation" : 1, + "id" : "obj-174", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 830.0, 263.0, 33.0, 19.0 ], + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "gain~", + "patching_rect" : [ 1578.0, 578.0, 20.0, 140.0 ], + "outlettype" : [ "signal", "int" ], + "presentation" : 1, + "id" : "obj-162", + "numinlets" : 2, + "presentation_rect" : [ 199.0, 82.0, 20.0, 140.0 ], + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "loadmess 1", + "patching_rect" : [ 1770.0, 549.0, 68.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-191", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend open", + "patching_rect" : [ 1517.0, 478.0, 80.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-190", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "/elec 3 234268.578125 0.27184 0.241252 0.257186 0.203644 0.250506 0.137268 0.158305 0.371158 0.259061 1. 0.283688 0.155253", + "linecount" : 4, + "patching_rect" : [ 1684.0, 922.0, 229.0, 53.0 ], + "outlettype" : [ "" ], + "id" : "obj-189", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "delay 200", + "patching_rect" : [ 1676.0, 652.0, 60.0, 19.0 ], + "outlettype" : [ "bang" ], + "id" : "obj-187", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "chroma~ beat", + "patching_rect" : [ 1613.0, 689.0, 82.0, 19.0 ], + "outlettype" : [ "list" ], + "id" : "obj-186", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "umenu", + "types" : [ ], + "patching_rect" : [ 1676.0, 587.0, 100.0, 19.0 ], + "outlettype" : [ "int", "", "" ], + "presentation" : 1, + "id" : "obj-184", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 177.0, 334.0, 100.0, 19.0 ], + "items" : [ "click", "off", ",", "slope", "detect", ",", "threshold", "detect" ], + "numoutlets" : 3 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "switch 2", + "patching_rect" : [ 1676.0, 621.0, 52.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-185", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 3, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "r --starting", + "patching_rect" : [ 1679.0, 405.0, 66.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-183", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 0, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "r --starting", + "patching_rect" : [ 1223.0, 425.0, 66.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-182", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 0, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "r --starting", + "patching_rect" : [ 934.0, 263.0, 66.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-181", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 0, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "s --starting", + "patching_rect" : [ 481.0, -41.0, 67.0, 19.0 ], + "id" : "obj-180", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "elec", + "patching_rect" : [ 190.0, 930.0, 53.0, 19.0 ], + "presentation" : 1, + "id" : "obj-179", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 196.0, 232.0, 32.0, 19.0 ], + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "elec", + "patching_rect" : [ 1659.0, 501.0, 53.0, 19.0 ], + "presentation" : 1, + "id" : "obj-166", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 641.0, 200.0, 35.0, 19.0 ], + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "p aubioOnsetDetectionElec", + "patching_rect" : [ 1610.0, 551.0, 145.0, 19.0 ], + "outlettype" : [ "signal", "bang", "float", "bang" ], + "id" : "obj-167", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 4, + "patcher" : { + "fileversion" : 1, + "rect" : [ 25.0, 69.0, 889.0, 558.0 ], + "bglocked" : 0, + "defrect" : [ 25.0, 69.0, 889.0, 558.0 ], + "openrect" : [ 0.0, 0.0, 0.0, 0.0 ], + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 0, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 0, + "toolbarvisible" : 1, + "boxanimatetime" : 200, + "imprint" : 0, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "boxes" : [ { + "box" : { + "maxclass" : "comment", + "text" : ": output period in msecs (will be rounded up to control rate)", + "patching_rect" : [ 181.0, 168.0, 343.0, 17.0 ], + "id" : "obj-62", + "fontname" : "Arial", + "fontsize" : 9.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : ": minimum frequency in Hz", + "patching_rect" : [ 181.0, 156.0, 343.0, 17.0 ], + "id" : "obj-64", + "fontname" : "Arial", + "fontsize" : 9.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "estimation quality factor", + "linecount" : 2, + "patching_rect" : [ 50.0, 287.0, 70.0, 27.0 ], + "id" : "obj-82", + "fontname" : "Arial", + "fontsize" : 9.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "flonum", + "patching_rect" : [ 647.0, 253.0, 50.0, 19.0 ], + "outlettype" : [ "float", "bang" ], + "id" : "obj-68", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "button", + "patching_rect" : [ 569.0, 218.0, 47.0, 47.0 ], + "outlettype" : [ "bang" ], + "presentation" : 1, + "id" : "obj-40", + "numinlets" : 1, + "presentation_rect" : [ 359.0, 334.0, 47.0, 47.0 ], + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "/medianOnset", + "patching_rect" : [ 508.0, 373.0, 81.0, 17.0 ], + "outlettype" : [ "" ], + "id" : "obj-39", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend /medianAubioData", + "patching_rect" : [ 627.0, 214.0, 149.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-37", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend /rawAubioData", + "patching_rect" : [ 451.0, 281.0, 130.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-5", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "raw detection function value", + "linecount" : 2, + "patching_rect" : [ 415.0, 208.0, 150.0, 31.0 ], + "id" : "obj-32", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "flonum", + "patching_rect" : [ 366.0, 209.0, 50.0, 19.0 ], + "outlettype" : [ "float", "bang" ], + "id" : "obj-24", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "reset axis /mode ", + "patching_rect" : [ 150.0, 104.0, 97.0, 19.0 ], + "presentation" : 1, + "id" : "obj-23", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 109.0, 137.0, 150.0, 19.0 ], + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "button", + "patching_rect" : [ 129.0, 100.0, 20.0, 20.0 ], + "outlettype" : [ "bang" ], + "presentation" : 1, + "id" : "obj-2", + "numinlets" : 1, + "presentation_rect" : [ 127.0, 159.0, 20.0, 20.0 ], + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "hfc", + "patching_rect" : [ 289.0, 116.0, 45.0, 17.0 ], + "outlettype" : [ "" ], + "id" : "obj-34", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "or send mode as a as message", + "patching_rect" : [ 308.0, 141.0, 176.0, 19.0 ], + "id" : "obj-33", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend /mode", + "patching_rect" : [ 171.0, 288.0, 88.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-31", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "detection mode", + "patching_rect" : [ 145.0, 125.0, 91.0, 19.0 ], + "presentation" : 1, + "id" : "obj-29", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 143.0, 184.0, 91.0, 19.0 ], + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "umenu", + "types" : [ ], + "patching_rect" : [ 129.0, 145.0, 100.0, 19.0 ], + "outlettype" : [ "int", "", "" ], + "presentation" : 1, + "id" : "obj-15", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 127.0, 204.0, 100.0, 19.0 ], + "items" : [ "complex", ",", "energy", ",", "hfc", ",", "specdiff", ",", "phase", ",", "kl", ",", "mkl" ], + "numoutlets" : 3 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "send osc data to aubioOnsetVisualiser in openFrameworks", + "linecount" : 3, + "patching_rect" : [ 449.0, 310.0, 117.0, 43.0 ], + "id" : "obj-28", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "print detection function value at onsets", + "linecount" : 2, + "patching_rect" : [ 256.0, 375.0, 150.0, 31.0 ], + "id" : "obj-26", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "toggle", + "patching_rect" : [ 221.0, 321.0, 20.0, 20.0 ], + "outlettype" : [ "int" ], + "id" : "obj-18", + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "gate", + "patching_rect" : [ 221.0, 364.0, 33.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-13", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "detection function as float", + "patching_rect" : [ 409.0, 244.0, 150.0, 19.0 ], + "presentation" : 1, + "id" : "obj-11", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 407.0, 303.0, 150.0, 19.0 ], + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "/onset", + "patching_rect" : [ 287.0, 282.0, 43.0, 17.0 ], + "outlettype" : [ "" ], + "id" : "obj-22", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "energy", + "patching_rect" : [ 262.0, 142.0, 45.0, 17.0 ], + "outlettype" : [ "" ], + "id" : "obj-25", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend /aubioData", + "patching_rect" : [ 336.0, 280.0, 111.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-21", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "udpsend 127.0.0.1 12345", + "patching_rect" : [ 441.0, 399.0, 141.0, 19.0 ], + "id" : "obj-20", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "float 0.", + "patching_rect" : [ 235.0, 343.0, 46.0, 19.0 ], + "outlettype" : [ "float" ], + "id" : "obj-16", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "print", + "patching_rect" : [ 221.0, 386.0, 34.0, 19.0 ], + "id" : "obj-19", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "flonum", + "patching_rect" : [ 358.0, 245.0, 49.0, 19.0 ], + "outlettype" : [ "float", "bang" ], + "presentation" : 1, + "id" : "obj-17", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 356.0, 304.0, 49.0, 19.0 ], + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "threshold", + "patching_rect" : [ 64.0, 123.0, 58.0, 19.0 ], + "presentation" : 1, + "id" : "obj-6", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 62.0, 182.0, 58.0, 19.0 ], + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "flonum", + "patching_rect" : [ 68.0, 144.0, 50.0, 19.0 ], + "outlettype" : [ "float", "bang" ], + "presentation" : 1, + "id" : "obj-9", + "fontname" : "Verdana", + "minimum" : 0.1, + "fontsize" : 10.0, + "numinlets" : 1, + "maximum" : 10.0, + "presentation_rect" : [ 66.0, 203.0, 50.0, 19.0 ], + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "button", + "patching_rect" : [ 287.0, 219.0, 47.0, 47.0 ], + "outlettype" : [ "bang" ], + "presentation" : 1, + "id" : "obj-7", + "numinlets" : 1, + "presentation_rect" : [ 354.0, 247.0, 47.0, 47.0 ], + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "aubioOnsetDetect~ 0.4", + "patching_rect" : [ 254.0, 182.0, 340.0, 19.0 ], + "outlettype" : [ "signal", "bang", "float", "float", "bang", "float" ], + "id" : "obj-1", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 6 + } + + } +, { + "box" : { + "maxclass" : "inlet", + "patching_rect" : [ 254.0, 40.0, 25.0, 25.0 ], + "outlettype" : [ "signal" ], + "id" : "obj-121", + "numinlets" : 0, + "numoutlets" : 1, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "inlet", + "patching_rect" : [ 441.0, 40.0, 25.0, 25.0 ], + "outlettype" : [ "" ], + "id" : "obj-122", + "numinlets" : 0, + "numoutlets" : 1, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "outlet", + "patching_rect" : [ 254.0, 478.0, 25.0, 25.0 ], + "id" : "obj-123", + "numinlets" : 1, + "numoutlets" : 0, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "outlet", + "patching_rect" : [ 287.0, 478.0, 25.0, 25.0 ], + "id" : "obj-124", + "numinlets" : 1, + "numoutlets" : 0, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "outlet", + "patching_rect" : [ 382.0, 478.0, 25.0, 25.0 ], + "id" : "obj-125", + "numinlets" : 1, + "numoutlets" : 0, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "outlet", + "patching_rect" : [ 569.0, 478.0, 25.0, 25.0 ], + "id" : "obj-126", + "numinlets" : 1, + "numoutlets" : 0, + "comment" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "source" : [ "obj-40", 0 ], + "destination" : [ "obj-126", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 2 ], + "destination" : [ "obj-125", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-7", 0 ], + "destination" : [ "obj-124", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 0 ], + "destination" : [ "obj-123", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-122", 0 ], + "destination" : [ "obj-20", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-121", 0 ], + "destination" : [ "obj-1", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 5 ], + "destination" : [ "obj-68", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-39", 0 ], + "destination" : [ "obj-20", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 2 ], + "destination" : [ "obj-16", 1 ], + "hidden" : 0, + "midpoints" : [ 391.899994, 227.0, 570.0, 227.0, 570.0, 336.0, 271.5, 336.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 2 ], + "destination" : [ "obj-17", 0 ], + "hidden" : 0, + "midpoints" : [ 391.899994, 237.0, 367.5, 237.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 2 ], + "destination" : [ "obj-21", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 3 ], + "destination" : [ "obj-24", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 3 ], + "destination" : [ "obj-5", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 1 ], + "destination" : [ "obj-7", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-15", 1 ], + "destination" : [ "obj-1", 0 ], + "hidden" : 0, + "midpoints" : [ 179.0, 168.0, 263.5, 168.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-25", 0 ], + "destination" : [ "obj-1", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-34", 0 ], + "destination" : [ "obj-1", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-9", 0 ], + "destination" : [ "obj-1", 0 ], + "hidden" : 0, + "midpoints" : [ 77.5, 169.0, 263.5, 169.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-7", 0 ], + "destination" : [ "obj-22", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-7", 0 ], + "destination" : [ "obj-16", 0 ], + "hidden" : 0, + "midpoints" : [ 296.5, 273.0, 244.5, 273.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-5", 0 ], + "destination" : [ "obj-20", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-34", 0 ], + "destination" : [ "obj-31", 0 ], + "hidden" : 0, + "midpoints" : [ 298.5, 169.0, 151.0, 169.0, 151.0, 273.0, 180.5, 273.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-31", 0 ], + "destination" : [ "obj-20", 0 ], + "hidden" : 0, + "midpoints" : [ 180.5, 310.0, 450.5, 310.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-25", 0 ], + "destination" : [ "obj-31", 0 ], + "hidden" : 0, + "midpoints" : [ 271.5, 169.0, 150.0, 169.0, 150.0, 275.0, 160.0, 275.0, 160.0, 275.0, 180.5, 275.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-22", 0 ], + "destination" : [ "obj-20", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-21", 0 ], + "destination" : [ "obj-20", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-2", 0 ], + "destination" : [ "obj-15", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-18", 0 ], + "destination" : [ "obj-13", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-16", 0 ], + "destination" : [ "obj-13", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-15", 1 ], + "destination" : [ "obj-31", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-13", 0 ], + "destination" : [ "obj-19", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-37", 0 ], + "destination" : [ "obj-20", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 4 ], + "destination" : [ "obj-40", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 5 ], + "destination" : [ "obj-37", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-40", 0 ], + "destination" : [ "obj-39", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } + ] + } +, + "saved_object_attributes" : { + "default_fontname" : "Arial", + "fontname" : "Arial", + "default_fontsize" : 12.0, + "globalpatchername" : "", + "fontface" : 0, + "fontsize" : 12.0, + "default_fontface" : 0 + } + + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "soundfile load", + "patching_rect" : [ 1567.0, 451.0, 79.0, 19.0 ], + "id" : "obj-168", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "open", + "patching_rect" : [ 1605.0, 478.0, 35.0, 17.0 ], + "outlettype" : [ "" ], + "presentation" : 1, + "id" : "obj-169", + "fontname" : "Verdana", + "bgcolor" : [ 0.827451, 0.737255, 0.835294, 1.0 ], + "fontsize" : 10.0, + "numinlets" : 2, + "presentation_rect" : [ 678.0, 200.0, 35.0, 17.0 ], + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "1", + "patching_rect" : [ 1679.0, 478.0, 32.5, 17.0 ], + "outlettype" : [ "" ], + "presentation" : 1, + "id" : "obj-170", + "fontname" : "Verdana", + "bgcolor" : [ 0.827451, 0.737255, 0.835294, 1.0 ], + "fontsize" : 10.0, + "numinlets" : 2, + "presentation_rect" : [ 751.0, 200.0, 32.5, 17.0 ], + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "0", + "patching_rect" : [ 1644.0, 478.0, 32.5, 17.0 ], + "outlettype" : [ "" ], + "presentation" : 1, + "id" : "obj-171", + "fontname" : "Verdana", + "bgcolor" : [ 0.827451, 0.737255, 0.835294, 1.0 ], + "fontsize" : 10.0, + "numinlets" : 2, + "presentation_rect" : [ 716.0, 200.0, 32.5, 17.0 ], + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "sfplay~", + "patching_rect" : [ 1609.0, 505.0, 48.0, 19.0 ], + "outlettype" : [ "signal", "bang" ], + "id" : "obj-172", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 2, + "save" : [ "#N", "sfplay~", "", 1, 120960, 0, "", ";" ] + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "seek", + "patching_rect" : [ 328.0, 235.0, 150.0, 19.0 ], + "presentation" : 1, + "id" : "obj-164", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 279.0, 186.0, 36.0, 19.0 ], + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "notes:\n", + "patching_rect" : [ 1212.0, 364.0, 150.0, 19.0 ], + "presentation" : 1, + "id" : "obj-165", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 910.0, 581.0, 150.0, 31.0 ], + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "13 playing mapping to 14 in OF working well.", + "linecount" : 2, + "presentation_linecount" : 2, + "patching_rect" : [ 932.0, 1086.0, 154.0, 31.0 ], + "presentation" : 1, + "id" : "obj-163", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 901.0, 603.0, 157.0, 31.0 ], + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "snare", + "patching_rect" : [ 909.0, 318.0, 53.0, 19.0 ], + "presentation" : 1, + "id" : "obj-136", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 641.0, 176.0, 42.0, 19.0 ], + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "bass", + "patching_rect" : [ 221.0, 310.0, 53.0, 19.0 ], + "presentation" : 1, + "id" : "obj-157", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 641.0, 129.0, 35.0, 19.0 ], + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "kick", + "patching_rect" : [ 611.0, 313.0, 53.0, 19.0 ], + "presentation" : 1, + "id" : "obj-158", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 641.0, 152.0, 35.0, 19.0 ], + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "Supersaurus:/Gronk/Gronkn/Bounces/MarbleArchMultitracks/Take2/", + "presentation_linecount" : 2, + "patching_rect" : [ 1203.0, -126.0, 469.0, 17.0 ], + "outlettype" : [ "" ], + "presentation" : 1, + "id" : "obj-161", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "presentation_rect" : [ 771.0, 23.0, 312.0, 29.0 ], + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "1", + "patching_rect" : [ 1195.0, 557.0, 32.5, 17.0 ], + "outlettype" : [ "" ], + "id" : "obj-150", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "/rescue", + "patching_rect" : [ 757.0, 940.0, 48.0, 17.0 ], + "outlettype" : [ "" ], + "presentation" : 1, + "id" : "obj-153", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "presentation_rect" : [ 278.0, 252.0, 48.0, 17.0 ], + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "button", + "patching_rect" : [ 756.0, 911.0, 20.0, 20.0 ], + "outlettype" : [ "bang" ], + "presentation" : 1, + "id" : "obj-139", + "numinlets" : 1, + "presentation_rect" : [ 284.0, 268.0, 33.0, 33.0 ], + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "number", + "patching_rect" : [ 530.0, 701.0, 54.0, 21.0 ], + "outlettype" : [ "int", "bang" ], + "presentation" : 1, + "id" : "obj-138", + "fontname" : "Verdana", + "fontsize" : 12.0, + "numinlets" : 1, + "presentation_rect" : [ 13.0, 329.0, 45.0, 21.0 ], + "numoutlets" : 2, + "format" : 4 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "ftom", + "patching_rect" : [ 530.0, 677.0, 34.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-120", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "t b l", + "patching_rect" : [ 1074.0, -85.0, 32.5, 19.0 ], + "outlettype" : [ "bang", "" ], + "id" : "obj-156", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "t b b", + "patching_rect" : [ 1231.0, 465.0, 34.0, 19.0 ], + "outlettype" : [ "bang", "bang" ], + "id" : "obj-125", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "flonum", + "patching_rect" : [ 1353.0, 520.0, 65.0, 19.0 ], + "outlettype" : [ "float", "bang" ], + "id" : "obj-121", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "loadmess 1", + "patching_rect" : [ 1109.0, 412.0, 68.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-82", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "f 1.", + "patching_rect" : [ 1091.0, 582.0, 32.5, 19.0 ], + "outlettype" : [ "float" ], + "id" : "obj-115", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "toggle", + "patching_rect" : [ 1090.0, 438.0, 20.0, 20.0 ], + "outlettype" : [ "int" ], + "presentation" : 1, + "id" : "obj-88", + "numinlets" : 1, + "presentation_rect" : [ 502.0, 170.0, 20.0, 20.0 ], + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "metro 20", + "patching_rect" : [ 1090.0, 487.0, 57.0, 19.0 ], + "outlettype" : [ "bang" ], + "id" : "obj-69", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "flonum", + "patching_rect" : [ 1105.0, 549.0, 50.0, 19.0 ], + "outlettype" : [ "float", "bang" ], + "presentation" : 1, + "id" : "obj-137", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 580.0, 198.0, 50.0, 19.0 ], + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "append 1000", + "patching_rect" : [ 1161.0, 488.0, 77.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-135", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "line 1.", + "patching_rect" : [ 1105.0, 513.0, 46.0, 19.0 ], + "outlettype" : [ "", "" ], + "id" : "obj-134", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 3, + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "route /setSpeed", + "patching_rect" : [ 1280.0, 486.0, 91.0, 19.0 ], + "outlettype" : [ "", "" ], + "id" : "obj-133", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "udpreceive 10875", + "patching_rect" : [ 1280.0, 456.0, 101.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-132", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend /accompanimentSpeed", + "patching_rect" : [ 1055.0, 973.0, 170.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-131", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend /accompanimentRatio", + "patching_rect" : [ 1327.0, 897.0, 165.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-129", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "1780731.375 0.", + "patching_rect" : [ 1428.0, 920.0, 101.0, 17.0 ], + "outlettype" : [ "" ], + "id" : "obj-126", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "r startTime", + "patching_rect" : [ 1491.0, 776.0, 66.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-124", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 0, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "- 0.", + "patching_rect" : [ 1472.0, 803.0, 37.5, 19.0 ], + "outlettype" : [ "float" ], + "id" : "obj-123", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "t b f", + "patching_rect" : [ 1462.0, 718.0, 64.5, 19.0 ], + "outlettype" : [ "bang", "float" ], + "id" : "obj-122", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "cpuclock", + "patching_rect" : [ 1472.0, 750.0, 58.0, 19.0 ], + "outlettype" : [ "float" ], + "id" : "obj-119", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "pack 0. 0.", + "patching_rect" : [ 1472.0, 850.0, 66.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-118", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "stop", + "patching_rect" : [ 1304.0, 527.0, 32.5, 17.0 ], + "outlettype" : [ "" ], + "id" : "obj-117", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "flonum", + "patching_rect" : [ 1369.0, 601.0, 88.0, 19.0 ], + "outlettype" : [ "float", "bang" ], + "id" : "obj-107", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "loadmess 1", + "patching_rect" : [ 1321.0, 576.0, 68.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-102", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "flonum", + "patching_rect" : [ 1227.0, 602.0, 79.0, 19.0 ], + "outlettype" : [ "float", "bang" ], + "presentation" : 1, + "id" : "obj-90", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 497.0, 198.0, 79.0, 19.0 ], + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "gain~", + "patching_rect" : [ 1245.0, 696.0, 20.0, 140.0 ], + "outlettype" : [ "signal", "int" ], + "presentation" : 1, + "id" : "obj-86", + "numinlets" : 2, + "presentation_rect" : [ 366.0, 87.0, 20.0, 140.0 ], + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "startloop", + "patching_rect" : [ 1243.0, 528.0, 56.0, 17.0 ], + "outlettype" : [ "" ], + "id" : "obj-84", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "buffer~ accomp", + "patching_rect" : [ 747.0, -208.0, 90.0, 19.0 ], + "outlettype" : [ "float", "bang" ], + "id" : "obj-77", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "replace", + "patching_rect" : [ 749.0, -244.0, 47.0, 17.0 ], + "outlettype" : [ "" ], + "presentation" : 1, + "id" : "obj-71", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "presentation_rect" : [ 530.0, 171.0, 47.0, 17.0 ], + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "number~", + "patching_rect" : [ 1373.0, 674.0, 108.0, 19.0 ], + "outlettype" : [ "signal", "float" ], + "mode" : 2, + "id" : "obj-67", + "sig" : 0.0, + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "elastic~ accomp 1", + "patching_rect" : [ 1244.0, 637.0, 147.0, 19.0 ], + "outlettype" : [ "signal", "signal" ], + "id" : "obj-15", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 4, + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "prefix /Users/andrew/Documents/work/programming/MadMax/AudioFiles/LiveDuesVerse2/", + "linecount" : 3, + "patching_rect" : [ 1296.0, -79.0, 325.0, 41.0 ], + "outlettype" : [ "" ], + "id" : "obj-23", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "/start", + "patching_rect" : [ 452.0, 460.0, 38.0, 17.0 ], + "outlettype" : [ "" ], + "id" : "obj-116", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "snare", + "patching_rect" : [ 180.0, 852.0, 53.0, 19.0 ], + "presentation" : 1, + "id" : "obj-114", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 135.0, 232.0, 37.0, 19.0 ], + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "bass", + "patching_rect" : [ 64.0, 851.0, 53.0, 19.0 ], + "presentation" : 1, + "id" : "obj-111", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 20.0, 232.0, 32.0, 19.0 ], + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "kick", + "patching_rect" : [ 127.0, 852.0, 53.0, 19.0 ], + "presentation" : 1, + "id" : "obj-109", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 82.0, 232.0, 29.0, 19.0 ], + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "drag and drop foler - number them, 01bass, 02kick, 03snare", + "linecount" : 3, + "patching_rect" : [ 1365.0, -174.0, 150.0, 43.0 ], + "presentation" : 1, + "id" : "obj-106", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 484.0, 2.0, 346.0, 19.0 ], + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend prefix", + "patching_rect" : [ 1061.0, -113.0, 85.0, 20.0 ], + "outlettype" : [ "" ], + "id" : "obj-93", + "fontname" : "Arial", + "fontsize" : 11.595187, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "button", + "patching_rect" : [ 919.0, -136.0, 20.0, 20.0 ], + "outlettype" : [ "bang" ], + "id" : "obj-94", + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend set", + "patching_rect" : [ 919.0, -161.0, 72.0, 20.0 ], + "outlettype" : [ "" ], + "id" : "obj-95", + "fontname" : "Arial", + "fontsize" : 11.595187, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "dropfile", + "types" : [ "fold" ], + "patching_rect" : [ 1014.0, -161.0, 270.0, 19.0 ], + "outlettype" : [ "", "" ], + "presentation" : 1, + "id" : "obj-96", + "border" : 0.0, + "rounded" : 0.0, + "numinlets" : 1, + "presentation_rect" : [ 488.0, 24.0, 270.0, 19.0 ], + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "route text", + "patching_rect" : [ 1061.0, -134.0, 59.0, 20.0 ], + "outlettype" : [ "", "" ], + "id" : "obj-97", + "fontname" : "Arial", + "fontsize" : 11.595187, + "numinlets" : 1, + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "textedit", + "text" : "Supersaurus:/Gronk/Gronkn/Bounces/MarbleArchMultitracks/Take2/", + "linecount" : 2, + "presentation_linecount" : 2, + "patching_rect" : [ 1014.0, -162.0, 270.0, 19.0 ], + "outlettype" : [ "", "int", "", "" ], + "presentation" : 1, + "id" : "obj-98", + "border" : 1.0, + "rounded" : 6.0, + "fontname" : "Arial", + "fontsize" : 11.595187, + "numinlets" : 1, + "presentation_rect" : [ 490.0, 26.0, 270.0, 19.0 ], + "numoutlets" : 4 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "autopopulate 1", + "patching_rect" : [ 965.0, -112.0, 87.0, 18.0 ], + "outlettype" : [ "" ], + "id" : "obj-99", + "fontname" : "Arial", + "fontsize" : 11.595187, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "umenu", + "types" : [ ], + "patching_rect" : [ 990.0, -32.0, 243.0, 20.0 ], + "outlettype" : [ "int", "", "" ], + "presentation" : 1, + "id" : "obj-100", + "fontname" : "Arial", + "autopopulate" : 1, + "prefix" : "/Users/andrew/Documents/work/programming/MadMax/AudioFiles/LiveDuesVerse2/", + "fontsize" : 11.595187, + "numinlets" : 1, + "presentation_rect" : [ 523.0, 77.0, 243.0, 20.0 ], + "items" : [ "01Bass.wav", ",", "02Kick_bip.wav", ",", "03Snare_bip.wav", ",", "04Elec_SM57_bip.wav", ",", "Ac D.I.wav", ",", "Ac Ribbon_bip.wav", ",", "AKG_L_bip.wav", ",", "AKG_R_bip.wav", ",", "Claud D.I.wav", ",", "Guide Vocal_bip.wav" ], + "numoutlets" : 3 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "drag and drop a folder on the textedit to populate the umenu!", + "patching_rect" : [ 975.0, -186.0, 336.0, 20.0 ], + "id" : "obj-101", + "fontname" : "Arial", + "fontsize" : 11.595187, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "/stop", + "patching_rect" : [ 744.0, 646.0, 36.0, 17.0 ], + "outlettype" : [ "" ], + "id" : "obj-92", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "start offset time (to test recovery..)", + "linecount" : 2, + "presentation_linecount" : 2, + "patching_rect" : [ 260.0, 7.0, 150.0, 31.0 ], + "presentation" : 1, + "id" : "obj-89", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 222.0, -28.0, 150.0, 31.0 ], + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "button", + "patching_rect" : [ 201.0, 23.0, 20.0, 20.0 ], + "outlettype" : [ "bang" ], + "presentation" : 1, + "id" : "obj-87", + "numinlets" : 1, + "presentation_rect" : [ 280.0, 137.0, 20.0, 20.0 ], + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "number", + "patching_rect" : [ 254.0, 40.0, 50.0, 19.0 ], + "outlettype" : [ "int", "bang" ], + "presentation" : 1, + "id" : "obj-85", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 278.0, 164.0, 50.0, 19.0 ], + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "number", + "patching_rect" : [ 202.0, 75.0, 50.0, 19.0 ], + "outlettype" : [ "int", "bang" ], + "id" : "obj-83", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "i 0", + "patching_rect" : [ 202.0, 51.0, 32.5, 19.0 ], + "outlettype" : [ "int" ], + "id" : "obj-79", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "20", + "patching_rect" : [ 119.0, 905.0, 32.5, 17.0 ], + "outlettype" : [ "" ], + "id" : "obj-70", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "loadbang", + "patching_rect" : [ 3.0, 719.0, 56.0, 19.0 ], + "outlettype" : [ "bang" ], + "id" : "obj-61", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "135", + "patching_rect" : [ 132.0, 552.0, 37.0, 17.0 ], + "outlettype" : [ "" ], + "id" : "obj-26", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "/Users/andrew/Documents/work/programming/MadMax/AudioFiles/LiveDuesVerse2/", + "patching_rect" : [ 898.0, -214.0, 436.0, 17.0 ], + "outlettype" : [ "" ], + "id" : "obj-7", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "counter 0 0 5", + "patching_rect" : [ 1158.0, -59.0, 78.0, 19.0 ], + "outlettype" : [ "int", "", "", "int" ], + "id" : "obj-60", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 5, + "numoutlets" : 4 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "loadmess 1", + "patching_rect" : [ 753.0, 376.0, 68.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-1", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "loadmess 1", + "patching_rect" : [ 779.0, 679.0, 68.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-64", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "gain~", + "patching_rect" : [ 192.0, 685.0, 20.0, 140.0 ], + "outlettype" : [ "signal", "int" ], + "presentation" : 1, + "id" : "obj-63", + "numinlets" : 2, + "presentation_rect" : [ 139.0, 85.0, 20.0, 140.0 ], + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend open", + "patching_rect" : [ 1007.0, 115.0, 80.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-59", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "open", + "patching_rect" : [ 853.0, 288.0, 35.0, 17.0 ], + "outlettype" : [ "" ], + "presentation" : 1, + "id" : "obj-58", + "fontname" : "Verdana", + "bgcolor" : [ 0.843137, 0.741176, 0.431373, 1.0 ], + "fontsize" : 10.0, + "numinlets" : 2, + "presentation_rect" : [ 678.0, 176.0, 35.0, 17.0 ], + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "toggle", + "patching_rect" : [ 899.0, 737.0, 20.0, 20.0 ], + "outlettype" : [ "int" ], + "presentation" : 1, + "id" : "obj-39", + "numinlets" : 1, + "presentation_rect" : [ 139.0, 256.0, 20.0, 20.0 ], + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "gate", + "patching_rect" : [ 910.0, 764.0, 33.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-40", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "udpsend 127.0.0.1 10874", + "patching_rect" : [ 924.0, 794.0, 141.0, 19.0 ], + "id" : "obj-42", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "button", + "patching_rect" : [ 887.0, 479.0, 59.0, 59.0 ], + "outlettype" : [ "bang" ], + "presentation" : 1, + "id" : "obj-45", + "numinlets" : 1, + "presentation_rect" : [ 130.0, 286.0, 41.0, 41.0 ], + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "umenu", + "types" : [ ], + "patching_rect" : [ 887.0, 410.0, 100.0, 19.0 ], + "outlettype" : [ "int", "", "" ], + "id" : "obj-46", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "items" : [ "click", "off", ",", "slope", "detect", ",", "threshold", "detect" ], + "numoutlets" : 3 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "switch 2", + "patching_rect" : [ 887.0, 444.0, 52.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-47", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 3, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "p aubioOnsetDeetection", + "patching_rect" : [ 861.0, 361.0, 131.0, 19.0 ], + "outlettype" : [ "signal", "bang", "float", "bang" ], + "id" : "obj-48", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 4, + "patcher" : { + "fileversion" : 1, + "rect" : [ 0.0, 0.0, 640.0, 480.0 ], + "bglocked" : 0, + "defrect" : [ 0.0, 0.0, 640.0, 480.0 ], + "openrect" : [ 0.0, 0.0, 0.0, 0.0 ], + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 0, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 0, + "toolbarvisible" : 1, + "boxanimatetime" : 200, + "imprint" : 0, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "boxes" : [ { + "box" : { + "maxclass" : "comment", + "text" : ": output period in msecs (will be rounded up to control rate)", + "patching_rect" : [ 181.0, 168.0, 343.0, 17.0 ], + "id" : "obj-62", + "fontname" : "Arial", + "fontsize" : 9.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : ": minimum frequency in Hz", + "patching_rect" : [ 181.0, 156.0, 343.0, 17.0 ], + "id" : "obj-64", + "fontname" : "Arial", + "fontsize" : 9.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "estimation quality factor", + "linecount" : 2, + "patching_rect" : [ 50.0, 287.0, 70.0, 27.0 ], + "id" : "obj-82", + "fontname" : "Arial", + "fontsize" : 9.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "flonum", + "patching_rect" : [ 647.0, 253.0, 50.0, 19.0 ], + "outlettype" : [ "float", "bang" ], + "id" : "obj-68", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "button", + "patching_rect" : [ 569.0, 218.0, 47.0, 47.0 ], + "outlettype" : [ "bang" ], + "presentation" : 1, + "id" : "obj-40", + "numinlets" : 1, + "presentation_rect" : [ 359.0, 334.0, 47.0, 47.0 ], + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "/medianOnset", + "patching_rect" : [ 508.0, 373.0, 81.0, 17.0 ], + "outlettype" : [ "" ], + "id" : "obj-39", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend /medianAubioData", + "patching_rect" : [ 627.0, 214.0, 149.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-37", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend /rawAubioData", + "patching_rect" : [ 451.0, 281.0, 130.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-5", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "raw detection function value", + "linecount" : 2, + "patching_rect" : [ 415.0, 208.0, 150.0, 31.0 ], + "id" : "obj-32", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "flonum", + "patching_rect" : [ 366.0, 209.0, 50.0, 19.0 ], + "outlettype" : [ "float", "bang" ], + "id" : "obj-24", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "reset axis /mode ", + "patching_rect" : [ 150.0, 104.0, 97.0, 19.0 ], + "presentation" : 1, + "id" : "obj-23", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 109.0, 137.0, 150.0, 19.0 ], + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "button", + "patching_rect" : [ 129.0, 100.0, 20.0, 20.0 ], + "outlettype" : [ "bang" ], + "presentation" : 1, + "id" : "obj-2", + "numinlets" : 1, + "presentation_rect" : [ 127.0, 159.0, 20.0, 20.0 ], + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "hfc", + "patching_rect" : [ 289.0, 116.0, 45.0, 17.0 ], + "outlettype" : [ "" ], + "id" : "obj-34", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "or send mode as a as message", + "patching_rect" : [ 308.0, 141.0, 176.0, 19.0 ], + "id" : "obj-33", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend /mode", + "patching_rect" : [ 171.0, 288.0, 88.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-31", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "detection mode", + "patching_rect" : [ 145.0, 125.0, 91.0, 19.0 ], + "presentation" : 1, + "id" : "obj-29", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 143.0, 184.0, 91.0, 19.0 ], + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "umenu", + "types" : [ ], + "patching_rect" : [ 129.0, 145.0, 100.0, 19.0 ], + "outlettype" : [ "int", "", "" ], + "presentation" : 1, + "id" : "obj-15", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 127.0, 204.0, 100.0, 19.0 ], + "items" : [ "complex", ",", "energy", ",", "hfc", ",", "specdiff", ",", "phase", ",", "kl", ",", "mkl" ], + "numoutlets" : 3 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "send osc data to aubioOnsetVisualiser in openFrameworks", + "linecount" : 3, + "patching_rect" : [ 449.0, 310.0, 117.0, 43.0 ], + "id" : "obj-28", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "print detection function value at onsets", + "linecount" : 2, + "patching_rect" : [ 256.0, 375.0, 150.0, 31.0 ], + "id" : "obj-26", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "toggle", + "patching_rect" : [ 221.0, 321.0, 20.0, 20.0 ], + "outlettype" : [ "int" ], + "id" : "obj-18", + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "gate", + "patching_rect" : [ 221.0, 364.0, 33.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-13", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "detection function as float", + "patching_rect" : [ 409.0, 244.0, 150.0, 19.0 ], + "presentation" : 1, + "id" : "obj-11", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 407.0, 303.0, 150.0, 19.0 ], + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "/onset", + "patching_rect" : [ 287.0, 282.0, 43.0, 17.0 ], + "outlettype" : [ "" ], + "id" : "obj-22", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "energy", + "patching_rect" : [ 262.0, 142.0, 45.0, 17.0 ], + "outlettype" : [ "" ], + "id" : "obj-25", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend /aubioData", + "patching_rect" : [ 336.0, 280.0, 111.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-21", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "udpsend 127.0.0.1 12345", + "patching_rect" : [ 441.0, 399.0, 141.0, 19.0 ], + "id" : "obj-20", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "float 0.", + "patching_rect" : [ 235.0, 343.0, 46.0, 19.0 ], + "outlettype" : [ "float" ], + "id" : "obj-16", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "print", + "patching_rect" : [ 221.0, 386.0, 34.0, 19.0 ], + "id" : "obj-19", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "flonum", + "patching_rect" : [ 358.0, 245.0, 49.0, 19.0 ], + "outlettype" : [ "float", "bang" ], + "presentation" : 1, + "id" : "obj-17", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 356.0, 304.0, 49.0, 19.0 ], + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "threshold", + "patching_rect" : [ 64.0, 123.0, 58.0, 19.0 ], + "presentation" : 1, + "id" : "obj-6", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 62.0, 182.0, 58.0, 19.0 ], + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "flonum", + "patching_rect" : [ 68.0, 144.0, 50.0, 19.0 ], + "outlettype" : [ "float", "bang" ], + "presentation" : 1, + "id" : "obj-9", + "fontname" : "Verdana", + "minimum" : 0.1, + "fontsize" : 10.0, + "numinlets" : 1, + "maximum" : 10.0, + "presentation_rect" : [ 66.0, 203.0, 50.0, 19.0 ], + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "button", + "patching_rect" : [ 287.0, 219.0, 47.0, 47.0 ], + "outlettype" : [ "bang" ], + "presentation" : 1, + "id" : "obj-7", + "numinlets" : 1, + "presentation_rect" : [ 354.0, 247.0, 47.0, 47.0 ], + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "aubioOnsetDetect~ 0.4", + "patching_rect" : [ 254.0, 182.0, 340.0, 19.0 ], + "outlettype" : [ "signal", "bang", "float", "float", "bang", "float" ], + "id" : "obj-1", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 6 + } + + } +, { + "box" : { + "maxclass" : "inlet", + "patching_rect" : [ 254.0, 40.0, 25.0, 25.0 ], + "outlettype" : [ "signal" ], + "id" : "obj-121", + "numinlets" : 0, + "numoutlets" : 1, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "inlet", + "patching_rect" : [ 441.0, 40.0, 25.0, 25.0 ], + "outlettype" : [ "" ], + "id" : "obj-122", + "numinlets" : 0, + "numoutlets" : 1, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "outlet", + "patching_rect" : [ 254.0, 478.0, 25.0, 25.0 ], + "id" : "obj-123", + "numinlets" : 1, + "numoutlets" : 0, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "outlet", + "patching_rect" : [ 287.0, 478.0, 25.0, 25.0 ], + "id" : "obj-124", + "numinlets" : 1, + "numoutlets" : 0, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "outlet", + "patching_rect" : [ 382.0, 478.0, 25.0, 25.0 ], + "id" : "obj-125", + "numinlets" : 1, + "numoutlets" : 0, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "outlet", + "patching_rect" : [ 569.0, 478.0, 25.0, 25.0 ], + "id" : "obj-126", + "numinlets" : 1, + "numoutlets" : 0, + "comment" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "source" : [ "obj-40", 0 ], + "destination" : [ "obj-39", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 5 ], + "destination" : [ "obj-37", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 4 ], + "destination" : [ "obj-40", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-37", 0 ], + "destination" : [ "obj-20", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-13", 0 ], + "destination" : [ "obj-19", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-15", 1 ], + "destination" : [ "obj-31", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-16", 0 ], + "destination" : [ "obj-13", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-18", 0 ], + "destination" : [ "obj-13", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-2", 0 ], + "destination" : [ "obj-15", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-21", 0 ], + "destination" : [ "obj-20", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-22", 0 ], + "destination" : [ "obj-20", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-25", 0 ], + "destination" : [ "obj-31", 0 ], + "hidden" : 0, + "midpoints" : [ 271.5, 169.0, 150.0, 169.0, 150.0, 275.0, 160.0, 275.0, 160.0, 275.0, 180.5, 275.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-31", 0 ], + "destination" : [ "obj-20", 0 ], + "hidden" : 0, + "midpoints" : [ 180.5, 310.0, 450.5, 310.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-34", 0 ], + "destination" : [ "obj-31", 0 ], + "hidden" : 0, + "midpoints" : [ 298.5, 169.0, 151.0, 169.0, 151.0, 273.0, 180.5, 273.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-5", 0 ], + "destination" : [ "obj-20", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-7", 0 ], + "destination" : [ "obj-16", 0 ], + "hidden" : 0, + "midpoints" : [ 296.5, 273.0, 244.5, 273.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-7", 0 ], + "destination" : [ "obj-22", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-9", 0 ], + "destination" : [ "obj-1", 0 ], + "hidden" : 0, + "midpoints" : [ 77.5, 169.0, 263.5, 169.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-34", 0 ], + "destination" : [ "obj-1", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-25", 0 ], + "destination" : [ "obj-1", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-15", 1 ], + "destination" : [ "obj-1", 0 ], + "hidden" : 0, + "midpoints" : [ 179.0, 168.0, 263.5, 168.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 1 ], + "destination" : [ "obj-7", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 3 ], + "destination" : [ "obj-5", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 3 ], + "destination" : [ "obj-24", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 2 ], + "destination" : [ "obj-21", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 2 ], + "destination" : [ "obj-17", 0 ], + "hidden" : 0, + "midpoints" : [ 391.899994, 237.0, 367.5, 237.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 2 ], + "destination" : [ "obj-16", 1 ], + "hidden" : 0, + "midpoints" : [ 391.899994, 227.0, 570.0, 227.0, 570.0, 336.0, 271.5, 336.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-39", 0 ], + "destination" : [ "obj-20", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 5 ], + "destination" : [ "obj-68", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-121", 0 ], + "destination" : [ "obj-1", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-122", 0 ], + "destination" : [ "obj-20", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 0 ], + "destination" : [ "obj-123", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-7", 0 ], + "destination" : [ "obj-124", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 2 ], + "destination" : [ "obj-125", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-40", 0 ], + "destination" : [ "obj-126", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } + ] + } +, + "saved_object_attributes" : { + "default_fontname" : "Arial", + "fontname" : "Arial", + "default_fontsize" : 12.0, + "globalpatchername" : "", + "fontface" : 0, + "fontsize" : 12.0, + "default_fontface" : 0 + } + + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "snare channel", + "patching_rect" : [ 888.0, 336.0, 150.0, 19.0 ], + "id" : "obj-49", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "1", + "patching_rect" : [ 930.0, 288.0, 32.5, 17.0 ], + "outlettype" : [ "" ], + "presentation" : 1, + "id" : "obj-50", + "fontname" : "Verdana", + "bgcolor" : [ 0.843137, 0.741176, 0.431373, 1.0 ], + "fontsize" : 10.0, + "numinlets" : 2, + "presentation_rect" : [ 751.0, 176.0, 32.5, 17.0 ], + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "0", + "patching_rect" : [ 895.0, 288.0, 32.5, 17.0 ], + "outlettype" : [ "" ], + "presentation" : 1, + "id" : "obj-51", + "fontname" : "Verdana", + "bgcolor" : [ 0.843137, 0.741176, 0.431373, 1.0 ], + "fontsize" : 10.0, + "numinlets" : 2, + "presentation_rect" : [ 716.0, 176.0, 32.5, 17.0 ], + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "sfplay~", + "patching_rect" : [ 860.0, 315.0, 48.0, 19.0 ], + "outlettype" : [ "signal", "bang" ], + "id" : "obj-52", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 2, + "save" : [ "#N", "sfplay~", "", 1, 120960, 0, "", ";" ] + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "/snare 2 232748", + "patching_rect" : [ 988.0, 758.0, 130.0, 17.0 ], + "outlettype" : [ "" ], + "id" : "obj-53", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "number", + "patching_rect" : [ 887.0, 614.0, 60.0, 19.0 ], + "outlettype" : [ "int", "bang" ], + "id" : "obj-54", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "- 0.", + "patching_rect" : [ 887.0, 585.0, 32.5, 19.0 ], + "outlettype" : [ "float" ], + "id" : "obj-55", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "cpuclock", + "patching_rect" : [ 887.0, 553.0, 53.0, 19.0 ], + "outlettype" : [ "float" ], + "id" : "obj-56", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "/snare 2 $1", + "patching_rect" : [ 922.0, 736.0, 69.0, 17.0 ], + "outlettype" : [ "" ], + "id" : "obj-57", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "umenu", + "types" : [ ], + "patching_rect" : [ 103.0, 1085.0, 100.0, 19.0 ], + "outlettype" : [ "int", "", "" ], + "id" : "obj-35", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "items" : [ "click", "off", ",", "slope", "detect", ",", "threshold", "detect" ], + "numoutlets" : 3 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "switch 2", + "patching_rect" : [ 103.0, 1119.0, 52.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-38", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 3, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "/aubioPitch 1 49.15 234141", + "linecount" : 2, + "presentation_linecount" : 2, + "patching_rect" : [ 484.0, 767.0, 120.0, 29.0 ], + "outlettype" : [ "" ], + "presentation" : 1, + "id" : "obj-31", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "presentation_rect" : [ 13.0, 480.0, 120.0, 29.0 ], + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "toggle", + "patching_rect" : [ 449.0, 754.0, 20.0, 20.0 ], + "outlettype" : [ "int" ], + "presentation" : 1, + "id" : "obj-22", + "numinlets" : 1, + "presentation_rect" : [ 24.0, 256.0, 20.0, 20.0 ], + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "gate", + "patching_rect" : [ 449.0, 781.0, 33.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-24", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "udpsend 127.0.0.1 10874", + "patching_rect" : [ 449.0, 806.0, 141.0, 19.0 ], + "id" : "obj-20", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "button", + "patching_rect" : [ 100.0, 131.0, 20.0, 20.0 ], + "outlettype" : [ "bang" ], + "presentation" : 1, + "id" : "obj-44", + "numinlets" : 1, + "presentation_rect" : [ 261.0, 13.0, 20.0, 20.0 ], + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "number", + "patching_rect" : [ 259.0, 187.0, 61.0, 19.0 ], + "outlettype" : [ "int", "bang" ], + "presentation" : 1, + "id" : "obj-41", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 243.0, 34.0, 61.0, 19.0 ], + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "toggle", + "patching_rect" : [ 603.0, 734.0, 20.0, 20.0 ], + "outlettype" : [ "int" ], + "presentation" : 1, + "id" : "obj-37", + "numinlets" : 1, + "presentation_rect" : [ 84.0, 256.0, 20.0, 20.0 ], + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "gate", + "patching_rect" : [ 614.0, 761.0, 33.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-34", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "start", + "patching_rect" : [ 372.0, 146.0, 45.0, 19.0 ], + "presentation" : 1, + "id" : "obj-33", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 103.0, -1.0, 45.0, 19.0 ], + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "stop", + "patching_rect" : [ 499.0, 145.0, 31.0, 19.0 ], + "presentation" : 1, + "id" : "obj-32", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 159.0, -1.0, 31.0, 19.0 ], + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "button", + "patching_rect" : [ 681.0, -102.0, 45.0, 45.0 ], + "outlettype" : [ "bang" ], + "presentation" : 1, + "id" : "obj-29", + "numinlets" : 1, + "presentation_rect" : [ 155.0, 14.0, 45.0, 45.0 ], + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "button", + "patching_rect" : [ 450.0, -91.0, 45.0, 45.0 ], + "outlettype" : [ "bang" ], + "presentation" : 1, + "id" : "obj-28", + "numinlets" : 1, + "presentation_rect" : [ 93.0, 14.0, 45.0, 45.0 ], + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "p signal Info", + "patching_rect" : [ 99.61554, 159.19075, 246.38446, 19.0 ], + "outlettype" : [ "", "int" ], + "id" : "obj-25", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 2, + "patcher" : { + "fileversion" : 1, + "rect" : [ 25.0, 69.0, 640.0, 480.0 ], + "bglocked" : 0, + "defrect" : [ 25.0, 69.0, 640.0, 480.0 ], + "openrect" : [ 0.0, 0.0, 0.0, 0.0 ], + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 0, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 0, + "toolbarvisible" : 1, + "boxanimatetime" : 200, + "imprint" : 0, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "boxes" : [ { + "box" : { + "maxclass" : "inlet", + "patching_rect" : [ 76.0, 60.0, 25.0, 25.0 ], + "outlettype" : [ "bang" ], + "id" : "obj-2", + "numinlets" : 0, + "numoutlets" : 1, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "outlet", + "patching_rect" : [ 204.717804, 391.809265, 25.0, 25.0 ], + "id" : "obj-1", + "numinlets" : 1, + "numoutlets" : 0, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "number", + "patching_rect" : [ 171.523865, 285.404633, 50.0, 20.0 ], + "outlettype" : [ "int", "bang" ], + "id" : "obj-55", + "fontname" : "Arial", + "fontsize" : 11.595187, + "numinlets" : 1, + "presentation_rect" : [ 45.0, 45.0, 50.0, 20.0 ], + "triscale" : 0.9, + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "number", + "patching_rect" : [ 175.523865, 212.445099, 50.0, 20.0 ], + "outlettype" : [ "int", "bang" ], + "id" : "obj-54", + "fontname" : "Arial", + "fontsize" : 11.595187, + "numinlets" : 1, + "presentation_rect" : [ 30.0, 30.0, 50.0, 20.0 ], + "triscale" : 0.9, + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend /ioVectorSize", + "patching_rect" : [ 151.38446, 309.809265, 122.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-53", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend /signalVectorSize", + "patching_rect" : [ 154.38446, 239.809265, 142.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-52", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend /samplingRate", + "patching_rect" : [ 98.38446, 155.809265, 128.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-51", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "adstatus iovs", + "patching_rect" : [ 92.0, 285.404633, 78.0, 20.0 ], + "outlettype" : [ "", "int" ], + "id" : "obj-38", + "fontname" : "Arial", + "fontsize" : 11.595187, + "numinlets" : 2, + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "number", + "patching_rect" : [ 134.523865, 131.445099, 50.0, 20.0 ], + "outlettype" : [ "int", "bang" ], + "id" : "obj-42", + "fontname" : "Arial", + "fontsize" : 11.595187, + "numinlets" : 1, + "presentation_rect" : [ 15.0, 15.0, 50.0, 20.0 ], + "triscale" : 0.9, + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "adstatus sigvs", + "patching_rect" : [ 89.0, 213.406555, 84.0, 20.0 ], + "outlettype" : [ "", "int" ], + "id" : "obj-45", + "fontname" : "Arial", + "fontsize" : 11.595187, + "numinlets" : 2, + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "button", + "patching_rect" : [ 50.0, 104.192688, 20.0, 20.0 ], + "outlettype" : [ "bang" ], + "id" : "obj-49", + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "adstatus sr", + "patching_rect" : [ 50.0, 131.445099, 67.0, 20.0 ], + "outlettype" : [ "", "int" ], + "id" : "obj-50", + "fontname" : "Arial", + "fontsize" : 11.595187, + "numinlets" : 2, + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "report sampling rate choices", + "patching_rect" : [ 92.457458, 100.000015, 154.0, 20.0 ], + "id" : "obj-63", + "fontname" : "Arial", + "fontsize" : 11.595187, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "outlet", + "patching_rect" : [ 129.717804, 388.809265, 25.0, 25.0 ], + "id" : "obj-24", + "numinlets" : 1, + "numoutlets" : 0, + "comment" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "source" : [ "obj-52", 0 ], + "destination" : [ "obj-24", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-53", 0 ], + "destination" : [ "obj-24", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-51", 0 ], + "destination" : [ "obj-24", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-38", 1 ], + "destination" : [ "obj-53", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-38", 1 ], + "destination" : [ "obj-55", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-45", 1 ], + "destination" : [ "obj-52", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-45", 1 ], + "destination" : [ "obj-54", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-49", 0 ], + "destination" : [ "obj-38", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-49", 0 ], + "destination" : [ "obj-45", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-49", 0 ], + "destination" : [ "obj-50", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-50", 1 ], + "destination" : [ "obj-42", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-50", 1 ], + "destination" : [ "obj-51", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-42", 0 ], + "destination" : [ "obj-1", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-2", 0 ], + "destination" : [ "obj-49", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } + ] + } +, + "saved_object_attributes" : { + "default_fontname" : "Arial", + "fontname" : "Arial", + "default_fontsize" : 12.0, + "globalpatchername" : "", + "fontface" : 0, + "fontsize" : 12.0, + "default_fontface" : 0 + } + + } + + } +, { + "box" : { + "maxclass" : "button", + "patching_rect" : [ 1158.0, -106.0, 20.0, 20.0 ], + "outlettype" : [ "bang" ], + "presentation" : 1, + "id" : "obj-21", + "numinlets" : 1, + "presentation_rect" : [ 496.0, 78.0, 20.0, 20.0 ], + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "uzi 5", + "patching_rect" : [ 1158.0, -81.0, 46.0, 19.0 ], + "outlettype" : [ "bang", "bang", "int" ], + "id" : "obj-19", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 3 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend open", + "patching_rect" : [ 288.0, 282.0, 80.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-18", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend open", + "patching_rect" : [ 919.0, 114.0, 80.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-17", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "route 0 1 2 3", + "patching_rect" : [ 915.0, 43.0, 77.0, 19.0 ], + "outlettype" : [ "", "", "", "", "" ], + "id" : "obj-13", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 5 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "pack 0 s", + "patching_rect" : [ 1000.0, 4.0, 52.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-11", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "loadbang", + "patching_rect" : [ 1030.0, -270.0, 56.0, 19.0 ], + "outlettype" : [ "bang" ], + "id" : "obj-6", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "autopopulate 1", + "patching_rect" : [ 1015.0, -239.0, 87.0, 18.0 ], + "outlettype" : [ "" ], + "id" : "obj-5", + "fontname" : "Arial", + "fontsize" : 11.595187, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "udpsend 127.0.0.1 10874", + "patching_rect" : [ 628.0, 791.0, 141.0, 19.0 ], + "id" : "obj-66", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "flonum", + "patching_rect" : [ 384.0, 775.0, 50.0, 19.0 ], + "outlettype" : [ "float", "bang" ], + "presentation" : 1, + "id" : "obj-154", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 15.0, 458.0, 50.0, 19.0 ], + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "number~", + "patching_rect" : [ 501.0, 356.0, 56.0, 19.0 ], + "outlettype" : [ "signal", "float" ], + "mode" : 2, + "id" : "obj-152", + "sig" : 0.0, + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "gain~", + "patching_rect" : [ 133.0, 691.0, 20.0, 140.0 ], + "outlettype" : [ "signal", "int" ], + "presentation" : 1, + "id" : "obj-151", + "numinlets" : 2, + "presentation_rect" : [ 84.0, 86.0, 20.0, 140.0 ], + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "button", + "patching_rect" : [ 591.0, 476.0, 59.0, 59.0 ], + "outlettype" : [ "bang" ], + "presentation" : 1, + "id" : "obj-147", + "numinlets" : 1, + "presentation_rect" : [ 75.0, 286.0, 41.0, 41.0 ], + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "umenu", + "pattrmode" : 1, + "types" : [ ], + "patching_rect" : [ 591.0, 407.0, 100.0, 19.0 ], + "outlettype" : [ "int", "", "" ], + "id" : "obj-148", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "items" : [ "click", "off", ",", "slope", "detect", ",", "threshold", "detect" ], + "numoutlets" : 3 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "switch 2", + "patching_rect" : [ 591.0, 441.0, 52.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-149", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 3, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "p aubioOnsetDeetection", + "patching_rect" : [ 565.0, 358.0, 131.0, 19.0 ], + "outlettype" : [ "signal", "bang", "float", "bang" ], + "id" : "obj-141", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 4, + "patcher" : { + "fileversion" : 1, + "rect" : [ 0.0, 0.0, 640.0, 480.0 ], + "bglocked" : 0, + "defrect" : [ 0.0, 0.0, 640.0, 480.0 ], + "openrect" : [ 0.0, 0.0, 0.0, 0.0 ], + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 0, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 0, + "toolbarvisible" : 1, + "boxanimatetime" : 200, + "imprint" : 0, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "boxes" : [ { + "box" : { + "maxclass" : "comment", + "text" : ": output period in msecs (will be rounded up to control rate)", + "patching_rect" : [ 181.0, 168.0, 343.0, 17.0 ], + "id" : "obj-62", + "fontname" : "Arial", + "fontsize" : 9.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : ": minimum frequency in Hz", + "patching_rect" : [ 181.0, 156.0, 343.0, 17.0 ], + "id" : "obj-64", + "fontname" : "Arial", + "fontsize" : 9.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "estimation quality factor", + "linecount" : 2, + "patching_rect" : [ 50.0, 287.0, 70.0, 27.0 ], + "id" : "obj-82", + "fontname" : "Arial", + "fontsize" : 9.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "flonum", + "patching_rect" : [ 647.0, 253.0, 50.0, 19.0 ], + "outlettype" : [ "float", "bang" ], + "id" : "obj-68", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "button", + "patching_rect" : [ 569.0, 218.0, 47.0, 47.0 ], + "outlettype" : [ "bang" ], + "presentation" : 1, + "id" : "obj-40", + "numinlets" : 1, + "presentation_rect" : [ 359.0, 334.0, 47.0, 47.0 ], + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "/medianOnset", + "patching_rect" : [ 508.0, 373.0, 81.0, 17.0 ], + "outlettype" : [ "" ], + "id" : "obj-39", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend /medianAubioData", + "patching_rect" : [ 627.0, 214.0, 149.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-37", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend /rawAubioData", + "patching_rect" : [ 451.0, 281.0, 130.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-5", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "raw detection function value", + "linecount" : 2, + "patching_rect" : [ 415.0, 208.0, 150.0, 31.0 ], + "id" : "obj-32", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "flonum", + "patching_rect" : [ 366.0, 209.0, 50.0, 19.0 ], + "outlettype" : [ "float", "bang" ], + "id" : "obj-24", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "reset axis /mode ", + "patching_rect" : [ 150.0, 104.0, 97.0, 19.0 ], + "presentation" : 1, + "id" : "obj-23", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 109.0, 137.0, 150.0, 19.0 ], + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "button", + "patching_rect" : [ 129.0, 100.0, 20.0, 20.0 ], + "outlettype" : [ "bang" ], + "presentation" : 1, + "id" : "obj-2", + "numinlets" : 1, + "presentation_rect" : [ 127.0, 159.0, 20.0, 20.0 ], + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "hfc", + "patching_rect" : [ 289.0, 116.0, 45.0, 17.0 ], + "outlettype" : [ "" ], + "id" : "obj-34", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "or send mode as a as message", + "patching_rect" : [ 308.0, 141.0, 176.0, 19.0 ], + "id" : "obj-33", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend /mode", + "patching_rect" : [ 171.0, 288.0, 88.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-31", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "detection mode", + "patching_rect" : [ 145.0, 125.0, 91.0, 19.0 ], + "presentation" : 1, + "id" : "obj-29", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 143.0, 184.0, 91.0, 19.0 ], + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "umenu", + "types" : [ ], + "patching_rect" : [ 129.0, 145.0, 100.0, 19.0 ], + "outlettype" : [ "int", "", "" ], + "presentation" : 1, + "id" : "obj-15", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 127.0, 204.0, 100.0, 19.0 ], + "items" : [ "complex", ",", "energy", ",", "hfc", ",", "specdiff", ",", "phase", ",", "kl", ",", "mkl" ], + "numoutlets" : 3 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "send osc data to aubioOnsetVisualiser in openFrameworks", + "linecount" : 3, + "patching_rect" : [ 449.0, 310.0, 117.0, 43.0 ], + "id" : "obj-28", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "print detection function value at onsets", + "linecount" : 2, + "patching_rect" : [ 256.0, 375.0, 150.0, 31.0 ], + "id" : "obj-26", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "toggle", + "patching_rect" : [ 221.0, 321.0, 20.0, 20.0 ], + "outlettype" : [ "int" ], + "id" : "obj-18", + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "gate", + "patching_rect" : [ 221.0, 364.0, 33.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-13", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "detection function as float", + "patching_rect" : [ 409.0, 244.0, 150.0, 19.0 ], + "presentation" : 1, + "id" : "obj-11", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 407.0, 303.0, 150.0, 19.0 ], + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "/onset", + "patching_rect" : [ 287.0, 282.0, 43.0, 17.0 ], + "outlettype" : [ "" ], + "id" : "obj-22", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "energy", + "patching_rect" : [ 262.0, 142.0, 45.0, 17.0 ], + "outlettype" : [ "" ], + "id" : "obj-25", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend /aubioData", + "patching_rect" : [ 336.0, 280.0, 111.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-21", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "udpsend 127.0.0.1 12345", + "patching_rect" : [ 441.0, 399.0, 141.0, 19.0 ], + "id" : "obj-20", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "float 0.", + "patching_rect" : [ 235.0, 343.0, 46.0, 19.0 ], + "outlettype" : [ "float" ], + "id" : "obj-16", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "print", + "patching_rect" : [ 221.0, 386.0, 34.0, 19.0 ], + "id" : "obj-19", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "flonum", + "patching_rect" : [ 358.0, 245.0, 49.0, 19.0 ], + "outlettype" : [ "float", "bang" ], + "presentation" : 1, + "id" : "obj-17", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 356.0, 304.0, 49.0, 19.0 ], + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "threshold", + "patching_rect" : [ 64.0, 123.0, 58.0, 19.0 ], + "presentation" : 1, + "id" : "obj-6", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 62.0, 182.0, 58.0, 19.0 ], + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "flonum", + "patching_rect" : [ 68.0, 144.0, 50.0, 19.0 ], + "outlettype" : [ "float", "bang" ], + "presentation" : 1, + "id" : "obj-9", + "fontname" : "Verdana", + "minimum" : 0.1, + "fontsize" : 10.0, + "numinlets" : 1, + "maximum" : 10.0, + "presentation_rect" : [ 66.0, 203.0, 50.0, 19.0 ], + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "button", + "patching_rect" : [ 287.0, 219.0, 47.0, 47.0 ], + "outlettype" : [ "bang" ], + "presentation" : 1, + "id" : "obj-7", + "numinlets" : 1, + "presentation_rect" : [ 354.0, 247.0, 47.0, 47.0 ], + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "aubioOnsetDetect~ 0.4", + "patching_rect" : [ 254.0, 182.0, 340.0, 19.0 ], + "outlettype" : [ "signal", "bang", "float", "float", "bang", "float" ], + "id" : "obj-1", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 6 + } + + } +, { + "box" : { + "maxclass" : "inlet", + "patching_rect" : [ 254.0, 40.0, 25.0, 25.0 ], + "outlettype" : [ "signal" ], + "id" : "obj-121", + "numinlets" : 0, + "numoutlets" : 1, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "inlet", + "patching_rect" : [ 441.0, 40.0, 25.0, 25.0 ], + "outlettype" : [ "" ], + "id" : "obj-122", + "numinlets" : 0, + "numoutlets" : 1, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "outlet", + "patching_rect" : [ 254.0, 478.0, 25.0, 25.0 ], + "id" : "obj-123", + "numinlets" : 1, + "numoutlets" : 0, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "outlet", + "patching_rect" : [ 287.0, 478.0, 25.0, 25.0 ], + "id" : "obj-124", + "numinlets" : 1, + "numoutlets" : 0, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "outlet", + "patching_rect" : [ 382.0, 478.0, 25.0, 25.0 ], + "id" : "obj-125", + "numinlets" : 1, + "numoutlets" : 0, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "outlet", + "patching_rect" : [ 569.0, 478.0, 25.0, 25.0 ], + "id" : "obj-126", + "numinlets" : 1, + "numoutlets" : 0, + "comment" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "source" : [ "obj-40", 0 ], + "destination" : [ "obj-126", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 2 ], + "destination" : [ "obj-125", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-7", 0 ], + "destination" : [ "obj-124", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 0 ], + "destination" : [ "obj-123", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-122", 0 ], + "destination" : [ "obj-20", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-121", 0 ], + "destination" : [ "obj-1", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 5 ], + "destination" : [ "obj-68", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-39", 0 ], + "destination" : [ "obj-20", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 2 ], + "destination" : [ "obj-16", 1 ], + "hidden" : 0, + "midpoints" : [ 391.899994, 227.0, 570.0, 227.0, 570.0, 336.0, 271.5, 336.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 2 ], + "destination" : [ "obj-17", 0 ], + "hidden" : 0, + "midpoints" : [ 391.899994, 237.0, 367.5, 237.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 2 ], + "destination" : [ "obj-21", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 3 ], + "destination" : [ "obj-24", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 3 ], + "destination" : [ "obj-5", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 1 ], + "destination" : [ "obj-7", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-15", 1 ], + "destination" : [ "obj-1", 0 ], + "hidden" : 0, + "midpoints" : [ 179.0, 168.0, 263.5, 168.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-25", 0 ], + "destination" : [ "obj-1", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-34", 0 ], + "destination" : [ "obj-1", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-9", 0 ], + "destination" : [ "obj-1", 0 ], + "hidden" : 0, + "midpoints" : [ 77.5, 169.0, 263.5, 169.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-7", 0 ], + "destination" : [ "obj-22", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-7", 0 ], + "destination" : [ "obj-16", 0 ], + "hidden" : 0, + "midpoints" : [ 296.5, 273.0, 244.5, 273.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-5", 0 ], + "destination" : [ "obj-20", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-34", 0 ], + "destination" : [ "obj-31", 0 ], + "hidden" : 0, + "midpoints" : [ 298.5, 169.0, 151.0, 169.0, 151.0, 273.0, 180.5, 273.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-31", 0 ], + "destination" : [ "obj-20", 0 ], + "hidden" : 0, + "midpoints" : [ 180.5, 310.0, 450.5, 310.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-25", 0 ], + "destination" : [ "obj-31", 0 ], + "hidden" : 0, + "midpoints" : [ 271.5, 169.0, 150.0, 169.0, 150.0, 275.0, 160.0, 275.0, 160.0, 275.0, 180.5, 275.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-22", 0 ], + "destination" : [ "obj-20", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-21", 0 ], + "destination" : [ "obj-20", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-2", 0 ], + "destination" : [ "obj-15", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-18", 0 ], + "destination" : [ "obj-13", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-16", 0 ], + "destination" : [ "obj-13", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-15", 1 ], + "destination" : [ "obj-31", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-13", 0 ], + "destination" : [ "obj-19", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-37", 0 ], + "destination" : [ "obj-20", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 4 ], + "destination" : [ "obj-40", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 5 ], + "destination" : [ "obj-37", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-40", 0 ], + "destination" : [ "obj-39", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } + ] + } +, + "saved_object_attributes" : { + "default_fontname" : "Arial", + "fontname" : "Arial", + "default_fontsize" : 12.0, + "globalpatchername" : "", + "fontface" : 0, + "fontsize" : 12.0, + "default_fontface" : 0 + } + + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "soundfile load", + "patching_rect" : [ 536.0, 258.0, 150.0, 19.0 ], + "id" : "obj-142", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "open", + "patching_rect" : [ 560.0, 285.0, 35.0, 17.0 ], + "outlettype" : [ "" ], + "presentation" : 1, + "id" : "obj-143", + "fontname" : "Verdana", + "bgcolor" : [ 0.615686, 0.552941, 0.827451, 1.0 ], + "fontsize" : 10.0, + "numinlets" : 2, + "presentation_rect" : [ 678.0, 152.0, 35.0, 17.0 ], + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "1", + "patching_rect" : [ 634.0, 285.0, 32.5, 17.0 ], + "outlettype" : [ "" ], + "presentation" : 1, + "id" : "obj-144", + "fontname" : "Verdana", + "bgcolor" : [ 0.615686, 0.552941, 0.827451, 1.0 ], + "fontsize" : 10.0, + "numinlets" : 2, + "presentation_rect" : [ 751.0, 152.0, 32.5, 17.0 ], + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "0", + "patching_rect" : [ 599.0, 285.0, 32.5, 17.0 ], + "outlettype" : [ "" ], + "presentation" : 1, + "id" : "obj-145", + "fontname" : "Verdana", + "bgcolor" : [ 0.615686, 0.552941, 0.827451, 1.0 ], + "fontsize" : 10.0, + "numinlets" : 2, + "presentation_rect" : [ 716.0, 152.0, 32.5, 17.0 ], + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "sfplay~", + "patching_rect" : [ 564.0, 312.0, 48.0, 19.0 ], + "outlettype" : [ "signal", "bang" ], + "id" : "obj-146", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 2, + "save" : [ "#N", "sfplay~", "", 1, 120960, 0, "", ";" ] + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "p pitchChannel_0", + "patching_rect" : [ 401.0, 711.0, 98.0, 19.0 ], + "outlettype" : [ "float", "", "float" ], + "id" : "obj-140", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 3, + "patcher" : { + "fileversion" : 1, + "rect" : [ 25.0, 69.0, 640.0, 480.0 ], + "bglocked" : 0, + "defrect" : [ 25.0, 69.0, 640.0, 480.0 ], + "openrect" : [ 0.0, 0.0, 0.0, 0.0 ], + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 0, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 0, + "toolbarvisible" : 1, + "boxanimatetime" : 200, + "imprint" : 0, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "boxes" : [ { + "box" : { + "maxclass" : "newobj", + "text" : "s startTime", + "patching_rect" : [ 495.0, 223.0, 67.0, 19.0 ], + "id" : "obj-5", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "r --starting", + "patching_rect" : [ 495.0, 161.0, 66.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-124", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 0, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "loadmess 2", + "patching_rect" : [ 34.0, 73.0, 72.0, 20.0 ], + "outlettype" : [ "" ], + "id" : "obj-9", + "fontname" : "Arial", + "fontsize" : 12.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "switch 2", + "patching_rect" : [ 215.0, 145.0, 54.0, 20.0 ], + "outlettype" : [ "" ], + "id" : "obj-8", + "fontname" : "Arial", + "fontsize" : 12.0, + "numinlets" : 3, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "umenu", + "types" : [ ], + "patching_rect" : [ 37.0, 103.0, 100.0, 20.0 ], + "outlettype" : [ "int", "", "" ], + "id" : "obj-7", + "fontname" : "Arial", + "fontsize" : 12.0, + "numinlets" : 1, + "items" : [ "none", ",", "aubioPitch", ",", "yin" ], + "numoutlets" : 3 + } + + } +, { + "box" : { + "maxclass" : "flonum", + "patching_rect" : [ 275.0, 120.0, 50.0, 20.0 ], + "outlettype" : [ "float", "bang" ], + "id" : "obj-6", + "fontname" : "Arial", + "fontsize" : 12.0, + "numinlets" : 1, + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "yin~ 3 10. 5.", + "patching_rect" : [ 250.0, 94.0, 76.0, 20.0 ], + "outlettype" : [ "float", "float", "float" ], + "id" : "obj-4", + "fontname" : "Arial", + "fontsize" : 12.0, + "numinlets" : 1, + "numoutlets" : 3 + } + + } +, { + "box" : { + "maxclass" : "outlet", + "patching_rect" : [ 419.0, 417.0, 25.0, 25.0 ], + "id" : "obj-3", + "numinlets" : 1, + "numoutlets" : 0, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "outlet", + "patching_rect" : [ 302.0, 413.0, 25.0, 25.0 ], + "id" : "obj-2", + "numinlets" : 1, + "numoutlets" : 0, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "outlet", + "patching_rect" : [ 244.0, 417.0, 25.0, 25.0 ], + "id" : "obj-1", + "numinlets" : 1, + "numoutlets" : 0, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "flonum", + "patching_rect" : [ 154.0, 98.0, 50.0, 19.0 ], + "outlettype" : [ "float", "bang" ], + "id" : "obj-47", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "- 0.", + "patching_rect" : [ 436.0, 217.0, 32.5, 19.0 ], + "outlettype" : [ "float" ], + "id" : "obj-88", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "cpuclock", + "patching_rect" : [ 495.0, 189.0, 53.0, 19.0 ], + "outlettype" : [ "float" ], + "id" : "obj-87", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "sending osc of pitch", + "patching_rect" : [ 293.0, 273.0, 150.0, 19.0 ], + "id" : "obj-86", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "number", + "patching_rect" : [ 436.0, 244.0, 72.0, 19.0 ], + "outlettype" : [ "int", "bang" ], + "id" : "obj-83", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend /aubioPitch 1", + "patching_rect" : [ 248.0, 304.0, 122.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-77", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "49.15 234141", + "patching_rect" : [ 50.0, 305.0, 187.0, 17.0 ], + "outlettype" : [ "" ], + "id" : "obj-65", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "pack 0. 0", + "patching_rect" : [ 220.0, 270.0, 61.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-60", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "cpuclock", + "patching_rect" : [ 436.0, 189.0, 53.0, 19.0 ], + "outlettype" : [ "float" ], + "id" : "obj-59", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "delay 100", + "patching_rect" : [ 372.0, 113.0, 60.0, 19.0 ], + "outlettype" : [ "bang" ], + "id" : "obj-58", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "flonum", + "patching_rect" : [ 141.0, 232.0, 50.0, 19.0 ], + "outlettype" : [ "float", "bang" ], + "id" : "obj-57", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "f 0.", + "patching_rect" : [ 201.0, 187.0, 32.5, 19.0 ], + "outlettype" : [ "float" ], + "id" : "obj-48", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "aubiopitch~", + "patching_rect" : [ 149.0, 70.0, 71.0, 19.0 ], + "outlettype" : [ "signal", "float" ], + "id" : "obj-44", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "inlet", + "patching_rect" : [ 436.0, 26.0, 25.0, 25.0 ], + "outlettype" : [ "" ], + "id" : "obj-135", + "numinlets" : 0, + "numoutlets" : 1, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "inlet", + "patching_rect" : [ 183.0, 12.0, 25.0, 25.0 ], + "outlettype" : [ "signal" ], + "id" : "obj-136", + "numinlets" : 0, + "numoutlets" : 1, + "comment" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "source" : [ "obj-9", 0 ], + "destination" : [ "obj-7", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-8", 0 ], + "destination" : [ "obj-48", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-7", 0 ], + "destination" : [ "obj-8", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-4", 0 ], + "destination" : [ "obj-8", 2 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-44", 1 ], + "destination" : [ "obj-8", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-4", 0 ], + "destination" : [ "obj-6", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-136", 0 ], + "destination" : [ "obj-4", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-77", 0 ], + "destination" : [ "obj-2", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-57", 0 ], + "destination" : [ "obj-1", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-88", 0 ], + "destination" : [ "obj-83", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-59", 0 ], + "destination" : [ "obj-88", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-87", 0 ], + "destination" : [ "obj-88", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-60", 0 ], + "destination" : [ "obj-65", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-83", 0 ], + "destination" : [ "obj-60", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-58", 0 ], + "destination" : [ "obj-48", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-48", 0 ], + "destination" : [ "obj-57", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-44", 1 ], + "destination" : [ "obj-47", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-60", 0 ], + "destination" : [ "obj-77", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-135", 0 ], + "destination" : [ "obj-58", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-135", 0 ], + "destination" : [ "obj-59", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-136", 0 ], + "destination" : [ "obj-44", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-57", 0 ], + "destination" : [ "obj-3", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-48", 0 ], + "destination" : [ "obj-60", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-124", 0 ], + "destination" : [ "obj-87", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-87", 0 ], + "destination" : [ "obj-5", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } + ] + } +, + "saved_object_attributes" : { + "default_fontname" : "Arial", + "fontname" : "Arial", + "default_fontsize" : 12.0, + "globalpatchername" : "", + "fontface" : 0, + "fontsize" : 12.0, + "default_fontface" : 0 + } + + } + + } +, { + "box" : { + "maxclass" : "button", + "patching_rect" : [ 300.0, 678.0, 59.0, 59.0 ], + "outlettype" : [ "bang" ], + "presentation" : 1, + "id" : "obj-130", + "numinlets" : 1, + "presentation_rect" : [ 17.0, 286.0, 41.0, 41.0 ], + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "p aubioOnsetDeetection", + "patching_rect" : [ 172.0, 360.0, 131.0, 19.0 ], + "outlettype" : [ "signal", "bang", "float", "bang" ], + "id" : "obj-128", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 4, + "patcher" : { + "fileversion" : 1, + "rect" : [ 25.0, 69.0, 889.0, 558.0 ], + "bglocked" : 0, + "defrect" : [ 25.0, 69.0, 889.0, 558.0 ], + "openrect" : [ 0.0, 0.0, 0.0, 0.0 ], + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 0, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 0, + "toolbarvisible" : 1, + "boxanimatetime" : 200, + "imprint" : 0, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "boxes" : [ { + "box" : { + "maxclass" : "comment", + "text" : ": output period in msecs (will be rounded up to control rate)", + "patching_rect" : [ 181.0, 168.0, 343.0, 17.0 ], + "id" : "obj-62", + "fontname" : "Arial", + "fontsize" : 9.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : ": minimum frequency in Hz", + "patching_rect" : [ 181.0, 156.0, 343.0, 17.0 ], + "id" : "obj-64", + "fontname" : "Arial", + "fontsize" : 9.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "estimation quality factor", + "linecount" : 2, + "patching_rect" : [ 50.0, 287.0, 70.0, 27.0 ], + "id" : "obj-82", + "fontname" : "Arial", + "fontsize" : 9.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "flonum", + "patching_rect" : [ 647.0, 253.0, 50.0, 19.0 ], + "outlettype" : [ "float", "bang" ], + "id" : "obj-68", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "button", + "patching_rect" : [ 569.0, 218.0, 47.0, 47.0 ], + "outlettype" : [ "bang" ], + "presentation" : 1, + "id" : "obj-40", + "numinlets" : 1, + "presentation_rect" : [ 359.0, 334.0, 47.0, 47.0 ], + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "/medianOnset", + "patching_rect" : [ 508.0, 373.0, 81.0, 17.0 ], + "outlettype" : [ "" ], + "id" : "obj-39", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend /medianAubioData", + "patching_rect" : [ 627.0, 214.0, 149.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-37", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend /rawAubioData", + "patching_rect" : [ 451.0, 281.0, 130.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-5", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "raw detection function value", + "linecount" : 2, + "patching_rect" : [ 415.0, 208.0, 150.0, 31.0 ], + "id" : "obj-32", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "flonum", + "patching_rect" : [ 366.0, 209.0, 50.0, 19.0 ], + "outlettype" : [ "float", "bang" ], + "id" : "obj-24", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "reset axis /mode ", + "patching_rect" : [ 150.0, 104.0, 97.0, 19.0 ], + "presentation" : 1, + "id" : "obj-23", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 109.0, 137.0, 150.0, 19.0 ], + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "button", + "patching_rect" : [ 129.0, 100.0, 20.0, 20.0 ], + "outlettype" : [ "bang" ], + "presentation" : 1, + "id" : "obj-2", + "numinlets" : 1, + "presentation_rect" : [ 127.0, 159.0, 20.0, 20.0 ], + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "hfc", + "patching_rect" : [ 289.0, 116.0, 45.0, 17.0 ], + "outlettype" : [ "" ], + "id" : "obj-34", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "or send mode as a as message", + "patching_rect" : [ 308.0, 141.0, 176.0, 19.0 ], + "id" : "obj-33", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend /mode", + "patching_rect" : [ 171.0, 288.0, 88.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-31", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "detection mode", + "patching_rect" : [ 145.0, 125.0, 91.0, 19.0 ], + "presentation" : 1, + "id" : "obj-29", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 143.0, 184.0, 91.0, 19.0 ], + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "umenu", + "types" : [ ], + "patching_rect" : [ 129.0, 145.0, 100.0, 19.0 ], + "outlettype" : [ "int", "", "" ], + "presentation" : 1, + "id" : "obj-15", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 127.0, 204.0, 100.0, 19.0 ], + "items" : [ "complex", ",", "energy", ",", "hfc", ",", "specdiff", ",", "phase", ",", "kl", ",", "mkl" ], + "numoutlets" : 3 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "send osc data to aubioOnsetVisualiser in openFrameworks", + "linecount" : 3, + "patching_rect" : [ 449.0, 310.0, 117.0, 43.0 ], + "id" : "obj-28", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "print detection function value at onsets", + "linecount" : 2, + "patching_rect" : [ 256.0, 375.0, 150.0, 31.0 ], + "id" : "obj-26", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "toggle", + "patching_rect" : [ 221.0, 321.0, 20.0, 20.0 ], + "outlettype" : [ "int" ], + "id" : "obj-18", + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "gate", + "patching_rect" : [ 221.0, 364.0, 33.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-13", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "detection function as float", + "patching_rect" : [ 409.0, 244.0, 150.0, 19.0 ], + "presentation" : 1, + "id" : "obj-11", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 407.0, 303.0, 150.0, 19.0 ], + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "/onset", + "patching_rect" : [ 287.0, 282.0, 43.0, 17.0 ], + "outlettype" : [ "" ], + "id" : "obj-22", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "energy", + "patching_rect" : [ 262.0, 142.0, 45.0, 17.0 ], + "outlettype" : [ "" ], + "id" : "obj-25", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend /aubioData", + "patching_rect" : [ 336.0, 280.0, 111.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-21", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "udpsend 127.0.0.1 12345", + "patching_rect" : [ 441.0, 399.0, 141.0, 19.0 ], + "id" : "obj-20", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "float 0.", + "patching_rect" : [ 235.0, 343.0, 46.0, 19.0 ], + "outlettype" : [ "float" ], + "id" : "obj-16", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "print", + "patching_rect" : [ 221.0, 386.0, 34.0, 19.0 ], + "id" : "obj-19", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "flonum", + "patching_rect" : [ 358.0, 245.0, 49.0, 19.0 ], + "outlettype" : [ "float", "bang" ], + "presentation" : 1, + "id" : "obj-17", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 356.0, 304.0, 49.0, 19.0 ], + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "threshold", + "patching_rect" : [ 64.0, 123.0, 58.0, 19.0 ], + "presentation" : 1, + "id" : "obj-6", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 62.0, 182.0, 58.0, 19.0 ], + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "flonum", + "patching_rect" : [ 68.0, 144.0, 50.0, 19.0 ], + "outlettype" : [ "float", "bang" ], + "presentation" : 1, + "id" : "obj-9", + "fontname" : "Verdana", + "minimum" : 0.1, + "fontsize" : 10.0, + "numinlets" : 1, + "maximum" : 10.0, + "presentation_rect" : [ 66.0, 203.0, 50.0, 19.0 ], + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "button", + "patching_rect" : [ 287.0, 219.0, 47.0, 47.0 ], + "outlettype" : [ "bang" ], + "presentation" : 1, + "id" : "obj-7", + "numinlets" : 1, + "presentation_rect" : [ 354.0, 247.0, 47.0, 47.0 ], + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "aubioOnsetDetect~ 0.4", + "patching_rect" : [ 254.0, 182.0, 340.0, 19.0 ], + "outlettype" : [ "signal", "bang", "float", "float", "bang", "float" ], + "id" : "obj-1", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 6 + } + + } +, { + "box" : { + "maxclass" : "inlet", + "patching_rect" : [ 254.0, 40.0, 25.0, 25.0 ], + "outlettype" : [ "signal" ], + "id" : "obj-121", + "numinlets" : 0, + "numoutlets" : 1, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "inlet", + "patching_rect" : [ 441.0, 40.0, 25.0, 25.0 ], + "outlettype" : [ "" ], + "id" : "obj-122", + "numinlets" : 0, + "numoutlets" : 1, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "outlet", + "patching_rect" : [ 254.0, 478.0, 25.0, 25.0 ], + "id" : "obj-123", + "numinlets" : 1, + "numoutlets" : 0, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "outlet", + "patching_rect" : [ 287.0, 478.0, 25.0, 25.0 ], + "id" : "obj-124", + "numinlets" : 1, + "numoutlets" : 0, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "outlet", + "patching_rect" : [ 382.0, 478.0, 25.0, 25.0 ], + "id" : "obj-125", + "numinlets" : 1, + "numoutlets" : 0, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "outlet", + "patching_rect" : [ 569.0, 478.0, 25.0, 25.0 ], + "id" : "obj-126", + "numinlets" : 1, + "numoutlets" : 0, + "comment" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "source" : [ "obj-40", 0 ], + "destination" : [ "obj-39", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 5 ], + "destination" : [ "obj-37", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 4 ], + "destination" : [ "obj-40", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-37", 0 ], + "destination" : [ "obj-20", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-13", 0 ], + "destination" : [ "obj-19", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-15", 1 ], + "destination" : [ "obj-31", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-16", 0 ], + "destination" : [ "obj-13", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-18", 0 ], + "destination" : [ "obj-13", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-2", 0 ], + "destination" : [ "obj-15", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-21", 0 ], + "destination" : [ "obj-20", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-22", 0 ], + "destination" : [ "obj-20", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-25", 0 ], + "destination" : [ "obj-31", 0 ], + "hidden" : 0, + "midpoints" : [ 271.5, 169.0, 150.0, 169.0, 150.0, 275.0, 160.0, 275.0, 160.0, 275.0, 180.5, 275.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-31", 0 ], + "destination" : [ "obj-20", 0 ], + "hidden" : 0, + "midpoints" : [ 180.5, 310.0, 450.5, 310.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-34", 0 ], + "destination" : [ "obj-31", 0 ], + "hidden" : 0, + "midpoints" : [ 298.5, 169.0, 151.0, 169.0, 151.0, 273.0, 180.5, 273.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-5", 0 ], + "destination" : [ "obj-20", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-7", 0 ], + "destination" : [ "obj-16", 0 ], + "hidden" : 0, + "midpoints" : [ 296.5, 273.0, 244.5, 273.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-7", 0 ], + "destination" : [ "obj-22", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-9", 0 ], + "destination" : [ "obj-1", 0 ], + "hidden" : 0, + "midpoints" : [ 77.5, 169.0, 263.5, 169.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-34", 0 ], + "destination" : [ "obj-1", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-25", 0 ], + "destination" : [ "obj-1", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-15", 1 ], + "destination" : [ "obj-1", 0 ], + "hidden" : 0, + "midpoints" : [ 179.0, 168.0, 263.5, 168.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 1 ], + "destination" : [ "obj-7", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 3 ], + "destination" : [ "obj-5", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 3 ], + "destination" : [ "obj-24", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 2 ], + "destination" : [ "obj-21", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 2 ], + "destination" : [ "obj-17", 0 ], + "hidden" : 0, + "midpoints" : [ 391.899994, 237.0, 367.5, 237.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 2 ], + "destination" : [ "obj-16", 1 ], + "hidden" : 0, + "midpoints" : [ 391.899994, 227.0, 570.0, 227.0, 570.0, 336.0, 271.5, 336.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-39", 0 ], + "destination" : [ "obj-20", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 5 ], + "destination" : [ "obj-68", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-121", 0 ], + "destination" : [ "obj-1", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-122", 0 ], + "destination" : [ "obj-20", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 0 ], + "destination" : [ "obj-123", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-7", 0 ], + "destination" : [ "obj-124", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 2 ], + "destination" : [ "obj-125", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-40", 0 ], + "destination" : [ "obj-126", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } + ] + } +, + "saved_object_attributes" : { + "default_fontname" : "Arial", + "fontname" : "Arial", + "default_fontsize" : 12.0, + "globalpatchername" : "", + "fontface" : 0, + "fontsize" : 12.0, + "default_fontface" : 0 + } + + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "/kick 0 234047", + "patching_rect" : [ 692.0, 755.0, 130.0, 17.0 ], + "outlettype" : [ "" ], + "id" : "obj-112", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "number", + "patching_rect" : [ 591.0, 611.0, 60.0, 19.0 ], + "outlettype" : [ "int", "bang" ], + "id" : "obj-110", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "start button", + "patching_rect" : [ 397.0, 590.0, 75.0, 19.0 ], + "id" : "obj-108", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "- 0.", + "patching_rect" : [ 591.0, 582.0, 32.5, 19.0 ], + "outlettype" : [ "float" ], + "id" : "obj-105", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "cpuclock", + "patching_rect" : [ 591.0, 550.0, 53.0, 19.0 ], + "outlettype" : [ "float" ], + "id" : "obj-104", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "/kick 0 $1", + "patching_rect" : [ 626.0, 733.0, 61.0, 17.0 ], + "outlettype" : [ "" ], + "id" : "obj-103", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "button", + "patching_rect" : [ 462.0, 591.0, 20.0, 20.0 ], + "outlettype" : [ "bang" ], + "id" : "obj-91", + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "soundfile load", + "patching_rect" : [ 143.0, 260.0, 150.0, 19.0 ], + "id" : "obj-81", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "umenu", + "types" : [ ], + "patching_rect" : [ 424.0, 625.0, 100.0, 19.0 ], + "outlettype" : [ "int", "", "" ], + "presentation" : 1, + "id" : "obj-80", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "presentation_rect" : [ 5.0, 355.0, 81.0, 19.0 ], + "items" : [ "click", "off", ",", "slope", "detect", ",", "threshold", "detect" ], + "numoutlets" : 3 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "switch 2", + "patching_rect" : [ 424.0, 659.0, 52.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-78", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 3, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "loadmess 80", + "patching_rect" : [ 32.0, 941.0, 74.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-127", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "click sound to use", + "patching_rect" : [ 218.0, 1080.0, 108.0, 19.0 ], + "id" : "obj-113", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "1", + "patching_rect" : [ 218.0, 1135.0, 32.5, 17.0 ], + "outlettype" : [ "" ], + "id" : "obj-36", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "loadmess open cow2.wav", + "patching_rect" : [ 241.0, 1105.0, 139.0, 19.0 ], + "outlettype" : [ "" ], + "id" : "obj-72", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "gain~", + "patching_rect" : [ 122.0, 933.0, 20.0, 140.0 ], + "outlettype" : [ "signal", "int" ], + "presentation" : 1, + "id" : "obj-73", + "numinlets" : 2, + "presentation_rect" : [ 832.0, 120.0, 20.0, 140.0 ], + "interp" : 100.0, + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "open", + "patching_rect" : [ 251.0, 1135.0, 35.0, 17.0 ], + "outlettype" : [ "" ], + "id" : "obj-74", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "0", + "patching_rect" : [ 287.0, 1135.0, 32.5, 17.0 ], + "outlettype" : [ "" ], + "id" : "obj-75", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "sfplay~", + "patching_rect" : [ 249.0, 1166.0, 48.0, 19.0 ], + "outlettype" : [ "signal", "bang" ], + "id" : "obj-76", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 2, + "save" : [ "#N", "sfplay~", "", 1, 120960, 0, "", ";" ] + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "seek $1", + "patching_rect" : [ 202.0, 99.0, 50.0, 17.0 ], + "outlettype" : [ "" ], + "id" : "obj-43", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "gain~", + "patching_rect" : [ 79.0, 685.0, 20.0, 140.0 ], + "outlettype" : [ "signal", "int" ], + "presentation" : 1, + "id" : "obj-27", + "numinlets" : 2, + "presentation_rect" : [ 24.0, 85.0, 20.0, 140.0 ], + "numoutlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "threshold can be set on initialisation (default 1.0)", + "linecount" : 2, + "patching_rect" : [ 95.0, 190.0, 150.0, 31.0 ], + "id" : "obj-30", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "open", + "patching_rect" : [ 167.0, 287.0, 35.0, 17.0 ], + "outlettype" : [ "" ], + "presentation" : 1, + "id" : "obj-14", + "fontname" : "Verdana", + "bgcolor" : [ 0.501961, 0.717647, 0.764706, 1.0 ], + "fontsize" : 10.0, + "numinlets" : 2, + "presentation_rect" : [ 678.0, 129.0, 35.0, 17.0 ], + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "1", + "patching_rect" : [ 241.0, 287.0, 32.5, 17.0 ], + "outlettype" : [ "" ], + "presentation" : 1, + "id" : "obj-12", + "fontname" : "Verdana", + "bgcolor" : [ 0.501961, 0.717647, 0.764706, 1.0 ], + "fontsize" : 10.0, + "numinlets" : 2, + "presentation_rect" : [ 751.0, 129.0, 32.5, 17.0 ], + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "0", + "patching_rect" : [ 206.0, 287.0, 32.5, 17.0 ], + "outlettype" : [ "" ], + "presentation" : 1, + "id" : "obj-10", + "fontname" : "Verdana", + "bgcolor" : [ 0.501961, 0.717647, 0.764706, 1.0 ], + "fontsize" : 10.0, + "numinlets" : 2, + "presentation_rect" : [ 716.0, 129.0, 32.5, 17.0 ], + "numoutlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "sfplay~", + "patching_rect" : [ 171.0, 314.0, 48.0, 19.0 ], + "outlettype" : [ "signal", "bang" ], + "id" : "obj-8", + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 2, + "save" : [ "#N", "sfplay~", "", 1, 120960, 0, "", ";" ] + } + + } +, { + "box" : { + "maxclass" : "number~", + "patching_rect" : [ 94.0, 402.0, 56.0, 19.0 ], + "outlettype" : [ "signal", "float" ], + "mode" : 2, + "id" : "obj-3", + "sig" : 0.0, + "fontname" : "Verdana", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 2 + } + + } + ], + "lines" : [ { + "patchline" : { + "source" : [ "obj-69", 0 ], + "destination" : [ "obj-115", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-88", 0 ], + "destination" : [ "obj-69", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-208", 0 ], + "destination" : [ "obj-194", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-86", 0 ], + "destination" : [ "obj-194", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-194", 0 ], + "destination" : [ "obj-200", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-200", 0 ], + "destination" : [ "obj-2", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-2", 0 ], + "destination" : [ "obj-4", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-2", 0 ], + "destination" : [ "obj-4", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-73", 0 ], + "destination" : [ "obj-2", 0 ], + "hidden" : 0, + "midpoints" : [ 130.0, 1080.0, 262.0, 1080.0, 262.0, 940.0, 437.5, 940.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-27", 0 ], + "destination" : [ "obj-2", 0 ], + "hidden" : 0, + "midpoints" : [ 87.0, 840.0, 437.5, 840.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-151", 0 ], + "destination" : [ "obj-2", 0 ], + "hidden" : 0, + "midpoints" : [ 141.0, 848.0, 437.5, 848.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-63", 0 ], + "destination" : [ "obj-2", 0 ], + "hidden" : 0, + "midpoints" : [ 200.0, 847.0, 437.5, 847.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-162", 0 ], + "destination" : [ "obj-2", 0 ], + "hidden" : 0, + "midpoints" : [ 1586.0, 831.0, 437.5, 831.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-86", 0 ], + "destination" : [ "obj-2", 0 ], + "hidden" : 0, + "midpoints" : [ 1253.0, 856.0, 437.5, 856.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-159", 1 ], + "destination" : [ "obj-173", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-9", 0 ], + "destination" : [ "obj-42", 0 ], + "hidden" : 0, + "midpoints" : [ 1608.5, 963.0, 1126.0, 963.0, 1126.0, 785.0, 933.5, 785.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-62", 0 ], + "destination" : [ "obj-9", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 0 ], + "destination" : [ "obj-148", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-191", 0 ], + "destination" : [ "obj-184", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-190", 0 ], + "destination" : [ "obj-172", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-13", 3 ], + "destination" : [ "obj-190", 0 ], + "hidden" : 0, + "midpoints" : [ 968.0, 74.0, 1466.0, 74.0, 1466.0, 385.0, 1526.5, 385.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-13", 0 ], + "destination" : [ "obj-18", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-11", 0 ], + "destination" : [ "obj-13", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-13", 1 ], + "destination" : [ "obj-17", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-13", 2 ], + "destination" : [ "obj-59", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-187", 0 ], + "destination" : [ "obj-186", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-185", 0 ], + "destination" : [ "obj-187", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-167", 0 ], + "destination" : [ "obj-186", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-167", 3 ], + "destination" : [ "obj-185", 2 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-167", 1 ], + "destination" : [ "obj-185", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-184", 0 ], + "destination" : [ "obj-185", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-183", 0 ], + "destination" : [ "obj-170", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-87", 0 ], + "destination" : [ "obj-125", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-182", 0 ], + "destination" : [ "obj-125", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-181", 0 ], + "destination" : [ "obj-50", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-28", 0 ], + "destination" : [ "obj-180", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-115", 0 ], + "destination" : [ "obj-90", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-137", 0 ], + "destination" : [ "obj-115", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-102", 0 ], + "destination" : [ "obj-90", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-102", 0 ], + "destination" : [ "obj-107", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-71", 0 ], + "destination" : [ "obj-77", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-107", 0 ], + "destination" : [ "obj-15", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-90", 0 ], + "destination" : [ "obj-15", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-84", 0 ], + "destination" : [ "obj-15", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-15", 0 ], + "destination" : [ "obj-86", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-15", 1 ], + "destination" : [ "obj-67", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-117", 0 ], + "destination" : [ "obj-15", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-67", 1 ], + "destination" : [ "obj-122", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-122", 1 ], + "destination" : [ "obj-118", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-122", 0 ], + "destination" : [ "obj-119", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-119", 0 ], + "destination" : [ "obj-123", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-123", 0 ], + "destination" : [ "obj-118", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-124", 0 ], + "destination" : [ "obj-123", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-118", 0 ], + "destination" : [ "obj-126", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-118", 0 ], + "destination" : [ "obj-129", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-90", 0 ], + "destination" : [ "obj-131", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-132", 0 ], + "destination" : [ "obj-133", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-134", 0 ], + "destination" : [ "obj-137", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-133", 0 ], + "destination" : [ "obj-135", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-135", 0 ], + "destination" : [ "obj-134", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-82", 0 ], + "destination" : [ "obj-88", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-133", 0 ], + "destination" : [ "obj-121", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-125", 1 ], + "destination" : [ "obj-117", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-125", 0 ], + "destination" : [ "obj-84", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-29", 0 ], + "destination" : [ "obj-117", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-125", 1 ], + "destination" : [ "obj-150", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-150", 0 ], + "destination" : [ "obj-115", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-171", 0 ], + "destination" : [ "obj-172", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-170", 0 ], + "destination" : [ "obj-172", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-169", 0 ], + "destination" : [ "obj-172", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-172", 0 ], + "destination" : [ "obj-167", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-87", 0 ], + "destination" : [ "obj-116", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-79", 0 ], + "destination" : [ "obj-83", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-85", 0 ], + "destination" : [ "obj-79", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-87", 0 ], + "destination" : [ "obj-79", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-156", 0 ], + "destination" : [ "obj-21", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-156", 1 ], + "destination" : [ "obj-100", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-93", 0 ], + "destination" : [ "obj-156", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-131", 0 ], + "destination" : [ "obj-42", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-129", 0 ], + "destination" : [ "obj-42", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-93", 0 ], + "destination" : [ "obj-23", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-7", 0 ], + "destination" : [ "obj-93", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-100", 0 ], + "destination" : [ "obj-11", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-100", 1 ], + "destination" : [ "obj-11", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-60", 0 ], + "destination" : [ "obj-100", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-6", 0 ], + "destination" : [ "obj-99", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-96", 0 ], + "destination" : [ "obj-95", 0 ], + "hidden" : 0, + "midpoints" : [ 1023.5, -140.0, 995.0, -140.0, 995.0, -165.0, 928.5, -165.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-95", 0 ], + "destination" : [ "obj-94", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-93", 0 ], + "destination" : [ "obj-100", 0 ], + "hidden" : 0, + "midpoints" : [ 1070.5, -64.0, 999.5, -64.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-99", 0 ], + "destination" : [ "obj-100", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-95", 0 ], + "destination" : [ "obj-98", 0 ], + "hidden" : 0, + "midpoints" : [ 928.5, -140.0, 995.0, -140.0, 995.0, -165.0, 1023.5, -165.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-94", 0 ], + "destination" : [ "obj-98", 0 ], + "hidden" : 0, + "midpoints" : [ 928.5, -117.0, 995.0, -117.0, 995.0, -164.0, 1023.5, -164.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-98", 0 ], + "destination" : [ "obj-97", 0 ], + "hidden" : 0, + "midpoints" : [ 1023.5, -140.0, 1070.5, -140.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-97", 0 ], + "destination" : [ "obj-93", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-29", 0 ], + "destination" : [ "obj-92", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-83", 0 ], + "destination" : [ "obj-43", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-70", 0 ], + "destination" : [ "obj-73", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-61", 0 ], + "destination" : [ "obj-70", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-26", 0 ], + "destination" : [ "obj-63", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-26", 0 ], + "destination" : [ "obj-27", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-61", 0 ], + "destination" : [ "obj-26", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-26", 0 ], + "destination" : [ "obj-151", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-43", 0 ], + "destination" : [ "obj-91", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-6", 0 ], + "destination" : [ "obj-7", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-21", 0 ], + "destination" : [ "obj-60", 3 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-19", 0 ], + "destination" : [ "obj-60", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-64", 0 ], + "destination" : [ "obj-22", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-64", 0 ], + "destination" : [ "obj-37", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-64", 0 ], + "destination" : [ "obj-39", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-48", 0 ], + "destination" : [ "obj-63", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-29", 0 ], + "destination" : [ "obj-51", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-59", 0 ], + "destination" : [ "obj-52", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-17", 0 ], + "destination" : [ "obj-146", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-39", 0 ], + "destination" : [ "obj-40", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-40", 0 ], + "destination" : [ "obj-42", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-57", 0 ], + "destination" : [ "obj-40", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-57", 0 ], + "destination" : [ "obj-53", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-54", 0 ], + "destination" : [ "obj-57", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-55", 0 ], + "destination" : [ "obj-54", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-56", 0 ], + "destination" : [ "obj-55", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-52", 0 ], + "destination" : [ "obj-48", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-50", 0 ], + "destination" : [ "obj-52", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-51", 0 ], + "destination" : [ "obj-52", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-47", 0 ], + "destination" : [ "obj-45", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-46", 0 ], + "destination" : [ "obj-47", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-48", 1 ], + "destination" : [ "obj-47", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-48", 3 ], + "destination" : [ "obj-47", 2 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-45", 0 ], + "destination" : [ "obj-56", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-38", 0 ], + "destination" : [ "obj-36", 0 ], + "hidden" : 0, + "midpoints" : [ 112.5, 1144.0, 258.0, 1144.0, 258.0, 1119.0, 227.5, 1119.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-147", 0 ], + "destination" : [ "obj-38", 2 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-130", 0 ], + "destination" : [ "obj-38", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-35", 0 ], + "destination" : [ "obj-38", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-140", 1 ], + "destination" : [ "obj-31", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-24", 0 ], + "destination" : [ "obj-20", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-140", 1 ], + "destination" : [ "obj-24", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-22", 0 ], + "destination" : [ "obj-24", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-6", 0 ], + "destination" : [ "obj-5", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-147", 0 ], + "destination" : [ "obj-104", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-140", 0 ], + "destination" : [ "obj-154", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-141", 0 ], + "destination" : [ "obj-152", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-141", 0 ], + "destination" : [ "obj-151", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-141", 3 ], + "destination" : [ "obj-149", 2 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-141", 1 ], + "destination" : [ "obj-149", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-148", 0 ], + "destination" : [ "obj-149", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-149", 0 ], + "destination" : [ "obj-147", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-145", 0 ], + "destination" : [ "obj-146", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-144", 0 ], + "destination" : [ "obj-146", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-143", 0 ], + "destination" : [ "obj-146", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-146", 0 ], + "destination" : [ "obj-141", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-78", 0 ], + "destination" : [ "obj-140", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-128", 0 ], + "destination" : [ "obj-140", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-78", 0 ], + "destination" : [ "obj-130", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-8", 0 ], + "destination" : [ "obj-128", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-128", 0 ], + "destination" : [ "obj-3", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-128", 0 ], + "destination" : [ "obj-27", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-128", 1 ], + "destination" : [ "obj-78", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-128", 3 ], + "destination" : [ "obj-78", 2 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-14", 0 ], + "destination" : [ "obj-8", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-12", 0 ], + "destination" : [ "obj-8", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-10", 0 ], + "destination" : [ "obj-8", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-74", 0 ], + "destination" : [ "obj-76", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-75", 0 ], + "destination" : [ "obj-76", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-76", 0 ], + "destination" : [ "obj-73", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-36", 0 ], + "destination" : [ "obj-76", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-72", 0 ], + "destination" : [ "obj-76", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-127", 0 ], + "destination" : [ "obj-73", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-80", 0 ], + "destination" : [ "obj-78", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-12", 0 ], + "destination" : [ "obj-91", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-104", 0 ], + "destination" : [ "obj-105", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-105", 0 ], + "destination" : [ "obj-110", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-110", 0 ], + "destination" : [ "obj-103", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-103", 0 ], + "destination" : [ "obj-112", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-18", 0 ], + "destination" : [ "obj-8", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-21", 0 ], + "destination" : [ "obj-19", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-6", 0 ], + "destination" : [ "obj-21", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-25", 0 ], + "destination" : [ "obj-128", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-28", 0 ], + "destination" : [ "obj-12", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-28", 0 ], + "destination" : [ "obj-144", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-29", 0 ], + "destination" : [ "obj-10", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-29", 0 ], + "destination" : [ "obj-145", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-103", 0 ], + "destination" : [ "obj-34", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-34", 0 ], + "destination" : [ "obj-66", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-37", 0 ], + "destination" : [ "obj-34", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-25", 1 ], + "destination" : [ "obj-41", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-44", 0 ], + "destination" : [ "obj-25", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 0 ], + "destination" : [ "obj-46", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-1", 0 ], + "destination" : [ "obj-80", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-28", 0 ], + "destination" : [ "obj-116", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-116", 0 ], + "destination" : [ "obj-20", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-140", 2 ], + "destination" : [ "obj-120", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-120", 0 ], + "destination" : [ "obj-138", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-139", 0 ], + "destination" : [ "obj-153", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-153", 0 ], + "destination" : [ "obj-66", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-58", 0 ], + "destination" : [ "obj-52", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-96", 0 ], + "destination" : [ "obj-161", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-167", 0 ], + "destination" : [ "obj-162", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-29", 0 ], + "destination" : [ "obj-175", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-176", 0 ], + "destination" : [ "obj-171", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-186", 0 ], + "destination" : [ "obj-178", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-185", 0 ], + "destination" : [ "obj-192", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-193", 0 ], + "destination" : [ "obj-189", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-193", 0 ], + "destination" : [ "obj-9", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-173", 0 ], + "destination" : [ "obj-193", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-18", 0 ], + "destination" : [ "obj-188", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-197", 0 ], + "destination" : [ "obj-62", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-160", 0 ], + "destination" : [ "obj-155", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-68", 0 ], + "destination" : [ "obj-155", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-185", 0 ], + "destination" : [ "obj-160", 0 ], + "hidden" : 0, + "midpoints" : [ 1685.5, 647.0, 1761.0, 647.0, 1761.0, 714.0, 1675.5, 714.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-155", 0 ], + "destination" : [ "obj-198", 1 ], + "hidden" : 0, + "midpoints" : [ 1675.5, 821.0, 1646.0, 821.0, 1646.0, 789.0, 1636.0, 789.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-159", 0 ], + "destination" : [ "obj-198", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-186", 0 ], + "destination" : [ "obj-159", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-198", 0 ], + "destination" : [ "obj-173", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-65", 0 ], + "destination" : [ "obj-105", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-199", 0 ], + "destination" : [ "obj-55", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-92", 0 ], + "destination" : [ "obj-66", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-43", 0 ], + "destination" : [ "obj-202", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-203", 0 ], + "destination" : [ "obj-8", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-204", 0 ], + "destination" : [ "obj-146", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-205", 0 ], + "destination" : [ "obj-52", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-206", 0 ], + "destination" : [ "obj-172", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-61", 0 ], + "destination" : [ "obj-16", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-16", 0 ], + "destination" : [ "obj-2", 0 ], + "hidden" : 0, + "midpoints" : [ 33.5, 923.0, 74.0, 923.0, 74.0, 890.0, 378.0, 890.0, 378.0, 850.0, 437.5, 850.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-128", 0 ], + "destination" : [ "obj-207", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-207", 1 ], + "destination" : [ "obj-211", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-211", 0 ], + "destination" : [ "obj-210", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-140", 0 ], + "destination" : [ "obj-213", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-213", 0 ], + "destination" : [ "obj-211", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } + ] + } + +} diff -r 8df911733fdc -r 93d21c20cfbc annotationCalculatorSrc/EwertAnnotationReader.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/annotationCalculatorSrc/EwertAnnotationReader.cpp Thu Jun 14 20:04:49 2012 +0100 @@ -0,0 +1,92 @@ +/* + * EwertAnnotationReader.cpp + * annotationResultCalculator + * + * Created by Andrew on 14/05/2012. + * Copyright 2012 QMUL. All rights reserved. + * + */ + +#include "EwertAnnotationReader.h" + +EwertAnnotationReader::EwertAnnotationReader(){ + swapOrder = false; + annotationsLoaded = false; +} + + +void EwertAnnotationReader::clearAlignmentMatrix(){ + alignmentTimes.clear(); + DoubleVector v; + alignmentTimes.push_back(v); + v.clear(); + alignmentTimes.push_back(v); +} +void EwertAnnotationReader::readInBeatsFile(std::string& pathName){ + + // "/Users/andrew/Documents/work/MuseScore/RWC/ANNOTATION/RM-C002_annotation+WavPos.csv" + //beatTimes.clear(); + + clearAlignmentMatrix(); + + printf("READ FILE %s\n", pathName.c_str()); + ifstream file ( pathName.c_str()); + string value, tmpLine; + stringstream iss; + int count = 0; + + while ( file.good() ) + { + getline(file, tmpLine); + iss << tmpLine; + + if (tmpLine.substr(0,1) != "%"){ + + //printf("line%i='%s'", count, tmpLine.c_str()); + count++; + + string::size_type start = tmpLine.find_first_not_of(" ;,\t\v\n"); + + if (start != string::npos){ + + string firstpart = tmpLine.substr(start, string::npos); + + string::size_type end = firstpart.find_first_of(" ;,\t\v\n"); + string part = firstpart.substr(0, end); + + string secondpart = tmpLine.substr(end+1, string::npos); + //start = secondpart.find_first_not_of(" ,\t\v\n"); + //secondpart = tmpLine.substr(end , string::npos); + + double firstTime = atof(part.c_str()); + double secondTime = atof(secondpart.c_str()); + + //printf("%f,%f\n", firstTime, secondTime); + + if (!swapOrder){ + alignmentTimes[0].push_back(firstTime); + alignmentTimes[1].push_back(secondTime); + } else{ + alignmentTimes[0].push_back(secondTime); + alignmentTimes[1].push_back(firstTime); + } + + + + }else {//didnt find separator til end of line + //printf("END: line empty\n"); + } + + }else {//starts with % + //printf("FIRST LINE IGNORED line%i='%s'", count, tmpLine.c_str()); + // count++; + } + + }//end while file is good + + annotationsLoaded = true; + + // printBeatTimes(); + //printf("There are %i BEAT annotations\n", (int)beatTimes.size()); + +} diff -r 8df911733fdc -r 93d21c20cfbc annotationCalculatorSrc/EwertAnnotationReader.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/annotationCalculatorSrc/EwertAnnotationReader.h Thu Jun 14 20:04:49 2012 +0100 @@ -0,0 +1,39 @@ +/* + * EwertAnnotationReader.h + * annotationResultCalculator + * + * Created by Andrew on 14/05/2012. + * Copyright 2012 QMUL. All rights reserved. + * + */ + + +#ifndef EWERT_ANNOTATION_READER +#define EWERT_ANNOTATION_READER + +#include "ofMain.h" + +// basic file operations for text file stuff +#include +#include +using namespace std; + + +class EwertAnnotationReader{ + public: + + EwertAnnotationReader(); + + typedef std::vector DoubleVector; + //DoubleVector beatTimes; + + typedef std::vector DoubleMatrix; + DoubleMatrix alignmentTimes; + + void readInBeatsFile(std::string& pathName); + bool swapOrder; + + void clearAlignmentMatrix(); + bool annotationsLoaded; +}; +#endif \ No newline at end of file diff -r 8df911733fdc -r 93d21c20cfbc annotationCalculatorSrc/testApp.cpp --- a/annotationCalculatorSrc/testApp.cpp Tue May 22 22:53:44 2012 +0100 +++ b/annotationCalculatorSrc/testApp.cpp Thu Jun 14 20:04:49 2012 +0100 @@ -71,6 +71,7 @@ ewertReader.swapOrder = false; ewertAlignmentPath = "../../../data/EwertResults/MarbleArch_Take4_multiMix__MarbleArch_Take6_multiMix.csv"; break; + case 1: liveGroundTruthPath = "../../../data/Lewes/LewesTake14_beatsSV.txt"; rehearsalGroundTruthPath = "../../../data/Lewes/Take13_proper_beatsSV.txt"; diff -r 8df911733fdc -r 93d21c20cfbc bayesianArraySrc/DynamicVector.cpp --- a/bayesianArraySrc/DynamicVector.cpp Tue May 22 22:53:44 2012 +0100 +++ b/bayesianArraySrc/DynamicVector.cpp Thu Jun 14 20:04:49 2012 +0100 @@ -10,6 +10,8 @@ #include "DynamicVector.h" +bool printOutput = false; + DynamicVector::DynamicVector(){ length = 0; arraySize = 0; @@ -381,10 +383,12 @@ //some lines where the bounaries are ofLine(window.x + minScreenIndex, window.y + screenHeight, window.x + minScreenIndex, window.y + screenHeight/2); ofLine(window.x + maxScreenIndex, window.y + screenHeight, window.x + maxScreenIndex, window.y + screenHeight/2); - string infoString = "max "+ofToString(maxVal); - infoString += "\n offset "+ofToString(offset); - ofDrawBitmapString(infoString, window.x + window.width/2, window.y + 15); + /* + string infoString = "max "+ofToString(maxVal); + infoString += "\n offset "+ofToString(offset); + ofDrawBitmapString(infoString, window.x + window.width/2, window.y + 15); + */ // ofDrawBitmapString(ofToString(stepSize, 2)+" "+ofToString(maxScreenIndex - minScreenIndex, 0), 20, 600); } diff -r 8df911733fdc -r 93d21c20cfbc src/AudioEventMatcher.cpp --- a/src/AudioEventMatcher.cpp Tue May 22 22:53:44 2012 +0100 +++ b/src/AudioEventMatcher.cpp Thu Jun 14 20:04:49 2012 +0100 @@ -14,9 +14,11 @@ const float pitchCutOff = 16;//within which pitches are even considered +bool printInfo = false; + AudioEventMatcher::AudioEventMatcher(){ - useChromaDotProduct = false; + useChromaDotProduct = false;//false for most tests printingData = false; @@ -40,6 +42,12 @@ bayesianStruct.startingWindowWidth = 100;//matchWindowWidth / 8; bayesianStruct.matchWindowWidth = matchWindowWidth; + + drawLikelihoods = false; + drawPosterior = false; + + temporal.printOutput = printInfo; + // temporal.setUpEventTimeMatrix(); // recordedTempoData.setUpEventTimeMatrix(); } @@ -179,15 +187,21 @@ bayesianStruct.prior.addConstant(1); } +#pragma mark -update void AudioEventMatcher::updatePosition(){ if (startedPlaying){ - if (!followingLiveInput) +/* if (!followingLiveInput) recordedTracks.updatePosition(); else +*/ recordedTracks.updatePositionToMillis(currentAlignmentPosition); updateBestAlignmentPosition(); + }else{ + recordedTracks.updatePosition(); + markerPlaybackPosition = recordedTracks.loadedAudioFiles[0].fileLoader.onsetDetect.framesToMillis(recordedTracks.loadedAudioFiles[0].fileLoader.onsetDetect.playPositionFrames); + currentAlignmentPosition = markerPlaybackPosition; } updateRecordedTempo(); @@ -229,8 +243,7 @@ bayesianStruct.projectDistribution(newTime, currentAlignmentPosition, projectedPrior);//prior gets updated to where we are now -// printf("updateBestAlignment:: alignment %i:: %i\n", newTime, (int) currentAlignmentPosition); - +// printf("updateBestAlignment:: alignment %i:: %i\n", newTime, (int) currentAlignmentPosition); // printf("ALIGN pos %f time diff %f (now %f , last %f)speed %f :: ALIGN BEST %f\n", tmp, timetmp, (double)ofGetElapsedTimeMillis(), lastAlignmentTime, speedtmp, currentAlignmentPosition); } @@ -238,6 +251,86 @@ return ofGetElapsedTimeMillis() - startTime; } +#pragma mark -markers +void AudioEventMatcher::addMarkerNow(){ + if (!startedPlaying) + markedPoints.addMarker(recordedTracks.loadedAudioFiles[0].fileLoader.onsetDetect.framesToMillis(recordedTracks.loadedAudioFiles[0].fileLoader.onsetDetect.playPositionFrames)); +} + +void AudioEventMatcher::deleteMarkers(){ + markedPoints.markers.clear(); +} + +void AudioEventMatcher::moveToNextMarker(){ + int m = 0; + while (m < markedPoints.markers.size() && markedPoints.markers[m] < currentAlignmentPosition) + m++; + + + if (markedPoints.markers[m] > currentAlignmentPosition){ + setPlaybackPosition(markedPoints.markers[m]); + printf("move to marker %f from current pos %f\n", markedPoints.markers[m], currentAlignmentPosition); + } + +} + +void AudioEventMatcher::moveToPreviousMarker(){ + int m = 0; + while (m < markedPoints.markers.size() && markedPoints.markers[m] < currentAlignmentPosition) + m++; + + if (m > 0 && markedPoints.markers[m-1] < currentAlignmentPosition){ + setPlaybackPosition(markedPoints.markers[m-1]); + printf("move to marker %f from current pos %f\n", markedPoints.markers[m], currentAlignmentPosition); + } +} + +void AudioEventMatcher::deleteNearestMarker(){ + int m = 0; + while (m < markedPoints.markers.size() && markedPoints.markers[m] < currentAlignmentPosition) + m++; + + int markerToDelete = m; + if (m >= 0 && fabs(markedPoints.markers[m] - currentAlignmentPosition) < fabs(markedPoints.markers[m-1] - currentAlignmentPosition)){ + markerToDelete = m-1; + } + + markedPoints.deleteMarker(markerToDelete); + + +} + + +void AudioEventMatcher::setPlaybackPosition(const double& millis){ + if (!startedPlaying) + recordedTracks.updatePlaybackPositionToMillis(millis); +} + +void AudioEventMatcher::goToMarker(const int& markerID){ + if (startedPlaying && markerID >= 0 && markerID < markedPoints.markers.size()){ + double markPosition = markedPoints.markers[markerID]; + setToPosition(markPosition); + } + +} + +void AudioEventMatcher::mousePressed(const int& x){ + if (!startedPlaying){ + double position = (float) x * screenWidthMillis / ofGetWidth(); + position += screenStartTimeMillis; + setPlaybackPosition(position); + } +} + +void AudioEventMatcher::setToPosition(const double& position){ + bayesianStruct.posterior.zero(); + bayesianStruct.posterior.addGaussianShapeFromRealTime(position, 100, 1); +// bayesianStruct.posterior.addConstant(0.1); +// bayesianStruct.prior.zero(); +// bayesianStruct.prior.addConstant(1); +} + +#pragma mark -draw void AudioEventMatcher::draw(){ @@ -262,12 +355,14 @@ //bayesianStruct.relativeSpeedPosterior.drawVector(0, bayesianStruct.relativeSpeedPosterior.getRealTermsAsIndex(2), bayesTempoWindow); temporal.drawTempoArray(bayesLikelihoodWindow); - + + if (printInfo){ drawRecordedTempo(); drawPlayingTempo(); + drawAlignmentTimes(); + } - drawAlignmentTimes(); - + drawMarkers(); } @@ -290,12 +385,14 @@ int xSpeedRatioIndex = (double)(temporal.tempoPosterior.getIndexInRealTerms(currentSpeedRatio)*ofGetWidth())/(double)temporal.tempoPosterior.arraySize; ofSetColor(200,0,0); ofLine(xSpeedRatioIndex, bayesTempoWindow.y, xSpeedRatioIndex, bayesTempoWindow.y + bayesTempoWindow.height); + + if (printInfo){ string tmpString = "playing "+ofToString(temporal.playingTempo); tmpString += ", recorded "+ofToString(recordedTempo); tmpString += " ratio "+ofToString(currentSpeedRatio); ofSetColor(155,155,155); ofDrawBitmapString(tmpString, 20, bayesTempoWindow.y+10); - + } } @@ -325,15 +422,18 @@ bayesianStruct.relativeSpeedPosterior.drawConstrainedVector(0, bayesianStruct.relativeSpeedPosterior.arraySize, 0, ofGetWidth(), bayesTempoWindow); + if (drawLikelihoods) + drawTrackLikelihoods(); - drawTrackLikelihoods(); + // int priorStartIndex = bayesianStruct.prior.getRealTermsAsIndex(screenStartTimeMillis); // int priorEndIndex = bayesianStruct.prior.getRealTermsAsIndex(screenEndTimeMillis); // ofSetColor(0,200,200);//recent prior // recentPrior.drawConstrainedVector(priorStartIndex, priorEndIndex, 0, ofGetWidth(), bayesPositionWindow); - drawInfo(); + if (printInfo) + drawInfo(); } @@ -369,7 +469,6 @@ int index = getScreenWidthIndexOfEventTime(recentPitchEventTime); //this window would be used (recordedTracks.loadedAudioFiles[1].fileLoader.onsetDetect.window); - } int AudioEventMatcher::getScreenWidthIndexOfEventTime(const double& time){ @@ -385,9 +484,10 @@ ofSetColor(0,255,150);//channel priors recentPriors[i].drawConstrainedVector(recentPriors[i].getRealTermsAsIndex(screenStartTimeMillis), recentPriors[i].getRealTermsAsIndex(screenEndTimeMillis), 0, ofGetWidth(), recordedTracks.loadedAudioFiles[i].fileLoader.onsetDetect.window); - + if (printInfo){ ofSetColor(255); ofDrawBitmapString("recent event "+ofToString(recentEventTime[i]), recordedTracks.loadedAudioFiles[i].fileLoader.onsetDetect.window.x + 20, recordedTracks.loadedAudioFiles[i].fileLoader.onsetDetect.window.y + recordedTracks.loadedAudioFiles[i].fileLoader.onsetDetect.window.height - 10); + } } } @@ -428,6 +528,23 @@ } +void AudioEventMatcher::drawMarkers(){ + int i = 0; + while (i < markedPoints.markers.size() && markedPoints.markers[i] < screenStartTimeMillis) + i++; + + while (i < markedPoints.markers.size() && markedPoints.markers[i] < screenStartTimeMillis + screenWidthMillis) { + ofSetColor(255,255,60); + double markerPosition = (markedPoints.markers[i] - screenStartTimeMillis)*ofGetWidth()/screenWidthMillis; + ofLine(markerPosition, bayesPositionWindow.y, markerPosition, bayesPositionWindow.y + bayesPositionWindow.height); + //printf("marker %f pos %f\n", markedPoints.markers[i], markerPosition); + i++; + + } +} + +#pragma mark -newEvents + void AudioEventMatcher::newPitchEvent(const int& channel, const double& pitchIn, const double& timeIn){ if (pitchIn > 0){ liveInput.addPitchEvent(pitchIn, timeIn); @@ -486,6 +603,7 @@ likelihoodVisualisation[2] = bayesianStruct.likelihood; } +#pragma mark -EventMatching //Needs just to set bounds for the matching process, not have TimeIn void AudioEventMatcher::matchNewOnsetEvent(const int& channel, const double& timeIn){ @@ -763,6 +881,7 @@ recordedTracks.windowResized(w,h); bayesTempoWindow.resized(w,h); bayesPositionWindow.resized(w,h); + bayesLikelihoodWindow.resized(w, h); } /* diff -r 8df911733fdc -r 93d21c20cfbc src/AudioEventMatcher.h --- a/src/AudioEventMatcher.h Tue May 22 22:53:44 2012 +0100 +++ b/src/AudioEventMatcher.h Thu Jun 14 20:04:49 2012 +0100 @@ -23,6 +23,7 @@ #include "DynamicVector.h" #include "AccompanimentSynchroniser.h" #include "TempoFollower.h" +#include "MatchMarkers.h" static const int numberOfChannels = 4; @@ -36,17 +37,29 @@ void updatePosition(); void updateBestAlignmentPosition(); + void draw(); void drawBayesianDistributions(); void drawPositionWindow(); void drawTrackLikelihoods(); void drawInfo(); void drawAlignmentTimes(); + void drawMarkers(); void setWindowDimensions(); int getScreenWidthIndexOfEventTime(const double& time); int getTimeNow(); + void addMarkerNow(); + void deleteMarkers(); + void deleteNearestMarker(); + void moveToNextMarker(); + void moveToPreviousMarker(); + void goToMarker(const int& markerID); + void setToPosition(const double& position);//for Bayesian distbn + void setPlaybackPosition(const double& millis); + void mousePressed(const int& x); + void newPitchEvent(const int& channel, const double& pitchIn, const double& timeIn); void newKickEvent(const double& timeIn); void newKickEvent(const int& channel, const double& timeIn); @@ -132,5 +145,12 @@ double euclideanMaximumDistance; bool printingData; + + bool drawLikelihoods; + bool drawPosterior; + + MatchMarkers markedPoints; + double markerPlaybackPosition; + }; #endif diff -r 8df911733fdc -r 93d21c20cfbc src/MatchMarkers.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/MatchMarkers.cpp Thu Jun 14 20:04:49 2012 +0100 @@ -0,0 +1,57 @@ +/* + * MatchMarkers.cpp + * MultipleAudioMathcher + * + * Created by Andrew on 14/06/2012. + * Copyright 2012 QMUL. All rights reserved. + * + */ + +#include "MatchMarkers.h" + +MatchMarkers::MatchMarkers(){ + +} + + +void MatchMarkers::addMarker(const double& markerTime){ + int i = 0; + while (i < markers.size() && markers[i] < markerTime){ + i++; + } + vector::iterator it; + it = markers.begin(); + markers.insert(it + i, markerTime); + + printf("\n"); + for (i = 0;i< markers.size();i++) + printf("marker[%i] %f\n", i, markers[i]); + +} + + +void MatchMarkers::deleteMarker(const int& markerIndex){ + if (markerIndex >= 0 && markerIndex < markers.size()){ + vector::iterator it; + it = markers.begin(); + markers.erase(it+markerIndex); + } +} + +void MatchMarkers::saveMarkers(){ + std::string filePath = "../../../data/markers.txt"; + saveMarkers(filePath); + +} + +void MatchMarkers::saveMarkers(const std::string& filePath){ + if (!markerOutputFile.is_open()){ + markerOutputFile.open(filePath.c_str()); + for (int i = 0;i < markers.size();i++){ + markerOutputFile << markers[i] << endl; + } + markerOutputFile.close(); + } + +} + diff -r 8df911733fdc -r 93d21c20cfbc src/MatchMarkers.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/MatchMarkers.h Thu Jun 14 20:04:49 2012 +0100 @@ -0,0 +1,40 @@ +/* + * MatchMarkers.h + * MultipleAudioMathcher + * + * Created by Andrew on 14/06/2012. + * Copyright 2012 QMUL. All rights reserved. + * + */ + + +#ifndef MATCH_MARKERS_H +#define MATCH_MARKERS_H + +#include +#include +using namespace std; + +#include "ofMain.h" + +class MatchMarkers{ + + public: + MatchMarkers(); + + //vector to hold markers + typedef std::vector DoubleVector; + DoubleVector markers; + + //fns + void addMarker(const double& time); + void deleteMarker(const int& markerIndex); + +//text file stuff + void saveMarkers(); + void saveMarkers(const std::string& filePath); + + ofstream markerOutputFile; + +}; +#endif \ No newline at end of file diff -r 8df911733fdc -r 93d21c20cfbc src/RecordedMultitrackAudio.cpp --- a/src/RecordedMultitrackAudio.cpp Tue May 22 22:53:44 2012 +0100 +++ b/src/RecordedMultitrackAudio.cpp Thu Jun 14 20:04:49 2012 +0100 @@ -16,7 +16,7 @@ printf("loaded max val is %f\n", loadedAudioFiles[0].fileLoader.onsetDetect.onsetDetector.maximumDetectionValue); - int multitrackToLoad = 23; + int multitrackToLoad = 27; setDifferentMultitracks(multitrackToLoad);//command to load this set of audio files - see below //number 7 is problematic with memory @@ -29,7 +29,7 @@ } - +#pragma mark -loadingPrerecordedTracks void RecordedMultitrackAudio::setDifferentMultitracks(const int& setToLoad){ const char *kickfilename ;//= "../../../data/sound/LiveDues/kick_liveDues.wav"; const char *bassfilename ;//"../../../data/sound/LiveDues/bass_upsideLive.wav"; @@ -66,7 +66,9 @@ snarefilename = "/Volumes/Supersaurus/TractorsAlbum/tractorsIdiotDance/tractorsSetToRecord2/Bounces/TakeTwo/03snare_bip.wav"; guitarfilename = "/Volumes/Supersaurus/TractorsAlbum/tractorsIdiotDance/tractorsSetToRecord2/Bounces/TakeTwo/04guitar di_bip.wav"; break; - case 5: + + //LEWES multitracks? + /* case 5: kickfilename = "/Users/andrew/Documents/work/Alignment/MultitrackMatch/tractorsAlign/Take12/02kick_bip.wav"; bassfilename = "/Users/andrew/Documents/work/Alignment/MultitrackMatch/tractorsAlign/Take12/01bass_bip.wav"; snarefilename = "/Users/andrew/Documents/work/Alignment/MultitrackMatch/tractorsAlign/Take12/03snare_bip.wav"; @@ -97,7 +99,7 @@ bassfilename = "/Users/andrew/Documents/work/Alignment/MultitrackMatch/tractorsAlign/DownLine5/01bass.wav"; snarefilename = "/Users/andrew/Documents/work/Alignment/MultitrackMatch/tractorsAlign/DownLine5/03snare.wav"; break; - + */ case 10: kickfilename = "/Volumes/Supersaurus/Gronk/Gronkn/Bounces/MarbleArchMultitracks/Take2/02Kick_bip.wav"; bassfilename = "/Volumes/Supersaurus/Gronk/Gronkn/Bounces/MarbleArchMultitracks/Take2/01Bass.wav"; @@ -127,12 +129,20 @@ break; - case 14: + /*case 14: kickfilename = "/Volumes/Supersaurus/Gronk/Gronkn/Bounces/StationGateMultitracks/TakeOneShorter/02Kick_bip.wav"; bassfilename = "/Volumes/Supersaurus/Gronk/Gronkn/Bounces/StationGateMultitracks/TakeOneShorter/01Bass.wav"; snarefilename ="/Volumes/Supersaurus/Gronk/Gronkn/Bounces/StationGateMultitracks/TakeOneShorter/03Snare_bip.wav"; guitarfilename ="/Volumes/Supersaurus/Gronk/Gronkn/Bounces/StationGateMultitracks/TakeOneShorter/04Elec_SM57_bip.wav"; - break; + break; + */ + case 14: + kickfilename = "/Volumes/Supersaurus/Gronk/Gronkn/Bounces/StationGateMultitracks/TakeTwoFull/02Kick_bip.wav"; + bassfilename = "/Volumes/Supersaurus/Gronk/Gronkn/Bounces/StationGateMultitracks/TakeTwoFull/01Bass.wav"; + snarefilename ="/Volumes/Supersaurus/Gronk/Gronkn/Bounces/StationGateMultitracks/TakeTwoFull/03Snare_bip.wav"; + guitarfilename ="/Volumes/Supersaurus/Gronk/Gronkn/Bounces/StationGateMultitracks/TakeTwoFull/Ac D.I.wav"; + break; + case 15: kickfilename = "/Volumes/Supersaurus/Gronk/Gronkn/Bounces/StationGateMultitracks/TakeTwoShorter/02Kick_bip.wav"; @@ -199,13 +209,39 @@ guitarfilename = "/Volumes/Supersaurus/TractorsAlbum/TractorsMotorcade/Motorcade/Bounces/MotorcadeMulittracks/Motorcade_Take_57/guitar DI_bip.wav"; break; + case 24: + bassfilename = "/Volumes/Supersaurus/Gronk/Gronkn/Bounces/Festival_Multitracks/TakeThree_23/bass D.I.wav"; + kickfilename = "/Volumes/Supersaurus/Gronk/Gronkn/Bounces/Festival_Multitracks/TakeThree_23/Kick_bip.wav"; + snarefilename = "/Volumes/Supersaurus/Gronk/Gronkn/Bounces/Festival_Multitracks/TakeThree_23/Snare_bip.wav"; + guitarfilename = "/Volumes/Supersaurus/Gronk/Gronkn/Bounces/Festival_Multitracks/TakeThree_23/Elec SM57_bip.wav"; + break; + case 25: + bassfilename = "/Volumes/G-FORCE X/WorkBackup/Truck/Stones 1.0/Bounces/Stones_Multitracks/TakeThree_21/Bass DI_bip.wav"; + kickfilename = "/Volumes/G-FORCE X/WorkBackup/Truck/Stones 1.0/Bounces/Stones_Multitracks/TakeThree_21/BD_bip.wav"; + snarefilename = "/Volumes/G-FORCE X/WorkBackup/Truck/Stones 1.0/Bounces/Stones_Multitracks/TakeThree_21/Snr T_bip.wav"; + guitarfilename = "/Volumes/G-FORCE X/WorkBackup/Truck/Stones 1.0/Bounces/Stones_Multitracks/TakeThree_21/Guit 57_bip.wav"; + break; + + case 26: + bassfilename = "/Volumes/Supersaurus/TractorsAlbum/tractorsDemo/Bounces/PennyArcade_Multitracks/TakeTwo_5/bass di_bip.wav"; + kickfilename = "/Volumes/Supersaurus/TractorsAlbum/tractorsDemo/Bounces/PennyArcade_Multitracks/TakeTwo_5/kick_bip.wav"; + snarefilename = "/Volumes/Supersaurus/TractorsAlbum/tractorsDemo/Bounces/PennyArcade_Multitracks/TakeTwo_5/snare_bip.wav"; + guitarfilename = "/Volumes/Supersaurus/TractorsAlbum/tractorsDemo/Bounces/PennyArcade_Multitracks/TakeTwo_5/guitar_bip.wav"; + break; + + case 27: + bassfilename = "/Volumes/Supersaurus/TractorsAlbum/tractorsDemo/Bounces/LewesStudioFinal/bass_DI_bip.wav"; + kickfilename = "/Volumes/Supersaurus/TractorsAlbum/tractorsDemo/Bounces/LewesStudioFinal/kick_bip.wav"; + snarefilename = "/Volumes/Supersaurus/TractorsAlbum/tractorsDemo/Bounces/LewesStudioFinal/snare_bip.wav"; + guitarfilename = "/Volumes/Supersaurus/TractorsAlbum/tractorsDemo/Bounces/LewesStudioFinal/guitar sm57_bip.wav"; + break; } if (kickfilename != NULL) loadAudioTrack(kickfilename, 0); - if (bassfilename != NULL){ + if (bassfilename != NULL){ printf("BASSfilename: %s\n", bassfilename); loadAudioTrack(bassfilename, 1); } @@ -244,7 +280,7 @@ } } - +#pragma mark -update void RecordedMultitrackAudio::updatePosition(){ for (int i = 0;i < numberOfAudioTracks;i++) loadedAudioFiles[i].updateToPlayPosition(); @@ -255,6 +291,11 @@ loadedAudioFiles[i].updateToMillisPosition(millis); } +void RecordedMultitrackAudio::updatePlaybackPositionToMillis(const double& millis){ + for (int i = 0;i < numberOfAudioTracks;i++) + loadedAudioFiles[i].updatePlaybackPositionToMillis(millis); +} + void RecordedMultitrackAudio::switchScreens(){ for (int i = 0;i < numberOfAudioTracks;i++) loadedAudioFiles[i].switchScreens(); @@ -283,11 +324,13 @@ } void RecordedMultitrackAudio::zoomIn(){ + printf("zoom in\n"); for (int i = 0;i < numberOfAudioTracks;i++) loadedAudioFiles[i].fileLoader.zoomIn(); } void RecordedMultitrackAudio::zoomOut(){ + printf("zoom out\n"); for (int i = 0;i < numberOfAudioTracks;i++) loadedAudioFiles[i].fileLoader.zoomOut(); } diff -r 8df911733fdc -r 93d21c20cfbc src/RecordedMultitrackAudio.h --- a/src/RecordedMultitrackAudio.h Tue May 22 22:53:44 2012 +0100 +++ b/src/RecordedMultitrackAudio.h Thu Jun 14 20:04:49 2012 +0100 @@ -33,6 +33,8 @@ void loadTestAudio(); void updatePosition(); void updatePositionToMillis(const double& millis); + void updatePlaybackPositionToMillis(const double& millis); + void drawTracks(); void switchScreens(); void togglePlay(); diff -r 8df911733fdc -r 93d21c20cfbc src/TempoFollower.cpp --- a/src/TempoFollower.cpp Tue May 22 22:53:44 2012 +0100 +++ b/src/TempoFollower.cpp Thu Jun 14 20:04:49 2012 +0100 @@ -179,7 +179,7 @@ ofSetColor(150,150,150); tempoLikelihood.drawConstrainedVector(0, tempoArraySize, 0, ofGetWidth(), window); - + if (printOutput) ofDrawBitmapString("tempo "+ofToString(playingTempo), window.x+ 20, window.y + 40); diff -r 8df911733fdc -r 93d21c20cfbc src/TempoFollower.h --- a/src/TempoFollower.h Tue May 22 22:53:44 2012 +0100 +++ b/src/TempoFollower.h Thu Jun 14 20:04:49 2012 +0100 @@ -78,6 +78,7 @@ double tempoLikelihoodStdDev; void printTempoTimes();//prints global tempo - the playing tempo sequence + bool printOutput; }; #endif \ No newline at end of file diff -r 8df911733fdc -r 93d21c20cfbc src/testApp.cpp --- a/src/testApp.cpp Tue May 22 22:53:44 2012 +0100 +++ b/src/testApp.cpp Thu Jun 14 20:04:49 2012 +0100 @@ -114,6 +114,10 @@ outputWriter.closeFile(); } + if (m.getAddress() == "/marker"){ + eventMatcher.goToMarker(m.getArgAsInt32(0)); + } + if ( m.getAddress() == "/accompanimentRatio" ){ double time = m.getArgAsFloat(0); double ratio = m.getArgAsFloat(1); @@ -163,14 +167,39 @@ } - if (key == 'd'){ + if (key == 'c'){ eventMatcher.useChromaDotProduct = !eventMatcher.useChromaDotProduct; printf("Use dot product is %i\n", eventMatcher.useChromaDotProduct); } if (key == ' '){ - - eventMatcher.recordedTracks.togglePlay(); + if (!eventMatcher.startedPlaying){ + eventMatcher.recordedTracks.togglePlay(); + } + } + //Marker commands + if (key == 'm'){ + eventMatcher.addMarkerNow(); + } + + if (key == 'c'){ + eventMatcher.deleteMarkers(); + } + if (key == 'd'){ + eventMatcher.deleteNearestMarker(); + } + if (key == 's'){ + eventMatcher.markedPoints.saveMarkers(); + } + + + + + if (key == '.'){ + eventMatcher.moveToNextMarker(); + } + if (key == ','){ + eventMatcher.moveToPreviousMarker(); } if (key == 'j'){ @@ -203,6 +232,9 @@ eventMatcher.recordedTracks.zoomIn(); } + if (key == 'l') + eventMatcher.drawLikelihoods = !eventMatcher.drawLikelihoods; + } //-------------------------------------------------------------- @@ -224,7 +256,7 @@ //-------------------------------------------------------------- void testApp::mousePressed(int x, int y, int button){ - + eventMatcher.mousePressed(x); }