Skip to content

Commit ee87cd2

Browse files
committed
envelope follower in sound and cam control
1 parent 15efbba commit ee87cd2

4 files changed

Lines changed: 541 additions & 64 deletions

File tree

mercury_ide/patchers/_mercury_main.maxpat

Lines changed: 233 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,216 @@
3939
"subpatcher_template" : "",
4040
"assistshowspatchername" : 0,
4141
"boxes" : [ {
42+
"box" : {
43+
"id" : "obj-396",
44+
"maxclass" : "newobj",
45+
"numinlets" : 0,
46+
"numoutlets" : 1,
47+
"outlettype" : [ "" ],
48+
"patcher" : {
49+
"fileversion" : 1,
50+
"appversion" : {
51+
"major" : 8,
52+
"minor" : 3,
53+
"revision" : 2,
54+
"architecture" : "x64",
55+
"modernui" : 1
56+
}
57+
,
58+
"classnamespace" : "box",
59+
"rect" : [ 680.0, 180.0, 640.0, 480.0 ],
60+
"bglocked" : 0,
61+
"openinpresentation" : 0,
62+
"default_fontsize" : 12.0,
63+
"default_fontface" : 0,
64+
"default_fontname" : "Arial",
65+
"gridonopen" : 1,
66+
"gridsize" : [ 15.0, 15.0 ],
67+
"gridsnaponopen" : 1,
68+
"objectsnaponopen" : 1,
69+
"statusbarvisible" : 2,
70+
"toolbarvisible" : 1,
71+
"lefttoolbarpinned" : 0,
72+
"toptoolbarpinned" : 0,
73+
"righttoolbarpinned" : 0,
74+
"bottomtoolbarpinned" : 0,
75+
"toolbars_unpinned_last_save" : 0,
76+
"tallnewobj" : 0,
77+
"boxanimatetime" : 200,
78+
"enablehscroll" : 1,
79+
"enablevscroll" : 1,
80+
"devicewidth" : 0.0,
81+
"description" : "",
82+
"digest" : "",
83+
"tags" : "",
84+
"style" : "",
85+
"subpatcher_template" : "",
86+
"assistshowspatchername" : 0,
87+
"boxes" : [ {
88+
"box" : {
89+
"id" : "obj-2",
90+
"maxclass" : "newobj",
91+
"numinlets" : 1,
92+
"numoutlets" : 1,
93+
"outlettype" : [ "" ],
94+
"patching_rect" : [ 30.0, 120.0, 71.0, 22.0 ],
95+
"text" : "fromsymbol"
96+
}
97+
98+
}
99+
, {
100+
"box" : {
101+
"id" : "obj-1",
102+
"maxclass" : "newobj",
103+
"numinlets" : 1,
104+
"numoutlets" : 1,
105+
"outlettype" : [ "" ],
106+
"patching_rect" : [ 30.0, 90.0, 66.0, 22.0 ],
107+
"saved_object_attributes" : {
108+
"filename" : "parser.js",
109+
"parameter_enable" : 0
110+
}
111+
,
112+
"text" : "js parser.js"
113+
}
114+
115+
}
116+
, {
117+
"box" : {
118+
"id" : "obj-327",
119+
"maxclass" : "newobj",
120+
"numinlets" : 7,
121+
"numoutlets" : 7,
122+
"outlettype" : [ "", "", "", "", "", "", "" ],
123+
"patching_rect" : [ 30.0, 150.0, 313.0, 22.0 ],
124+
"text" : "routepass ortho lens_angle lookat position locklook tripod"
125+
}
126+
127+
}
128+
, {
129+
"box" : {
130+
"id" : "obj-347",
131+
"maxclass" : "newobj",
132+
"numinlets" : 2,
133+
"numoutlets" : 2,
134+
"outlettype" : [ "", "" ],
135+
"patching_rect" : [ 30.0, 60.0, 79.0, 22.0 ],
136+
"text" : "route camera"
137+
}
138+
139+
}
140+
, {
141+
"box" : {
142+
"id" : "obj-359",
143+
"maxclass" : "newobj",
144+
"numinlets" : 0,
145+
"numoutlets" : 1,
146+
"outlettype" : [ "" ],
147+
"patching_rect" : [ 30.0, 30.0, 47.0, 22.0 ],
148+
"text" : "r visual"
149+
}
150+
151+
}
152+
, {
153+
"box" : {
154+
"comment" : "",
155+
"id" : "obj-381",
156+
"index" : 1,
157+
"maxclass" : "outlet",
158+
"numinlets" : 1,
159+
"numoutlets" : 0,
160+
"patching_rect" : [ 30.0, 210.0, 30.0, 30.0 ],
161+
"varname" : "u685008906"
162+
}
163+
164+
}
165+
],
166+
"lines" : [ {
167+
"patchline" : {
168+
"destination" : [ "obj-2", 0 ],
169+
"source" : [ "obj-1", 0 ]
170+
}
171+
172+
}
173+
, {
174+
"patchline" : {
175+
"destination" : [ "obj-327", 0 ],
176+
"source" : [ "obj-2", 0 ]
177+
}
178+
179+
}
180+
, {
181+
"patchline" : {
182+
"destination" : [ "obj-381", 0 ],
183+
"source" : [ "obj-327", 5 ]
184+
}
185+
186+
}
187+
, {
188+
"patchline" : {
189+
"destination" : [ "obj-381", 0 ],
190+
"source" : [ "obj-327", 4 ]
191+
}
192+
193+
}
194+
, {
195+
"patchline" : {
196+
"destination" : [ "obj-381", 0 ],
197+
"source" : [ "obj-327", 3 ]
198+
}
199+
200+
}
201+
, {
202+
"patchline" : {
203+
"destination" : [ "obj-381", 0 ],
204+
"source" : [ "obj-327", 2 ]
205+
}
206+
207+
}
208+
, {
209+
"patchline" : {
210+
"destination" : [ "obj-381", 0 ],
211+
"source" : [ "obj-327", 1 ]
212+
}
213+
214+
}
215+
, {
216+
"patchline" : {
217+
"destination" : [ "obj-381", 0 ],
218+
"source" : [ "obj-327", 0 ]
219+
}
220+
221+
}
222+
, {
223+
"patchline" : {
224+
"destination" : [ "obj-1", 0 ],
225+
"source" : [ "obj-347", 0 ]
226+
}
227+
228+
}
229+
, {
230+
"patchline" : {
231+
"destination" : [ "obj-347", 0 ],
232+
"source" : [ "obj-359", 0 ]
233+
}
234+
235+
}
236+
]
237+
}
238+
,
239+
"patching_rect" : [ 1279.0, 370.5, 41.0, 22.0 ],
240+
"saved_object_attributes" : {
241+
"description" : "",
242+
"digest" : "",
243+
"globalpatchername" : "",
244+
"tags" : ""
245+
}
246+
,
247+
"text" : "p cam"
248+
}
249+
250+
}
251+
, {
42252
"box" : {
43253
"id" : "obj-499",
44254
"maxclass" : "newobj",
@@ -568,9 +778,9 @@
568778
"box" : {
569779
"id" : "obj-11",
570780
"maxclass" : "newobj",
571-
"numinlets" : 5,
572-
"numoutlets" : 3,
573-
"outlettype" : [ "", "int", "bang" ],
781+
"numinlets" : 4,
782+
"numoutlets" : 1,
783+
"outlettype" : [ "" ],
574784
"patching_rect" : [ 45.0, 285.0, 70.0, 22.0 ],
575785
"text" : "aka.speech"
576786
}
@@ -11112,7 +11322,7 @@
1111211322
]
1111311323
}
1111411324
,
11115-
"patching_rect" : [ 1313.0, 450.0, 101.0, 22.0 ],
11325+
"patching_rect" : [ 1313.0, 495.0, 101.0, 22.0 ],
1111611326
"saved_object_attributes" : {
1111711327
"description" : "",
1111811328
"digest" : "",
@@ -15229,7 +15439,7 @@
1522915439
]
1523015440
}
1523115441
,
15232-
"patching_rect" : [ 1250.833333333333485, 420.0, 91.0, 22.0 ],
15442+
"patching_rect" : [ 1250.833333333333485, 465.0, 91.0, 22.0 ],
1523315443
"saved_object_attributes" : {
1523415444
"description" : "",
1523515445
"digest" : "",
@@ -15600,7 +15810,7 @@
1560015810
]
1560115811
}
1560215812
,
15603-
"patching_rect" : [ 1250.833333333333485, 480.0, 79.0, 22.0 ],
15813+
"patching_rect" : [ 1250.833333333333485, 525.0, 79.0, 22.0 ],
1560415814
"saved_object_attributes" : {
1560515815
"description" : "",
1560615816
"digest" : "",
@@ -16096,7 +16306,7 @@
1609616306
]
1609716307
}
1609816308
,
16099-
"patching_rect" : [ 1250.833333333333485, 450.0, 52.0, 22.0 ],
16309+
"patching_rect" : [ 1250.833333333333485, 495.0, 52.0, 22.0 ],
1610016310
"saved_object_attributes" : {
1610116311
"description" : "",
1610216312
"digest" : "",
@@ -20184,7 +20394,7 @@
2018420394
]
2018520395
}
2018620396
,
20187-
"patching_rect" : [ 1250.833333333333485, 510.0, 63.0, 22.0 ],
20397+
"patching_rect" : [ 1250.833333333333485, 555.0, 63.0, 22.0 ],
2018820398
"saved_object_attributes" : {
2018920399
"description" : "",
2019020400
"digest" : "",
@@ -47552,9 +47762,8 @@
4755247762
"box" : {
4755347763
"id" : "obj-49",
4755447764
"maxclass" : "newobj",
47555-
"numinlets" : 2,
47556-
"numoutlets" : 1,
47557-
"outlettype" : [ "" ],
47765+
"numinlets" : 1,
47766+
"numoutlets" : 0,
4755847767
"patching_rect" : [ 884.0, 635.0, 167.0, 22.0 ],
4755947768
"text" : "jit.gl.syphonserver @enable 0"
4756047769
}
@@ -48445,8 +48654,6 @@
4844548654
"saved_object_attributes" : {
4844648655
"autostart" : 1,
4844748656
"defer" : 0,
48448-
"node_bin_path" : "",
48449-
"npm_bin_path" : "",
4845048657
"watch" : 1
4845148658
}
4845248659
,
@@ -51789,7 +51996,7 @@
5178951996
, {
5179051997
"box" : {
5179151998
"id" : "obj-284",
51792-
"items" : [ "AU DLS Synth 1", ",", "from Max 1", ",", "from Max 2" ],
51999+
"items" : [ "AU DLS Synth 1", ",", "M4", ",", "from Max 1", ",", "from Max 2" ],
5179352000
"maxclass" : "umenu",
5179452001
"numinlets" : 1,
5179552002
"numoutlets" : 3,
@@ -53883,7 +54090,7 @@
5388354090
]
5388454091
}
5388554092
,
53886-
"patching_rect" : [ 1448.833333333333485, 315.0, 57.0, 22.0 ],
54093+
"patching_rect" : [ 1448.833333333333485, 465.0, 57.0, 22.0 ],
5388754094
"saved_object_attributes" : {
5388854095
"description" : "",
5388954096
"digest" : "",
@@ -55489,6 +55696,8 @@
5548955696
"saved_object_attributes" : {
5549055697
"autostart" : 0,
5549155698
"defer" : 1,
55699+
"node_bin_path" : "",
55700+
"npm_bin_path" : "",
5549255701
"watch" : 1
5549355702
}
5549455703
,
@@ -69704,7 +69913,7 @@
6970469913
"numinlets" : 1,
6970569914
"numoutlets" : 2,
6970669915
"outlettype" : [ "jit_gl_texture", "" ],
69707-
"patching_rect" : [ 1250.833333333333485, 370.5, 255.0, 35.0 ],
69916+
"patching_rect" : [ 1250.833333333333485, 405.0, 255.0, 35.0 ],
6970869917
"text" : "jit.gl.camera @position 0 1.2 4 @lookat 0 0 0 @locklook 1 @far_clip 150 @lens_angle 60"
6970969918
}
6971069919

@@ -72334,6 +72543,13 @@
7233472543
"source" : [ "obj-395", 0 ]
7233572544
}
7233672545

