proper initialization of piece and preset via delay system

This commit is contained in:
Kieran McAuliffe 2024-09-23 16:43:36 +02:00
parent 3a039b30c7
commit d1efc39fcc

View File

@ -58,7 +58,7 @@
}
,
"classnamespace" : "box",
"rect" : [ 59.0, 106.0, 640.0, 480.0 ],
"rect" : [ 91.0, 156.0, 640.0, 480.0 ],
"bglocked" : 0,
"openinpresentation" : 0,
"default_fontsize" : 12.0,
@ -87,6 +87,78 @@
"subpatcher_template" : "",
"assistshowspatchername" : 0,
"boxes" : [ {
"box" : {
"id" : "obj-6",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 265.0, 76.0, 61.0, 22.0 ],
"text" : "del 10000"
}
}
, {
"box" : {
"id" : "obj-4",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "bang", "bang" ],
"patching_rect" : [ 213.0, 206.0, 32.0, 22.0 ],
"text" : "t b b"
}
}
, {
"box" : {
"id" : "obj-26",
"maxclass" : "number",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 274.0, 284.0, 50.0, 22.0 ]
}
}
, {
"box" : {
"id" : "obj-5",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 181.0, 145.0, 35.0, 22.0 ],
"text" : "clear"
}
}
, {
"box" : {
"id" : "obj-3",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"patching_rect" : [ 124.0, 212.0, 29.5, 22.0 ],
"text" : "+ 1"
}
}
, {
"box" : {
"id" : "obj-2",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 2,
"outlettype" : [ "int", "bang" ],
"patching_rect" : [ 124.0, 180.0, 36.0, 22.0 ],
"text" : "urn 5"
}
}
, {
"box" : {
"id" : "obj-1",
"maxclass" : "newobj",
@ -97,18 +169,6 @@
"text" : "loadbang"
}
}
, {
"box" : {
"id" : "obj-77",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 50.0, 100.0, 29.5, 22.0 ],
"text" : "1"
}
}
, {
"box" : {
@ -121,18 +181,6 @@
"text" : "metro 00:02:00"
}
}
, {
"box" : {
"id" : "obj-55",
"maxclass" : "newobj",
"numinlets" : 5,
"numoutlets" : 4,
"outlettype" : [ "int", "", "", "int" ],
"patching_rect" : [ 50.0, 150.0, 69.0, 22.0 ],
"text" : "counter 1 5"
}
}
, {
"box" : {
@ -149,29 +197,82 @@
],
"lines" : [ {
"patchline" : {
"destination" : [ "obj-77", 0 ],
"destination" : [ "obj-6", 0 ],
"order" : 0,
"source" : [ "obj-1", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-92", 0 ],
"source" : [ "obj-55", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-55", 0 ],
"source" : [ "obj-73", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-73", 0 ],
"source" : [ "obj-77", 0 ]
"order" : 1,
"source" : [ "obj-1", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-3", 0 ],
"source" : [ "obj-2", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-4", 0 ],
"source" : [ "obj-2", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-26", 0 ],
"order" : 0,
"source" : [ "obj-3", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-92", 0 ],
"order" : 1,
"source" : [ "obj-3", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-2", 0 ],
"source" : [ "obj-4", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-5", 0 ],
"source" : [ "obj-4", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-2", 0 ],
"source" : [ "obj-5", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-2", 0 ],
"source" : [ "obj-6", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-2", 0 ],
"source" : [ "obj-73", 0 ]
}
}
@ -209,7 +310,7 @@
}
,
"classnamespace" : "box",
"rect" : [ -1740.0, 366.0, 638.0, 623.0 ],
"rect" : [ -672.0, 208.0, 638.0, 623.0 ],
"bglocked" : 0,
"openinpresentation" : 0,
"default_fontsize" : 12.0,
@ -237,7 +338,32 @@
"style" : "",
"subpatcher_template" : "",
"assistshowspatchername" : 0,
"visible" : 1,
"boxes" : [ {
"box" : {
"id" : "obj-4",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 56.0, 160.0, 55.0, 22.0 ],
"text" : "del 6000"
}
}
, {
"box" : {
"id" : "obj-1",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 3,
"outlettype" : [ "bang", "bang", "bang" ],
"patching_rect" : [ 84.0, 112.0, 42.0, 22.0 ],
"text" : "t b b b"
}
}
, {
"box" : {
"id" : "obj-29",
"maxclass" : "newobj",
@ -272,18 +398,6 @@
"text" : "- 1"
}
}
, {
"box" : {
"id" : "obj-1",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 40.0, 184.0, 58.0, 22.0 ],
"text" : "loadbang"
}
}
, {
"box" : {
@ -433,10 +547,17 @@
],
"lines" : [ {
"patchline" : {
"destination" : [ "obj-77", 0 ],
"destination" : [ "obj-4", 0 ],
"source" : [ "obj-1", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-5", 0 ],
"source" : [ "obj-1", 2 ]
}
}
, {
"patchline" : {
@ -491,7 +612,7 @@
}
, {
"patchline" : {
"destination" : [ "obj-5", 0 ],
"destination" : [ "obj-1", 0 ],
"source" : [ "obj-22", 0 ]
}
@ -523,6 +644,13 @@
"source" : [ "obj-3", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-77", 0 ],
"source" : [ "obj-4", 0 ]
}
}
, {
"patchline" : {
@ -660,13 +788,12 @@
, {
"box" : {
"id" : "obj-66",
"linecount" : 5,
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 1117.0, 522.0, 50.0, 77.0 ],
"text" : "Djster.µbus[3]::pulse_length 500."
"patching_rect" : [ 1117.0, 522.0, 50.0, 22.0 ],
"text" : "recall 5"
}
}
@ -1212,8 +1339,8 @@
"key" : "svg",
"val" : {
"id" : "src4",
"cx" : 153,
"cy" : 70
"cx" : 139,
"cy" : 69
}
}
@ -4511,7 +4638,6 @@
"style" : "",
"subpatcher_template" : "",
"assistshowspatchername" : 0,
"visible" : 1,
"boxes" : [ {
"box" : {
"fontname" : "Lato",
@ -4945,7 +5071,7 @@
"numoutlets" : 3,
"outlettype" : [ "", "", "" ],
"patching_rect" : [ 383.5, 132.0, 148.0, 22.0 ],
"restore" : [ "HSS_Samples.json" ],
"restore" : [ "HSS_Samples_25.7.24.json" ],
"saved_object_attributes" : {
"parameter_enable" : 0,
"parameter_mappable" : 0
@ -6010,7 +6136,7 @@
"numoutlets" : 3,
"outlettype" : [ "", "", "" ],
"patching_rect" : [ 312.380992412567139, 308.571468114852905, 162.0, 22.0 ],
"restore" : [ 0 ],
"restore" : [ 5.2 ],
"saved_object_attributes" : {
"parameter_enable" : 0,
"parameter_mappable" : 0
@ -6925,7 +7051,7 @@
"numoutlets" : 3,
"outlettype" : [ "", "", "" ],
"patching_rect" : [ 517.899999999999977, 790.0, 145.0, 22.0 ],
"restore" : [ 21, 63 ],
"restore" : [ 5, 64 ],
"saved_object_attributes" : {
"parameter_enable" : 0,
"parameter_mappable" : 0
@ -6944,7 +7070,7 @@
"numoutlets" : 3,
"outlettype" : [ "", "", "" ],
"patching_rect" : [ 460.899999999999977, 903.0, 145.0, 22.0 ],
"restore" : [ 63, 21 ],
"restore" : [ 62, 6 ],
"saved_object_attributes" : {
"parameter_enable" : 0,
"parameter_mappable" : 0
@ -6963,7 +7089,7 @@
"numoutlets" : 3,
"outlettype" : [ "", "", "" ],
"patching_rect" : [ 403.899999999999977, 847.0, 145.0, 22.0 ],
"restore" : [ 109, 63 ],
"restore" : [ 131, 62 ],
"saved_object_attributes" : {
"parameter_enable" : 0,
"parameter_mappable" : 0
@ -6982,7 +7108,7 @@
"numoutlets" : 3,
"outlettype" : [ "", "", "" ],
"patching_rect" : [ 346.899999999999977, 790.0, 145.0, 22.0 ],
"restore" : [ 66, 109 ],
"restore" : [ 61, 111 ],
"saved_object_attributes" : {
"parameter_enable" : 0,
"parameter_mappable" : 0
@ -8484,7 +8610,7 @@
}
, {
"box" : {
"autorestore" : "MeiyanChenPreset2024-08-21.json",
"autorestore" : "hss-Xiao-2024.json",
"id" : "obj-20",
"maxclass" : "newobj",
"numinlets" : 1,
@ -8498,10 +8624,10 @@
}
,
"saved_object_attributes" : {
"client_rect" : [ 4, 44, 358, 172 ],
"client_rect" : [ 903, 252, 1512, 568 ],
"parameter_enable" : 0,
"parameter_mappable" : 0,
"storage_rect" : [ 583, 69, 1034, 197 ]
"storage_rect" : [ 780, 524, 1380, 824 ]
}
,
"text" : "pattrstorage DJster @greedy 1",
@ -9530,7 +9656,7 @@
"parameter_overrides" : {
"obj-15::obj-1" : {
"parameter_longname" : "Outset Pulses[3]",
"parameter_range" : [ 1, 24 ]
"parameter_range" : [ 1, 8 ]
}
,
"obj-15::obj-104" : {
@ -9546,10 +9672,10 @@
}
,
"obj-15::obj-110" : {
"parameter_initial" : 1000,
"parameter_initial" : 99,
"parameter_longname" : "Event Length Percent[3]",
"parameter_range" : [ 20.0, 20000.0 ],
"parameter_unitstyle" : 2
"parameter_range" : [ 1.0, 1000.0 ],
"parameter_unitstyle" : 5
}
,
"obj-15::obj-115" : {
@ -9566,7 +9692,7 @@
,
"obj-15::obj-13" : {
"parameter_longname" : "Melody Scope[3]",
"parameter_unitstyle" : 9
"parameter_unitstyle" : 7
}
,
"obj-15::obj-136" : {
@ -9599,12 +9725,12 @@
,
"obj-15::obj-25" : {
"parameter_longname" : "Pitch Center[3]",
"parameter_unitstyle" : 9
"parameter_unitstyle" : 8
}
,
"obj-15::obj-26" : {
"parameter_longname" : "Pitch Range[3]",
"parameter_unitstyle" : 9
"parameter_unitstyle" : 7
}
,
"obj-15::obj-27" : {
@ -9637,7 +9763,7 @@
,
"obj-15::obj-52" : {
"parameter_longname" : "Tonic Pitch[3]",
"parameter_unitstyle" : 9
"parameter_unitstyle" : 8
}
,
"obj-15::obj-53" : {
@ -9674,10 +9800,10 @@
}
,
"obj-26::obj-110" : {
"parameter_initial" : 1000,
"parameter_initial" : 99,
"parameter_longname" : "Event Length Percent",
"parameter_range" : [ 20.0, 20000.0 ],
"parameter_unitstyle" : 2
"parameter_range" : [ 1.0, 1000.0 ],
"parameter_unitstyle" : 5
}
,
"obj-26::obj-115" : {
@ -9698,7 +9824,7 @@
,
"obj-26::obj-13" : {
"parameter_longname" : "Melody Scope",
"parameter_unitstyle" : 9
"parameter_unitstyle" : 7
}
,
"obj-26::obj-136" : {
@ -9727,12 +9853,12 @@
,
"obj-26::obj-25" : {
"parameter_longname" : "Pitch Center",
"parameter_unitstyle" : 9
"parameter_unitstyle" : 8
}
,
"obj-26::obj-26" : {
"parameter_longname" : "Pitch Range",
"parameter_unitstyle" : 9
"parameter_unitstyle" : 7
}
,
"obj-26::obj-27" : {
@ -9766,7 +9892,7 @@
,
"obj-26::obj-52" : {
"parameter_longname" : "Tonic Pitch",
"parameter_unitstyle" : 9
"parameter_unitstyle" : 8
}
,
"obj-26::obj-53" : {
@ -9792,7 +9918,7 @@
,
"obj-5::obj-1" : {
"parameter_longname" : "Outset Pulses[1]",
"parameter_range" : [ 1, 16 ]
"parameter_range" : [ 1, 4 ]
}
,
"obj-5::obj-104" : {
@ -9808,10 +9934,10 @@
}
,
"obj-5::obj-110" : {
"parameter_initial" : 1000,
"parameter_initial" : 99,
"parameter_longname" : "Event Length Percent[1]",
"parameter_range" : [ 20.0, 20000.0 ],
"parameter_unitstyle" : 2
"parameter_range" : [ 1.0, 1000.0 ],
"parameter_unitstyle" : 5
}
,
"obj-5::obj-115" : {
@ -9830,7 +9956,7 @@
,
"obj-5::obj-13" : {
"parameter_longname" : "Melody Scope[1]",
"parameter_unitstyle" : 9
"parameter_unitstyle" : 7
}
,
"obj-5::obj-136" : {
@ -9863,12 +9989,12 @@
,
"obj-5::obj-25" : {
"parameter_longname" : "Pitch Center[1]",
"parameter_unitstyle" : 9
"parameter_unitstyle" : 8
}
,
"obj-5::obj-26" : {
"parameter_longname" : "Pitch Range[1]",
"parameter_unitstyle" : 9
"parameter_unitstyle" : 7
}
,
"obj-5::obj-27" : {
@ -9901,7 +10027,7 @@
,
"obj-5::obj-52" : {
"parameter_longname" : "Tonic Pitch[1]",
"parameter_unitstyle" : 9
"parameter_unitstyle" : 8
}
,
"obj-5::obj-53" : {
@ -9922,7 +10048,7 @@
,
"obj-8::obj-1" : {
"parameter_longname" : "Outset Pulses[2]",
"parameter_range" : [ 1, 12 ]
"parameter_range" : [ 1, 4 ]
}
,
"obj-8::obj-104" : {
@ -9938,10 +10064,10 @@
}
,
"obj-8::obj-110" : {
"parameter_initial" : 1000,
"parameter_initial" : 99,
"parameter_longname" : "Event Length Percent[2]",
"parameter_range" : [ 20.0, 20000.0 ],
"parameter_unitstyle" : 2
"parameter_range" : [ 1.0, 1000.0 ],
"parameter_unitstyle" : 5
}
,
"obj-8::obj-115" : {
@ -9958,7 +10084,7 @@
,
"obj-8::obj-13" : {
"parameter_longname" : "Melody Scope[2]",
"parameter_unitstyle" : 9
"parameter_unitstyle" : 7
}
,
"obj-8::obj-136" : {
@ -9991,12 +10117,12 @@
,
"obj-8::obj-25" : {
"parameter_longname" : "Pitch Center[2]",
"parameter_unitstyle" : 9
"parameter_unitstyle" : 8
}
,
"obj-8::obj-26" : {
"parameter_longname" : "Pitch Range[2]",
"parameter_unitstyle" : 9
"parameter_unitstyle" : 7
}
,
"obj-8::obj-27" : {
@ -10029,7 +10155,7 @@
,
"obj-8::obj-52" : {
"parameter_longname" : "Tonic Pitch[2]",
"parameter_unitstyle" : 9
"parameter_unitstyle" : 8
}
,
"obj-8::obj-53" : {
@ -10088,13 +10214,6 @@
"type" : "JSON",
"implicit" : 1
}
, {
"name" : "MeiyanChenPreset2024-08-21.json",
"bootpath" : "~/Documents/Max 8/Library/healing-soundscapes/Presets",
"patcherrelativepath" : "./Presets",
"type" : "JSON",
"implicit" : 1
}
, {
"name" : "Mod.2.maxpat",
"bootpath" : "~/Documents/Max 8/Packages/MaxScore/patchers/DJster/dispenser",
@ -10221,6 +10340,13 @@
"type" : "JSON",
"implicit" : 1
}
, {
"name" : "hss-Xiao-2024.json",
"bootpath" : "~/Documents/Max 8/Library/healing-soundscapes/Presets",
"patcherrelativepath" : "./Presets",
"type" : "JSON",
"implicit" : 1
}
, {
"name" : "hss.piecemaker.js",
"bootpath" : "~/Documents/Max 8/Library/healing-soundscapes",