diff --git a/docs/00-general.md b/docs/00-general.md index b94ce90a..82d31f5d 100644 --- a/docs/00-general.md +++ b/docs/00-general.md @@ -2,10 +2,10 @@ ## new -Create a new instance of an instrument or external output. This can be a `sample`, a `synth`, a `loop`, a `polySynth`, `midi` or an `emitter` for osc followed by the name of the sample, the name of the waveshape to use for the synth, the emitter type (currently only supports `osc`) or the midi device name. After that use functions to set parameters for the object. +Create a new instance of an instrument or external output. This can be a `sample`, a `synth`, a `loop`, a `polySynth`, `midi`, `modulator` or an `emitter` for osc followed by the name of the sample, the name of the waveshape to use for the synth, the emitter type (currently only supports `osc`) or the midi device name. After that use functions to set parameters for the object. **arguments** -- {Instrument} -> the instrument type (sample, synth, loop, polySynth, emitter) +- {Instrument} -> the instrument type (sample, synth, loop, polySynth, midi, modulator) - {Type} -> selected sample or synth waveform (based on loaded files) - {Functions+} -> instrument methods seperated by spaces (optional) diff --git a/docs/02-instrument.md b/docs/02-instrument.md index b388cb17..1c3c3402 100644 --- a/docs/02-instrument.md +++ b/docs/02-instrument.md @@ -7,6 +7,7 @@ For instrument specific functions see below: - [Synth / polySynth](#synth-and-polysynth-only) - [Sample / Loop](#sample-and-loop-only) - [Midi](#midi) +- [Modulator](#modulator) *Mercury for Max8 Only!* ## name @@ -536,4 +537,41 @@ An experimental text-to-speech instrument is added. Using the Mac terminal speec new voice Alex speak("Hello world!") time(2) new voice Samantha speak("Hi Alex!") time(2 1) -``` --> \ No newline at end of file +``` --> + +# Modulator + +The modulator allows you to send a modulation signal as an argument to parameters from functions of other instruments. These parameters are continuously modulated at a specific rate with a specific waveform. The modulation rate is independent from the instruments `time()` (in comparison when using a list as an argument). + +```java +new modulator name() range( ) time() +``` + +## name + +Set the name for the modulator, this name can be used as argument in the functions of an instrument like `synth` and `sample` + +```java +// set the name to myModulator +new modulator sine name(myModulator) +// the synth uses the modulator in the gain function +new synth saw gain(myModulator) +``` + +## time + +Set the modulation speed in division. The default is `1/1` (one period per bar). + +```java +// modulate once per 4 bars +new modulator sine time(4/1) +``` + +## range + +Set the modulation range between a low and high value with an option exponential value. The default range is 0 to 1. + +```java +// set the range from 200 to 5000, for example to modulate a filter cutoff +new modulator sine range(200 5000) +``` \ No newline at end of file diff --git a/mercury_ide/patchers/_mercury_main.maxpat b/mercury_ide/patchers/_mercury_main.maxpat index 33c6b3df..0aee3fde 100644 --- a/mercury_ide/patchers/_mercury_main.maxpat +++ b/mercury_ide/patchers/_mercury_main.maxpat @@ -6614,30 +6614,6 @@ "text" : "r render" } - } -, { - "box" : { - "id" : "obj-380", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "clear" ], - "patching_rect" : [ 2162.333333333333485, 195.0, 41.0, 22.0 ], - "text" : "t clear" - } - - } -, { - "box" : { - "id" : "obj-319", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "int" ], - "patching_rect" : [ 2162.333333333333485, 226.0, 50.0, 22.0 ], - "text" : "console" - } - } , { "box" : { @@ -11833,7 +11809,7 @@ } , "classnamespace" : "box", - "rect" : [ 102.0, 326.0, 640.0, 480.0 ], + "rect" : [ 371.0, 210.0, 640.0, 480.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -47518,7 +47494,7 @@ } , "classnamespace" : "box", - "rect" : [ 950.0, 261.0, 640.0, 480.0 ], + "rect" : [ 822.0, 261.0, 640.0, 480.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -49549,7 +49525,7 @@ "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 2186.0, 135.0, 86.0, 22.0 ], + "patching_rect" : [ 2162.33333333333394, 135.0, 86.0, 22.0 ], "text" : "s priorityLoad" } @@ -49712,7 +49688,7 @@ } , "classnamespace" : "box", - "rect" : [ 764.0, 96.0, 652.0, 783.0 ], + "rect" : [ 782.0, 96.0, 680.0, 837.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -61939,7 +61915,7 @@ "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 585.0, 196.0, 33.0, 22.0 ], + "patching_rect" : [ 585.0, 186.0, 33.0, 22.0 ], "text" : "s init" } @@ -61949,10 +61925,10 @@ "id" : "obj-274", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "bang", "bang", "bang", "bang" ], - "patching_rect" : [ 585.0, 120.0, 105.0, 22.0 ], - "text" : "t b b b b" + "numoutlets" : 3, + "outlettype" : [ "bang", "bang", "bang" ], + "patching_rect" : [ 585.0, 120.0, 76.333333333333144, 22.0 ], + "text" : "t b b b" } } @@ -61976,47 +61952,10 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 642.333333333333371, 196.0, 115.0, 35.0 ], + "patching_rect" : [ 642.333333333333371, 186.0, 115.0, 35.0 ], "text" : ";\rmax maxinwmenu 0" } - } -, { - "box" : { - "id" : "obj-226", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 776.0, 199.0, 83.0, 22.0 ], - "text" : "macintosh" - } - - } -, { - "box" : { - "id" : "obj-200", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 840.0, 80.0, 65.0, 22.0 ], - "text" : "r SYSTEM" - } - - } -, { - "box" : { - "id" : "obj-197", - "linecount" : 2, - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 671.0, 150.0, 142.0, 35.0 ], - "text" : ";\rmax getsystem SYSTEM" - } - } , { "box" : { @@ -74072,13 +74011,6 @@ "source" : [ "obj-195", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-226", 1 ], - "source" : [ "obj-200", 0 ] - } - } , { "patchline" : { @@ -74149,19 +74081,10 @@ "source" : [ "obj-211", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-380", 0 ], - "order" : 1, - "source" : [ "obj-211", 3 ] - } - } , { "patchline" : { "destination" : [ "obj-5", 0 ], - "order" : 0, "source" : [ "obj-211", 3 ] } @@ -74630,13 +74553,6 @@ "source" : [ "obj-273", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-197", 0 ], - "source" : [ "obj-274", 3 ] - } - } , { "patchline" : { @@ -75518,13 +75434,6 @@ "source" : [ "obj-379", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-319", 0 ], - "source" : [ "obj-380", 0 ] - } - } , { "patchline" : { diff --git a/mercury_ide/patchers/argListLookup.maxpat b/mercury_ide/patchers/argListLookup.maxpat index 85e8382d..49165a9a 100644 --- a/mercury_ide/patchers/argListLookup.maxpat +++ b/mercury_ide/patchers/argListLookup.maxpat @@ -3,14 +3,14 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 0, - "revision" : 8, + "minor" : 5, + "revision" : 6, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 352.0, 176.0, 697.0, 589.0 ], + "rect" : [ 224.0, 216.0, 697.0, 589.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -37,6 +37,7 @@ "tags" : "", "style" : "", "subpatcher_template" : "", + "assistshowspatchername" : 0, "boxes" : [ { "box" : { "id" : "obj-21", @@ -189,8 +190,8 @@ "maxclass" : "inlet", "numinlets" : 0, "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 330.0, 32.0, 30.0, 30.0 ] + "outlettype" : [ "" ], + "patching_rect" : [ 330.0, 30.0, 30.0, 30.0 ] } } @@ -202,7 +203,7 @@ "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 433.0, 201.0, 175.0, 74.0 ], - "text" : "if more than 1 value output list for note count.\n\nElse through put the single value" + "text" : "If more than 1 value output list for note count.\n\nElse through put the single value" } } @@ -249,7 +250,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 315.0, 202.0, 34.0, 22.0 ], + "patching_rect" : [ 315.0, 200.0, 34.0, 22.0 ], "text" : "gate" } @@ -355,7 +356,7 @@ "lines" : [ { "patchline" : { "destination" : [ "obj-2", 0 ], - "midpoints" : [ 174.5, 348.0, 280.0, 348.0, 280.0, 189.0, 324.5, 189.0 ], + "midpoints" : [ 174.5, 348.0, 284.0, 348.0, 284.0, 189.0, 324.5, 189.0 ], "order" : 0, "source" : [ "obj-1", 0 ] } diff --git a/mercury_ide/patchers/eventSequencer.maxpat b/mercury_ide/patchers/eventSequencer.maxpat index a39b0070..5ca3320f 100644 --- a/mercury_ide/patchers/eventSequencer.maxpat +++ b/mercury_ide/patchers/eventSequencer.maxpat @@ -4,7 +4,7 @@ "appversion" : { "major" : 8, "minor" : 5, - "revision" : 4, + "revision" : 6, "architecture" : "x64", "modernui" : 1 } @@ -74,7 +74,7 @@ "appversion" : { "major" : 8, "minor" : 5, - "revision" : 4, + "revision" : 6, "architecture" : "x64", "modernui" : 1 } @@ -375,7 +375,7 @@ "appversion" : { "major" : 8, "minor" : 5, - "revision" : 4, + "revision" : 6, "architecture" : "x64", "modernui" : 1 } @@ -698,7 +698,7 @@ "appversion" : { "major" : 8, "minor" : 5, - "revision" : 4, + "revision" : 6, "architecture" : "x64", "modernui" : 1 } @@ -877,7 +877,7 @@ "appversion" : { "major" : 8, "minor" : 5, - "revision" : 4, + "revision" : 6, "architecture" : "x64", "modernui" : 1 } @@ -1256,7 +1256,7 @@ "numoutlets" : 4, "outlettype" : [ "bang", "signal", "int", "signal" ], "patching_rect" : [ 227.400000000000006, 615.0, 158.0, 22.0 ], - "text" : "th.clockwarp~ @thresh 0.99" + "text" : "th.clockwarp~ @thresh 0.95" } } diff --git a/mercury_ide/patchers/getVariables.maxpat b/mercury_ide/patchers/getVariables.maxpat index db65edb8..7897e675 100644 --- a/mercury_ide/patchers/getVariables.maxpat +++ b/mercury_ide/patchers/getVariables.maxpat @@ -4,13 +4,13 @@ "appversion" : { "major" : 8, "minor" : 5, - "revision" : 4, + "revision" : 6, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 74.0, 125.0, 694.0, 783.0 ], + "rect" : [ 34.0, 96.0, 680.0, 837.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -50,7 +50,7 @@ "appversion" : { "major" : 8, "minor" : 5, - "revision" : 4, + "revision" : 6, "architecture" : "x64", "modernui" : 1 } @@ -661,8 +661,8 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "bang" ], - "patching_rect" : [ 518.700000000000045, 495.0, 63.0, 22.0 ], - "text" : "metro 64n" + "patching_rect" : [ 518.700000000000045, 495.0, 56.0, 22.0 ], + "text" : "metro 10" } } diff --git a/mercury_ide/patchers/modulatorObject~.maxpat b/mercury_ide/patchers/modulatorObject~.maxpat index ddc1d260..98b4a4d1 100644 --- a/mercury_ide/patchers/modulatorObject~.maxpat +++ b/mercury_ide/patchers/modulatorObject~.maxpat @@ -3,14 +3,14 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 0, - "revision" : 8, + "minor" : 5, + "revision" : 6, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 34.0, 79.0, 652.0, 783.0 ], + "rect" : [ 34.0, 96.0, 680.0, 837.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -37,14 +37,1395 @@ "tags" : "", "style" : "", "subpatcher_template" : "", + "assistshowspatchername" : 0, "boxes" : [ { + "box" : { + "id" : "obj-81", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 5, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 59.0, 115.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 49.999989333333303, 210.0, 38.0, 22.0 ], + "text" : "zl.reg" + } + + } +, { + "box" : { + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 69.999989333333303, 180.0, 37.0, 22.0 ], + "text" : "join 2" + } + + } +, { + "box" : { + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 68.999989333333303, 150.0, 51.0, 22.0 ], + "text" : "unjoin 2" + } + + } +, { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "bang", "", "bang" ], + "patching_rect" : [ 49.999989333333303, 90.0, 40.0, 22.0 ], + "text" : "t b l b" + } + + } +, { + "box" : { + "id" : "obj-2", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 79.499989333333303, 120.0, 35.0, 22.0 ], + "text" : "1/1 0" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-57", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 49.999989333333303, 40.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-59", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 49.999989333333303, 255.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-3", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-3", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 1 ], + "source" : [ "obj-4", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-57", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-59", 0 ], + "source" : [ "obj-6", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 345.0, 375.0, 55.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p default" + } + + } +, { + "box" : { + "id" : "obj-80", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 371.0, 75.0, 29.5, 22.0 ], + "text" : "==" + } + + } +, { + "box" : { + "id" : "obj-79", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 371.0, 45.0, 83.0, 22.0 ], + "text" : "r #0_mute" + } + + } +, { + "box" : { + "id" : "obj-78", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 240.0, 225.0, 85.0, 22.0 ], + "text" : "s #0_mute" + } + + } +, { + "box" : { + "id" : "obj-77", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 371.0, 120.0, 32.0, 22.0 ], + "text" : "gate" + } + + } +, { + "box" : { + "id" : "obj-76", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 416.0, 75.0, 40.0, 22.0 ], + "text" : "r EOF" + } + + } +, { + "box" : { + "id" : "obj-75", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 154.0, 345.0, 79.0, 22.0 ], + "text" : "r #0_args" + } + + } +, { + "box" : { + "id" : "obj-74", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 154.0, 300.0, 81.0, 22.0 ], + "text" : "s #0_args" + } + + } +, { + "box" : { + "id" : "obj-73", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 371.0, 285.0, 81.0, 22.0 ], + "text" : "s #0_args" + } + + } +, { + "box" : { + "id" : "obj-72", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 371.0, 225.0, 38.0, 22.0 ], + "text" : "zl.reg" + } + + } +, { + "box" : { + "id" : "obj-71", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 371.0, 255.0, 47.0, 22.0 ], + "text" : "dict.iter" + } + + } +, { + "box" : { + "id" : "obj-70", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 420.0, 120.0, 71.0, 22.0 ], + "text" : "r #0_init" + } + + } +, { + "box" : { + "id" : "obj-69", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 195.0, 75.0, 73.0, 22.0 ], + "text" : "s #0_init" + } + + } +, { + "box" : { + "data" : { + "time" : [ "1/1", 0 ], + "range" : [ 0, 1 ], + "name" : "no_name", + "from" : "no_from" + } +, + "id" : "obj-68", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 4, + "outlettype" : [ "dictionary", "", "", "" ], + "patching_rect" : [ 420.0, 150.0, 190.0, 22.0 ], + "saved_object_attributes" : { + "embed" : 1, + "parameter_enable" : 0, + "parameter_mappable" : 0 + } +, + "text" : "dict modulatorDefaults @embed 1" + } + + } +, { + "box" : { + "id" : "obj-67", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 278.0, 150.0, 65.0, 22.0 ], + "text" : "remove $1" + } + + } +, { + "box" : { + "id" : "obj-64", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 278.0, 120.0, 55.0, 22.0 ], + "text" : "zl.slice 1" + } + + } +, { + "box" : { + "id" : "obj-63", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 4, + "outlettype" : [ "dictionary", "", "", "" ], + "patching_rect" : [ 390.0, 195.0, 79.0, 22.0 ], + "saved_object_attributes" : { + "embed" : 0, + "parameter_enable" : 0, + "parameter_mappable" : 0 + } +, + "text" : "dict @quiet 1" + } + + } +, { + "box" : { + "id" : "obj-62", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 525.0, 45.0, 86.0, 22.0 ], + "text" : "r #0_name" + } + + } +, { + "box" : { + "id" : "obj-61", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "", "", "", "" ], + "patching_rect" : [ 223.0, 525.0, 51.0, 22.0 ], + "text" : "unjoin 3" + } + + } +, { + "box" : { + "id" : "obj-60", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 5, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 59.0, 115.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 49.999989333333303, 210.0, 38.0, 22.0 ], + "text" : "zl.reg" + } + + } +, { + "box" : { + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 68.999989333333303, 180.0, 40.0, 22.0 ], + "text" : "join 3" + } + + } +, { + "box" : { + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "", "", "", "" ], + "patching_rect" : [ 68.999989333333303, 150.0, 51.0, 22.0 ], + "text" : "unjoin 3" + } + + } +, { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "bang", "", "bang" ], + "patching_rect" : [ 49.999989333333303, 90.0, 40.0, 22.0 ], + "text" : "t b l b" + } + + } +, { + "box" : { + "id" : "obj-2", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 79.499989333333303, 120.0, 35.0, 22.0 ], + "text" : "0 1 1" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-57", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 49.999989333333303, 40.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-59", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 49.999989333333303, 255.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-3", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-3", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 2 ], + "source" : [ "obj-4", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 1 ], + "source" : [ "obj-4", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-57", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-59", 0 ], + "source" : [ "obj-6", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 223.0, 480.0, 55.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p default" + } + + } +, { + "box" : { + "id" : "obj-53", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 60.0, 540.0, 86.0, 22.0 ], + "text" : "r #0_name" + } + + } +, { + "box" : { + "id" : "obj-52", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 154.0, 417.0, 88.0, 22.0 ], + "text" : "s #0_name" + } + + } +, { + "box" : { + "id" : "obj-50", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 345.0, 405.0, 51.0, 22.0 ], + "text" : "unjoin 2" + } + + } +, { + "box" : { + "id" : "obj-39", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 523.5, 510.0, 55.0, 22.0 ], + "text" : "calcExpr" + } + + } +, { + "box" : { + "id" : "obj-47", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 5, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 84.0, 128.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "id" : "obj-35", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 6, + "outlettype" : [ "signal", "bang", "int", "float", "", "list" ], + "patching_rect" : [ 105.0, 90.0, 71.5, 22.0 ], + "text" : "typeroute~" + } + + } +, { + "box" : { + "id" : "obj-22", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 128.0, 345.0, 29.5, 22.0 ], + "text" : "i" + } + + } +, { + "box" : { + "id" : "obj-21", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 103.0, 300.0, 55.0, 22.0 ], + "text" : "zl.slice 1" + } + + } +, { + "box" : { + "id" : "obj-20", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 173.0, 300.0, 34.0, 22.0 ], + "text" : "sel 1" + } + + } +, { + "box" : { + "id" : "obj-19", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 50.0, 137.0, 29.5, 22.0 ], + "text" : "t l l" + } + + } +, { + "box" : { + "id" : "obj-17", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 210.0, 101.0, 22.0 ], + "text" : "prepend contains" + } + + } +, { + "box" : { + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 78.0, 180.0, 73.0, 22.0 ], + "text" : "prepend get" + } + + } +, { + "box" : { + "data" : { + "default" : 0, + "sine" : 0, + "sin" : 0, + "saw" : 1, + "sawDown" : 1, + "down" : 1, + "phasor" : 2, + "sawUp" : 2, + "up" : 2, + "square" : 3, + "rect" : 3, + "sqr" : 3, + "triangle" : 4, + "tri" : 4 + } +, + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 4, + "outlettype" : [ "dictionary", "", "", "" ], + "patching_rect" : [ 50.0, 255.0, 178.0, 22.0 ], + "saved_object_attributes" : { + "embed" : 1, + "parameter_enable" : 0, + "parameter_mappable" : 0 + } +, + "text" : "dict waves @embed 1 @quiet 1" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-45", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 105.0, 45.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-46", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 128.0, 390.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "source" : [ "obj-10", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "source" : [ "obj-10", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "source" : [ "obj-19", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "source" : [ "obj-19", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "source" : [ "obj-20", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "source" : [ "obj-20", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 1 ], + "source" : [ "obj-21", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-46", 0 ], + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "source" : [ "obj-35", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "source" : [ "obj-35", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "source" : [ "obj-35", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-35", 0 ], + "source" : [ "obj-45", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 435.0, 375.0, 83.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p match-wave" + } + + } +, { + "box" : { + "id" : "obj-20", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 345.0, 465.0, 77.0, 22.0 ], + "text" : "prepend rate" + } + + } +, { + "box" : { + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 5, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "dsp.gen", + "rect" : [ 282.0, 321.0, 600.0, 450.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 120.0, 45.0, 77.0, 22.0 ], + "text" : "param rate 1" + } + + } +, { + "box" : { + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 45.0, 105.0, 94.0, 22.0 ], + "text" : "rate @sync lock" + } + + } +, { + "box" : { + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 45.0, 45.0, 28.0, 22.0 ], + "text" : "in 1" + } + + } +, { + "box" : { + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 45.0, 165.0, 35.0, 22.0 ], + "text" : "out 1" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 1 ], + "source" : [ "obj-6", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 345.0, 540.0, 78.0, 22.0 ], + "text" : "gen~ @t rate" + } + + } +, { + "box" : { + "id" : "obj-30", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 523.5, 540.0, 41.0, 22.0 ], + "text" : "sig~ 0" + } + + } +, { + "box" : { + "id" : "obj-24", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 435.0, 540.0, 41.0, 22.0 ], + "text" : "sig~ 3" + } + + } +, { + "box" : { + "id" : "obj-15", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 371.0, 498.0, 116.0, 22.0 ], + "text" : "phasor~ 1n @lock 1" + } + + } +, { + "box" : { + "id" : "obj-18", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 345.0, 435.0, 55.0, 22.0 ], + "text" : "calcExpr" + } + + } +, { + "box" : { + "id" : "obj-33", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 5, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "dsp.gen", + "rect" : [ 726.0, 113.0, 652.0, 783.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "id" : "obj-1", + "linecount" : 3, + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 581.0, 30.0, 96.0, 49.0 ], + "text" : "in 5 @comment offset @default 0" + } + + } +, { + "box" : { + "id" : "obj-11", + "linecount" : 3, + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 443.25, 30.0, 125.0, 49.0 ], + "text" : "in 4 @comment depth @min 0 @max 1 @default 1" + } + + } +, { + "box" : { + "id" : "obj-10", + "linecount" : 3, + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 305.5, 30.0, 129.5, 49.0 ], + "text" : "in 3 @comment \"duty cycle\" @min 0 @max 1 @default 0.5" + } + + } +, { + "box" : { + "id" : "obj-9", + "linecount" : 3, + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 167.75, 30.0, 132.0, 49.0 ], + "text" : "in 2 @comment \"wave select\" @min 0 @max 4 @default 0" + } + + } +, { + "box" : { + "id" : "obj-8", + "linecount" : 2, + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 30.0, 30.0, 110.0, 35.0 ], + "text" : "in 1 @comment \"sync with phasor\"" + } + + } +, { + "box" : { + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 30.0, 735.0, 145.0, 22.0 ], + "text" : "out 1 @comment \"lfo out\"" + } + + } +, { + "box" : { + "code" : "//==================================================\r\n// LFO Wave Selector\r\n// \r\n// by Timo Hoogland (c) 2019\r\n//==================================================\r\n\r\nHistory lfo(0);\r\nHistory z(0);\r\n\r\nParam smooth(0.015);\r\n\r\np = in5;\r\n// sync with phasor\r\ns = (in1 + (1 - p)) % 1;\r\n// wave selected, only change after cycle\r\nw = sah(in2, (s + .5) % 1, 0.5);\r\n// duty cycle/pulse-width\r\nd = in3;\r\n// modulation depth\r\na = in4;\r\n\r\nif (w == 0){\r\n\t// cosine\r\n\tlfo = cycle(s, index=\"phase\") * -.5 + .5;\r\n} else if (w == 1){\r\n\t// ramp down\r\n\tlfo = s * -1 + 1;\r\n} else if (w == 2){\r\n\t// triangle, adjustable duty cycle\r\n\t// lfo = triangle(s, d);\r\n\t// ramp up\r\n\tlfo = s;\r\n} else if (w == 3){\r\n\t// square, adjustable pulse width\r\n\tlfo = s < d;\r\n} else if (w == 4){\r\n\t// triangle, adjustable duty cycle\r\n\tlfo = triangle(s, d);\r\n} else {\r\n\t// if no argument matches\r\n\tlfo = s < d;\r\n}\r\n\r\nlfo = mix(lfo, z, 1 - smooth);\r\nz = fixdenorm(lfo);\r\n\r\nout1 = lfo * a + (1 - a);", + "fontface" : 0, + "fontname" : "", + "fontsize" : 12.0, + "id" : "obj-6", + "maxclass" : "codebox", + "numinlets" : 5, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 30.0, 120.0, 570.0, 585.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-6", 4 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 2 ], + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 3 ], + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 345.0, 585.0, 197.5, 22.0 ], + "text" : "gen~ @t lfo" + } + + } +, { "box" : { "id" : "obj-14", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 264.0, 210.0, 41.0, 22.0 ], + "patching_rect" : [ 525.0, 75.0, 41.0, 22.0 ], "text" : "set $1" } @@ -56,7 +1437,7 @@ "numinlets" : 2, "numoutlets" : 4, "outlettype" : [ "dictionary", "", "", "" ], - "patching_rect" : [ 264.0, 240.0, 90.0, 22.0 ], + "patching_rect" : [ 525.0, 105.0, 90.0, 22.0 ], "saved_object_attributes" : { "embed" : 0, "parameter_enable" : 0, @@ -70,12 +1451,12 @@ , { "box" : { "id" : "obj-9", - "maxclass" : "newobj", - "numinlets" : 1, + "maxclass" : "message", + "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 153.0, 210.0, 72.0, 22.0 ], - "text" : "prepend set" + "patching_rect" : [ 90.0, 417.0, 41.0, 22.0 ], + "text" : "set $1" } } @@ -86,7 +1467,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 153.0, 240.0, 47.0, 22.0 ], + "patching_rect" : [ 90.0, 447.0, 47.0, 22.0 ], "text" : "receive" } @@ -98,7 +1479,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "bang", "int" ], - "patching_rect" : [ 40.5, 135.0, 29.5, 22.0 ], + "patching_rect" : [ 30.5, 150.0, 29.5, 22.0 ], "text" : "t b i" } @@ -108,10 +1489,10 @@ "id" : "obj-16", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "int" ], - "patching_rect" : [ 128.0, 135.0, 29.5, 22.0 ], - "text" : "t l 0" + "numoutlets" : 3, + "outlettype" : [ "int", "", "bang" ], + "patching_rect" : [ 107.5, 105.0, 40.0, 22.0 ], + "text" : "t 0 l b" } } @@ -119,35 +1500,23 @@ "box" : { "id" : "obj-7", "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 75.0, 75.0, 72.0, 22.0 ], - "text" : "route delete" - } - - } -, { - "box" : { - "id" : "obj-11", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 128.0, 555.0, 72.0, 22.0 ], - "text" : "prepend set" + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 30.5, 75.0, 77.0, 22.0 ], + "text" : "route silence" } } , { "box" : { - "id" : "obj-10", - "maxclass" : "newobj", - "numinlets" : 1, + "id" : "obj-11", + "maxclass" : "message", + "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 237.0, 465.0, 72.0, 22.0 ], - "text" : "prepend set" + "patching_rect" : [ 30.5, 585.0, 41.0, 22.0 ], + "text" : "set $1" } } @@ -158,7 +1527,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 40.5, 240.0, 45.0, 22.0 ], + "patching_rect" : [ 30.5, 240.0, 45.0, 22.0 ], "text" : "no_src" } @@ -170,7 +1539,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], - "patching_rect" : [ 60.0, 195.0, 58.0, 22.0 ], + "patching_rect" : [ 50.0, 195.0, 58.0, 22.0 ], "text" : "loadbang" } @@ -182,7 +1551,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 207.0, 45.0, 70.0, 22.0 ], + "patching_rect" : [ 195.0, 105.0, 70.0, 22.0 ], "text" : "loadmess 1" } @@ -194,7 +1563,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 207.0, 90.0, 52.0, 22.0 ], + "patching_rect" : [ 195.0, 150.0, 52.0, 22.0 ], "text" : "mute $1" } @@ -204,9 +1573,9 @@ "id" : "obj-2", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "int", "int" ], - "patching_rect" : [ 207.0, 120.0, 56.0, 22.0 ], + "numoutlets" : 3, + "outlettype" : [ "int", "int", "int" ], + "patching_rect" : [ 195.0, 180.0, 56.0, 22.0 ], "text" : "thispoly~" } @@ -218,7 +1587,11 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 75.0, 45.0, 28.0, 22.0 ], + "patching_rect" : [ 30.5, 45.0, 28.0, 22.0 ], + "saved_object_attributes" : { + "attr_comment" : "" + } +, "text" : "in 1" } @@ -230,7 +1603,7 @@ "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 128.0, 165.0, 128.0, 22.0 ], + "patching_rect" : [ 118.0, 180.0, 55.0, 22.0 ], "text" : "zl.slice 1" } @@ -242,82 +1615,10 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 237.0, 360.0, 71.0, 22.0 ], + "patching_rect" : [ 154.0, 255.0, 71.0, 22.0 ], "text" : "fromsymbol" } - } -, { - "box" : { - "id" : "obj-487", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 364.53472899999997, 390.0, 40.0, 22.0 ], - "text" : "r EOF" - } - - } -, { - "box" : { - "id" : "obj-486", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 364.53472899999997, 465.0, 38.0, 22.0 ], - "text" : "zl.reg" - } - - } -, { - "box" : { - "id" : "obj-485", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 409.53472899999997, 420.0, 35.0, 22.0 ], - "text" : "0 1 1" - } - - } -, { - "box" : { - "id" : "obj-482", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 409.53472899999997, 390.0, 40.0, 22.0 ], - "text" : "r SOF" - } - - } -, { - "box" : { - "id" : "obj-480", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "float", "float", "float" ], - "patching_rect" : [ 364.53472899999997, 495.0, 67.0, 22.0 ], - "text" : "unpack f f f" - } - - } -, { - "box" : { - "id" : "obj-477", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 1, - "outlettype" : [ "list" ], - "patching_rect" : [ 237.0, 300.0, 40.0, 22.0 ], - "text" : "atoi" - } - } , { "box" : { @@ -326,7 +1627,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 237.0, 330.0, 66.0, 22.0 ], + "patching_rect" : [ 154.0, 225.0, 66.0, 22.0 ], "saved_object_attributes" : { "filename" : "parser.js", "parameter_enable" : 0 @@ -340,11 +1641,11 @@ "box" : { "id" : "obj-471", "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 3, - "outlettype" : [ "", "", "" ], - "patching_rect" : [ 237.0, 390.0, 95.0, 22.0 ], - "text" : "route from scale" + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "", "", "", "", "" ], + "patching_rect" : [ 154.0, 375.0, 157.0, 22.0 ], + "text" : "route name from range time" } } @@ -355,20 +1656,8 @@ "numinlets" : 6, "numoutlets" : 1, "outlettype" : [ "signal" ], - "patching_rect" : [ 237.0, 555.0, 159.0, 22.0 ], - "text" : "scale~ -1 1 0 1 1 @classic 0" - } - - } -, { - "box" : { - "id" : "obj-468", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "signal" ], - "patching_rect" : [ 237.0, 495.0, 94.0, 22.0 ], - "text" : "receive~ no_src" + "patching_rect" : [ 141.399999999999977, 585.0, 155.0, 22.0 ], + "text" : "scale~ 0 1 0 1 1 @classic 0" } } @@ -378,7 +1667,7 @@ "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 237.0, 615.0, 81.0, 22.0 ], + "patching_rect" : [ 141.399999999999977, 623.0, 81.0, 22.0 ], "text" : "send~ no_src" } @@ -393,15 +1682,15 @@ } , { "patchline" : { - "destination" : [ "obj-468", 0 ], - "source" : [ "obj-10", 0 ] + "destination" : [ "obj-467", 0 ], + "source" : [ "obj-11", 0 ] } } , { "patchline" : { - "destination" : [ "obj-467", 0 ], - "source" : [ "obj-11", 0 ] + "destination" : [ "obj-33", 0 ], + "source" : [ "obj-13", 0 ] } } @@ -411,18 +1700,32 @@ "source" : [ "obj-14", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "source" : [ "obj-15", 0 ] + } + } , { "patchline" : { "destination" : [ "obj-4", 0 ], - "source" : [ "obj-16", 1 ] + "source" : [ "obj-16", 0 ] } } , { "patchline" : { "destination" : [ "obj-502", 0 ], - "source" : [ "obj-16", 0 ] + "source" : [ "obj-16", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-69", 0 ], + "source" : [ "obj-16", 2 ] } } @@ -442,22 +1745,65 @@ } , { "patchline" : { - "destination" : [ "obj-477", 0 ], + "destination" : [ "obj-20", 0 ], + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-78", 0 ], + "source" : [ "obj-2", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "source" : [ "obj-20", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-33", 1 ], + "source" : [ "obj-24", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-472", 0 ], + "midpoints" : [ 99.5, 479.0, 131.5, 479.0, 131.5, 214.0, 163.5, 214.0 ], "source" : [ "obj-3", 0 ] } } , { "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-4", 0 ] + "destination" : [ "obj-33", 4 ], + "source" : [ "obj-30", 0 ] } } , { "patchline" : { "destination" : [ "obj-469", 0 ], - "source" : [ "obj-468", 0 ] + "source" : [ "obj-33", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-30", 0 ], + "source" : [ "obj-39", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-4", 0 ] } } @@ -470,15 +1816,38 @@ } , { "patchline" : { - "destination" : [ "obj-10", 0 ], + "destination" : [ "obj-24", 0 ], + "source" : [ "obj-47", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-52", 0 ], + "order" : 0, "source" : [ "obj-471", 0 ] } } , { "patchline" : { - "destination" : [ "obj-486", 0 ], - "source" : [ "obj-471", 1 ] + "destination" : [ "obj-60", 0 ], + "source" : [ "obj-471", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-81", 0 ], + "source" : [ "obj-471", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "order" : 1, + "source" : [ "obj-471", 0 ] } } @@ -491,109 +1860,130 @@ } , { "patchline" : { - "destination" : [ "obj-472", 0 ], - "source" : [ "obj-477", 0 ] + "destination" : [ "obj-64", 0 ], + "midpoints" : [ 163.5, 287.0, 271.5, 287.0, 271.5, 109.0, 287.5, 109.0 ], + "order" : 0, + "source" : [ "obj-493", 0 ] } } , { "patchline" : { - "destination" : [ "obj-469", 5 ], - "source" : [ "obj-480", 2 ] + "destination" : [ "obj-74", 0 ], + "order" : 1, + "source" : [ "obj-493", 0 ] } } , { "patchline" : { - "destination" : [ "obj-469", 4 ], - "source" : [ "obj-480", 1 ] + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-5", 0 ] } } , { "patchline" : { - "destination" : [ "obj-469", 3 ], - "source" : [ "obj-480", 0 ] + "destination" : [ "obj-18", 0 ], + "source" : [ "obj-50", 0 ] } } , { "patchline" : { - "destination" : [ "obj-485", 0 ], - "source" : [ "obj-482", 0 ] + "destination" : [ "obj-39", 0 ], + "source" : [ "obj-50", 1 ] } } , { "patchline" : { - "destination" : [ "obj-486", 1 ], - "source" : [ "obj-485", 0 ] + "destination" : [ "obj-47", 0 ], + "source" : [ "obj-502", 0 ] } } , { "patchline" : { - "destination" : [ "obj-480", 0 ], - "source" : [ "obj-486", 0 ] + "destination" : [ "obj-472", 0 ], + "source" : [ "obj-502", 1 ] } } , { "patchline" : { - "destination" : [ "obj-486", 0 ], - "source" : [ "obj-487", 0 ] + "destination" : [ "obj-11", 0 ], + "source" : [ "obj-53", 0 ] } } , { "patchline" : { - "destination" : [ "obj-471", 0 ], - "source" : [ "obj-493", 0 ] + "destination" : [ "obj-8", 0 ], + "source" : [ "obj-6", 0 ] } } , { "patchline" : { - "destination" : [ "obj-4", 0 ], - "source" : [ "obj-5", 0 ] + "destination" : [ "obj-61", 0 ], + "source" : [ "obj-60", 0 ] } } , { "patchline" : { - "destination" : [ "obj-11", 0 ], - "order" : 2, - "source" : [ "obj-502", 0 ] + "destination" : [ "obj-469", 5 ], + "source" : [ "obj-61", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-469", 4 ], + "source" : [ "obj-61", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-469", 3 ], + "source" : [ "obj-61", 0 ] } } , { "patchline" : { "destination" : [ "obj-14", 0 ], - "order" : 0, - "source" : [ "obj-502", 0 ] + "source" : [ "obj-62", 0 ] } } , { "patchline" : { - "destination" : [ "obj-477", 0 ], - "source" : [ "obj-502", 1 ] + "destination" : [ "obj-72", 1 ], + "source" : [ "obj-63", 0 ] } } , { "patchline" : { - "destination" : [ "obj-9", 0 ], - "order" : 1, - "source" : [ "obj-502", 0 ] + "destination" : [ "obj-67", 0 ], + "source" : [ "obj-64", 0 ] } } , { "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-6", 0 ] + "destination" : [ "obj-63", 0 ], + "source" : [ "obj-67", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-63", 0 ], + "source" : [ "obj-68", 0 ] } } @@ -613,16 +2003,66 @@ } , { "patchline" : { - "destination" : [ "obj-10", 0 ], + "destination" : [ "obj-68", 0 ], + "source" : [ "obj-70", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-73", 0 ], + "source" : [ "obj-71", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-71", 0 ], + "source" : [ "obj-72", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-471", 0 ], + "source" : [ "obj-75", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-77", 1 ], + "source" : [ "obj-76", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-63", 0 ], "order" : 0, - "source" : [ "obj-8", 0 ] + "source" : [ "obj-77", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-72", 0 ], + "order" : 1, + "source" : [ "obj-77", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-80", 0 ], + "source" : [ "obj-79", 0 ] } } , { "patchline" : { "destination" : [ "obj-11", 0 ], - "order" : 2, + "order" : 1, "source" : [ "obj-8", 0 ] } @@ -630,10 +2070,24 @@ , { "patchline" : { "destination" : [ "obj-9", 0 ], - "order" : 1, + "order" : 0, "source" : [ "obj-8", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-77", 0 ], + "source" : [ "obj-80", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-50", 0 ], + "source" : [ "obj-81", 0 ] + } + } , { "patchline" : { @@ -647,13 +2101,13 @@ "name" : "AudioStatus_Menu", "default" : { "bgfillcolor" : { - "type" : "color", + "angle" : 270.0, + "autogradient" : 0, "color" : [ 0.294118, 0.313726, 0.337255, 1 ], "color1" : [ 0.454902, 0.462745, 0.482353, 0.0 ], "color2" : [ 0.290196, 0.309804, 0.301961, 1.0 ], - "angle" : 270.0, "proportion" : 0.39, - "autogradient" : 0 + "type" : "color" } } @@ -665,12 +2119,12 @@ "name" : "Audiomix", "default" : { "bgfillcolor" : { - "type" : "gradient", + "angle" : 270.0, + "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], "color1" : [ 0.376471, 0.384314, 0.4, 1.0 ], "color2" : [ 0.290196, 0.309804, 0.301961, 1.0 ], - "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], - "angle" : 270.0, - "proportion" : 0.39 + "proportion" : 0.39, + "type" : "gradient" } }