Mercurial > hg > multitrack-audio-matcher
changeset 19:1a62561bd72d
Added in tempo follower class that models the tempo of played events
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Thu, 09 Feb 2012 18:09:34 +0000 |
parents | 4ded82fe318d |
children | 4f6006cac9de |
files | MaxPatchToPlayFiles/aubioOnsetPitchSender4.maxpat src/AudioEventMatcher.cpp src/AudioEventMatcher.h src/TempoFollower.cpp src/TempoFollower.h |
diffstat | 5 files changed, 7323 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/MaxPatchToPlayFiles/aubioOnsetPitchSender4.maxpat Thu Feb 09 18:09:34 2012 +0000 @@ -0,0 +1,7105 @@ +{ + "patcher" : { + "fileversion" : 1, + "rect" : [ 388.0, 68.0, 1528.0, 909.0 ], + "bglocked" : 0, + "defrect" : [ 388.0, 68.0, 1528.0, 909.0 ], + "openrect" : [ 0.0, 0.0, 0.0, 0.0 ], + "openinpresentation" : 0, + "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" : "newobj", + "text" : "t b l", + "numoutlets" : 2, + "patching_rect" : [ 869.0, 37.0, 32.5, 19.0 ], + "outlettype" : [ "bang", "" ], + "fontsize" : 10.0, + "id" : "obj-156", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "t b b", + "numoutlets" : 2, + "patching_rect" : [ 1153.0, 315.0, 34.0, 19.0 ], + "outlettype" : [ "bang", "bang" ], + "fontsize" : 10.0, + "id" : "obj-125", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "flonum", + "numoutlets" : 2, + "patching_rect" : [ 1226.0, 337.0, 65.0, 19.0 ], + "outlettype" : [ "float", "bang" ], + "fontsize" : 10.0, + "id" : "obj-121", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "loadmess 1", + "numoutlets" : 1, + "patching_rect" : [ 995.0, 348.0, 68.0, 19.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-82", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "f 1.", + "numoutlets" : 1, + "patching_rect" : [ 977.0, 518.0, 32.5, 19.0 ], + "outlettype" : [ "float" ], + "fontsize" : 10.0, + "id" : "obj-115", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "toggle", + "numoutlets" : 1, + "patching_rect" : [ 976.0, 392.0, 20.0, 20.0 ], + "presentation" : 1, + "outlettype" : [ "int" ], + "presentation_rect" : [ 502.0, 170.0, 20.0, 20.0 ], + "id" : "obj-88", + "numinlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "metro 100", + "numoutlets" : 1, + "patching_rect" : [ 976.0, 423.0, 70.0, 19.0 ], + "outlettype" : [ "bang" ], + "fontsize" : 10.0, + "id" : "obj-69", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "flonum", + "numoutlets" : 2, + "patching_rect" : [ 991.0, 485.0, 50.0, 19.0 ], + "presentation" : 1, + "outlettype" : [ "float", "bang" ], + "fontsize" : 10.0, + "presentation_rect" : [ 580.0, 198.0, 50.0, 19.0 ], + "id" : "obj-137", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "append 1000", + "numoutlets" : 1, + "patching_rect" : [ 1040.0, 423.0, 77.0, 19.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-135", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "line 1.", + "numoutlets" : 2, + "patching_rect" : [ 991.0, 449.0, 46.0, 19.0 ], + "outlettype" : [ "", "" ], + "fontsize" : 10.0, + "id" : "obj-134", + "numinlets" : 3, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "route /setSpeed", + "numoutlets" : 2, + "patching_rect" : [ 1217.0, 296.0, 91.0, 19.0 ], + "outlettype" : [ "", "" ], + "fontsize" : 10.0, + "id" : "obj-133", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "udpreceive 10875", + "numoutlets" : 1, + "patching_rect" : [ 1193.0, 261.0, 101.0, 19.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-132", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend /accompanimentSpeed", + "numoutlets" : 1, + "patching_rect" : [ 991.0, 819.0, 170.0, 19.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-131", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend /accompanimentRatio", + "numoutlets" : 1, + "patching_rect" : [ 1108.0, 756.0, 165.0, 19.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-129", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "60644.550781 0.", + "numoutlets" : 1, + "patching_rect" : [ 1235.0, 776.0, 101.0, 17.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-126", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "r startTime", + "numoutlets" : 1, + "patching_rect" : [ 1319.0, 610.0, 66.0, 19.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-124", + "numinlets" : 0, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "- 0.", + "numoutlets" : 1, + "patching_rect" : [ 1253.0, 662.0, 37.5, 19.0 ], + "outlettype" : [ "float" ], + "fontsize" : 10.0, + "id" : "obj-123", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "t b f", + "numoutlets" : 2, + "patching_rect" : [ 1243.0, 577.0, 64.5, 19.0 ], + "outlettype" : [ "bang", "float" ], + "fontsize" : 10.0, + "id" : "obj-122", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "cpuclock", + "numoutlets" : 1, + "patching_rect" : [ 1253.0, 609.0, 58.0, 19.0 ], + "outlettype" : [ "float" ], + "fontsize" : 10.0, + "id" : "obj-119", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "pack 0. 0.", + "numoutlets" : 1, + "patching_rect" : [ 1253.0, 709.0, 66.0, 19.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-118", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "stop", + "numoutlets" : 1, + "patching_rect" : [ 1240.0, 373.0, 32.5, 17.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-117", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "flonum", + "numoutlets" : 2, + "patching_rect" : [ 1305.0, 447.0, 88.0, 19.0 ], + "outlettype" : [ "float", "bang" ], + "fontsize" : 10.0, + "id" : "obj-107", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "loadmess 1", + "numoutlets" : 1, + "patching_rect" : [ 1257.0, 422.0, 68.0, 19.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-102", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "flonum", + "numoutlets" : 2, + "patching_rect" : [ 1162.0, 446.0, 79.0, 19.0 ], + "presentation" : 1, + "outlettype" : [ "float", "bang" ], + "fontsize" : 10.0, + "presentation_rect" : [ 497.0, 198.0, 79.0, 19.0 ], + "id" : "obj-90", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "gain~", + "numoutlets" : 2, + "patching_rect" : [ 1098.0, 464.0, 20.0, 140.0 ], + "presentation" : 1, + "outlettype" : [ "signal", "int" ], + "presentation_rect" : [ 366.0, 87.0, 20.0, 140.0 ], + "id" : "obj-86", + "numinlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "startloop", + "numoutlets" : 1, + "patching_rect" : [ 1179.0, 374.0, 56.0, 17.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-84", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "buffer~ accomp", + "numoutlets" : 2, + "patching_rect" : [ 1323.0, 371.0, 90.0, 19.0 ], + "outlettype" : [ "float", "bang" ], + "fontsize" : 10.0, + "id" : "obj-77", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "replace", + "numoutlets" : 1, + "patching_rect" : [ 1325.0, 335.0, 47.0, 17.0 ], + "presentation" : 1, + "outlettype" : [ "" ], + "fontsize" : 10.0, + "presentation_rect" : [ 530.0, 171.0, 47.0, 17.0 ], + "id" : "obj-71", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "number~", + "numoutlets" : 2, + "mode" : 2, + "sig" : 0.0, + "patching_rect" : [ 1259.0, 546.0, 108.0, 19.0 ], + "outlettype" : [ "signal", "float" ], + "fontsize" : 10.0, + "id" : "obj-67", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "elastic~ accomp 1", + "numoutlets" : 2, + "patching_rect" : [ 1180.0, 483.0, 147.0, 19.0 ], + "outlettype" : [ "signal", "signal" ], + "fontsize" : 10.0, + "id" : "obj-15", + "numinlets" : 4, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "\"Macintosh HD:/Users/andrew/Documents/work/programming/MadMax/AudioFiles/MultitrackMatch/LiveDuesVerse2/newRoom_verse2dues.wav\"", + "linecount" : 20, + "numoutlets" : 1, + "patching_rect" : [ 930.0, 220.0, 50.0, 248.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-68", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "prefix \"Macintosh HD:/Users/andrew/Documents/work/programming/MadMax/AudioFiles/MultitrackMatch/LiveDuesVerse2/\"", + "linecount" : 3, + "presentation_linecount" : 3, + "numoutlets" : 1, + "patching_rect" : [ 1046.0, 58.0, 325.0, 41.0 ], + "presentation" : 1, + "outlettype" : [ "" ], + "fontsize" : 10.0, + "presentation_rect" : [ 766.0, 24.0, 325.0, 41.0 ], + "id" : "obj-23", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "/start", + "numoutlets" : 1, + "patching_rect" : [ 469.0, 284.0, 38.0, 17.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-116", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "snare", + "numoutlets" : 0, + "patching_rect" : [ 340.0, 251.0, 150.0, 19.0 ], + "presentation" : 1, + "fontsize" : 10.0, + "presentation_rect" : [ 134.0, 232.0, 42.0, 19.0 ], + "id" : "obj-114", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "bass", + "numoutlets" : 0, + "patching_rect" : [ 325.0, 236.0, 150.0, 19.0 ], + "presentation" : 1, + "fontsize" : 10.0, + "presentation_rect" : [ 24.0, 232.0, 35.0, 19.0 ], + "id" : "obj-111", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "kick", + "numoutlets" : 0, + "patching_rect" : [ 310.0, 221.0, 150.0, 19.0 ], + "presentation" : 1, + "fontsize" : 10.0, + "presentation_rect" : [ 78.0, 232.0, 35.0, 19.0 ], + "id" : "obj-109", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "drag and drop foler - number them, 01bass, 02kick, 03snare", + "linecount" : 3, + "numoutlets" : 0, + "patching_rect" : [ 1160.0, -52.0, 150.0, 43.0 ], + "presentation" : 1, + "fontsize" : 10.0, + "presentation_rect" : [ 484.0, 2.0, 346.0, 19.0 ], + "id" : "obj-106", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend prefix", + "numoutlets" : 1, + "patching_rect" : [ 856.0, 9.0, 85.0, 20.0 ], + "outlettype" : [ "" ], + "fontsize" : 11.595187, + "id" : "obj-93", + "numinlets" : 1, + "fontname" : "Arial" + } + + } +, { + "box" : { + "maxclass" : "button", + "numoutlets" : 1, + "patching_rect" : [ 714.0, -14.0, 20.0, 20.0 ], + "outlettype" : [ "bang" ], + "id" : "obj-94", + "numinlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend set", + "numoutlets" : 1, + "patching_rect" : [ 714.0, -39.0, 72.0, 20.0 ], + "outlettype" : [ "" ], + "fontsize" : 11.595187, + "id" : "obj-95", + "numinlets" : 1, + "fontname" : "Arial" + } + + } +, { + "box" : { + "maxclass" : "dropfile", + "types" : [ "fold" ], + "numoutlets" : 2, + "border" : 0.0, + "patching_rect" : [ 809.0, -39.0, 270.0, 19.0 ], + "presentation" : 1, + "outlettype" : [ "", "" ], + "rounded" : 0.0, + "presentation_rect" : [ 488.0, 24.0, 270.0, 19.0 ], + "id" : "obj-96", + "numinlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "route text", + "numoutlets" : 2, + "patching_rect" : [ 856.0, -12.0, 59.0, 20.0 ], + "outlettype" : [ "", "" ], + "fontsize" : 11.595187, + "id" : "obj-97", + "numinlets" : 1, + "fontname" : "Arial" + } + + } +, { + "box" : { + "maxclass" : "textedit", + "text" : "\"Macintosh HD:/Users/andrew/Documents/work/programming/MadMax/AudioFiles/MultitrackMatch/LiveDuesVerse2/\"", + "linecount" : 4, + "presentation_linecount" : 4, + "numoutlets" : 4, + "border" : 1.0, + "patching_rect" : [ 809.0, -40.0, 270.0, 19.0 ], + "presentation" : 1, + "outlettype" : [ "", "int", "", "" ], + "fontsize" : 11.595187, + "rounded" : 6.0, + "presentation_rect" : [ 490.0, 26.0, 270.0, 19.0 ], + "id" : "obj-98", + "numinlets" : 1, + "fontname" : "Arial" + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "autopopulate 1", + "numoutlets" : 1, + "patching_rect" : [ 760.0, 10.0, 87.0, 18.0 ], + "outlettype" : [ "" ], + "fontsize" : 11.595187, + "id" : "obj-99", + "numinlets" : 2, + "fontname" : "Arial" + } + + } +, { + "box" : { + "maxclass" : "umenu", + "types" : [ ], + "numoutlets" : 3, + "patching_rect" : [ 767.0, 96.0, 243.0, 20.0 ], + "presentation" : 1, + "outlettype" : [ "int", "", "" ], + "fontsize" : 11.595187, + "autopopulate" : 1, + "items" : [ "01_bass_verse2dues.wav", ",", "02kick_verse2dues.wav", ",", "03snare_verse2dues.wav", ",", "04elec_verse2dues.wav", ",", "newRoom_verse2dues.wav" ], + "prefix" : "Macintosh HD:/Users/andrew/Documents/work/programming/MadMax/AudioFiles/MultitrackMatch/LiveDuesVerse2/", + "presentation_rect" : [ 523.0, 77.0, 243.0, 20.0 ], + "id" : "obj-100", + "numinlets" : 1, + "fontname" : "Arial" + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "drag and drop a folder on the textedit to populate the umenu!", + "numoutlets" : 0, + "patching_rect" : [ 770.0, -64.0, 336.0, 20.0 ], + "fontsize" : 11.595187, + "id" : "obj-101", + "numinlets" : 1, + "fontname" : "Arial" + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "/stop", + "numoutlets" : 1, + "patching_rect" : [ 434.0, 587.0, 36.0, 17.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-92", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "start offset time (to test recovery..)", + "linecount" : 2, + "numoutlets" : 0, + "patching_rect" : [ 196.0, -147.0, 150.0, 31.0 ], + "fontsize" : 10.0, + "id" : "obj-89", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "button", + "numoutlets" : 1, + "patching_rect" : [ 137.0, -131.0, 20.0, 20.0 ], + "outlettype" : [ "bang" ], + "id" : "obj-87", + "numinlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "number", + "numoutlets" : 2, + "patching_rect" : [ 190.0, -114.0, 50.0, 19.0 ], + "outlettype" : [ "int", "bang" ], + "fontsize" : 10.0, + "id" : "obj-85", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "number", + "numoutlets" : 2, + "patching_rect" : [ 138.0, -79.0, 50.0, 19.0 ], + "outlettype" : [ "int", "bang" ], + "fontsize" : 10.0, + "id" : "obj-83", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "i 0", + "numoutlets" : 1, + "patching_rect" : [ 138.0, -103.0, 32.5, 19.0 ], + "outlettype" : [ "int" ], + "fontsize" : 10.0, + "id" : "obj-79", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "20", + "numoutlets" : 1, + "patching_rect" : [ 183.0, 399.0, 32.5, 17.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-70", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "loadbang", + "numoutlets" : 1, + "patching_rect" : [ 102.0, 364.0, 56.0, 19.0 ], + "outlettype" : [ "bang" ], + "fontsize" : 10.0, + "id" : "obj-61", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "135", + "numoutlets" : 1, + "patching_rect" : [ 68.0, 398.0, 37.0, 17.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-26", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "numoutlets" : 0, + "patching_rect" : [ 88.0, 440.0, 100.0, 19.0 ], + "fontsize" : 10.0, + "id" : "obj-9", + "numinlets" : 0, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "/Users/andrew/Documents/work/programming/MadMax/AudioFiles/LiveDuesVerse2/", + "numoutlets" : 1, + "patching_rect" : [ 693.0, -92.0, 436.0, 17.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-7", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "counter 0 0 5", + "numoutlets" : 4, + "patching_rect" : [ 953.0, 63.0, 78.0, 19.0 ], + "outlettype" : [ "int", "", "", "int" ], + "fontsize" : 10.0, + "id" : "obj-60", + "numinlets" : 5, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "loadmess 1", + "numoutlets" : 1, + "patching_rect" : [ 353.0, 225.0, 68.0, 19.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-1", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "s startTime", + "numoutlets" : 0, + "patching_rect" : [ 359.0, 699.0, 67.0, 19.0 ], + "fontsize" : 10.0, + "id" : "obj-65", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "loadmess 1", + "numoutlets" : 1, + "patching_rect" : [ 715.0, 525.0, 68.0, 19.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-64", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "number~", + "numoutlets" : 2, + "mode" : 2, + "sig" : 0.0, + "patching_rect" : [ 133.0, 494.0, 56.0, 19.0 ], + "outlettype" : [ "signal", "float" ], + "fontsize" : 10.0, + "id" : "obj-62", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "gain~", + "numoutlets" : 2, + "patching_rect" : [ 128.0, 531.0, 20.0, 140.0 ], + "presentation" : 1, + "outlettype" : [ "signal", "int" ], + "presentation_rect" : [ 141.0, 85.0, 20.0, 140.0 ], + "id" : "obj-63", + "numinlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend open", + "numoutlets" : 1, + "patching_rect" : [ 695.0, 135.0, 80.0, 19.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-59", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "open", + "numoutlets" : 1, + "patching_rect" : [ 786.0, 134.0, 35.0, 17.0 ], + "presentation" : 1, + "outlettype" : [ "" ], + "fontsize" : 10.0, + "presentation_rect" : [ 714.0, 285.0, 35.0, 17.0 ], + "id" : "obj-58", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "toggle", + "numoutlets" : 1, + "patching_rect" : [ 835.0, 583.0, 20.0, 20.0 ], + "presentation" : 1, + "outlettype" : [ "int" ], + "presentation_rect" : [ 141.0, 253.0, 20.0, 20.0 ], + "id" : "obj-39", + "numinlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "gate", + "numoutlets" : 1, + "patching_rect" : [ 846.0, 610.0, 33.0, 19.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-40", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "udpsend 127.0.0.1 10874", + "numoutlets" : 0, + "patching_rect" : [ 860.0, 640.0, 141.0, 19.0 ], + "fontsize" : 10.0, + "id" : "obj-42", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "button", + "numoutlets" : 1, + "patching_rect" : [ 823.0, 325.0, 59.0, 59.0 ], + "outlettype" : [ "bang" ], + "id" : "obj-45", + "numinlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "umenu", + "types" : [ ], + "numoutlets" : 3, + "patching_rect" : [ 823.0, 256.0, 100.0, 19.0 ], + "outlettype" : [ "int", "", "" ], + "fontsize" : 10.0, + "items" : [ "click", "off", ",", "slope", "detect", ",", "threshold", "detect" ], + "id" : "obj-46", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "switch 2", + "numoutlets" : 1, + "patching_rect" : [ 823.0, 290.0, 52.0, 19.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-47", + "numinlets" : 3, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "p aubioOnsetDeetection", + "numoutlets" : 4, + "patching_rect" : [ 797.0, 207.0, 131.0, 19.0 ], + "outlettype" : [ "signal", "bang", "float", "bang" ], + "fontsize" : 10.0, + "id" : "obj-48", + "numinlets" : 2, + "fontname" : "Verdana", + "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" : "<number>: output period in msecs (will be rounded up to control rate)", + "numoutlets" : 0, + "patching_rect" : [ 181.0, 168.0, 343.0, 17.0 ], + "fontsize" : 9.0, + "id" : "obj-62", + "numinlets" : 1, + "fontname" : "Arial" + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "<number>: minimum frequency in Hz", + "numoutlets" : 0, + "patching_rect" : [ 181.0, 156.0, 343.0, 17.0 ], + "fontsize" : 9.0, + "id" : "obj-64", + "numinlets" : 1, + "fontname" : "Arial" + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "estimation quality factor", + "linecount" : 2, + "numoutlets" : 0, + "patching_rect" : [ 50.0, 287.0, 70.0, 27.0 ], + "fontsize" : 9.0, + "id" : "obj-82", + "numinlets" : 1, + "fontname" : "Arial" + } + + } +, { + "box" : { + "maxclass" : "flonum", + "numoutlets" : 2, + "patching_rect" : [ 647.0, 253.0, 50.0, 19.0 ], + "outlettype" : [ "float", "bang" ], + "fontsize" : 10.0, + "id" : "obj-68", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "button", + "numoutlets" : 1, + "patching_rect" : [ 569.0, 218.0, 47.0, 47.0 ], + "presentation" : 1, + "outlettype" : [ "bang" ], + "presentation_rect" : [ 359.0, 334.0, 47.0, 47.0 ], + "id" : "obj-40", + "numinlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "/medianOnset", + "numoutlets" : 1, + "patching_rect" : [ 508.0, 373.0, 81.0, 17.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-39", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend /medianAubioData", + "numoutlets" : 1, + "patching_rect" : [ 627.0, 214.0, 149.0, 19.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-37", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend /rawAubioData", + "numoutlets" : 1, + "patching_rect" : [ 451.0, 281.0, 130.0, 19.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-5", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "raw detection function value", + "linecount" : 2, + "numoutlets" : 0, + "patching_rect" : [ 415.0, 208.0, 150.0, 31.0 ], + "fontsize" : 10.0, + "id" : "obj-32", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "flonum", + "numoutlets" : 2, + "patching_rect" : [ 366.0, 209.0, 50.0, 19.0 ], + "outlettype" : [ "float", "bang" ], + "fontsize" : 10.0, + "id" : "obj-24", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "reset axis /mode ", + "numoutlets" : 0, + "patching_rect" : [ 150.0, 104.0, 97.0, 19.0 ], + "presentation" : 1, + "fontsize" : 10.0, + "presentation_rect" : [ 109.0, 137.0, 150.0, 19.0 ], + "id" : "obj-23", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "button", + "numoutlets" : 1, + "patching_rect" : [ 129.0, 100.0, 20.0, 20.0 ], + "presentation" : 1, + "outlettype" : [ "bang" ], + "presentation_rect" : [ 127.0, 159.0, 20.0, 20.0 ], + "id" : "obj-2", + "numinlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "hfc", + "numoutlets" : 1, + "patching_rect" : [ 289.0, 116.0, 45.0, 17.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-34", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "or send mode as a as message", + "numoutlets" : 0, + "patching_rect" : [ 308.0, 141.0, 176.0, 19.0 ], + "fontsize" : 10.0, + "id" : "obj-33", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend /mode", + "numoutlets" : 1, + "patching_rect" : [ 171.0, 288.0, 88.0, 19.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-31", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "detection mode", + "numoutlets" : 0, + "patching_rect" : [ 145.0, 125.0, 91.0, 19.0 ], + "presentation" : 1, + "fontsize" : 10.0, + "presentation_rect" : [ 143.0, 184.0, 91.0, 19.0 ], + "id" : "obj-29", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "umenu", + "types" : [ ], + "numoutlets" : 3, + "patching_rect" : [ 129.0, 145.0, 100.0, 19.0 ], + "presentation" : 1, + "outlettype" : [ "int", "", "" ], + "fontsize" : 10.0, + "items" : [ "complex", ",", "energy", ",", "hfc", ",", "specdiff", ",", "phase", ",", "kl", ",", "mkl" ], + "presentation_rect" : [ 127.0, 204.0, 100.0, 19.0 ], + "id" : "obj-15", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "send osc data to aubioOnsetVisualiser in openFrameworks", + "linecount" : 3, + "numoutlets" : 0, + "patching_rect" : [ 449.0, 310.0, 117.0, 43.0 ], + "fontsize" : 10.0, + "id" : "obj-28", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "print detection function value at onsets", + "linecount" : 2, + "numoutlets" : 0, + "patching_rect" : [ 256.0, 375.0, 150.0, 31.0 ], + "fontsize" : 10.0, + "id" : "obj-26", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "toggle", + "numoutlets" : 1, + "patching_rect" : [ 221.0, 321.0, 20.0, 20.0 ], + "outlettype" : [ "int" ], + "id" : "obj-18", + "numinlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "gate", + "numoutlets" : 1, + "patching_rect" : [ 221.0, 364.0, 33.0, 19.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-13", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "detection function as float", + "numoutlets" : 0, + "patching_rect" : [ 409.0, 244.0, 150.0, 19.0 ], + "presentation" : 1, + "fontsize" : 10.0, + "presentation_rect" : [ 407.0, 303.0, 150.0, 19.0 ], + "id" : "obj-11", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "/onset", + "numoutlets" : 1, + "patching_rect" : [ 287.0, 282.0, 43.0, 17.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-22", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "energy", + "numoutlets" : 1, + "patching_rect" : [ 262.0, 142.0, 45.0, 17.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-25", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend /aubioData", + "numoutlets" : 1, + "patching_rect" : [ 336.0, 280.0, 111.0, 19.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-21", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "udpsend 127.0.0.1 12345", + "numoutlets" : 0, + "patching_rect" : [ 441.0, 399.0, 141.0, 19.0 ], + "fontsize" : 10.0, + "id" : "obj-20", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "float 0.", + "numoutlets" : 1, + "patching_rect" : [ 235.0, 343.0, 46.0, 19.0 ], + "outlettype" : [ "float" ], + "fontsize" : 10.0, + "id" : "obj-16", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "print", + "numoutlets" : 0, + "patching_rect" : [ 221.0, 386.0, 34.0, 19.0 ], + "fontsize" : 10.0, + "id" : "obj-19", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "flonum", + "numoutlets" : 2, + "patching_rect" : [ 358.0, 245.0, 49.0, 19.0 ], + "presentation" : 1, + "outlettype" : [ "float", "bang" ], + "fontsize" : 10.0, + "presentation_rect" : [ 356.0, 304.0, 49.0, 19.0 ], + "id" : "obj-17", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "threshold", + "numoutlets" : 0, + "patching_rect" : [ 64.0, 123.0, 58.0, 19.0 ], + "presentation" : 1, + "fontsize" : 10.0, + "presentation_rect" : [ 62.0, 182.0, 58.0, 19.0 ], + "id" : "obj-6", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "flonum", + "numoutlets" : 2, + "minimum" : 0.1, + "patching_rect" : [ 68.0, 144.0, 50.0, 19.0 ], + "presentation" : 1, + "maximum" : 10.0, + "outlettype" : [ "float", "bang" ], + "fontsize" : 10.0, + "presentation_rect" : [ 66.0, 203.0, 50.0, 19.0 ], + "id" : "obj-9", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "button", + "numoutlets" : 1, + "patching_rect" : [ 287.0, 219.0, 47.0, 47.0 ], + "presentation" : 1, + "outlettype" : [ "bang" ], + "presentation_rect" : [ 354.0, 247.0, 47.0, 47.0 ], + "id" : "obj-7", + "numinlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "aubioOnsetDetect~ 0.4", + "numoutlets" : 6, + "patching_rect" : [ 254.0, 182.0, 340.0, 19.0 ], + "outlettype" : [ "signal", "bang", "float", "float", "bang", "float" ], + "fontsize" : 10.0, + "id" : "obj-1", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "inlet", + "numoutlets" : 1, + "patching_rect" : [ 254.0, 40.0, 25.0, 25.0 ], + "outlettype" : [ "signal" ], + "id" : "obj-121", + "numinlets" : 0, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "inlet", + "numoutlets" : 1, + "patching_rect" : [ 441.0, 40.0, 25.0, 25.0 ], + "outlettype" : [ "" ], + "id" : "obj-122", + "numinlets" : 0, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "outlet", + "numoutlets" : 0, + "patching_rect" : [ 254.0, 478.0, 25.0, 25.0 ], + "id" : "obj-123", + "numinlets" : 1, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "outlet", + "numoutlets" : 0, + "patching_rect" : [ 287.0, 478.0, 25.0, 25.0 ], + "id" : "obj-124", + "numinlets" : 1, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "outlet", + "numoutlets" : 0, + "patching_rect" : [ 382.0, 478.0, 25.0, 25.0 ], + "id" : "obj-125", + "numinlets" : 1, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "outlet", + "numoutlets" : 0, + "patching_rect" : [ 569.0, 478.0, 25.0, 25.0 ], + "id" : "obj-126", + "numinlets" : 1, + "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" : { + "globalpatchername" : "", + "fontface" : 0, + "fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "default_fontsize" : 12.0, + "fontname" : "Arial" + } + + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "snare channel", + "numoutlets" : 0, + "patching_rect" : [ 824.0, 182.0, 150.0, 19.0 ], + "fontsize" : 10.0, + "id" : "obj-49", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "1", + "numoutlets" : 1, + "patching_rect" : [ 866.0, 134.0, 32.5, 17.0 ], + "presentation" : 1, + "outlettype" : [ "" ], + "fontsize" : 10.0, + "presentation_rect" : [ 794.0, 285.0, 32.5, 17.0 ], + "id" : "obj-50", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "0", + "numoutlets" : 1, + "patching_rect" : [ 831.0, 134.0, 32.5, 17.0 ], + "presentation" : 1, + "outlettype" : [ "" ], + "fontsize" : 10.0, + "presentation_rect" : [ 759.0, 285.0, 32.5, 17.0 ], + "id" : "obj-51", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "sfplay~", + "numoutlets" : 2, + "patching_rect" : [ 796.0, 161.0, 48.0, 19.0 ], + "outlettype" : [ "signal", "bang" ], + "fontsize" : 10.0, + "id" : "obj-52", + "numinlets" : 2, + "fontname" : "Verdana", + "save" : [ "#N", "sfplay~", "", 1, 120960, 0, "", ";" ] + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "/snare 2 882", + "numoutlets" : 1, + "patching_rect" : [ 924.0, 604.0, 130.0, 17.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-53", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "number", + "numoutlets" : 2, + "patching_rect" : [ 823.0, 460.0, 60.0, 19.0 ], + "outlettype" : [ "int", "bang" ], + "fontsize" : 10.0, + "id" : "obj-54", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "- 0.", + "numoutlets" : 1, + "patching_rect" : [ 823.0, 431.0, 32.5, 19.0 ], + "outlettype" : [ "float" ], + "fontsize" : 10.0, + "id" : "obj-55", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "cpuclock", + "numoutlets" : 1, + "patching_rect" : [ 823.0, 399.0, 53.0, 19.0 ], + "outlettype" : [ "float" ], + "fontsize" : 10.0, + "id" : "obj-56", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "/snare 2 $1", + "numoutlets" : 1, + "patching_rect" : [ 858.0, 582.0, 69.0, 17.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-57", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "umenu", + "types" : [ ], + "numoutlets" : 3, + "patching_rect" : [ 164.0, 686.0, 100.0, 19.0 ], + "outlettype" : [ "int", "", "" ], + "fontsize" : 10.0, + "items" : [ "click", "off", ",", "slope", "detect", ",", "threshold", "detect" ], + "id" : "obj-35", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "switch 2", + "numoutlets" : 1, + "patching_rect" : [ 164.0, 720.0, 52.0, 19.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-38", + "numinlets" : 3, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "/aubioPitch 1 74.40966 139", + "linecount" : 2, + "numoutlets" : 1, + "patching_rect" : [ 420.0, 613.0, 120.0, 29.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-31", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "toggle", + "numoutlets" : 1, + "patching_rect" : [ 385.0, 600.0, 20.0, 20.0 ], + "presentation" : 1, + "outlettype" : [ "int" ], + "presentation_rect" : [ 30.0, 256.0, 20.0, 20.0 ], + "id" : "obj-22", + "numinlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "gate", + "numoutlets" : 1, + "patching_rect" : [ 385.0, 627.0, 33.0, 19.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-24", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "udpsend 127.0.0.1 10874", + "numoutlets" : 0, + "patching_rect" : [ 385.0, 652.0, 141.0, 19.0 ], + "fontsize" : 10.0, + "id" : "obj-20", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "button", + "numoutlets" : 1, + "patching_rect" : [ 36.0, -23.0, 20.0, 20.0 ], + "outlettype" : [ "bang" ], + "id" : "obj-44", + "numinlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "number", + "numoutlets" : 2, + "patching_rect" : [ 195.0, 33.0, 61.0, 19.0 ], + "outlettype" : [ "int", "bang" ], + "fontsize" : 10.0, + "id" : "obj-41", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "toggle", + "numoutlets" : 1, + "patching_rect" : [ 539.0, 580.0, 20.0, 20.0 ], + "presentation" : 1, + "outlettype" : [ "int" ], + "presentation_rect" : [ 81.0, 256.0, 20.0, 20.0 ], + "id" : "obj-37", + "numinlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "gate", + "numoutlets" : 1, + "patching_rect" : [ 550.0, 607.0, 33.0, 19.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-34", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "start", + "numoutlets" : 0, + "patching_rect" : [ 308.0, -8.0, 45.0, 19.0 ], + "presentation" : 1, + "fontsize" : 10.0, + "presentation_rect" : [ 103.0, -1.0, 45.0, 19.0 ], + "id" : "obj-33", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "stop", + "numoutlets" : 0, + "patching_rect" : [ 435.0, -9.0, 31.0, 19.0 ], + "presentation" : 1, + "fontsize" : 10.0, + "presentation_rect" : [ 159.0, -1.0, 31.0, 19.0 ], + "id" : "obj-32", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "button", + "numoutlets" : 1, + "patching_rect" : [ 422.0, 10.0, 45.0, 45.0 ], + "presentation" : 1, + "outlettype" : [ "bang" ], + "presentation_rect" : [ 155.0, 14.0, 45.0, 45.0 ], + "id" : "obj-29", + "numinlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "button", + "numoutlets" : 1, + "patching_rect" : [ 302.0, 9.0, 45.0, 45.0 ], + "presentation" : 1, + "outlettype" : [ "bang" ], + "presentation_rect" : [ 93.0, 14.0, 45.0, 45.0 ], + "id" : "obj-28", + "numinlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "p signal Info", + "numoutlets" : 2, + "patching_rect" : [ 35.61554, 5.19075, 246.38446, 19.0 ], + "outlettype" : [ "", "int" ], + "fontsize" : 10.0, + "id" : "obj-25", + "numinlets" : 1, + "fontname" : "Verdana", + "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", + "numoutlets" : 1, + "patching_rect" : [ 76.0, 60.0, 25.0, 25.0 ], + "outlettype" : [ "bang" ], + "id" : "obj-2", + "numinlets" : 0, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "outlet", + "numoutlets" : 0, + "patching_rect" : [ 204.717804, 391.809265, 25.0, 25.0 ], + "id" : "obj-1", + "numinlets" : 1, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "number", + "numoutlets" : 2, + "patching_rect" : [ 171.523865, 285.404633, 50.0, 20.0 ], + "outlettype" : [ "int", "bang" ], + "fontsize" : 11.595187, + "triscale" : 0.9, + "presentation_rect" : [ 45.0, 45.0, 50.0, 20.0 ], + "id" : "obj-55", + "numinlets" : 1, + "fontname" : "Arial" + } + + } +, { + "box" : { + "maxclass" : "number", + "numoutlets" : 2, + "patching_rect" : [ 175.523865, 212.445099, 50.0, 20.0 ], + "outlettype" : [ "int", "bang" ], + "fontsize" : 11.595187, + "triscale" : 0.9, + "presentation_rect" : [ 30.0, 30.0, 50.0, 20.0 ], + "id" : "obj-54", + "numinlets" : 1, + "fontname" : "Arial" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend /ioVectorSize", + "numoutlets" : 1, + "patching_rect" : [ 151.38446, 309.809265, 122.0, 19.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-53", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend /signalVectorSize", + "numoutlets" : 1, + "patching_rect" : [ 154.38446, 239.809265, 142.0, 19.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-52", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend /samplingRate", + "numoutlets" : 1, + "patching_rect" : [ 98.38446, 155.809265, 128.0, 19.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-51", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "adstatus iovs", + "numoutlets" : 2, + "patching_rect" : [ 92.0, 285.404633, 78.0, 20.0 ], + "outlettype" : [ "", "int" ], + "fontsize" : 11.595187, + "id" : "obj-38", + "numinlets" : 2, + "fontname" : "Arial" + } + + } +, { + "box" : { + "maxclass" : "number", + "numoutlets" : 2, + "patching_rect" : [ 134.523865, 131.445099, 50.0, 20.0 ], + "outlettype" : [ "int", "bang" ], + "fontsize" : 11.595187, + "triscale" : 0.9, + "presentation_rect" : [ 15.0, 15.0, 50.0, 20.0 ], + "id" : "obj-42", + "numinlets" : 1, + "fontname" : "Arial" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "adstatus sigvs", + "numoutlets" : 2, + "patching_rect" : [ 89.0, 213.406555, 84.0, 20.0 ], + "outlettype" : [ "", "int" ], + "fontsize" : 11.595187, + "id" : "obj-45", + "numinlets" : 2, + "fontname" : "Arial" + } + + } +, { + "box" : { + "maxclass" : "button", + "numoutlets" : 1, + "patching_rect" : [ 50.0, 104.192688, 20.0, 20.0 ], + "outlettype" : [ "bang" ], + "id" : "obj-49", + "numinlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "adstatus sr", + "numoutlets" : 2, + "patching_rect" : [ 50.0, 131.445099, 67.0, 20.0 ], + "outlettype" : [ "", "int" ], + "fontsize" : 11.595187, + "id" : "obj-50", + "numinlets" : 2, + "fontname" : "Arial" + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "report sampling rate choices", + "numoutlets" : 0, + "patching_rect" : [ 92.457458, 100.000015, 154.0, 20.0 ], + "fontsize" : 11.595187, + "id" : "obj-63", + "numinlets" : 1, + "fontname" : "Arial" + } + + } +, { + "box" : { + "maxclass" : "outlet", + "numoutlets" : 0, + "patching_rect" : [ 129.717804, 388.809265, 25.0, 25.0 ], + "id" : "obj-24", + "numinlets" : 1, + "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" : { + "globalpatchername" : "", + "fontface" : 0, + "fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "default_fontsize" : 12.0, + "fontname" : "Arial" + } + + } + + } +, { + "box" : { + "maxclass" : "button", + "numoutlets" : 1, + "patching_rect" : [ 953.0, 16.0, 20.0, 20.0 ], + "presentation" : 1, + "outlettype" : [ "bang" ], + "presentation_rect" : [ 496.0, 78.0, 20.0, 20.0 ], + "id" : "obj-21", + "numinlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "uzi 5", + "numoutlets" : 3, + "patching_rect" : [ 953.0, 41.0, 46.0, 19.0 ], + "outlettype" : [ "bang", "bang", "int" ], + "fontsize" : 10.0, + "id" : "obj-19", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend open", + "numoutlets" : 1, + "patching_rect" : [ 224.0, 128.0, 80.0, 19.0 ], + "presentation" : 1, + "outlettype" : [ "" ], + "fontsize" : 10.0, + "presentation_rect" : [ 152.0, 285.0, 80.0, 19.0 ], + "id" : "obj-18", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend open", + "numoutlets" : 1, + "patching_rect" : [ 340.0, 131.0, 80.0, 19.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-17", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "\"Macintosh HD:/Users/andrew/Documents/work/programming/MadMax/AudioFiles/LiveDues/01_bass_upsideLive.wav\"", + "linecount" : 3, + "numoutlets" : 1, + "patching_rect" : [ 958.0, 133.0, 297.0, 41.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-16", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "route 0 1 2", + "numoutlets" : 4, + "patching_rect" : [ 343.0, 91.0, 67.0, 19.0 ], + "outlettype" : [ "", "", "", "" ], + "fontsize" : 10.0, + "id" : "obj-13", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "pack 0 s", + "numoutlets" : 1, + "patching_rect" : [ 369.0, 63.0, 52.0, 19.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-11", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "loadbang", + "numoutlets" : 1, + "patching_rect" : [ 825.0, -148.0, 56.0, 19.0 ], + "outlettype" : [ "bang" ], + "fontsize" : 10.0, + "id" : "obj-6", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "autopopulate 1", + "numoutlets" : 1, + "patching_rect" : [ 810.0, -117.0, 87.0, 18.0 ], + "outlettype" : [ "" ], + "fontsize" : 11.595187, + "id" : "obj-5", + "numinlets" : 2, + "fontname" : "Arial" + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "prefix /Users/andrew/Documents/work/programming/MadMax/AudioFiles/LiveDues/", + "linecount" : 3, + "numoutlets" : 1, + "patching_rect" : [ 1160.0, -117.0, 372.0, 41.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-2", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "udpsend 127.0.0.1 10874", + "numoutlets" : 0, + "patching_rect" : [ 564.0, 637.0, 141.0, 19.0 ], + "fontsize" : 10.0, + "id" : "obj-66", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "flonum", + "numoutlets" : 2, + "patching_rect" : [ 320.0, 621.0, 50.0, 19.0 ], + "outlettype" : [ "float", "bang" ], + "fontsize" : 10.0, + "id" : "obj-154", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "number~", + "numoutlets" : 2, + "mode" : 2, + "sig" : 0.0, + "patching_rect" : [ 69.0, 490.0, 56.0, 19.0 ], + "outlettype" : [ "signal", "float" ], + "fontsize" : 10.0, + "id" : "obj-152", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "gain~", + "numoutlets" : 2, + "patching_rect" : [ 69.0, 537.0, 20.0, 140.0 ], + "presentation" : 1, + "outlettype" : [ "signal", "int" ], + "presentation_rect" : [ 82.0, 85.0, 20.0, 140.0 ], + "id" : "obj-151", + "numinlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "button", + "numoutlets" : 1, + "patching_rect" : [ 527.0, 322.0, 59.0, 59.0 ], + "outlettype" : [ "bang" ], + "id" : "obj-147", + "numinlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "umenu", + "types" : [ ], + "numoutlets" : 3, + "patching_rect" : [ 527.0, 253.0, 100.0, 19.0 ], + "outlettype" : [ "int", "", "" ], + "fontsize" : 10.0, + "items" : [ "click", "off", ",", "slope", "detect", ",", "threshold", "detect" ], + "id" : "obj-148", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "switch 2", + "numoutlets" : 1, + "patching_rect" : [ 527.0, 287.0, 52.0, 19.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-149", + "numinlets" : 3, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "p aubioOnsetDeetection", + "numoutlets" : 4, + "patching_rect" : [ 501.0, 204.0, 131.0, 19.0 ], + "outlettype" : [ "signal", "bang", "float", "bang" ], + "fontsize" : 10.0, + "id" : "obj-141", + "numinlets" : 2, + "fontname" : "Verdana", + "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" : "<number>: output period in msecs (will be rounded up to control rate)", + "numoutlets" : 0, + "patching_rect" : [ 181.0, 168.0, 343.0, 17.0 ], + "fontsize" : 9.0, + "id" : "obj-62", + "numinlets" : 1, + "fontname" : "Arial" + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "<number>: minimum frequency in Hz", + "numoutlets" : 0, + "patching_rect" : [ 181.0, 156.0, 343.0, 17.0 ], + "fontsize" : 9.0, + "id" : "obj-64", + "numinlets" : 1, + "fontname" : "Arial" + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "estimation quality factor", + "linecount" : 2, + "numoutlets" : 0, + "patching_rect" : [ 50.0, 287.0, 70.0, 27.0 ], + "fontsize" : 9.0, + "id" : "obj-82", + "numinlets" : 1, + "fontname" : "Arial" + } + + } +, { + "box" : { + "maxclass" : "flonum", + "numoutlets" : 2, + "patching_rect" : [ 647.0, 253.0, 50.0, 19.0 ], + "outlettype" : [ "float", "bang" ], + "fontsize" : 10.0, + "id" : "obj-68", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "button", + "numoutlets" : 1, + "patching_rect" : [ 569.0, 218.0, 47.0, 47.0 ], + "presentation" : 1, + "outlettype" : [ "bang" ], + "presentation_rect" : [ 359.0, 334.0, 47.0, 47.0 ], + "id" : "obj-40", + "numinlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "/medianOnset", + "numoutlets" : 1, + "patching_rect" : [ 508.0, 373.0, 81.0, 17.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-39", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend /medianAubioData", + "numoutlets" : 1, + "patching_rect" : [ 627.0, 214.0, 149.0, 19.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-37", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend /rawAubioData", + "numoutlets" : 1, + "patching_rect" : [ 451.0, 281.0, 130.0, 19.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-5", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "raw detection function value", + "linecount" : 2, + "numoutlets" : 0, + "patching_rect" : [ 415.0, 208.0, 150.0, 31.0 ], + "fontsize" : 10.0, + "id" : "obj-32", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "flonum", + "numoutlets" : 2, + "patching_rect" : [ 366.0, 209.0, 50.0, 19.0 ], + "outlettype" : [ "float", "bang" ], + "fontsize" : 10.0, + "id" : "obj-24", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "reset axis /mode ", + "numoutlets" : 0, + "patching_rect" : [ 150.0, 104.0, 97.0, 19.0 ], + "presentation" : 1, + "fontsize" : 10.0, + "presentation_rect" : [ 109.0, 137.0, 150.0, 19.0 ], + "id" : "obj-23", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "button", + "numoutlets" : 1, + "patching_rect" : [ 129.0, 100.0, 20.0, 20.0 ], + "presentation" : 1, + "outlettype" : [ "bang" ], + "presentation_rect" : [ 127.0, 159.0, 20.0, 20.0 ], + "id" : "obj-2", + "numinlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "hfc", + "numoutlets" : 1, + "patching_rect" : [ 289.0, 116.0, 45.0, 17.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-34", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "or send mode as a as message", + "numoutlets" : 0, + "patching_rect" : [ 308.0, 141.0, 176.0, 19.0 ], + "fontsize" : 10.0, + "id" : "obj-33", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend /mode", + "numoutlets" : 1, + "patching_rect" : [ 171.0, 288.0, 88.0, 19.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-31", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "detection mode", + "numoutlets" : 0, + "patching_rect" : [ 145.0, 125.0, 91.0, 19.0 ], + "presentation" : 1, + "fontsize" : 10.0, + "presentation_rect" : [ 143.0, 184.0, 91.0, 19.0 ], + "id" : "obj-29", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "umenu", + "types" : [ ], + "numoutlets" : 3, + "patching_rect" : [ 129.0, 145.0, 100.0, 19.0 ], + "presentation" : 1, + "outlettype" : [ "int", "", "" ], + "fontsize" : 10.0, + "items" : [ "complex", ",", "energy", ",", "hfc", ",", "specdiff", ",", "phase", ",", "kl", ",", "mkl" ], + "presentation_rect" : [ 127.0, 204.0, 100.0, 19.0 ], + "id" : "obj-15", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "send osc data to aubioOnsetVisualiser in openFrameworks", + "linecount" : 3, + "numoutlets" : 0, + "patching_rect" : [ 449.0, 310.0, 117.0, 43.0 ], + "fontsize" : 10.0, + "id" : "obj-28", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "print detection function value at onsets", + "linecount" : 2, + "numoutlets" : 0, + "patching_rect" : [ 256.0, 375.0, 150.0, 31.0 ], + "fontsize" : 10.0, + "id" : "obj-26", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "toggle", + "numoutlets" : 1, + "patching_rect" : [ 221.0, 321.0, 20.0, 20.0 ], + "outlettype" : [ "int" ], + "id" : "obj-18", + "numinlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "gate", + "numoutlets" : 1, + "patching_rect" : [ 221.0, 364.0, 33.0, 19.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-13", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "detection function as float", + "numoutlets" : 0, + "patching_rect" : [ 409.0, 244.0, 150.0, 19.0 ], + "presentation" : 1, + "fontsize" : 10.0, + "presentation_rect" : [ 407.0, 303.0, 150.0, 19.0 ], + "id" : "obj-11", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "/onset", + "numoutlets" : 1, + "patching_rect" : [ 287.0, 282.0, 43.0, 17.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-22", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "energy", + "numoutlets" : 1, + "patching_rect" : [ 262.0, 142.0, 45.0, 17.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-25", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend /aubioData", + "numoutlets" : 1, + "patching_rect" : [ 336.0, 280.0, 111.0, 19.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-21", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "udpsend 127.0.0.1 12345", + "numoutlets" : 0, + "patching_rect" : [ 441.0, 399.0, 141.0, 19.0 ], + "fontsize" : 10.0, + "id" : "obj-20", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "float 0.", + "numoutlets" : 1, + "patching_rect" : [ 235.0, 343.0, 46.0, 19.0 ], + "outlettype" : [ "float" ], + "fontsize" : 10.0, + "id" : "obj-16", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "print", + "numoutlets" : 0, + "patching_rect" : [ 221.0, 386.0, 34.0, 19.0 ], + "fontsize" : 10.0, + "id" : "obj-19", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "flonum", + "numoutlets" : 2, + "patching_rect" : [ 358.0, 245.0, 49.0, 19.0 ], + "presentation" : 1, + "outlettype" : [ "float", "bang" ], + "fontsize" : 10.0, + "presentation_rect" : [ 356.0, 304.0, 49.0, 19.0 ], + "id" : "obj-17", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "threshold", + "numoutlets" : 0, + "patching_rect" : [ 64.0, 123.0, 58.0, 19.0 ], + "presentation" : 1, + "fontsize" : 10.0, + "presentation_rect" : [ 62.0, 182.0, 58.0, 19.0 ], + "id" : "obj-6", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "flonum", + "numoutlets" : 2, + "minimum" : 0.1, + "patching_rect" : [ 68.0, 144.0, 50.0, 19.0 ], + "presentation" : 1, + "maximum" : 10.0, + "outlettype" : [ "float", "bang" ], + "fontsize" : 10.0, + "presentation_rect" : [ 66.0, 203.0, 50.0, 19.0 ], + "id" : "obj-9", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "button", + "numoutlets" : 1, + "patching_rect" : [ 287.0, 219.0, 47.0, 47.0 ], + "presentation" : 1, + "outlettype" : [ "bang" ], + "presentation_rect" : [ 354.0, 247.0, 47.0, 47.0 ], + "id" : "obj-7", + "numinlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "aubioOnsetDetect~ 0.4", + "numoutlets" : 6, + "patching_rect" : [ 254.0, 182.0, 340.0, 19.0 ], + "outlettype" : [ "signal", "bang", "float", "float", "bang", "float" ], + "fontsize" : 10.0, + "id" : "obj-1", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "inlet", + "numoutlets" : 1, + "patching_rect" : [ 254.0, 40.0, 25.0, 25.0 ], + "outlettype" : [ "signal" ], + "id" : "obj-121", + "numinlets" : 0, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "inlet", + "numoutlets" : 1, + "patching_rect" : [ 441.0, 40.0, 25.0, 25.0 ], + "outlettype" : [ "" ], + "id" : "obj-122", + "numinlets" : 0, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "outlet", + "numoutlets" : 0, + "patching_rect" : [ 254.0, 478.0, 25.0, 25.0 ], + "id" : "obj-123", + "numinlets" : 1, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "outlet", + "numoutlets" : 0, + "patching_rect" : [ 287.0, 478.0, 25.0, 25.0 ], + "id" : "obj-124", + "numinlets" : 1, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "outlet", + "numoutlets" : 0, + "patching_rect" : [ 382.0, 478.0, 25.0, 25.0 ], + "id" : "obj-125", + "numinlets" : 1, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "outlet", + "numoutlets" : 0, + "patching_rect" : [ 569.0, 478.0, 25.0, 25.0 ], + "id" : "obj-126", + "numinlets" : 1, + "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" : { + "globalpatchername" : "", + "fontface" : 0, + "fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "default_fontsize" : 12.0, + "fontname" : "Arial" + } + + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "soundfile load", + "numoutlets" : 0, + "patching_rect" : [ 472.0, 104.0, 150.0, 19.0 ], + "fontsize" : 10.0, + "id" : "obj-142", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "open", + "numoutlets" : 1, + "patching_rect" : [ 496.0, 131.0, 35.0, 17.0 ], + "presentation" : 1, + "outlettype" : [ "" ], + "fontsize" : 10.0, + "presentation_rect" : [ 424.0, 285.0, 35.0, 17.0 ], + "id" : "obj-143", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "1", + "numoutlets" : 1, + "patching_rect" : [ 570.0, 131.0, 32.5, 17.0 ], + "presentation" : 1, + "outlettype" : [ "" ], + "fontsize" : 10.0, + "presentation_rect" : [ 498.0, 285.0, 32.5, 17.0 ], + "id" : "obj-144", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "0", + "numoutlets" : 1, + "patching_rect" : [ 535.0, 131.0, 32.5, 17.0 ], + "presentation" : 1, + "outlettype" : [ "" ], + "fontsize" : 10.0, + "presentation_rect" : [ 463.0, 285.0, 32.5, 17.0 ], + "id" : "obj-145", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "sfplay~", + "numoutlets" : 2, + "patching_rect" : [ 500.0, 158.0, 48.0, 19.0 ], + "outlettype" : [ "signal", "bang" ], + "fontsize" : 10.0, + "id" : "obj-146", + "numinlets" : 2, + "fontname" : "Verdana", + "save" : [ "#N", "sfplay~", "", 1, 120960, 0, "", ";" ] + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "p pitchChannel_0", + "numoutlets" : 3, + "patching_rect" : [ 320.0, 575.0, 98.0, 19.0 ], + "outlettype" : [ "float", "float", "" ], + "fontsize" : 10.0, + "id" : "obj-140", + "numinlets" : 3, + "fontname" : "Verdana", + "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" : "outlet", + "numoutlets" : 0, + "patching_rect" : [ 378.0, 416.0, 25.0, 25.0 ], + "id" : "obj-2", + "numinlets" : 1, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "outlet", + "numoutlets" : 0, + "patching_rect" : [ 244.0, 417.0, 25.0, 25.0 ], + "id" : "obj-1", + "numinlets" : 1, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "flonum", + "numoutlets" : 2, + "patching_rect" : [ 224.0, 131.0, 50.0, 19.0 ], + "outlettype" : [ "float", "bang" ], + "fontsize" : 10.0, + "id" : "obj-47", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "- 0.", + "numoutlets" : 1, + "patching_rect" : [ 273.0, 218.0, 32.5, 19.0 ], + "outlettype" : [ "float" ], + "fontsize" : 10.0, + "id" : "obj-88", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "cpuclock", + "numoutlets" : 1, + "patching_rect" : [ 326.0, 191.0, 53.0, 19.0 ], + "outlettype" : [ "float" ], + "fontsize" : 10.0, + "id" : "obj-87", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "sending osc of pitch", + "numoutlets" : 0, + "patching_rect" : [ 293.0, 273.0, 150.0, 19.0 ], + "fontsize" : 10.0, + "id" : "obj-86", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "number", + "numoutlets" : 2, + "patching_rect" : [ 273.0, 245.0, 72.0, 19.0 ], + "outlettype" : [ "int", "bang" ], + "fontsize" : 10.0, + "id" : "obj-83", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend /aubioPitch 1", + "numoutlets" : 1, + "patching_rect" : [ 248.0, 304.0, 122.0, 19.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-77", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "74.40966 139", + "numoutlets" : 1, + "patching_rect" : [ 50.0, 305.0, 187.0, 17.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-65", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "pack 0. 0", + "numoutlets" : 1, + "patching_rect" : [ 220.0, 270.0, 61.0, 19.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-60", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "cpuclock", + "numoutlets" : 1, + "patching_rect" : [ 273.0, 190.0, 53.0, 19.0 ], + "outlettype" : [ "float" ], + "fontsize" : 10.0, + "id" : "obj-59", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "delay 100", + "numoutlets" : 1, + "patching_rect" : [ 127.0, 124.0, 60.0, 19.0 ], + "outlettype" : [ "bang" ], + "fontsize" : 10.0, + "id" : "obj-58", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "flonum", + "numoutlets" : 2, + "patching_rect" : [ 220.0, 218.0, 50.0, 19.0 ], + "outlettype" : [ "float", "bang" ], + "fontsize" : 10.0, + "id" : "obj-57", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "f 0.", + "numoutlets" : 1, + "patching_rect" : [ 260.0, 156.0, 32.5, 19.0 ], + "outlettype" : [ "float" ], + "fontsize" : 10.0, + "id" : "obj-48", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "aubiopitch~", + "numoutlets" : 2, + "patching_rect" : [ 221.0, 100.0, 71.0, 19.0 ], + "outlettype" : [ "signal", "float" ], + "fontsize" : 10.0, + "id" : "obj-44", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "inlet", + "numoutlets" : 1, + "patching_rect" : [ 308.0, 45.0, 25.0, 25.0 ], + "outlettype" : [ "" ], + "id" : "obj-135", + "numinlets" : 0, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "inlet", + "numoutlets" : 1, + "patching_rect" : [ 221.0, 40.0, 25.0, 25.0 ], + "outlettype" : [ "signal" ], + "id" : "obj-136", + "numinlets" : 0, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "inlet", + "numoutlets" : 1, + "patching_rect" : [ 385.0, 40.0, 25.0, 25.0 ], + "outlettype" : [ "bang" ], + "id" : "obj-138", + "numinlets" : 0, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "outlet", + "numoutlets" : 0, + "patching_rect" : [ 326.0, 413.0, 25.0, 25.0 ], + "id" : "obj-139", + "numinlets" : 1, + "comment" : "" + } + + } + ], + "lines" : [ { + "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-57", 0 ], + "destination" : [ "obj-60", 0 ], + "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-48", 1 ], + "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-138", 0 ], + "destination" : [ "obj-87", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-87", 0 ], + "destination" : [ "obj-139", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } + ] + } +, + "saved_object_attributes" : { + "globalpatchername" : "", + "fontface" : 0, + "fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "default_fontsize" : 12.0, + "fontname" : "Arial" + } + + } + + } +, { + "box" : { + "maxclass" : "button", + "numoutlets" : 1, + "patching_rect" : [ 240.0, 546.0, 59.0, 59.0 ], + "outlettype" : [ "bang" ], + "id" : "obj-130", + "numinlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "p aubioOnsetDeetection", + "numoutlets" : 4, + "patching_rect" : [ 108.0, 206.0, 131.0, 19.0 ], + "outlettype" : [ "signal", "bang", "float", "bang" ], + "fontsize" : 10.0, + "id" : "obj-128", + "numinlets" : 2, + "fontname" : "Verdana", + "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" : "<number>: output period in msecs (will be rounded up to control rate)", + "numoutlets" : 0, + "patching_rect" : [ 181.0, 168.0, 343.0, 17.0 ], + "fontsize" : 9.0, + "id" : "obj-62", + "numinlets" : 1, + "fontname" : "Arial" + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "<number>: minimum frequency in Hz", + "numoutlets" : 0, + "patching_rect" : [ 181.0, 156.0, 343.0, 17.0 ], + "fontsize" : 9.0, + "id" : "obj-64", + "numinlets" : 1, + "fontname" : "Arial" + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "estimation quality factor", + "linecount" : 2, + "numoutlets" : 0, + "patching_rect" : [ 50.0, 287.0, 70.0, 27.0 ], + "fontsize" : 9.0, + "id" : "obj-82", + "numinlets" : 1, + "fontname" : "Arial" + } + + } +, { + "box" : { + "maxclass" : "flonum", + "numoutlets" : 2, + "patching_rect" : [ 647.0, 253.0, 50.0, 19.0 ], + "outlettype" : [ "float", "bang" ], + "fontsize" : 10.0, + "id" : "obj-68", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "button", + "numoutlets" : 1, + "patching_rect" : [ 569.0, 218.0, 47.0, 47.0 ], + "presentation" : 1, + "outlettype" : [ "bang" ], + "presentation_rect" : [ 359.0, 334.0, 47.0, 47.0 ], + "id" : "obj-40", + "numinlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "/medianOnset", + "numoutlets" : 1, + "patching_rect" : [ 508.0, 373.0, 81.0, 17.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-39", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend /medianAubioData", + "numoutlets" : 1, + "patching_rect" : [ 627.0, 214.0, 149.0, 19.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-37", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend /rawAubioData", + "numoutlets" : 1, + "patching_rect" : [ 451.0, 281.0, 130.0, 19.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-5", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "raw detection function value", + "linecount" : 2, + "numoutlets" : 0, + "patching_rect" : [ 415.0, 208.0, 150.0, 31.0 ], + "fontsize" : 10.0, + "id" : "obj-32", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "flonum", + "numoutlets" : 2, + "patching_rect" : [ 366.0, 209.0, 50.0, 19.0 ], + "outlettype" : [ "float", "bang" ], + "fontsize" : 10.0, + "id" : "obj-24", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "reset axis /mode ", + "numoutlets" : 0, + "patching_rect" : [ 150.0, 104.0, 97.0, 19.0 ], + "presentation" : 1, + "fontsize" : 10.0, + "presentation_rect" : [ 109.0, 137.0, 150.0, 19.0 ], + "id" : "obj-23", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "button", + "numoutlets" : 1, + "patching_rect" : [ 129.0, 100.0, 20.0, 20.0 ], + "presentation" : 1, + "outlettype" : [ "bang" ], + "presentation_rect" : [ 127.0, 159.0, 20.0, 20.0 ], + "id" : "obj-2", + "numinlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "hfc", + "numoutlets" : 1, + "patching_rect" : [ 289.0, 116.0, 45.0, 17.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-34", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "or send mode as a as message", + "numoutlets" : 0, + "patching_rect" : [ 308.0, 141.0, 176.0, 19.0 ], + "fontsize" : 10.0, + "id" : "obj-33", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend /mode", + "numoutlets" : 1, + "patching_rect" : [ 171.0, 288.0, 88.0, 19.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-31", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "detection mode", + "numoutlets" : 0, + "patching_rect" : [ 145.0, 125.0, 91.0, 19.0 ], + "presentation" : 1, + "fontsize" : 10.0, + "presentation_rect" : [ 143.0, 184.0, 91.0, 19.0 ], + "id" : "obj-29", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "umenu", + "types" : [ ], + "numoutlets" : 3, + "patching_rect" : [ 129.0, 145.0, 100.0, 19.0 ], + "presentation" : 1, + "outlettype" : [ "int", "", "" ], + "fontsize" : 10.0, + "items" : [ "complex", ",", "energy", ",", "hfc", ",", "specdiff", ",", "phase", ",", "kl", ",", "mkl" ], + "presentation_rect" : [ 127.0, 204.0, 100.0, 19.0 ], + "id" : "obj-15", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "send osc data to aubioOnsetVisualiser in openFrameworks", + "linecount" : 3, + "numoutlets" : 0, + "patching_rect" : [ 449.0, 310.0, 117.0, 43.0 ], + "fontsize" : 10.0, + "id" : "obj-28", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "print detection function value at onsets", + "linecount" : 2, + "numoutlets" : 0, + "patching_rect" : [ 256.0, 375.0, 150.0, 31.0 ], + "fontsize" : 10.0, + "id" : "obj-26", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "toggle", + "numoutlets" : 1, + "patching_rect" : [ 221.0, 321.0, 20.0, 20.0 ], + "outlettype" : [ "int" ], + "id" : "obj-18", + "numinlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "gate", + "numoutlets" : 1, + "patching_rect" : [ 221.0, 364.0, 33.0, 19.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-13", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "detection function as float", + "numoutlets" : 0, + "patching_rect" : [ 409.0, 244.0, 150.0, 19.0 ], + "presentation" : 1, + "fontsize" : 10.0, + "presentation_rect" : [ 407.0, 303.0, 150.0, 19.0 ], + "id" : "obj-11", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "/onset", + "numoutlets" : 1, + "patching_rect" : [ 287.0, 282.0, 43.0, 17.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-22", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "energy", + "numoutlets" : 1, + "patching_rect" : [ 262.0, 142.0, 45.0, 17.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-25", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "prepend /aubioData", + "numoutlets" : 1, + "patching_rect" : [ 336.0, 280.0, 111.0, 19.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-21", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "udpsend 127.0.0.1 12345", + "numoutlets" : 0, + "patching_rect" : [ 441.0, 399.0, 141.0, 19.0 ], + "fontsize" : 10.0, + "id" : "obj-20", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "float 0.", + "numoutlets" : 1, + "patching_rect" : [ 235.0, 343.0, 46.0, 19.0 ], + "outlettype" : [ "float" ], + "fontsize" : 10.0, + "id" : "obj-16", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "print", + "numoutlets" : 0, + "patching_rect" : [ 221.0, 386.0, 34.0, 19.0 ], + "fontsize" : 10.0, + "id" : "obj-19", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "flonum", + "numoutlets" : 2, + "patching_rect" : [ 358.0, 245.0, 49.0, 19.0 ], + "presentation" : 1, + "outlettype" : [ "float", "bang" ], + "fontsize" : 10.0, + "presentation_rect" : [ 356.0, 304.0, 49.0, 19.0 ], + "id" : "obj-17", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "threshold", + "numoutlets" : 0, + "patching_rect" : [ 64.0, 123.0, 58.0, 19.0 ], + "presentation" : 1, + "fontsize" : 10.0, + "presentation_rect" : [ 62.0, 182.0, 58.0, 19.0 ], + "id" : "obj-6", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "flonum", + "numoutlets" : 2, + "minimum" : 0.1, + "patching_rect" : [ 68.0, 144.0, 50.0, 19.0 ], + "presentation" : 1, + "maximum" : 10.0, + "outlettype" : [ "float", "bang" ], + "fontsize" : 10.0, + "presentation_rect" : [ 66.0, 203.0, 50.0, 19.0 ], + "id" : "obj-9", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "button", + "numoutlets" : 1, + "patching_rect" : [ 287.0, 219.0, 47.0, 47.0 ], + "presentation" : 1, + "outlettype" : [ "bang" ], + "presentation_rect" : [ 354.0, 247.0, 47.0, 47.0 ], + "id" : "obj-7", + "numinlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "aubioOnsetDetect~ 0.4", + "numoutlets" : 6, + "patching_rect" : [ 254.0, 182.0, 340.0, 19.0 ], + "outlettype" : [ "signal", "bang", "float", "float", "bang", "float" ], + "fontsize" : 10.0, + "id" : "obj-1", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "inlet", + "numoutlets" : 1, + "patching_rect" : [ 254.0, 40.0, 25.0, 25.0 ], + "outlettype" : [ "signal" ], + "id" : "obj-121", + "numinlets" : 0, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "inlet", + "numoutlets" : 1, + "patching_rect" : [ 441.0, 40.0, 25.0, 25.0 ], + "outlettype" : [ "" ], + "id" : "obj-122", + "numinlets" : 0, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "outlet", + "numoutlets" : 0, + "patching_rect" : [ 254.0, 478.0, 25.0, 25.0 ], + "id" : "obj-123", + "numinlets" : 1, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "outlet", + "numoutlets" : 0, + "patching_rect" : [ 287.0, 478.0, 25.0, 25.0 ], + "id" : "obj-124", + "numinlets" : 1, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "outlet", + "numoutlets" : 0, + "patching_rect" : [ 382.0, 478.0, 25.0, 25.0 ], + "id" : "obj-125", + "numinlets" : 1, + "comment" : "" + } + + } +, { + "box" : { + "maxclass" : "outlet", + "numoutlets" : 0, + "patching_rect" : [ 569.0, 478.0, 25.0, 25.0 ], + "id" : "obj-126", + "numinlets" : 1, + "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" : { + "globalpatchername" : "", + "fontface" : 0, + "fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "default_fontsize" : 12.0, + "fontname" : "Arial" + } + + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "/kick 0 104", + "numoutlets" : 1, + "patching_rect" : [ 628.0, 601.0, 130.0, 17.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-112", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "number", + "numoutlets" : 2, + "patching_rect" : [ 527.0, 457.0, 60.0, 19.0 ], + "outlettype" : [ "int", "bang" ], + "fontsize" : 10.0, + "id" : "obj-110", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "start button", + "numoutlets" : 0, + "patching_rect" : [ 333.0, 436.0, 75.0, 19.0 ], + "fontsize" : 10.0, + "id" : "obj-108", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "- 0.", + "numoutlets" : 1, + "patching_rect" : [ 527.0, 428.0, 32.5, 19.0 ], + "outlettype" : [ "float" ], + "fontsize" : 10.0, + "id" : "obj-105", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "cpuclock", + "numoutlets" : 1, + "patching_rect" : [ 527.0, 396.0, 53.0, 19.0 ], + "outlettype" : [ "float" ], + "fontsize" : 10.0, + "id" : "obj-104", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "/kick 0 $1", + "numoutlets" : 1, + "patching_rect" : [ 562.0, 579.0, 61.0, 17.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-103", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "button", + "numoutlets" : 1, + "patching_rect" : [ 398.0, 437.0, 20.0, 20.0 ], + "outlettype" : [ "bang" ], + "id" : "obj-91", + "numinlets" : 1 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "soundfile load", + "numoutlets" : 0, + "patching_rect" : [ 79.0, 106.0, 150.0, 19.0 ], + "fontsize" : 10.0, + "id" : "obj-81", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "umenu", + "types" : [ ], + "numoutlets" : 3, + "patching_rect" : [ 360.0, 471.0, 100.0, 19.0 ], + "presentation" : 1, + "outlettype" : [ "int", "", "" ], + "fontsize" : 10.0, + "items" : [ "click", "off", ",", "slope", "detect", ",", "threshold", "detect" ], + "presentation_rect" : [ 27.0, 309.0, 100.0, 19.0 ], + "id" : "obj-80", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "switch 2", + "numoutlets" : 1, + "patching_rect" : [ 360.0, 505.0, 52.0, 19.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-78", + "numinlets" : 3, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "loadmess 80", + "numoutlets" : 1, + "patching_rect" : [ 271.0, 896.0, 74.0, 19.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-127", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "click sound to use", + "numoutlets" : 0, + "patching_rect" : [ 204.0, 770.0, 108.0, 19.0 ], + "fontsize" : 10.0, + "id" : "obj-113", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "1", + "numoutlets" : 1, + "patching_rect" : [ 204.0, 825.0, 32.5, 17.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-36", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "loadmess open cow2.wav", + "numoutlets" : 1, + "patching_rect" : [ 227.0, 795.0, 139.0, 19.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-72", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "gain~", + "numoutlets" : 2, + "patching_rect" : [ 184.0, 527.0, 20.0, 140.0 ], + "presentation" : 1, + "outlettype" : [ "signal", "int" ], + "interp" : 100.0, + "presentation_rect" : [ 197.0, 85.0, 20.0, 140.0 ], + "id" : "obj-73", + "numinlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "open", + "numoutlets" : 1, + "patching_rect" : [ 237.0, 825.0, 35.0, 17.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-74", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "0", + "numoutlets" : 1, + "patching_rect" : [ 273.0, 825.0, 32.5, 17.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-75", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "sfplay~", + "numoutlets" : 2, + "patching_rect" : [ 235.0, 856.0, 48.0, 19.0 ], + "outlettype" : [ "signal", "bang" ], + "fontsize" : 10.0, + "id" : "obj-76", + "numinlets" : 2, + "fontname" : "Verdana", + "save" : [ "#N", "sfplay~", "", 1, 120960, 0, "", ";" ] + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "seek $1", + "numoutlets" : 1, + "patching_rect" : [ 138.0, -55.0, 50.0, 17.0 ], + "outlettype" : [ "" ], + "fontsize" : 10.0, + "id" : "obj-43", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "gain~", + "numoutlets" : 2, + "patching_rect" : [ 15.0, 531.0, 20.0, 140.0 ], + "presentation" : 1, + "outlettype" : [ "signal", "int" ], + "presentation_rect" : [ 28.0, 85.0, 20.0, 140.0 ], + "id" : "obj-27", + "numinlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "threshold can be set on initialisation (default 1.0)", + "linecount" : 2, + "numoutlets" : 0, + "patching_rect" : [ 31.0, 36.0, 150.0, 31.0 ], + "fontsize" : 10.0, + "id" : "obj-30", + "numinlets" : 1, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "open", + "numoutlets" : 1, + "patching_rect" : [ 103.0, 133.0, 35.0, 17.0 ], + "presentation" : 1, + "outlettype" : [ "" ], + "fontsize" : 10.0, + "presentation_rect" : [ 31.0, 285.0, 35.0, 17.0 ], + "id" : "obj-14", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "1", + "numoutlets" : 1, + "patching_rect" : [ 177.0, 133.0, 32.5, 17.0 ], + "presentation" : 1, + "outlettype" : [ "" ], + "fontsize" : 10.0, + "presentation_rect" : [ 105.0, 285.0, 32.5, 17.0 ], + "id" : "obj-12", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "0", + "numoutlets" : 1, + "patching_rect" : [ 142.0, 133.0, 32.5, 17.0 ], + "presentation" : 1, + "outlettype" : [ "" ], + "fontsize" : 10.0, + "presentation_rect" : [ 70.0, 285.0, 32.5, 17.0 ], + "id" : "obj-10", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "sfplay~", + "numoutlets" : 2, + "patching_rect" : [ 107.0, 160.0, 48.0, 19.0 ], + "outlettype" : [ "signal", "bang" ], + "fontsize" : 10.0, + "id" : "obj-8", + "numinlets" : 2, + "fontname" : "Verdana", + "save" : [ "#N", "sfplay~", "", 1, 120960, 0, "", ";" ] + } + + } +, { + "box" : { + "maxclass" : "ezdac~", + "numoutlets" : 0, + "patching_rect" : [ 33.0, 738.0, 45.0, 45.0 ], + "presentation" : 1, + "presentation_rect" : [ 31.0, 12.0, 45.0, 45.0 ], + "id" : "obj-4", + "numinlets" : 2 + } + + } +, { + "box" : { + "maxclass" : "number~", + "numoutlets" : 2, + "mode" : 2, + "sig" : 0.0, + "patching_rect" : [ 5.0, 492.0, 56.0, 19.0 ], + "outlettype" : [ "signal", "float" ], + "fontsize" : 10.0, + "id" : "obj-3", + "numinlets" : 2, + "fontname" : "Verdana" + } + + } + ], + "lines" : [ { + "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-69", 0 ], + "destination" : [ "obj-115", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-88", 0 ], + "destination" : [ "obj-69", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-63", 0 ], + "destination" : [ "obj-4", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-86", 0 ], + "destination" : [ "obj-4", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-86", 0 ], + "destination" : [ "obj-4", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-29", 0 ], + "destination" : [ "obj-117", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-125", 0 ], + "destination" : [ "obj-84", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-125", 1 ], + "destination" : [ "obj-117", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-28", 0 ], + "destination" : [ "obj-125", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-133", 0 ], + "destination" : [ "obj-121", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-82", 0 ], + "destination" : [ "obj-88", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-135", 0 ], + "destination" : [ "obj-134", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-133", 0 ], + "destination" : [ "obj-135", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-134", 0 ], + "destination" : [ "obj-137", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-132", 0 ], + "destination" : [ "obj-133", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-131", 0 ], + "destination" : [ "obj-42", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-90", 0 ], + "destination" : [ "obj-131", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-129", 0 ], + "destination" : [ "obj-42", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-118", 0 ], + "destination" : [ "obj-129", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-118", 0 ], + "destination" : [ "obj-126", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-124", 0 ], + "destination" : [ "obj-123", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-123", 0 ], + "destination" : [ "obj-118", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-119", 0 ], + "destination" : [ "obj-123", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-122", 0 ], + "destination" : [ "obj-119", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-122", 1 ], + "destination" : [ "obj-118", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-67", 1 ], + "destination" : [ "obj-122", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-117", 0 ], + "destination" : [ "obj-15", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-15", 1 ], + "destination" : [ "obj-67", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-15", 0 ], + "destination" : [ "obj-86", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-84", 0 ], + "destination" : [ "obj-15", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-90", 0 ], + "destination" : [ "obj-15", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-107", 0 ], + "destination" : [ "obj-15", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-71", 0 ], + "destination" : [ "obj-77", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-102", 0 ], + "destination" : [ "obj-107", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-102", 0 ], + "destination" : [ "obj-90", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-100", 1 ], + "destination" : [ "obj-68", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-93", 0 ], + "destination" : [ "obj-23", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-140", 1 ], + "destination" : [ "obj-55", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-140", 1 ], + "destination" : [ "obj-105", 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" : [ 818.5, -18.0, 790.0, -18.0, 790.0, -43.0, 723.5, -43.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" : [ 865.5, 58.0, 776.5, 58.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" : [ 723.5, -18.0, 790.0, -18.0, 790.0, -43.0, 818.5, -43.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-94", 0 ], + "destination" : [ "obj-98", 0 ], + "hidden" : 0, + "midpoints" : [ 723.5, 5.0, 790.0, 5.0, 790.0, -42.0, 818.5, -42.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-98", 0 ], + "destination" : [ "obj-97", 0 ], + "hidden" : 0, + "midpoints" : [ 818.5, -18.0, 865.5, -18.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-97", 0 ], + "destination" : [ "obj-93", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-92", 0 ], + "destination" : [ "obj-20", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-29", 0 ], + "destination" : [ "obj-92", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-87", 0 ], + "destination" : [ "obj-79", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-85", 0 ], + "destination" : [ "obj-79", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-83", 0 ], + "destination" : [ "obj-43", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-79", 0 ], + "destination" : [ "obj-83", 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-43", 0 ], + "destination" : [ "obj-52", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-43", 0 ], + "destination" : [ "obj-146", 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-140", 1 ], + "destination" : [ "obj-65", 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-63", 0 ], + "destination" : [ "obj-4", 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-28", 0 ], + "destination" : [ "obj-50", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-59", 0 ], + "destination" : [ "obj-52", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-13", 2 ], + "destination" : [ "obj-59", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-17", 0 ], + "destination" : [ "obj-146", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-13", 1 ], + "destination" : [ "obj-17", 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-11", 0 ], + "destination" : [ "obj-13", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-13", 0 ], + "destination" : [ "obj-18", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-38", 0 ], + "destination" : [ "obj-36", 0 ], + "hidden" : 0, + "midpoints" : [ 173.5, 853.0, 199.0, 853.0, 199.0, 808.0, 213.5, 808.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", 2 ], + "destination" : [ "obj-31", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-24", 0 ], + "destination" : [ "obj-20", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-140", 2 ], + "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-151", 0 ], + "destination" : [ "obj-4", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-151", 0 ], + "destination" : [ "obj-4", 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-91", 0 ], + "destination" : [ "obj-140", 2 ], + "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-27", 0 ], + "destination" : [ "obj-4", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-27", 0 ], + "destination" : [ "obj-4", 1 ], + "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-43", 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-73", 0 ], + "destination" : [ "obj-4", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-73", 0 ], + "destination" : [ "obj-4", 1 ], + "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-148", 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-137", 0 ], + "destination" : [ "obj-115", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-115", 0 ], + "destination" : [ "obj-90", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } + ] + } + +}
--- a/src/AudioEventMatcher.cpp Tue Feb 07 02:37:04 2012 +0000 +++ b/src/AudioEventMatcher.cpp Thu Feb 09 18:09:34 2012 +0000 @@ -31,13 +31,17 @@ followingLiveInput = true; startedPlaying = false; + + temporal.setUpEventTimeMatrix(); } + + void AudioEventMatcher::setWindowDimensions(){ double startHeight = recordedTracks.numberOfAudioTracks * recordedTracks.trackScreenHeight; double heightAvailable = 1 - startHeight; - heightAvailable /= 3.0; + heightAvailable /= NUMBER_OF_CHANNELS; bayesPositionWindow.setToRelativeSize(0, startHeight, 1, heightAvailable); bayesLikelihoodWindow.setToRelativeSize(0, startHeight + 1*heightAvailable, 1, heightAvailable); @@ -71,6 +75,7 @@ projectedPrior = bayesianStruct.prior; startedPlaying = true; synchroniser.reset(); + temporal.reset(); //bayesianStruct.posterior.printArray(); } @@ -78,15 +83,21 @@ void AudioEventMatcher::stopPlaying(){ startedPlaying = false; + temporal.printEventTimes(); } void AudioEventMatcher::updatePosition(){ + + if (startedPlaying){ if (!followingLiveInput) recordedTracks.updatePosition(); - else if (startedPlaying) + else recordedTracks.updatePositionToMillis(currentAlignmentPosition); updateBestAlignmentPosition(); + } + + temporal.tempoPosterior.addGaussianShape(temporal.tempoPosterior.MAPestimate, temporal.tempoArraySize / 4, 0.5 ); } void AudioEventMatcher::updateBestAlignmentPosition(){ @@ -223,6 +234,8 @@ ofSetColor(255,0,0); projectedPrior.drawConstrainedVector(bayesianStruct.prior.getRealTermsAsIndex(screenStartTimeMillis), bayesianStruct.prior.getRealTermsAsIndex(screenEndTimeMillis), 0, ofGetWidth(), bayesPositionWindow); + temporal.drawTempoArray(bayesLikelihoodWindow); + } void AudioEventMatcher::newPitchEvent(const int& channel, const double& pitchIn, const double& timeIn){ @@ -306,6 +319,9 @@ recentPriors[channel] = bayesianStruct.prior; projectedPrior = bayesianStruct.prior; + + + temporal.updateTempo(channel, timeIn); } @@ -372,6 +388,8 @@ recentPriors[channel] = bayesianStruct.prior; projectedPrior = bayesianStruct.prior; + + temporal.eventTimes[channel].push_back(timeIn); }
--- a/src/AudioEventMatcher.h Tue Feb 07 02:37:04 2012 +0000 +++ b/src/AudioEventMatcher.h Thu Feb 09 18:09:34 2012 +0000 @@ -12,6 +12,7 @@ #ifndef AUDIO_EVENT_MATCHER_H #define AUDIO_EVENT_MATCHER_H +#define NUMBER_OF_CHANNELS 3 #include "ofMain.h" #include "ChromaOnset.h" @@ -21,6 +22,7 @@ #include "RecordedMultitrackAudio.h" #include "DynamicVector.h" #include "AccompanimentSynchroniser.h" +#include "TempoFollower.h" class AudioEventMatcher{ @@ -68,15 +70,15 @@ bool usingRealTime; double recentPitch, recentTime; - DynamicVector likelihoodVisualisation[3]; - DynamicVector recentPriors[3]; + DynamicVector likelihoodVisualisation[NUMBER_OF_CHANNELS]; + DynamicVector recentPriors[NUMBER_OF_CHANNELS]; //DynamicVector recentPrior; DynamicVector projectedPrior; double currentAlignmentPosition; double lastAlignmentTime; - double recentEventTime[3]; + double recentEventTime[NUMBER_OF_CHANNELS]; int startTime; int currentAlignmentTime; @@ -93,5 +95,9 @@ double pitchOfNearestMatch;//for viz purposes double distanceOfNearestMatch; + + + + TempoFollower temporal; }; #endif
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/TempoFollower.cpp Thu Feb 09 18:09:34 2012 +0000 @@ -0,0 +1,134 @@ +/* + * TempoFollower.cpp + * MultipleAudioMathcher + * + * Created by Andrew on 09/02/2012. + * Copyright 2012 QMUL. All rights reserved. + * + */ + +#include "TempoFollower.h" + +TempoFollower::TempoFollower(){ + maximumTempoInterval = 600; + minimumTempoInterval = 200; + tempoArraySize = maximumTempoInterval - minimumTempoInterval;; + + tempoPrior.createVector(tempoArraySize); + tempoPosterior.createVector(tempoArraySize); + tempoLikelihood.createVector(tempoArraySize); + + tempoPosterior.addConstant(1); + + tempoPrior.offset = minimumTempoInterval; + tempoPosterior.offset = minimumTempoInterval; + tempoLikelihood.offset = minimumTempoInterval; + + tempoPrior.scalar = 1; + tempoPosterior.scalar = 1; + tempoLikelihood.scalar = 1; +} + + +void TempoFollower::reset(){ + + tempoPrior.zero(); + tempoPosterior.addConstant(1); +} + + +void TempoFollower::setUpEventTimeMatrix(){ + for (int i = 0;i < NUMBER_OF_CHANNELS;i++){ + IntVector v; + eventTimes.push_back(v); + + DoubleMatrix m; + tempoIntervals.push_back(m); + } + + //[channel][index] +} + + + +void TempoFollower::printEventTimes(){ + for (int i = 0;i < NUMBER_OF_CHANNELS;i++){ + printf("CHANNEL %i EVENT TIMES...\n", i); + for (int j = 0;j < eventTimes[i].size();j++) + printf("%i\n", eventTimes[i][j]); + } +} + + +void TempoFollower::updateTempo(const int& channel, const int& timeIn){ + + eventTimes[channel].push_back(timeIn); + + int interval = 0; + int intervalLimit = 3600; + + int recentIndex = eventTimes[channel].size()-1; + + DoubleVector d; + + int recentEvent = eventTimes[channel][recentIndex]; + + for (int i = 1;i < eventTimes[channel].size() && interval < intervalLimit;i++){ + interval = eventTimes[channel][recentIndex] - eventTimes[channel][recentIndex - i]; + + if (testTempoInterval(channel, interval, d)) + printf("channel %i interval %i at division 1 == tempo update %i\n", channel, interval, interval); + + for (double divisionInEighthNotes = 2.0;divisionInEighthNotes < 9.0;divisionInEighthNotes+=2){ + + double testInterval = interval / divisionInEighthNotes; + if (testTempoInterval(channel, testInterval, d)) + printf("channel %i interval %i at division %.0f == tempo update %f\n", channel, interval, divisionInEighthNotes, testInterval); + + } + } + + (tempoIntervals[channel]).push_back(d); + updateTempoDistribution(d); + +} + + +bool TempoFollower::testTempoInterval(const int& channel, const double& testInterval, DoubleVector& d){ + + bool updated = false; + if (testInterval >= minimumTempoInterval && testInterval <= maximumTempoInterval){ + d.push_back(testInterval); + updated = true; + } + return updated; +} + +void TempoFollower::updateTempoDistribution(const DoubleVector& d){ + double tempoLikelihoodToNoiseRatio = 0.8; + tempoLikelihood.zero(); + double amount = tempoLikelihoodToNoiseRatio/d.size(); + for (int i = 0;i < d.size();i++){ + tempoLikelihood.addGaussianShapeFromRealTime(d[i], 10, amount); + } + tempoLikelihood.addConstant(0.1*(1-tempoLikelihoodToNoiseRatio)); + calculatePosterior(); + + tempoPosterior.renormalise(); + playingTempo = tempoPosterior.getIndexInRealTerms(tempoPosterior.getMAPestimate()); +} + + + +void TempoFollower::calculatePosterior(){ + tempoPrior.copyFromDynamicVector(tempoPosterior); + for (int i = 0;i < tempoArraySize;i++){ + tempoPosterior.array[i] = tempoLikelihood.array[i] * tempoPrior.array[i]; + } +} + +void TempoFollower::drawTempoArray(ofxWindowRegion& window){ + ofSetColor(150,0,250); + tempoPosterior.drawConstrainedVector(0, tempoArraySize, 0, ofGetWidth(), window); + ofDrawBitmapString("tempo "+ofToString(playingTempo), window.x+ 20, window.y + 40); +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/TempoFollower.h Thu Feb 09 18:09:34 2012 +0000 @@ -0,0 +1,55 @@ +/* + * TempoFollower.h + * MultipleAudioMathcher + * + * Created by Andrew on 09/02/2012. + * Copyright 2012 QMUL. All rights reserved. + * + */ + +#ifndef TEMPO_FOLLOWER_H +#define TEMPO_FOLLOWER_H + +#define NUMBER_OF_CHANNELS 3 + +#include "ofMain.h" +#include "DynamicVector.h" +#include "ofxWindowRegion.h" + +class TempoFollower{ + +public: + TempoFollower(); + + DynamicVector tempoPrior; + DynamicVector tempoPosterior; + DynamicVector tempoLikelihood; + int tempoArraySize; + int minimumTempoInterval, maximumTempoInterval; + + double playingTempo; + + void reset(); + + //TEMPO STUFF + + typedef std::vector<double> DoubleVector; + typedef std::vector<DoubleVector> DoubleMatrix; + typedef std::vector<DoubleMatrix> DoubleCube; + DoubleCube tempoIntervals;//channel, event index, vector of interval times + + + typedef std::vector<int> IntVector; + typedef std::vector<IntVector> IntMatrix; + IntMatrix eventTimes; + void setUpEventTimeMatrix(); + void printEventTimes(); + + void updateTempo(const int& channel, const int& timeIn); + bool testTempoInterval(const int& channel, const double& testTempoInterval, DoubleVector& d); + void updateTempoDistribution(const DoubleVector& d); + void calculatePosterior(); + void drawTempoArray(ofxWindowRegion& window); + +}; +#endif \ No newline at end of file