{ "patcher" : { "fileversion" : 1, "rect" : [ 41.0, 64.0, 1322.0, 712.0 ], "bglocked" : 0, "defrect" : [ 41.0, 64.0, 1322.0, 712.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" : "Set FM ratio", "numoutlets" : 0, "fontname" : "Arial", "presentation_rect" : [ 544.0, 166.0, 0.0, 0.0 ], "fontsize" : 12.0, "patching_rect" : [ 816.0, 334.0, 76.0, 20.0 ], "id" : "obj-27", "numinlets" : 1 } } , { "box" : { "maxclass" : "message", "text" : "1500", "hidden" : 1, "numoutlets" : 1, "fontname" : "Arial", "bgcolor" : [ 0.0, 0.0, 0.0, 0.172549 ], "outlettype" : [ "" ], "fontsize" : 12.0, "patching_rect" : [ 1147.0, 26.0, 37.0, 18.0 ], "id" : "obj-19", "numinlets" : 2 } } , { "box" : { "maxclass" : "message", "text" : "0.5", "hidden" : 1, "numoutlets" : 1, "fontname" : "Arial", "bgcolor" : [ 0.0, 0.0, 0.0, 0.172549 ], "outlettype" : [ "" ], "presentation_rect" : [ 1070.0, 23.0, 0.0, 0.0 ], "fontsize" : 12.0, "patching_rect" : [ 1070.0, 23.0, 32.5, 18.0 ], "id" : "obj-17", "numinlets" : 2 } } , { "box" : { "maxclass" : "message", "text" : "100", "hidden" : 1, "numoutlets" : 1, "fontname" : "Arial", "bgcolor" : [ 0.0, 0.0, 0.0, 0.172549 ], "outlettype" : [ "" ], "presentation_rect" : [ 996.0, 23.0, 0.0, 0.0 ], "fontsize" : 12.0, "patching_rect" : [ 996.0, 23.0, 32.5, 18.0 ], "id" : "obj-15", "numinlets" : 2 } } , { "box" : { "maxclass" : "message", "text" : "100", "hidden" : 1, "numoutlets" : 1, "fontname" : "Arial", "bgcolor" : [ 0.0, 0.0, 0.0, 0.172549 ], "outlettype" : [ "" ], "presentation_rect" : [ 919.0, 23.0, 0.0, 0.0 ], "fontsize" : 12.0, "patching_rect" : [ 921.0, 23.0, 32.5, 18.0 ], "id" : "obj-12", "numinlets" : 2 } } , { "box" : { "maxclass" : "message", "text" : "0.33", "hidden" : 1, "numoutlets" : 1, "fontname" : "Arial", "bgcolor" : [ 0.0, 0.0, 0.0, 0.172549 ], "outlettype" : [ "" ], "fontsize" : 12.0, "patching_rect" : [ 802.0, 270.0, 34.0, 18.0 ], "id" : "obj-11", "numinlets" : 2 } } , { "box" : { "maxclass" : "newobj", "text" : "loadbang", "hidden" : 1, "numoutlets" : 1, "fontname" : "Arial", "outlettype" : [ "bang" ], "fontsize" : 12.0, "patching_rect" : [ 836.0, 3.0, 60.0, 20.0 ], "color" : [ 0.0, 0.0, 0.0, 0.172549 ], "id" : "obj-5", "numinlets" : 1 } } , { "box" : { "maxclass" : "comment", "text" : "No need to use poly and poly~", "numoutlets" : 0, "fontname" : "Arial", "fontsize" : 12.0, "patching_rect" : [ 342.0, 157.0, 178.0, 20.0 ], "id" : "obj-31", "numinlets" : 1 } } , { "box" : { "maxclass" : "flonum", "numoutlets" : 2, "fontname" : "Arial", "outlettype" : [ "float", "bang" ], "fontsize" : 12.0, "patching_rect" : [ 802.0, 363.0, 50.0, 20.0 ], "id" : "obj-26", "numinlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "s fm_harm", "numoutlets" : 0, "fontname" : "Arial", "fontsize" : 12.0, "patching_rect" : [ 801.0, 386.0, 67.0, 20.0 ], "id" : "obj-18", "numinlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "pack i i", "numoutlets" : 1, "fontname" : "Arial", "outlettype" : [ "" ], "fontsize" : 12.0, "patching_rect" : [ 225.0, 161.0, 48.0, 20.0 ], "id" : "obj-24", "numinlets" : 2 } } , { "box" : { "maxclass" : "newobj", "text" : "prepend midinote", "numoutlets" : 1, "fontname" : "Arial", "outlettype" : [ "" ], "fontsize" : 12.0, "patching_rect" : [ 225.0, 183.0, 103.0, 20.0 ], "id" : "obj-23", "numinlets" : 1 } } , { "box" : { "maxclass" : "button", "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 235.0, 78.0, 20.0, 20.0 ], "id" : "obj-21", "numinlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "flush", "numoutlets" : 2, "fontname" : "Arial", "outlettype" : [ "int", "int" ], "fontsize" : 12.0, "patching_rect" : [ 225.0, 110.0, 48.0, 20.0 ], "id" : "obj-16", "numinlets" : 2 } } , { "box" : { "maxclass" : "message", "text" : "clear", "hidden" : 1, "numoutlets" : 1, "fontname" : "Arial", "outlettype" : [ "" ], "fontsize" : 12.0, "patching_rect" : [ 255.0, 78.0, 37.0, 18.0 ], "id" : "obj-8", "numinlets" : 2 } } , { "box" : { "maxclass" : "comment", "text" : "It works for lists too:", "numoutlets" : 0, "fontname" : "Arial", "fontsize" : 11.595187, "patching_rect" : [ 1016.0, 183.0, 113.0, 20.0 ], "id" : "obj-71", "numinlets" : 1 } } , { "box" : { "maxclass" : "message", "text" : "932.327515 440. 246.94165 349.228241", "numoutlets" : 1, "fontname" : "Arial", "outlettype" : [ "" ], "fontsize" : 11.595187, "patching_rect" : [ 944.0, 364.0, 287.0, 18.0 ], "id" : "obj-3", "numinlets" : 2 } } , { "box" : { "maxclass" : "message", "text" : "82 69 59 65", "numoutlets" : 1, "fontname" : "Arial", "outlettype" : [ "" ], "fontsize" : 11.595187, "patching_rect" : [ 944.0, 435.0, 287.0, 18.0 ], "id" : "obj-73", "numinlets" : 2 } } , { "box" : { "maxclass" : "newobj", "text" : "ftom", "numoutlets" : 1, "fontname" : "Arial", "outlettype" : [ "" ], "fontsize" : 11.595187, "patching_rect" : [ 930.0, 399.0, 33.0, 20.0 ], "id" : "obj-74", "numinlets" : 1 } } , { "box" : { "maxclass" : "multislider", "numoutlets" : 2, "setminmax" : [ 36.0, 96.0 ], "candycane" : 2, "outlettype" : [ "", "" ], "contdata" : 1, "ghostbar" : 30, "settype" : 0, "patching_rect" : [ 930.0, 459.0, 306.0, 69.0 ], "size" : 4, "id" : "obj-75", "numinlets" : 1, "spacing" : 1 } } , { "box" : { "maxclass" : "message", "text" : "82 69 59 65", "numoutlets" : 1, "fontname" : "Arial", "outlettype" : [ "" ], "fontsize" : 11.595187, "patching_rect" : [ 944.0, 300.0, 287.0, 18.0 ], "id" : "obj-76", "numinlets" : 2 } } , { "box" : { "maxclass" : "newobj", "text" : "mtof", "numoutlets" : 1, "fontname" : "Arial", "outlettype" : [ "" ], "fontsize" : 11.595187, "patching_rect" : [ 930.0, 326.0, 33.0, 20.0 ], "id" : "obj-77", "numinlets" : 1 } } , { "box" : { "maxclass" : "multislider", "numoutlets" : 2, "setminmax" : [ 36.0, 96.0 ], "candycane" : 2, "outlettype" : [ "", "" ], "contdata" : 1, "ghostbar" : 30, "settype" : 0, "patching_rect" : [ 930.0, 210.0, 306.0, 69.0 ], "size" : 4, "id" : "obj-22", "numinlets" : 1, "spacing" : 1 } } , { "box" : { "maxclass" : "comment", "text" : "this opens the 3rd voice\n", "numoutlets" : 0, "fontname" : "Arial", "fontsize" : 12.0, "patching_rect" : [ 301.0, 277.0, 150.0, 20.0 ], "id" : "obj-10", "numinlets" : 1 } } , { "box" : { "maxclass" : "message", "text" : "open 3", "numoutlets" : 1, "fontname" : "Arial", "outlettype" : [ "" ], "fontsize" : 12.0, "patching_rect" : [ 301.0, 292.0, 47.0, 18.0 ], "id" : "obj-4", "numinlets" : 2 } } , { "box" : { "maxclass" : "newobj", "text" : "poly~ voiceFM 5", "numoutlets" : 1, "fontname" : "Arial", "outlettype" : [ "signal" ], "fontsize" : 12.0, "patching_rect" : [ 225.0, 345.0, 98.0, 20.0 ], "id" : "obj-2", "numinlets" : 1 } } , { "box" : { "maxclass" : "flonum", "numoutlets" : 2, "fontname" : "Arial", "outlettype" : [ "float", "bang" ], "fontsize" : 12.0, "patching_rect" : [ 1146.0, 48.0, 70.57, 20.0 ], "id" : "obj-72", "numinlets" : 1 } } , { "box" : { "maxclass" : "flonum", "numoutlets" : 2, "fontname" : "Arial", "outlettype" : [ "float", "bang" ], "fontsize" : 12.0, "patching_rect" : [ 1071.0, 48.0, 70.57, 20.0 ], "id" : "obj-70", "numinlets" : 1 } } , { "box" : { "maxclass" : "flonum", "numoutlets" : 2, "fontname" : "Arial", "outlettype" : [ "float", "bang" ], "fontsize" : 12.0, "patching_rect" : [ 996.0, 48.0, 70.57, 20.0 ], "id" : "obj-68", "numinlets" : 1 } } , { "box" : { "maxclass" : "flonum", "numoutlets" : 2, "fontname" : "Arial", "outlettype" : [ "float", "bang" ], "fontsize" : 12.0, "patching_rect" : [ 921.0, 48.0, 70.57, 20.0 ], "id" : "obj-66", "numinlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "s RFM", "numoutlets" : 0, "fontname" : "Arial", "fontsize" : 12.0, "patching_rect" : [ 1146.0, 78.0, 46.0, 20.0 ], "id" : "obj-55", "numinlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "s SFM", "numoutlets" : 0, "fontname" : "Arial", "fontsize" : 12.0, "patching_rect" : [ 1071.0, 78.0, 45.0, 20.0 ], "id" : "obj-54", "numinlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "s DFM", "numoutlets" : 0, "fontname" : "Arial", "fontsize" : 12.0, "patching_rect" : [ 996.0, 78.0, 46.0, 20.0 ], "id" : "obj-53", "numinlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "s AFM", "numoutlets" : 0, "fontname" : "Arial", "fontsize" : 12.0, "patching_rect" : [ 921.0, 78.0, 45.0, 20.0 ], "id" : "obj-52", "numinlets" : 1 } } , { "box" : { "maxclass" : "comment", "text" : "PRESET STORES KEYS PRESSED\n", "linecount" : 2, "numoutlets" : 0, "fontname" : "Arial", "fontsize" : 12.0, "patching_rect" : [ 60.0, 90.0, 150.0, 34.0 ], "id" : "obj-51", "numinlets" : 1 } } , { "box" : { "maxclass" : "preset", "numoutlets" : 4, "outlettype" : [ "preset", "int", "preset", "int" ], "patching_rect" : [ 60.0, 45.0, 100.0, 40.0 ], "id" : "obj-45", "numinlets" : 1, "preset_data" : [ { "number" : 1, "data" : [ 4, "obj-1", "kslider", "chord" ] } , { "number" : 2, "data" : [ 14, "obj-1", "kslider", "chord", 40, 32, 45, 26, 52, 17, 55, 26, 59, 23 ] } , { "number" : 3, "data" : [ 12, "obj-1", "kslider", "chord", 36, 26, 40, 32, 52, 17, 55, 26 ] } , { "number" : 4, "data" : [ 12, "obj-1", "kslider", "chord", 40, 32, 52, 26, 55, 26, 59, 29 ] } , { "number" : 5, "data" : [ 4, "obj-1", "kslider", "chord" ] } , { "number" : 6, "data" : [ 12, "obj-1", "kslider", "chord", 47, 29, 55, 35, 61, 26, 74, 44 ] } ] } } , { "box" : { "maxclass" : "comment", "text" : "this is sending the TYPE OF WAVE to the ENCAPUSLATED PATCH THAT IS NOW AN ABSTARACTION\n", "linecount" : 5, "numoutlets" : 0, "fontname" : "Arial", "fontsize" : 12.0, "patching_rect" : [ 619.0, 435.0, 150.0, 75.0 ], "id" : "obj-44", "numinlets" : 1 } } , { "box" : { "maxclass" : "comment", "text" : "DELETE the \"p\" ONCE WE SAVE THE ENCAPSULATION AS.... AND MAKE IT AN ABSTRACTION\n", "linecount" : 5, "numoutlets" : 0, "fontname" : "Arial", "fontsize" : 12.0, "patching_rect" : [ 45.0, 315.0, 150.0, 75.0 ], "id" : "obj-42", "numinlets" : 1 } } , { "box" : { "maxclass" : "umenu", "numoutlets" : 3, "fontname" : "Arial", "outlettype" : [ "int", "", "" ], "items" : [ "off", ",", "sine", ",", "sawtooth", ",", "square", ",", "Triangle", ",", "FM1" ], "fontsize" : 12.0, "types" : [ ], "patching_rect" : [ 619.0, 330.0, 100.0, 20.0 ], "id" : "obj-40", "numinlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "s oscillatorFM", "numoutlets" : 0, "fontname" : "Arial", "fontsize" : 12.0, "patching_rect" : [ 619.0, 390.0, 85.0, 20.0 ], "id" : "obj-39", "numinlets" : 1 } } , { "box" : { "maxclass" : "comment", "text" : "Duplicate voice\n", "numoutlets" : 0, "fontname" : "Arial", "fontsize" : 12.0, "patching_rect" : [ 45.0, 180.0, 155.0, 20.0 ], "id" : "obj-20", "numinlets" : 1 } } , { "box" : { "maxclass" : "comment", "text" : "Encapuslate voice\n", "numoutlets" : 0, "fontname" : "Arial", "fontsize" : 12.0, "patching_rect" : [ 45.0, 150.0, 155.0, 20.0 ], "id" : "obj-14", "numinlets" : 1 } } , { "box" : { "maxclass" : "comment", "text" : "Choose: Polyphonic mode\n", "numoutlets" : 0, "fontname" : "Arial", "fontsize" : 12.0, "patching_rect" : [ 60.0, 15.0, 155.0, 20.0 ], "id" : "obj-13", "numinlets" : 1 } } , { "box" : { "maxclass" : "gain~", "numoutlets" : 2, "outlettype" : [ "signal", "int" ], "patching_rect" : [ 225.0, 435.0, 46.0, 150.0 ], "id" : "obj-7", "numinlets" : 2 } } , { "box" : { "maxclass" : "ezdac~", "numoutlets" : 0, "patching_rect" : [ 225.0, 600.0, 45.0, 45.0 ], "id" : "obj-6", "numinlets" : 2 } } , { "box" : { "maxclass" : "kslider", "numoutlets" : 2, "mode" : 1, "outlettype" : [ "int", "int" ], "patching_rect" : [ 225.0, 15.0, 336.0, 53.0 ], "id" : "obj-1", "numinlets" : 2 } } , { "box" : { "maxclass" : "panel", "numoutlets" : 0, "bgcolor" : [ 0.039216, 0.329412, 0.643137, 0.517647 ], "patching_rect" : [ 216.0, 147.0, 312.0, 94.0 ], "id" : "obj-29", "numinlets" : 1 } } , { "box" : { "maxclass" : "panel", "numoutlets" : 0, "bgcolor" : [ 0.462745, 0.196078, 0.956863, 0.439216 ], "presentation_rect" : [ 381.0, 509.0, 0.0, 0.0 ], "patching_rect" : [ 793.0, 305.0, 117.0, 108.0 ], "id" : "obj-25", "numinlets" : 1 } } ], "lines" : [ { "patchline" : { "source" : [ "obj-5", 0 ], "destination" : [ "obj-19", 0 ], "hidden" : 1, "color" : [ 0.0, 0.0, 0.0, 0.172549 ], "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-5", 0 ], "destination" : [ "obj-17", 0 ], "hidden" : 1, "color" : [ 0.0, 0.0, 0.0, 0.172549 ], "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-5", 0 ], "destination" : [ "obj-15", 0 ], "hidden" : 1, "color" : [ 0.0, 0.0, 0.0, 0.172549 ], "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-5", 0 ], "destination" : [ "obj-12", 0 ], "hidden" : 1, "color" : [ 0.0, 0.0, 0.0, 0.172549 ], "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-5", 0 ], "destination" : [ "obj-11", 0 ], "hidden" : 1, "color" : [ 0.0, 0.0, 0.0, 0.172549 ], "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-17", 0 ], "destination" : [ "obj-70", 0 ], "hidden" : 1, "color" : [ 0.0, 0.0, 0.0, 0.172549 ], "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-19", 0 ], "destination" : [ "obj-72", 0 ], "hidden" : 1, "color" : [ 0.0, 0.0, 0.0, 0.172549 ], "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-15", 0 ], "destination" : [ "obj-68", 0 ], "hidden" : 1, "color" : [ 0.0, 0.0, 0.0, 0.172549 ], "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-12", 0 ], "destination" : [ "obj-66", 0 ], "hidden" : 1, "color" : [ 0.0, 0.0, 0.0, 0.172549 ], "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-11", 0 ], "destination" : [ "obj-26", 0 ], "hidden" : 1, "color" : [ 0.0, 0.0, 0.0, 0.172549 ], "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-77", 0 ], "destination" : [ "obj-3", 1 ], "hidden" : 0, "midpoints" : [ 939.5, 356.0, 1221.5, 356.0 ] } } , { "patchline" : { "source" : [ "obj-74", 0 ], "destination" : [ "obj-73", 1 ], "hidden" : 0, "midpoints" : [ 939.5, 425.0, 1221.5, 425.0 ] } } , { "patchline" : { "source" : [ "obj-74", 0 ], "destination" : [ "obj-75", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-77", 0 ], "destination" : [ "obj-74", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-22", 0 ], "destination" : [ "obj-76", 1 ], "hidden" : 0, "midpoints" : [ 939.5, 289.0, 1221.5, 289.0 ] } } , { "patchline" : { "source" : [ "obj-22", 0 ], "destination" : [ "obj-77", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-72", 0 ], "destination" : [ "obj-55", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-70", 0 ], "destination" : [ "obj-54", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-68", 0 ], "destination" : [ "obj-53", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-66", 0 ], "destination" : [ "obj-52", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-40", 0 ], "destination" : [ "obj-39", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-45", 0 ], "destination" : [ "obj-1", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-7", 0 ], "destination" : [ "obj-6", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-7", 0 ], "destination" : [ "obj-6", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-8", 0 ], "destination" : [ "obj-1", 0 ], "hidden" : 1, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-1", 0 ], "destination" : [ "obj-16", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-1", 1 ], "destination" : [ "obj-16", 1 ], "hidden" : 0, "midpoints" : [ 551.5, 102.0, 263.5, 102.0 ] } } , { "patchline" : { "source" : [ "obj-21", 0 ], "destination" : [ "obj-16", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-24", 0 ], "destination" : [ "obj-23", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-16", 0 ], "destination" : [ "obj-24", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-26", 0 ], "destination" : [ "obj-18", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-16", 1 ], "destination" : [ "obj-24", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-21", 0 ], "destination" : [ "obj-8", 0 ], "hidden" : 1, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-4", 0 ], "destination" : [ "obj-2", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-2", 0 ], "destination" : [ "obj-7", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-23", 0 ], "destination" : [ "obj-2", 0 ], "hidden" : 0, "midpoints" : [ ] } } ] } }