max-mod-enum/ModEnum.maxhelp
2025-07-29 14:10:14 +02:00

1541 lines
39 KiB
Plaintext

{
"patcher" : {
"fileversion" : 1,
"appversion" : {
"major" : 9,
"minor" : 0,
"revision" : 5,
"architecture" : "x64",
"modernui" : 1
}
,
"classnamespace" : "box",
"rect" : [ 226.0, 100.0, 1143.0, 820.0 ],
"gridsize" : [ 15.0, 15.0 ],
"showrootpatcherontab" : 0,
"showontab" : 0,
"boxes" : [ {
"box" : {
"id" : "obj-6",
"maxclass" : "newobj",
"numinlets" : 0,
"numoutlets" : 0,
"patcher" : {
"fileversion" : 1,
"appversion" : {
"major" : 9,
"minor" : 0,
"revision" : 5,
"architecture" : "x64",
"modernui" : 1
}
,
"classnamespace" : "box",
"rect" : [ 0.0, 26.0, 1143.0, 794.0 ],
"gridsize" : [ 15.0, 15.0 ],
"showontab" : 2,
"boxes" : [ {
"box" : {
"bgcolor" : [ 0.0, 0.0, 0.0, 0.99 ],
"bubbleside" : 0,
"fontsize" : 14.0,
"id" : "obj-22",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 223.0, 191.0, 558.0, 22.0 ],
"text" : "The clock time between waveform cycles or randomly chosen values"
}
}
, {
"box" : {
"bgcolor" : [ 0.0, 0.0, 0.0, 0.99 ],
"bubbleside" : 0,
"fontsize" : 14.0,
"id" : "obj-23",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 128.0, 191.0, 86.0, 22.0 ],
"text" : "00:01:20"
}
}
, {
"box" : {
"bgcolor" : [ 0.0, 0.0, 0.0, 0.99 ],
"bubbleside" : 0,
"fontsize" : 14.0,
"id" : "obj-24",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 15.0, 191.0, 107.0, 22.0 ],
"text" : "hh:mm:ss"
}
}
, {
"box" : {
"bgcolor" : [ 0.0, 0.0, 0.0, 0.99 ],
"bubbleside" : 0,
"fontsize" : 14.0,
"id" : "obj-19",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 223.0, 161.0, 558.0, 22.0 ],
"text" : "The musical time between waveform cycles or randomly chosen values"
}
}
, {
"box" : {
"bgcolor" : [ 0.0, 0.0, 0.0, 0.99 ],
"bubbleside" : 0,
"fontsize" : 14.0,
"id" : "obj-20",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 128.0, 161.0, 86.0, 22.0 ],
"text" : "3.2.0"
}
}
, {
"box" : {
"bgcolor" : [ 0.0, 0.0, 0.0, 0.99 ],
"bubbleside" : 0,
"fontsize" : 14.0,
"id" : "obj-21",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 15.0, 161.0, 107.0, 22.0 ],
"text" : "bars.beats.ticks"
}
}
, {
"box" : {
"bgcolor" : [ 0.0, 0.0, 0.0, 0.99 ],
"bubbleside" : 0,
"fontsize" : 14.0,
"id" : "obj-18",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 223.0, 131.0, 558.0, 22.0 ],
"text" : "The frequency, in cycles per seconds, of waveform cycles or randomly chosen values"
}
}
, {
"box" : {
"bgcolor" : [ 0.0, 0.0, 0.0, 0.99 ],
"bubbleside" : 0,
"fontsize" : 14.0,
"id" : "obj-17",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 223.0, 103.0, 522.0, 22.0 ],
"text" : "The time, in seconds, between waveform cycles or randomly chosen values"
}
}
, {
"box" : {
"bgcolor" : [ 0.0, 0.0, 0.0, 0.99 ],
"bubbleside" : 0,
"fontsize" : 14.0,
"id" : "obj-16",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 223.0, 76.0, 522.0, 22.0 ],
"text" : "The time, in milliseconds, between waveform cycles or randomly chosen values"
}
}
, {
"box" : {
"bgcolor" : [ 0.0, 0.0, 0.0, 0.99 ],
"bubbleside" : 0,
"fontsize" : 14.0,
"id" : "obj-15",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 223.0, 49.0, 150.0, 22.0 ],
"text" : "DESCRIPTION"
}
}
, {
"box" : {
"bgcolor" : [ 0.0, 0.0, 0.0, 0.99 ],
"bubbleside" : 0,
"fontsize" : 14.0,
"id" : "obj-12",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 128.0, 131.0, 86.0, 22.0 ],
"text" : "0.2hz"
}
}
, {
"box" : {
"bgcolor" : [ 0.0, 0.0, 0.0, 0.99 ],
"bubbleside" : 0,
"fontsize" : 14.0,
"id" : "obj-13",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 15.0, 131.0, 86.0, 22.0 ],
"text" : "Hertz"
}
}
, {
"box" : {
"bgcolor" : [ 0.0, 0.0, 0.0, 0.99 ],
"bubbleside" : 0,
"fontsize" : 14.0,
"id" : "obj-10",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 128.0, 103.0, 86.0, 22.0 ],
"text" : "3s"
}
}
, {
"box" : {
"bgcolor" : [ 0.0, 0.0, 0.0, 0.99 ],
"bubbleside" : 0,
"fontsize" : 14.0,
"id" : "obj-11",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 15.0, 103.0, 86.0, 22.0 ],
"text" : "seconds"
}
}
, {
"box" : {
"bgcolor" : [ 0.0, 0.0, 0.0, 0.99 ],
"bubbleside" : 0,
"fontsize" : 14.0,
"id" : "obj-9",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 128.0, 49.0, 86.0, 22.0 ],
"text" : "EXAMPLE"
}
}
, {
"box" : {
"bgcolor" : [ 0.0, 0.0, 0.0, 0.99 ],
"bubbleside" : 0,
"fontsize" : 14.0,
"id" : "obj-8",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 15.0, 49.0, 86.0, 22.0 ],
"text" : "UNIT"
}
}
, {
"box" : {
"bgcolor" : [ 0.0, 0.0, 0.0, 0.99 ],
"bubbleside" : 0,
"fontsize" : 14.0,
"id" : "obj-7",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 128.0, 76.0, 86.0, 22.0 ],
"text" : "5100ms"
}
}
, {
"box" : {
"bgcolor" : [ 0.0, 0.0, 0.0, 0.99 ],
"bubbleside" : 0,
"fontsize" : 14.0,
"id" : "obj-6",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 15.0, 76.0, 86.0, 22.0 ],
"text" : "milliseconds"
}
}
, {
"box" : {
"bgcolor" : [ 0.0, 0.0, 0.0, 0.99 ],
"bubbleside" : 0,
"fontsize" : 14.0,
"id" : "obj-14",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 15.0, 11.0, 626.0, 22.0 ],
"text" : "Regardless of the shape of your modulator, you can use any of the following timebase formats:"
}
}
],
"lines" : [ ],
"originid" : "pat-760"
}
,
"patching_rect" : [ 279.166679978370667, 34.722223877906799, 67.0, 22.0 ],
"text" : "p timebase",
"varname" : "basic[2]"
}
}
, {
"box" : {
"id" : "obj-5",
"maxclass" : "newobj",
"numinlets" : 0,
"numoutlets" : 0,
"patcher" : {
"fileversion" : 1,
"appversion" : {
"major" : 9,
"minor" : 0,
"revision" : 5,
"architecture" : "x64",
"modernui" : 1
}
,
"classnamespace" : "box",
"rect" : [ 0.0, 26.0, 1143.0, 794.0 ],
"gridsize" : [ 15.0, 15.0 ],
"showontab" : 2,
"boxes" : [ {
"box" : {
"bgcolor" : [ 0.0, 0.0, 0.0, 0.99 ],
"bubble" : 1,
"id" : "obj-27",
"linecount" : 2,
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 885.783728122711182, 741.148598670959473, 148.0, 37.0 ],
"presentation_linecount" : 2,
"text" : "Imagine these are the DJster intances"
}
}
, {
"box" : {
"fontsize" : 14.0,
"id" : "obj-10",
"linecount" : 4,
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 29.487183213233948, 25.5, 244.0, 69.0 ],
"text" : "ENUMERATORS turn the continuous values from the modulators and turn them into discrete values, allowing the construction of sequences."
}
}
, {
"box" : {
"bgcolor" : [ 0.0, 0.0, 0.0, 0.99 ],
"bubbleside" : 0,
"fontsize" : 14.0,
"id" : "obj-23",
"linecount" : 8,
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 8.108107566833496, 831.08102560043335, 864.0, 132.0 ],
"text" : "For the first enumerator, a modulator is emitting a square wave for the `scale` parameter of DJster instance 4, and this wave goes between 0 and 1. Internally, the system recognizes when a modulator and enumerator are marked with the same instance and parameter and it links them. So, when at 0, this gets enumerated to the `major` argument as it is between the -0,5 and 0,5 breakpoints. When at 1, it gets enumerated to the `minor` breakpoint.\n\nThe second shows how to move between numerous arguments. Once again, a modulator is defined with the same instance number and parameter. This time, this modulator is a saw wave going between 0 and 3. The corresponding enumerator now features many more breakpoints spanning the entire length of this saw wave."
}
}
, {
"box" : {
"hidden" : 1,
"id" : "obj-14",
"maxclass" : "newobj",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 729.540497779846191, 87.837831974029541, 62.0, 22.0 ],
"text" : "r common"
}
}
, {
"box" : {
"id" : "obj-32",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 524.324289321899414, 54.054050445556641, 80.0, 22.0 ],
"text" : "4 scale major"
}
}
, {
"box" : {
"bgcolor" : [ 0.0, 0.0, 0.0, 0.99 ],
"bubble" : 1,
"id" : "obj-24",
"linecount" : 2,
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 640.540497779846191, 32.432430267333984, 151.0, 37.0 ],
"text" : "Imagine this is the web interface"
}
}
, {
"box" : {
"hidden" : 1,
"id" : "obj-22",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 3,
"outlettype" : [ "bang", "bang", "bang" ],
"patching_rect" : [ 822.283728122711182, 23.0, 42.0, 22.0 ],
"text" : "t b b b"
}
}
, {
"box" : {
"id" : "obj-21",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 393.243216991424561, 54.054050445556641, 131.0, 22.0 ],
"text" : "3 melodic_cohesion 50"
}
}
, {
"box" : {
"id" : "obj-20",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 393.243216991424561, 87.837831974029541, 90.0, 22.0 ],
"text" : "prepend param"
}
}
, {
"box" : {
"id" : "obj-19",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 527.026991844177246, 20.27026891708374, 104.0, 22.0 ],
"text" : "2 event_length 20"
}
}
, {
"box" : {
"id" : "obj-18",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 393.243216991424561, 20.27026891708374, 110.0, 22.0 ],
"text" : "1 pulse_length 200"
}
}
, {
"box" : {
"id" : "obj-16",
"maxclass" : "panel",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 393.243216991424561, 13.51351261138916, 248.0, 74.0 ]
}
}
, {
"box" : {
"hidden" : 1,
"id" : "obj-2",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 822.283728122711182, 54.0, 67.0, 22.0 ],
"text" : "delay 3000"
}
}
, {
"box" : {
"hidden" : 1,
"id" : "obj-11",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 824.283728122711182, 4.0, 58.0, 22.0 ],
"text" : "loadbang"
}
}
, {
"box" : {
"hidden" : 1,
"id" : "obj-4",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 822.283728122711182, 80.0, 73.0, 22.0 ],
"text" : "viewMode 1"
}
}
, {
"box" : {
"id" : "obj-8",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 833.783728122711182, 748.648598670959473, 50.0, 22.0 ]
}
}
, {
"box" : {
"id" : "obj-9",
"linecount" : 2,
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 663.513469219207764, 748.648598670959473, 50.0, 35.0 ],
"text" : "tonic_pitch 30"
}
}
, {
"box" : {
"id" : "obj-6",
"linecount" : 2,
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 491.89185905456543, 748.648598670959473, 50.0, 35.0 ],
"text" : "scale major"
}
}
, {
"box" : {
"id" : "obj-7",
"linecount" : 5,
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 320.270248889923096, 748.648598670959473, 50.0, 76.0 ],
"text" : "melodic_cohesion 34.645669"
}
}
, {
"box" : {
"id" : "obj-5",
"linecount" : 4,
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 148.648638725280762, 748.648598670959473, 50.0, 62.0 ],
"text" : "event_length 29.582744"
}
}
, {
"box" : {
"id" : "obj-3",
"linecount" : 4,
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 29.729727745056152, 748.648598670959473, 60.0, 62.0 ],
"text" : "pulse_length -0.628314"
}
}
, {
"box" : {
"bgmode" : 0,
"border" : 0,
"clickthrough" : 0,
"enablehscroll" : 0,
"enablevscroll" : 0,
"id" : "obj-1",
"lockeddragscroll" : 0,
"lockedsize" : 0,
"maxclass" : "bpatcher",
"name" : "ModEnum.maxpat",
"numinlets" : 1,
"numoutlets" : 6,
"offset" : [ 0.0, 0.0 ],
"outlettype" : [ "", "", "", "", "", "" ],
"patching_rect" : [ 8.108107566833496, 117.567559719085693, 876.0, 621.0 ],
"varname" : "ModEnum",
"viewvisibility" : 1
}
}
],
"lines" : [ {
"patchline" : {
"destination" : [ "obj-3", 1 ],
"source" : [ "obj-1", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-5", 1 ],
"source" : [ "obj-1", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-6", 1 ],
"source" : [ "obj-1", 3 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-7", 1 ],
"source" : [ "obj-1", 2 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-8", 1 ],
"source" : [ "obj-1", 5 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-9", 1 ],
"source" : [ "obj-1", 4 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-22", 0 ],
"hidden" : 1,
"source" : [ "obj-11", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"hidden" : 1,
"source" : [ "obj-14", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-20", 0 ],
"source" : [ "obj-18", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-20", 0 ],
"source" : [ "obj-19", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-4", 0 ],
"hidden" : 1,
"source" : [ "obj-2", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"source" : [ "obj-20", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-20", 0 ],
"source" : [ "obj-21", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-18", 0 ],
"hidden" : 1,
"order" : 2,
"source" : [ "obj-22", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-19", 0 ],
"hidden" : 1,
"order" : 0,
"source" : [ "obj-22", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-2", 0 ],
"hidden" : 1,
"source" : [ "obj-22", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-21", 0 ],
"hidden" : 1,
"order" : 1,
"source" : [ "obj-22", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-20", 0 ],
"source" : [ "obj-32", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"hidden" : 1,
"source" : [ "obj-4", 0 ]
}
}
],
"originid" : "pat-762"
}
,
"patching_rect" : [ 181.944453120231628, 34.722223877906799, 86.0, 22.0 ],
"text" : "p enumerators",
"varname" : "basic[1]"
}
}
, {
"box" : {
"id" : "obj-4",
"maxclass" : "newobj",
"numinlets" : 0,
"numoutlets" : 0,
"patcher" : {
"fileversion" : 1,
"appversion" : {
"major" : 9,
"minor" : 0,
"revision" : 5,
"architecture" : "x64",
"modernui" : 1
}
,
"classnamespace" : "box",
"rect" : [ 226.0, 126.0, 1143.0, 794.0 ],
"gridsize" : [ 15.0, 15.0 ],
"showontab" : 2,
"boxes" : [ {
"box" : {
"bgcolor" : [ 0.0, 0.0, 0.0, 0.99 ],
"bubble" : 1,
"id" : "obj-27",
"linecount" : 2,
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 893.025753617286682, 747.5, 148.0, 37.0 ],
"presentation_linecount" : 2,
"text" : "Imagine these are the DJster intances"
}
}
, {
"box" : {
"fontsize" : 14.0,
"id" : "obj-23",
"linecount" : 4,
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 29.487183213233948, 25.5, 244.0, 69.0 ],
"text" : "MODULATORS sit between the web interface and DJster instances, allowing short or long time scale modification of parameters."
}
}
, {
"box" : {
"id" : "obj-13",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 509.0, 56.0, 97.0, 22.0 ],
"presentation_linecount" : 2,
"text" : "6 harmonicity 87"
}
}
, {
"box" : {
"bubble" : 1,
"bubbleside" : 3,
"fontsize" : 12.0,
"id" : "obj-40",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 11.538462996482849, 435.897490978240967, 45.0, 24.0 ],
"text" : "****"
}
}
, {
"box" : {
"bubble" : 1,
"bubbleside" : 3,
"fontsize" : 12.0,
"id" : "obj-39",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 11.538462996482849, 414.102616429328918, 45.0, 24.0 ],
"text" : "***"
}
}
, {
"box" : {
"bubble" : 1,
"bubbleside" : 3,
"fontsize" : 12.0,
"id" : "obj-38",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 20.141025722026825, 389.74363899230957, 36.0, 24.0 ],
"text" : "**"
}
}
, {
"box" : {
"bubble" : 1,
"bubbleside" : 3,
"fontsize" : 12.0,
"id" : "obj-37",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 20.512823104858398, 369.230815887451172, 35.0, 24.0 ],
"text" : "*"
}
}
, {
"box" : {
"hidden" : 1,
"id" : "obj-35",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 731.5, 95.0, 64.0, 22.0 ],
"text" : "s common"
}
}
, {
"box" : {
"id" : "obj-32",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 415.0, 56.0, 80.0, 22.0 ],
"text" : "4 scale major"
}
}
, {
"box" : {
"bgcolor" : [ 0.0, 0.0, 0.0, 0.99 ],
"bubble" : 1,
"id" : "obj-31",
"linecount" : 4,
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 891.025753617286682, 430.769285202026367, 150.0, 64.0 ],
"text" : "These final two will NOT operate without the Global Transport turned on"
}
}
, {
"box" : {
"bgcolor" : [ 0.0, 0.0, 0.0, 0.99 ],
"bubbleside" : 0,
"fontsize" : 14.0,
"id" : "obj-30",
"linecount" : 7,
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 460.102619588375092, 875.641136288642883, 433.333388090133667, 116.0 ],
"text" : "****\nFor the fourth, we are modulating `scale` of the fourth DJster instance with a custom drawn wave. The timebase here is given in \"bars.beats.ticks\" between each waveform cycle. In this situation, the waveform period is one bar, as configured in the Global Transport. This parameter and instance are also defined in enumerators, see the next tab for details."
}
}
, {
"box" : {
"bgcolor" : [ 0.0, 0.0, 0.0, 0.99 ],
"bubble" : 1,
"id" : "obj-29",
"linecount" : 3,
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 891.025753617286682, 182.051305055618286, 150.0, 51.0 ],
"text" : "Custom waves may be free drawn OR breakpoint functions"
}
}
, {
"box" : {
"bgcolor" : [ 0.0, 0.0, 0.0, 0.99 ],
"bubbleside" : 0,
"fontsize" : 14.0,
"id" : "obj-26",
"linecount" : 5,
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 460.102619588375092, 791.02574098110199, 433.333388090133667, 85.0 ],
"text" : "*** \nFor the third, we are modulating the `melodic_cohesion` parameter of the first DJster instance with a custom drawn wave. Here, the timebase argument of `3000ms` means that every 3000 milliseconds, a new random point will be chosed "
}
}
, {
"box" : {
"bgcolor" : [ 0.0, 0.0, 0.0, 0.99 ],
"bubbleside" : 0,
"fontsize" : 14.0,
"id" : "obj-25",
"linecount" : 5,
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 31.897437274456024, 875.641136288642883, 421.0, 85.0 ],
"text" : "** \nFor the second, we are modulating the `event_length` parameter of the second DJster instance with Sine Interpolated Noise. Here, the timebase argument of `3000ms` means that every 3000 milliseconds, a new random point will be chosed "
}
}
, {
"box" : {
"bgcolor" : [ 0.0, 0.0, 0.0, 0.99 ],
"bubble" : 1,
"bubbleside" : 0,
"id" : "obj-24",
"linecount" : 2,
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 475.0, 80.0, 151.0, 52.0 ],
"text" : "Imagine this is the web interface"
}
}
, {
"box" : {
"hidden" : 1,
"id" : "obj-22",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 3,
"outlettype" : [ "bang", "bang", "bang" ],
"patching_rect" : [ 832.0, 60.0, 42.0, 22.0 ],
"text" : "t b b b"
}
}
, {
"box" : {
"id" : "obj-21",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 278.0, 56.0, 131.0, 22.0 ],
"text" : "3 melodic_cohesion 50"
}
}
, {
"box" : {
"id" : "obj-20",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 278.0, 90.0, 90.0, 22.0 ],
"text" : "prepend param"
}
}
, {
"box" : {
"id" : "obj-19",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 412.0, 22.0, 104.0, 22.0 ],
"text" : "2 event_length 20"
}
}
, {
"box" : {
"id" : "obj-18",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 278.0, 22.0, 110.0, 22.0 ],
"text" : "1 pulse_length 200"
}
}
, {
"box" : {
"id" : "obj-16",
"maxclass" : "panel",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 278.0, 14.0, 355.0, 74.0 ]
}
}
, {
"box" : {
"hidden" : 1,
"id" : "obj-15",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 766.0, 49.0, 29.5, 22.0 ],
"text" : "1"
}
}
, {
"box" : {
"hidden" : 1,
"id" : "obj-2",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 832.0, 33.0, 67.0, 22.0 ],
"text" : "delay 3000"
}
}
, {
"box" : {
"bgcolor" : [ 0.0, 0.0, 0.0, 0.99 ],
"bubbleside" : 0,
"fontsize" : 14.0,
"id" : "obj-14",
"linecount" : 5,
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 31.897437274456024, 791.02574098110199, 416.666719317436218, 85.0 ],
"text" : "* \nFor the first modulator, we are modulating the `pulse_length` parameter of the first DJster instance, using a Sine Wave. For timebase, we have entered `0.1hz` which means this wave will operate with a frequency of 0.1hz, or 0.1 cycles per second"
}
}
, {
"box" : {
"hidden" : 1,
"id" : "obj-11",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 832.0, 12.0, 58.0, 22.0 ],
"text" : "loadbang"
}
}
, {
"box" : {
"hidden" : 1,
"id" : "obj-4",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 825.0, 88.0, 73.0, 22.0 ],
"text" : "viewMode 0"
}
}
, {
"box" : {
"hidden" : 1,
"id" : "obj-12",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 669.0, 88.0, 42.0, 22.0 ],
"text" : "reload"
}
}
, {
"box" : {
"hidden" : 1,
"id" : "obj-51",
"linecount" : 2,
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 665.0, 2.0, 160.256430506706238, 35.0 ],
"saved_object_attributes" : {
"client_rect" : [ 113, 112, 658, 432 ],
"parameter_enable" : 0,
"parameter_mappable" : 0,
"storage_rect" : [ 1282, 626, 1887, 1000 ]
}
,
"text" : "pattrstorage myStorage @savemode 3 @greedy 1",
"varname" : "myStorage"
}
}
, {
"box" : {
"hidden" : 1,
"id" : "obj-10",
"maxclass" : "preset",
"numinlets" : 1,
"numoutlets" : 5,
"outlettype" : [ "preset", "int", "preset", "int", "" ],
"patching_rect" : [ 665.0, 40.0, 100.0, 40.0 ],
"pattrstorage" : "myStorage"
}
}
, {
"box" : {
"id" : "obj-8",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 785.0, 758.974454879760742, 92.0, 22.0 ],
"text" : "harmonicity 87"
}
}
, {
"box" : {
"id" : "obj-9",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 657.0, 759.0, 93.589755415916443, 22.0 ],
"text" : "tonic_pitch 30"
}
}
, {
"box" : {
"id" : "obj-6",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 500.0, 759.0, 132.05129873752594, 22.0 ],
"text" : "scale major"
}
}
, {
"box" : {
"id" : "obj-7",
"linecount" : 2,
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 341.025684118270874, 758.974454879760742, 112.820527076721191, 35.0 ],
"text" : "melodic_cohesion 84.645669"
}
}
, {
"box" : {
"id" : "obj-5",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 169.230790615081787, 758.974454879760742, 152.564121842384338, 22.0 ],
"text" : "event_length 38.457805"
}
}
, {
"box" : {
"id" : "obj-3",
"linecount" : 2,
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 38.0, 752.474454879760742, 80.0, 35.0 ],
"text" : "pulse_length 199.371686"
}
}
, {
"box" : {
"bgmode" : 0,
"border" : 0,
"clickthrough" : 0,
"enablehscroll" : 0,
"enablevscroll" : 0,
"id" : "obj-1",
"lockeddragscroll" : 0,
"lockedsize" : 0,
"maxclass" : "bpatcher",
"name" : "ModEnum.maxpat",
"numinlets" : 1,
"numoutlets" : 6,
"offset" : [ 0.0, 0.0 ],
"outlettype" : [ "", "", "", "", "", "" ],
"patching_rect" : [ 29.487183213233948, 126.92309296131134, 876.0, 621.0 ],
"varname" : "ModEnum",
"viewvisibility" : 1
}
}
],
"lines" : [ {
"patchline" : {
"destination" : [ "obj-3", 1 ],
"source" : [ "obj-1", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-5", 1 ],
"source" : [ "obj-1", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-6", 1 ],
"source" : [ "obj-1", 3 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-7", 1 ],
"source" : [ "obj-1", 2 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-8", 1 ],
"source" : [ "obj-1", 5 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-9", 1 ],
"source" : [ "obj-1", 4 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-12", 0 ],
"hidden" : 1,
"source" : [ "obj-10", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-2", 0 ],
"hidden" : 1,
"source" : [ "obj-11", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"hidden" : 1,
"order" : 1,
"source" : [ "obj-12", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-35", 0 ],
"hidden" : 1,
"order" : 0,
"source" : [ "obj-12", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-20", 0 ],
"source" : [ "obj-13", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-10", 0 ],
"hidden" : 1,
"source" : [ "obj-15", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-20", 0 ],
"source" : [ "obj-18", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-20", 0 ],
"source" : [ "obj-19", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-22", 0 ],
"hidden" : 1,
"source" : [ "obj-2", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"source" : [ "obj-20", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-20", 0 ],
"source" : [ "obj-21", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-13", 0 ],
"hidden" : 1,
"order" : 0,
"source" : [ "obj-22", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-15", 0 ],
"hidden" : 1,
"source" : [ "obj-22", 2 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-18", 0 ],
"hidden" : 1,
"order" : 4,
"source" : [ "obj-22", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-19", 0 ],
"hidden" : 1,
"order" : 2,
"source" : [ "obj-22", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-21", 0 ],
"hidden" : 1,
"order" : 3,
"source" : [ "obj-22", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-32", 0 ],
"hidden" : 1,
"order" : 1,
"source" : [ "obj-22", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-4", 0 ],
"hidden" : 1,
"source" : [ "obj-22", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-20", 0 ],
"source" : [ "obj-32", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"hidden" : 1,
"source" : [ "obj-4", 0 ]
}
}
],
"originid" : "pat-778"
}
,
"patching_rect" : [ 94.444448947906494, 34.722223877906799, 78.0, 22.0 ],
"text" : "p modulators",
"varname" : "basic"
}
}
],
"lines" : [ ],
"originid" : "pat-758",
"parameters" : {
"obj-4::obj-1::obj-25" : [ "dict", "dict", 0 ],
"obj-5::obj-1::obj-25" : [ "dict[1]", "dict", 0 ],
"parameterbanks" : {
"0" : {
"index" : 0,
"name" : "",
"parameters" : [ "-", "-", "-", "-", "-", "-", "-", "-" ]
}
}
,
"inherited_shortname" : 1
}
,
"dependency_cache" : [ {
"name" : "ModEnum.maxpat",
"bootpath" : "~/Documents/max-mod-enum",
"patcherrelativepath" : ".",
"type" : "JSON",
"implicit" : 1
}
, {
"name" : "myStorage.json",
"bootpath" : "~/Documents/max-mod-enum",
"patcherrelativepath" : ".",
"type" : "JSON",
"implicit" : 1
}
],
"autosave" : 0
}
}