72546+
}
72547+
, {
72548+
"patchline" : {
72549+
"destination" : [ "obj-103", 0 ],
72550+
"source" : [ "obj-396", 0 ]
72551+
}
72552+
7233772553
}
7233872554
, {
7233972555
"patchline" : {
@@ -73026,17 +73242,6 @@
7302673242
}
7302773243
,
7302873244
"dependency_cache" : [ {
73029-
"name" : "aka.speech.mxo",
73030-
"type" : "iLaX"
73031-
}
73032-
, {
73033-
"name" : "amdrone.maxpat",
73034-
"bootpath" : "~/Documents/Mercury/Library/Sound",
73035-
"patcherrelativepath" : "../../../../../../../../../Documents/Mercury/Library/Sound",
73036-
"type" : "JSON",
73037-
"implicit" : 1
73038-
}
73039-
, {
7304073245
"name" : "analyseDisplay.maxpat",
7304173246
"bootpath" : "~/Drive/work/code/max/major_projects/mercury_lc/mercury/mercury_ide/patchers",
7304273247
"patcherrelativepath" : ".",
@@ -73065,7 +73270,7 @@
7306573270
"implicit" : 1
7306673271
}
7306773272
, {
73068-
"name" : "bleep.maxpat",
73273+
"name" : "atom.maxpat",
7306973274
"bootpath" : "~/Documents/Mercury/Library/Sound",
7307073275
"patcherrelativepath" : "../../../../../../../../../Documents/Mercury/Library/Sound",
7307173276
"type" : "JSON",
@@ -73092,10 +73297,6 @@
7309273297
"type" : "JSON",
7309373298
"implicit" : 1
7309473299
}
73095-
, {
73096-
"name" : "cv.jit.resize.mxo",
73097-
"type" : "iLaX"
73098-
}
7309973300
, {
7310073301
"name" : "emptyScene.maxpat",
7310173302
"bootpath" : "~/Drive/work/code/max/major_projects/mercury_lc/mercury/mercury_ide/patchers",
@@ -73229,14 +73430,6 @@
7322973430
"type" : "JSON",
7323073431
"implicit" : 1
7323173432
}
73232-
, {
73233-
"name" : "jit.gl.syphonclient.mxo",
73234-
"type" : "iLaX"
73235-
}
73236-
, {
73237-
"name" : "jit.gl.syphonserver.mxo",
73238-
"type" : "iLaX"
73239-
}
7324073433
, {
7324173434
"name" : "lexer.js",
7324273435
"bootpath" : "~/Drive/work/code/max/major_projects/mercury_lc/mercury/mercury_ide/code",

0 commit comments

Comments
 (0)