Max patches for displaying energy distribution of ambisonic signals as point clouds in OpenGL
Marlon Schumacher
07.07.24 8041897857c9e03ecdd647588c060884ec09e019
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
{
    "patcher" :     {
        "fileversion" : 1,
        "appversion" :         {
            "major" : 8,
            "minor" : 5,
            "revision" : 6,
            "architecture" : "x64",
            "modernui" : 1
        }
,
        "classnamespace" : "box",
        "rect" : [ 59.0, 119.0, 941.0, 781.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" :                 {
                    "attr" : "zlmaxsize",
                    "id" : "obj-10",
                    "maxclass" : "attrui",
                    "numinlets" : 1,
                    "numoutlets" : 1,
                    "outlettype" : [ "" ],
                    "parameter_enable" : 0,
                    "patching_rect" : [ 475.0, 275.715393000000006, 150.0, 22.0 ]
                }
 
            }
,             {
                "box" :                 {
                    "id" : "obj-8",
                    "maxclass" : "message",
                    "numinlets" : 2,
                    "numoutlets" : 1,
                    "outlettype" : [ "" ],
                    "patching_rect" : [ 486.0, 378.0, 50.0, 22.0 ],
                    "text" : "426"
                }
 
            }
,             {
                "box" :                 {
                    "id" : "obj-6",
                    "maxclass" : "newobj",
                    "numinlets" : 2,
                    "numoutlets" : 2,
                    "outlettype" : [ "", "" ],
                    "patching_rect" : [ 475.0, 329.0, 135.0, 22.0 ],
                    "text" : "zl.len @zlmaxsize 1024"
                }
 
            }
,             {
                "box" :                 {
                    "id" : "obj-5",
                    "maxclass" : "newobj",
                    "numinlets" : 2,
                    "numoutlets" : 2,
                    "outlettype" : [ "", "" ],
                    "patching_rect" : [ 391.0, 197.0, 162.0, 22.0 ],
                    "text" : "route /EnergyVisualizer/RMS"
                }
 
            }
,             {
                "box" :                 {
                    "id" : "obj-4",
                    "linecount" : 848,
                    "maxclass" : "message",
                    "numinlets" : 2,
                    "numoutlets" : 1,
                    "outlettype" : [ "" ],
                    "patching_rect" : [ 219.0, 66.0, 50.0, 11377.0 ],
                    "text" : "0.003939 0.015339 0.013679 0.019516 0.015328 0.019207 0.010079 0.010612 0.015242 0.015835 0.021669 0.021472 0.025983 0.024102 0.026677 0.021563 0.021679 0.0092 0.006015 0.019765 0.021115 0.026178 0.026575 0.029647 0.028908 0.029925 0.027707 0.027086 0.020149 0.016214 0.016479 0.01815 0.024198 0.025286 0.03003 0.029911 0.031491 0.030867 0.030273 0.029472 0.027921 0.025281 0.022109 0.010013 0.009921 0.020015 0.02253 0.030236 0.030645 0.034394 0.032415 0.03202 0.031003 0.028866 0.028364 0.02586 0.025681 0.023039 0.017383 0.009797 0.017621 0.024885 0.028441 0.035836 0.03601 0.037425 0.03458 0.031528 0.029853 0.026407 0.025704 0.022448 0.023157 0.020808 0.019705 0.014731 0.011619 0.020747 0.029815 0.033883 0.038804 0.03903 0.037465 0.035019 0.030228 0.027581 0.023296 0.022402 0.018843 0.019477 0.017379 0.018519 0.015746 0.006411 0.01878 0.024408 0.032746 0.03669 0.037071 0.038062 0.032944 0.032437 0.026351 0.025226 0.020618 0.019222 0.015982 0.016029 0.014386 0.015854 0.01457 0.010599 0.010616 0.020536 0.027224 0.031239 0.034559 0.029379 0.031553 0.023299 0.025446 0.01912 0.020692 0.016287 0.0167 0.014101 0.013779 0.012933 0.01357 0.013179 0.011987 0.006534 0.021383 0.026926 0.023964 0.026397 0.016383 0.019707 0.011576 0.015648 0.010715 0.013941 0.011579 0.013361 0.012921 0.01303 0.013584 0.012978 0.013174 0.012091 0.007997 0.019461 0.02164 0.011869 0.013198 0.00333 0.006948 0.005468 0.006155 0.00456 0.008289 0.008797 0.011684 0.014056 0.014474 0.016907 0.014727 0.015353 0.012642 0.00989 0.013242 0.011668 0.002936 0.002713 0.01515 0.0115 0.018972 0.01223 0.014191 0.006372 0.007631 0.011801 0.016842 0.018121 0.021846 0.01893 0.019389 0.014745 0.011842 0.004949 0.001944 0.014271 0.016503 0.026547 0.024403 0.028112 0.022065 0.02003 0.012231 0.008146 0.013458 0.020371 0.022582 0.026775 0.024093 0.02372 0.01803 0.013836 0.009904 0.002808 0.009357 0.019901 0.025242 0.031508 0.031769 0.031206 0.026739 0.020761 0.01414 0.00994 0.016186 0.024019 0.026776 0.030349 0.028222 0.026019 0.020328 0.012749 0.007127 0.003636 0.011117 0.018758 0.027057 0.029637 0.032432 0.028216 0.025579 0.016555 0.01172 0.012153 0.019055 0.026452 0.029822 0.031448 0.029979 0.024056 0.018759 0.006396 0.008522 0.007783 0.013079 0.022856 0.023125 0.027224 0.020975 0.019663 0.009055 0.00596 0.013561 0.020787 0.026122 0.030079 0.02812 0.027266 0.016748 0.01191 0.012299 0.012718 0.003833 0.006694 0.015554 0.015257 0.019433 0.013605 0.011997 0.002914 0.005922 0.01292 0.020031 0.021871 0.026073 0.019685 0.019251 0.005751 0.009692 0.016933 0.015435 0.009642 0.008284 0.00877 0.009061 0.012457 0.008725 0.006772 0.007575 0.008912 0.012738 0.015981 0.013806 0.0173 0.006883 0.006675 0.017624 0.019316 0.017411 0.017395 0.013506 0.012804 0.008816 0.010224 0.007795 0.010124 0.008581 0.011225 0.011179 0.010355 0.011486 0.005116 0.00586 0.013765 0.01566 0.027768 0.025404 0.014333 0.015286 0.014587 0.012961 0.013259 0.011902 0.012415 0.011807 0.010658 0.010371 0.008078 0.004464 0.01388 0.01349 0.027038 0.027941 0.032557 0.025813 0.016146 0.014674 0.014167 0.013108 0.012846 0.010802 0.010796 0.012334 0.011333 0.018333 0.016453 0.026419 0.026408 0.03606 0.035533 0.030632 0.020969 0.017192 0.014573 0.013262 0.011164 0.010725 0.007094 0.011035 0.017187 0.018988 0.026759 0.027423 0.035185 0.035494 0.038436 0.036198 0.022896 0.013108 0.015757 0.012208 0.009239 0.007605 0.006713 0.013046 0.019492 0.024352 0.030739 0.034003 0.037104 0.038174 0.033442 0.029792 0.012436 0.012797 0.009427 0.005183 0.004187 0.012404 0.017604 0.02525 0.02847 0.033936 0.031206 0.033459 0.022479 0.018508 0.013328 0.005698 0.001864 0.008146 0.011014 0.020499 0.019738 0.026522 0.02068 0.022832 0.009564 0.011063 0.00927 0.002953 0.00458 0.011437 0.009973 0.015783 0.008195 0.009741 0.009228 0.003812 0.004835"
                }
 
            }
,             {
                "box" :                 {
                    "id" : "obj-1",
                    "maxclass" : "newobj",
                    "numinlets" : 1,
                    "numoutlets" : 1,
                    "outlettype" : [ "" ],
                    "patching_rect" : [ 391.0, 160.0, 97.0, 22.0 ],
                    "text" : "udpreceive 9010"
                }
 
            }
 ],
        "lines" : [             {
                "patchline" :                 {
                    "destination" : [ "obj-5", 0 ],
                    "source" : [ "obj-1", 0 ]
                }
 
            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-6", 0 ],
                    "source" : [ "obj-10", 0 ]
                }
 
            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-4", 1 ],
                    "order" : 1,
                    "source" : [ "obj-5", 0 ]
                }
 
            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-6", 0 ],
                    "order" : 0,
                    "source" : [ "obj-5", 0 ]
                }
 
            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-8", 1 ],
                    "source" : [ "obj-6", 0 ]
                }
 
            }
 ],
        "dependency_cache" : [  ],
        "autosave" : 0
    }
 
}