├── cog.png
├── .DS_Store
├── .gitignore
├── Mosaïque_icone_v3.icns
├── Mosaïque_icone_v3.ico
├── __MosaiquePlayer_v0.2.1.amxd
├── LogoBlancMosaiqueMax4Live.png
├── ___MosaiqueServer_v0.2.1.amxd
├── Players Prototypes
├── __MosaiquePlayer_Morph_v0.01.amxd
└── _mosaique.player.freeze.poly.maxpat
├── kisspng-rgb-color-model-computer-icons-color-picker-rgb-co-color-pallete-5b20c1e15fb5c5.554432311528873441392.png
├── down_arrow.svg
├── left.svg
├── right.svg
├── up_arrow.svg
├── link.svg
├── link_off.svg
├── bwd.svg
├── fwd.svg
├── Convert AMXD to standalone.rtf
├── thru.maxpat
├── README.md
├── Licenses
└── Flucoma_LICENSE.md
├── Exporting M4L Devices.rtf
├── _mosaique.angle.dist.genjit
├── _mosaique.dictValueGetSet.maxpat
├── n4m.max-fs.js
├── _mosaique.navigation.maxpat
├── _mosaique.players.maxpat
├── _mosaique.corpusColorPicker.maxpat
├── _mosaique.miniCorpusOnOff.maxpat
├── _mosaique.OSCSend.maxpat
├── _mosaique.gui.dimReduct.maxpat
├── _mosaique.sliceInfos.maxpat
├── _mosaique.importProgress.maxpat
├── _mosaique.clearAll.maxpat
├── RoutingObjects.maxpat
└── _mosaique.navigation.xyz.maxpat
/cog.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LFO-lab/Mosaique/HEAD/cog.png
--------------------------------------------------------------------------------
/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LFO-lab/Mosaique/HEAD/.DS_Store
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | .DS_Store
3 | .DS_Store
4 | .DS_Store
5 | .DS_Store
6 |
--------------------------------------------------------------------------------
/Mosaïque_icone_v3.icns:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LFO-lab/Mosaique/HEAD/Mosaïque_icone_v3.icns
--------------------------------------------------------------------------------
/Mosaïque_icone_v3.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LFO-lab/Mosaique/HEAD/Mosaïque_icone_v3.ico
--------------------------------------------------------------------------------
/__MosaiquePlayer_v0.2.1.amxd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LFO-lab/Mosaique/HEAD/__MosaiquePlayer_v0.2.1.amxd
--------------------------------------------------------------------------------
/LogoBlancMosaiqueMax4Live.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LFO-lab/Mosaique/HEAD/LogoBlancMosaiqueMax4Live.png
--------------------------------------------------------------------------------
/___MosaiqueServer_v0.2.1.amxd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LFO-lab/Mosaique/HEAD/___MosaiqueServer_v0.2.1.amxd
--------------------------------------------------------------------------------
/Players Prototypes/__MosaiquePlayer_Morph_v0.01.amxd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LFO-lab/Mosaique/HEAD/Players Prototypes/__MosaiquePlayer_Morph_v0.01.amxd
--------------------------------------------------------------------------------
/kisspng-rgb-color-model-computer-icons-color-picker-rgb-co-color-pallete-5b20c1e15fb5c5.554432311528873441392.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LFO-lab/Mosaique/HEAD/kisspng-rgb-color-model-computer-icons-color-picker-rgb-co-color-pallete-5b20c1e15fb5c5.554432311528873441392.png
--------------------------------------------------------------------------------
/down_arrow.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/left.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/right.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/up_arrow.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/link.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/link_off.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/bwd.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/fwd.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Convert AMXD to standalone.rtf:
--------------------------------------------------------------------------------
1 | {\rtf1\ansi\ansicpg1252\cocoartf2822
2 | \cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
3 | {\colortbl;\red255\green255\blue255;}
4 | {\*\expandedcolortbl;;}
5 | {\*\listtable{\list\listtemplateid1\listhybrid{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{decimal\}.}{\leveltext\leveltemplateid1\'02\'00.;}{\levelnumbers\'01;}\fi-360\li720\lin720 }{\listname ;}\listid1}}
6 | {\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}}
7 | \margl1440\margr1440\vieww11520\viewh8400\viewkind0
8 | \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0
9 |
10 | \f0\fs24 \cf0 EXPORT TO STANDALONE\
11 | \
12 | \pard\tx220\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\li720\fi-720\pardirnatural\partightenfactor0
13 | \ls1\ilvl0\cf0 {\listtext 1. }Note the name of [bpatcher] abstractions in the standalone patch\
14 | {\listtext 2. }Copy .amdx content to .maxpat file\
15 | {\listtext 3. }Open .maxpat files in BBEdit, replace \'ab ---\'a0\'bb with \'ab\'a0#1\'a0\'bb\
16 | {\listtext 4. }Replace [midiin] by an [inlet]\
17 | {\listtext 5. }Add [outlet]\'92s for the audio outputs\
18 | {\listtext 6. }Add [s Mosaique_loadedCorpora] at the end of the analysis chain\
19 | }
--------------------------------------------------------------------------------
/thru.maxpat:
--------------------------------------------------------------------------------
1 | {
2 | "patcher" : {
3 | "fileversion" : 1,
4 | "appversion" : {
5 | "major" : 8,
6 | "minor" : 5,
7 | "revision" : 5,
8 | "architecture" : "x64",
9 | "modernui" : 1
10 | }
11 | ,
12 | "classnamespace" : "box",
13 | "rect" : [ 404.0, 177.0, 236.0, 74.0 ],
14 | "bglocked" : 0,
15 | "openinpresentation" : 0,
16 | "default_fontsize" : 10.0,
17 | "default_fontface" : 0,
18 | "default_fontname" : "Arial Bold",
19 | "gridonopen" : 1,
20 | "gridsize" : [ 8.0, 8.0 ],
21 | "gridsnaponopen" : 1,
22 | "objectsnaponopen" : 1,
23 | "statusbarvisible" : 2,
24 | "toolbarvisible" : 1,
25 | "lefttoolbarpinned" : 0,
26 | "toptoolbarpinned" : 0,
27 | "righttoolbarpinned" : 0,
28 | "bottomtoolbarpinned" : 0,
29 | "toolbars_unpinned_last_save" : 0,
30 | "tallnewobj" : 0,
31 | "boxanimatetime" : 200,
32 | "enablehscroll" : 1,
33 | "enablevscroll" : 1,
34 | "devicewidth" : 0.0,
35 | "description" : "",
36 | "digest" : "",
37 | "tags" : "",
38 | "style" : "",
39 | "subpatcher_template" : "",
40 | "assistshowspatchername" : 0,
41 | "boxes" : [ {
42 | "box" : {
43 | "comment" : "",
44 | "id" : "obj-1",
45 | "index" : 1,
46 | "maxclass" : "outlet",
47 | "numinlets" : 1,
48 | "numoutlets" : 0,
49 | "patching_rect" : [ 16.0, 43.0, 18.0, 18.0 ]
50 | }
51 |
52 | }
53 | , {
54 | "box" : {
55 | "comment" : "",
56 | "id" : "obj-2",
57 | "index" : 1,
58 | "maxclass" : "inlet",
59 | "numinlets" : 0,
60 | "numoutlets" : 1,
61 | "outlettype" : [ "" ],
62 | "patching_rect" : [ 16.0, 8.0, 18.0, 18.0 ]
63 | }
64 |
65 | }
66 | , {
67 | "box" : {
68 | "fontname" : "Arial",
69 | "fontsize" : 10.0,
70 | "id" : "obj-3",
71 | "maxclass" : "comment",
72 | "numinlets" : 1,
73 | "numoutlets" : 0,
74 | "patching_rect" : [ 40.0, 8.0, 56.0, 18.0 ],
75 | "text" : "Thru input"
76 | }
77 |
78 | }
79 | , {
80 | "box" : {
81 | "fontname" : "Arial",
82 | "fontsize" : 10.0,
83 | "id" : "obj-4",
84 | "maxclass" : "comment",
85 | "numinlets" : 1,
86 | "numoutlets" : 0,
87 | "patching_rect" : [ 40.0, 43.0, 62.0, 18.0 ],
88 | "text" : "Thru output"
89 | }
90 |
91 | }
92 | , {
93 | "box" : {
94 | "fontname" : "Arial Bold",
95 | "fontsize" : 10.0,
96 | "id" : "obj-5",
97 | "linecount" : 4,
98 | "maxclass" : "comment",
99 | "numinlets" : 1,
100 | "numoutlets" : 0,
101 | "patching_rect" : [ 104.0, 8.0, 125.0, 52.0 ],
102 | "text" : "A simple router that allows for simplified wiring of multiple wires to patch subsystems."
103 | }
104 |
105 | }
106 | ],
107 | "lines" : [ {
108 | "patchline" : {
109 | "destination" : [ "obj-1", 0 ],
110 | "source" : [ "obj-2", 0 ]
111 | }
112 |
113 | }
114 | ]
115 | }
116 |
117 | }
118 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |
2 |
3 |
Mosaïque is a corpus-based concatenative synthesis software that offers an immersive graphical representation to creators who wish to manipulate sound within a virtual timbral space. Mosaïque takes the form of a collection of Max for Live instruments to play sound coming from the Ableton Live composition environment. In developing Mosaïque, we aim to provide greater accessibility to a sound generation technique that is relatively new and still not widely spread. The technique involves mapping thousands of short sound samples (the corpus) into a three-dimensional representation based on their timbral proximity; the similarity of sounds will correspond to their respective proximity to each other in the 3D space.
4 | For more details, visit : https://mosaique.cargo.site/
5 |
6 | Prerequisites
7 | Software needed
8 | In order to use Mosaïque you need the following softwares :
9 |
13 | N.B. If you have **Ableton Live 11**, we recommend that you install a separate Max version that is at least version 8.6.0 and define the application as the default Max in your Ableton preferences. For support : https://help.ableton.com/hc/en-us/articles/209070309-Using-a-separate-Max-for-Live-installation
14 |
15 | N.B.2. Mosaïque has not been tested on **Ableton Live 10**, but it might well work. Again, just make sure your Max version is at least 8.6.0.
16 |
17 |
18 | Library needed
19 | Mosaïque uses the Fluid Corpus Manipulation library to do all its machine listening and learning processes.
20 |
21 | At the moment, FluCoMa needs to be installed independantly in Max. To do so :
22 |
23 | Open Max
24 | In the "File" menu, go to "Show Package Manager"
25 | Find the Fluid Corpus Manipulation Library in the list and click on it
26 | Install the library
27 | Quit and restart both Max and Ableton Live for all dependancies to work properly
28 |
29 |
30 | Install Mosaïque
31 | Mosaïque works as both a Max for Live device AND a Max patch.
32 |
33 | Two ways of installing :
34 |
35 | Clone the current repository : you will have the most recent version of Mosaïque. We make sure the main branch is always in working order. However, the Max for Live devices are not frozen (i.e. you will end up with a folder containing multiple files.)
36 | Go to our releases here : https://github.com/LFO-lab/Mosaique/releases. You'll find the most recent stable version of the project
37 |
38 | If you intend to use Mosaïque as a Max for Live device, download the ZIP file titled : Mosaique.M4L.v0.1.2-beta.zip
39 | If you intend to use Mosaïque as a standalone Max patch, download the ZIP file titled : Mosaique.Max.Projects.v0.1.2-beta.zip
40 |
41 |
42 |
43 |
44 | Using Mosaïque
45 | Coming soon.
46 |
--------------------------------------------------------------------------------
/Licenses/Flucoma_LICENSE.md:
--------------------------------------------------------------------------------
1 | The Fluid Corpus Manipulation Toolkit uses the BSD 3-Clause License
2 |
3 | Copyright (c) 2017-2020 University of Huddersfield
4 | All rights reserved.
5 |
6 | Redistribution and use in source and binary forms, with or without
7 | modification, are permitted provided that the following conditions are met:
8 |
9 | * Redistributions of source code must retain the above copyright notice, this
10 | list of conditions and the following disclaimer.
11 |
12 | * Redistributions in binary form must reproduce the above copyright notice,
13 | this list of conditions and the following disclaimer in the documentation
14 | and/or other materials provided with the distribution.
15 |
16 | * Neither the name of the copyright holder nor the names of its
17 | contributors may be used to endorse or promote products derived from
18 | this software without specific prior written permission.
19 |
20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 |
31 | ---
32 | ## We depend on the following libraries:
33 |
34 | ### Eigen
35 | [source code](https://gitlab.com/libeigen/eigen) licensed under the [Mozilla Public License 2.0] (http://www.mozilla.org/MPL/2.0/)
36 |
37 | ### HissTools Library
38 | [source code](https://github.com/AlexHarker/HISSTools_Library) licensed under the BSD 3-Clause License
39 |
40 | Copyright (c) 2020, Alex Harker
41 | All rights reserved.
42 |
43 | Redistribution and use in source and binary forms, with or without
44 | modification, are permitted provided that the following conditions are met:
45 |
46 | * Redistributions of source code must retain the above copyright notice, this
47 | list of conditions and the following disclaimer.
48 |
49 | * Redistributions in binary form must reproduce the above copyright notice,
50 | this list of conditions and the following disclaimer in the documentation
51 | and/or other materials provided with the distribution.
52 |
53 | * Neither the name of the copyright holder nor the names of its
54 | contributors may be used to endorse or promote products derived from
55 | this software without specific prior written permission.
56 |
57 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
58 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
59 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
60 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
61 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
62 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
63 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
64 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
65 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
66 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
67 |
--------------------------------------------------------------------------------
/Exporting M4L Devices.rtf:
--------------------------------------------------------------------------------
1 | {\rtf1\ansi\ansicpg1252\cocoartf2761
2 | \cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
3 | {\colortbl;\red255\green255\blue255;}
4 | {\*\expandedcolortbl;;}
5 | {\*\listtable{\list\listtemplateid1\listhybrid{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{decimal\}.}{\leveltext\leveltemplateid1\'02\'00.;}{\levelnumbers\'01;}\fi-360\li720\lin720 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{hyphen\}}{\leveltext\leveltemplateid2\'01\uc0\u8259 ;}{\levelnumbers;}\fi-360\li1440\lin1440 }{\listname ;}\listid1}}
6 | {\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}}
7 | \margl1440\margr1440\vieww16220\viewh8400\viewkind0
8 | \pard\tx220\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\li720\fi-720\pardirnatural\partightenfactor0
9 | \ls1\ilvl0
10 | \f0\fs24 \cf0 {\listtext 1. }Make a copy of the repository somewhere outside the scope of GitHub\
11 | {\listtext 2. }Create .maxpat named identically to AMXD file you want to freeze and save in the same folder. Make sure it opens in presentation mode and that the background colour in darker gray.\
12 | {\listtext 3. }Copy content of AMXD file in .maxpat file just created. Save maxpat file.\
13 | {\listtext 4. }Create an empty Max project next to the folder containing all files. Not inside.\
14 | {\listtext 5. }In the project, import the maxpat file (through \'ab\'a0Add existing files\'a0\'bb function). The dependancies should automatically be identified. \
15 | {\listtext 6. }Add the .mxe64 Windows externals to the project (through \'ab\'a0Add existing files\'a0\'bb function).\
16 | {\listtext 7. }Consolidate the project files\
17 | {\listtext 8. }Create the openactions.txt file from within the project. Copy/paste the following lines and save :\
18 | {\listtext 9. }\
19 | ;max objectfile fluid.dataset~ fluid.libmanipulation\
20 | \pard\tx940\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\li1440\fi-1440\pardirnatural\partightenfactor0
21 | \ls1\ilvl1\cf0 ;max objectfile fluid.labelset~ fluid.libmanipulation\
22 | ;max objectfile fluid.kdtree~ fluid.libmanipulation\
23 | ;max objectfile fluid.kmeans~ fluid.libmanipulation\
24 | ;max objectfile fluid.knnclassifier~ fluid.libmanipulation\
25 | ;max objectfile fluid.knnregressor~ fluid.libmanipulation\
26 | ;max objectfile fluid.normalize~ fluid.libmanipulation\
27 | ;max objectfile fluid.standardize~ fluid.libmanipulation\
28 | ;max objectfile fluid.robustscale~ fluid.libmanipulation\
29 | ;max objectfile fluid.pca~ fluid.libmanipulation\
30 | ;max objectfile fluid.mds~ fluid.libmanipulation\
31 | ;max objectfile fluid.umap~ fluid.libmanipulation\
32 | ;max objectfile fluid.datasetquery~ fluid.libmanipulation\
33 | ;max objectfile fluid.mlpregressor~ fluid.libmanipulation\
34 | ;max objectfile fluid.mlpclassifier~ fluid.libmanipulation\
35 | ;max definesubstitution fluid.plotter jsui @filename fluid.plotter @border 0;\
36 | ;max objectfile fluid.plotter fluid.plotter;\
37 | ;max definesubstitution fluid.waveform~ jsui @filename fluid.waveform~;\
38 | ;max objectfile fluid.waveform~ fluid.waveform~;\
39 | \
40 | \pard\tx220\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\li720\fi-720\pardirnatural\partightenfactor0
41 | \ls1\ilvl0\cf0 {\listtext 11. }Manually add [fluid.libmanipulation.mxo] and [fluid.libmanipulation.mxe64] to the root of the project\
42 | {\listtext 12. }In the project inspector, check the \'ab\'a0Include Packages When Freezing\'a0\'bb option. Also make sure the Max for Live Device Type is set properly.\
43 | {\listtext 13. }Create the Max for Live (AMXD) file from the project. Save outside of the scope.\
44 | \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0
45 | \cf0 \
46 | }
--------------------------------------------------------------------------------
/_mosaique.angle.dist.genjit:
--------------------------------------------------------------------------------
1 | {
2 | "patcher" : {
3 | "fileversion" : 1,
4 | "appversion" : {
5 | "major" : 8,
6 | "minor" : 6,
7 | "revision" : 3,
8 | "architecture" : "x64",
9 | "modernui" : 1
10 | }
11 | ,
12 | "classnamespace" : "jit.gen",
13 | "rect" : [ 632.0, 100.0, 1062.0, 708.0 ],
14 | "bglocked" : 0,
15 | "openinpresentation" : 0,
16 | "default_fontsize" : 12.0,
17 | "default_fontface" : 0,
18 | "default_fontname" : "Arial",
19 | "gridonopen" : 1,
20 | "gridsize" : [ 15.0, 15.0 ],
21 | "gridsnaponopen" : 1,
22 | "objectsnaponopen" : 1,
23 | "statusbarvisible" : 2,
24 | "toolbarvisible" : 1,
25 | "lefttoolbarpinned" : 0,
26 | "toptoolbarpinned" : 0,
27 | "righttoolbarpinned" : 0,
28 | "bottomtoolbarpinned" : 0,
29 | "toolbars_unpinned_last_save" : 0,
30 | "tallnewobj" : 0,
31 | "boxanimatetime" : 200,
32 | "enablehscroll" : 1,
33 | "enablevscroll" : 1,
34 | "devicewidth" : 0.0,
35 | "description" : "",
36 | "digest" : "",
37 | "tags" : "",
38 | "style" : "",
39 | "subpatcher_template" : "",
40 | "assistshowspatchername" : 0,
41 | "boxes" : [ {
42 | "box" : {
43 | "id" : "obj-2",
44 | "maxclass" : "comment",
45 | "numinlets" : 1,
46 | "numoutlets" : 0,
47 | "patching_rect" : [ 561.0, 42.0, 61.0, 20.0 ],
48 | "text" : "ray points"
49 | }
50 |
51 | }
52 | , {
53 | "box" : {
54 | "id" : "obj-25",
55 | "maxclass" : "newobj",
56 | "numinlets" : 0,
57 | "numoutlets" : 1,
58 | "outlettype" : [ "" ],
59 | "patching_rect" : [ 526.897436261177063, 41.025641441345215, 28.0, 22.0 ],
60 | "text" : "in 2"
61 | }
62 |
63 | }
64 | , {
65 | "box" : {
66 | "code" : "\r\n\r\ncalculateAngleDifference(worldPoints, pointsA, pointsB) {\r\n\tm1_x = swiz(worldPoints, 0) - swiz(pointsA, 0);\r\n\tm1_y = swiz(worldPoints, 1) - swiz(pointsA, 1);\r\n\tm1_z = swiz(worldPoints, 2) - swiz(pointsA, 2);\r\n\t\r\n\tm1_length = sqrt(m1_x * m1_x + m1_y * m1_y + m1_z * m1_z);\r\n\t\r\n\tm2_x = swiz(pointsB, 0) - swiz(pointsA, 0);\r\n\tm2_y = swiz(pointsB, 1) - swiz(pointsA, 1);\r\n\tm2_z = swiz(pointsB, 2) - swiz(pointsA, 2);\r\n\t\r\n\tm2_length = sqrt(m2_x * m2_x + m2_y * m2_y + m2_z * m2_z);\r\n\t\r\n\tdot_product = m1_x * m2_x + m1_y * m2_y + m1_z * m2_z;\n\r\n\tmult_lengths = m1_length * m2_length;\r\n\t\r\n\tangle_difference = acos(dot_product / mult_lengths);\r\n\t\r\n\treturn angle_difference;\r\n}\r\n\t\r\n\r\ncolone_1 = sample(in2, (1/dim()));\r\ncolone_2 = sample(in2, (1/dim())*2);\r\n\r\nout1 = calculateAngleDifference(in1, colone_1, colone_2);",
67 | "fontface" : 0,
68 | "fontname" : "",
69 | "fontsize" : 12.0,
70 | "id" : "obj-123",
71 | "maxclass" : "codebox",
72 | "numinlets" : 2,
73 | "numoutlets" : 1,
74 | "outlettype" : [ "" ],
75 | "patching_rect" : [ 35.897436261177063, 76.0, 510.0, 385.0 ]
76 | }
77 |
78 | }
79 | , {
80 | "box" : {
81 | "id" : "obj-45",
82 | "maxclass" : "comment",
83 | "numinlets" : 1,
84 | "numoutlets" : 0,
85 | "patching_rect" : [ 74.0, 42.025641441345215, 80.0, 20.0 ],
86 | "text" : "corpus points"
87 | }
88 |
89 | }
90 | , {
91 | "box" : {
92 | "id" : "obj-10",
93 | "maxclass" : "newobj",
94 | "numinlets" : 1,
95 | "numoutlets" : 0,
96 | "patching_rect" : [ 35.897436261177063, 479.0, 35.0, 22.0 ],
97 | "text" : "out 1"
98 | }
99 |
100 | }
101 | , {
102 | "box" : {
103 | "id" : "obj-1",
104 | "maxclass" : "newobj",
105 | "numinlets" : 0,
106 | "numoutlets" : 1,
107 | "outlettype" : [ "" ],
108 | "patching_rect" : [ 35.897436261177063, 41.025641441345215, 28.0, 22.0 ],
109 | "text" : "in 1"
110 | }
111 |
112 | }
113 | ],
114 | "lines" : [ {
115 | "patchline" : {
116 | "destination" : [ "obj-123", 0 ],
117 | "source" : [ "obj-1", 0 ]
118 | }
119 |
120 | }
121 | , {
122 | "patchline" : {
123 | "destination" : [ "obj-10", 0 ],
124 | "source" : [ "obj-123", 0 ]
125 | }
126 |
127 | }
128 | , {
129 | "patchline" : {
130 | "destination" : [ "obj-123", 1 ],
131 | "source" : [ "obj-25", 0 ]
132 | }
133 |
134 | }
135 | ]
136 | }
137 |
138 | }
139 |
--------------------------------------------------------------------------------
/_mosaique.dictValueGetSet.maxpat:
--------------------------------------------------------------------------------
1 | {
2 | "patcher" : {
3 | "fileversion" : 1,
4 | "appversion" : {
5 | "major" : 8,
6 | "minor" : 5,
7 | "revision" : 6,
8 | "architecture" : "x64",
9 | "modernui" : 1
10 | }
11 | ,
12 | "classnamespace" : "box",
13 | "rect" : [ 154.0, 146.0, 1023.0, 564.0 ],
14 | "bglocked" : 0,
15 | "openinpresentation" : 0,
16 | "default_fontsize" : 12.0,
17 | "default_fontface" : 0,
18 | "default_fontname" : "Arial",
19 | "gridonopen" : 1,
20 | "gridsize" : [ 15.0, 15.0 ],
21 | "gridsnaponopen" : 1,
22 | "objectsnaponopen" : 1,
23 | "statusbarvisible" : 2,
24 | "toolbarvisible" : 1,
25 | "lefttoolbarpinned" : 0,
26 | "toptoolbarpinned" : 0,
27 | "righttoolbarpinned" : 0,
28 | "bottomtoolbarpinned" : 0,
29 | "toolbars_unpinned_last_save" : 0,
30 | "tallnewobj" : 0,
31 | "boxanimatetime" : 200,
32 | "enablehscroll" : 1,
33 | "enablevscroll" : 1,
34 | "devicewidth" : 0.0,
35 | "description" : "",
36 | "digest" : "",
37 | "tags" : "",
38 | "style" : "",
39 | "subpatcher_template" : "",
40 | "assistshowspatchername" : 0,
41 | "boxes" : [ {
42 | "box" : {
43 | "id" : "obj-4",
44 | "maxclass" : "newobj",
45 | "numinlets" : 2,
46 | "numoutlets" : 1,
47 | "outlettype" : [ "bang" ],
48 | "patching_rect" : [ 465.0, 86.0, 126.0, 22.0 ],
49 | "text" : "metro 500 @active #3"
50 | }
51 |
52 | }
53 | , {
54 | "box" : {
55 | "id" : "obj-21",
56 | "maxclass" : "message",
57 | "numinlets" : 2,
58 | "numoutlets" : 1,
59 | "outlettype" : [ "" ],
60 | "patching_rect" : [ 211.0, 316.0, 35.0, 22.0 ],
61 | "text" : "none"
62 | }
63 |
64 | }
65 | , {
66 | "box" : {
67 | "id" : "obj-17",
68 | "maxclass" : "newobj",
69 | "numinlets" : 3,
70 | "numoutlets" : 3,
71 | "outlettype" : [ "bang", "bang", "" ],
72 | "patching_rect" : [ 211.0, 280.0, 106.0, 22.0 ],
73 | "text" : "sel 0 1"
74 | }
75 |
76 | }
77 | , {
78 | "box" : {
79 | "comment" : "Sets value in dictionnary for declared argument",
80 | "id" : "obj-3",
81 | "index" : 2,
82 | "maxclass" : "inlet",
83 | "numinlets" : 0,
84 | "numoutlets" : 1,
85 | "outlettype" : [ "" ],
86 | "patching_rect" : [ 616.0, 41.0, 30.0, 30.0 ]
87 | }
88 |
89 | }
90 | , {
91 | "box" : {
92 | "comment" : "Value if get requested",
93 | "id" : "obj-8",
94 | "index" : 1,
95 | "maxclass" : "outlet",
96 | "numinlets" : 1,
97 | "numoutlets" : 0,
98 | "patching_rect" : [ 167.0, 363.0, 30.0, 30.0 ]
99 | }
100 |
101 | }
102 | , {
103 | "box" : {
104 | "id" : "obj-5",
105 | "linecount" : 4,
106 | "maxclass" : "newobj",
107 | "numinlets" : 1,
108 | "numoutlets" : 1,
109 | "outlettype" : [ "" ],
110 | "patching_rect" : [ 616.0, 130.0, 94.0, 62.0 ],
111 | "text" : "prepend replace #2"
112 | }
113 |
114 | }
115 | , {
116 | "box" : {
117 | "id" : "obj-44",
118 | "maxclass" : "newobj",
119 | "numinlets" : 2,
120 | "numoutlets" : 2,
121 | "outlettype" : [ "", "" ],
122 | "patching_rect" : [ 139.0, 280.0, 47.0, 22.0 ],
123 | "text" : "zl.nth 1"
124 | }
125 |
126 | }
127 | , {
128 | "box" : {
129 | "id" : "obj-45",
130 | "linecount" : 3,
131 | "maxclass" : "message",
132 | "numinlets" : 2,
133 | "numoutlets" : 1,
134 | "outlettype" : [ "" ],
135 | "patching_rect" : [ 67.0, 130.0, 119.0, 49.0 ],
136 | "text" : "get #2"
137 | }
138 |
139 | }
140 | , {
141 | "box" : {
142 | "id" : "obj-46",
143 | "maxclass" : "newobj",
144 | "numinlets" : 2,
145 | "numoutlets" : 4,
146 | "outlettype" : [ "dictionary", "", "", "" ],
147 | "patching_rect" : [ 67.0, 231.792207717895508, 235.0, 22.0 ],
148 | "saved_object_attributes" : {
149 | "embed" : 0,
150 | "parameter_enable" : 0,
151 | "parameter_mappable" : 0
152 | }
153 | ,
154 | "text" : "dict #1Mosaique_corpusInfo"
155 | }
156 |
157 | }
158 | , {
159 | "box" : {
160 | "id" : "obj-2",
161 | "maxclass" : "newobj",
162 | "numinlets" : 2,
163 | "numoutlets" : 2,
164 | "outlettype" : [ "", "" ],
165 | "patching_rect" : [ 379.0, 86.0, 66.0, 22.0 ],
166 | "text" : "route bang"
167 | }
168 |
169 | }
170 | , {
171 | "box" : {
172 | "comment" : "Bang to get value in dictionnary of argument",
173 | "id" : "obj-1",
174 | "index" : 1,
175 | "maxclass" : "inlet",
176 | "numinlets" : 0,
177 | "numoutlets" : 1,
178 | "outlettype" : [ "" ],
179 | "patching_rect" : [ 379.0, 41.0, 30.0, 30.0 ]
180 | }
181 |
182 | }
183 | , {
184 | "box" : {
185 | "id" : "obj-7",
186 | "linecount" : 3,
187 | "maxclass" : "message",
188 | "numinlets" : 2,
189 | "numoutlets" : 1,
190 | "outlettype" : [ "" ],
191 | "patching_rect" : [ 379.0, 130.0, 119.0, 49.0 ],
192 | "text" : "contains #2"
193 | }
194 |
195 | }
196 | ],
197 | "lines" : [ {
198 | "patchline" : {
199 | "destination" : [ "obj-2", 0 ],
200 | "source" : [ "obj-1", 0 ]
201 | }
202 |
203 | }
204 | , {
205 | "patchline" : {
206 | "destination" : [ "obj-21", 0 ],
207 | "source" : [ "obj-17", 0 ]
208 | }
209 |
210 | }
211 | , {
212 | "patchline" : {
213 | "destination" : [ "obj-45", 0 ],
214 | "midpoints" : [ 264.0, 309.0, 56.25, 309.0, 56.25, 119.0, 76.5, 119.0 ],
215 | "source" : [ "obj-17", 1 ]
216 | }
217 |
218 | }
219 | , {
220 | "patchline" : {
221 | "destination" : [ "obj-7", 0 ],
222 | "source" : [ "obj-2", 0 ]
223 | }
224 |
225 | }
226 | , {
227 | "patchline" : {
228 | "destination" : [ "obj-8", 0 ],
229 | "source" : [ "obj-21", 0 ]
230 | }
231 |
232 | }
233 | , {
234 | "patchline" : {
235 | "destination" : [ "obj-5", 0 ],
236 | "source" : [ "obj-3", 0 ]
237 | }
238 |
239 | }
240 | , {
241 | "patchline" : {
242 | "destination" : [ "obj-7", 0 ],
243 | "source" : [ "obj-4", 0 ]
244 | }
245 |
246 | }
247 | , {
248 | "patchline" : {
249 | "destination" : [ "obj-8", 0 ],
250 | "source" : [ "obj-44", 1 ]
251 | }
252 |
253 | }
254 | , {
255 | "patchline" : {
256 | "destination" : [ "obj-46", 0 ],
257 | "source" : [ "obj-45", 0 ]
258 | }
259 |
260 | }
261 | , {
262 | "patchline" : {
263 | "destination" : [ "obj-17", 0 ],
264 | "source" : [ "obj-46", 2 ]
265 | }
266 |
267 | }
268 | , {
269 | "patchline" : {
270 | "destination" : [ "obj-44", 0 ],
271 | "source" : [ "obj-46", 1 ]
272 | }
273 |
274 | }
275 | , {
276 | "patchline" : {
277 | "destination" : [ "obj-46", 0 ],
278 | "source" : [ "obj-5", 0 ]
279 | }
280 |
281 | }
282 | , {
283 | "patchline" : {
284 | "destination" : [ "obj-46", 0 ],
285 | "source" : [ "obj-7", 0 ]
286 | }
287 |
288 | }
289 | ]
290 | }
291 |
292 | }
293 |
--------------------------------------------------------------------------------
/n4m.max-fs.js:
--------------------------------------------------------------------------------
1 | // ---------------------------------------------------------------------------
2 | //
3 | // n4m.max-fs.js
4 | //
5 | // Provide access to the node.js "fs" wrapper functions as well
6 | // as other file system functions.
7 | //
8 | // ---------------------------------------------------------------------------
9 |
10 | const fs = require("fs");
11 | const path = require("path");
12 | const util = require("util");
13 | const maxAPI = require("max-api");
14 | const os = require("os");
15 |
16 | const access = util.promisify(fs.access);
17 | const copyFile = util.promisify(fs.copyFile);
18 | const lstat = util.promisify(fs.lstat);
19 | const mkdir = util.promisify(fs.mkdir);
20 | const readdir = util.promisify(fs.readdir);
21 | const rmdir = util.promisify(fs.rmdir);
22 | const unlink = util.promisify(fs.unlink);
23 | const utimes = util.promisify(fs.utimes);
24 | const writeFile = util.promisify(fs.writeFile);
25 |
26 | let currentFolder = process.cwd();
27 |
28 | const decodePaths = (arr) => {
29 | return arr.reduce((a, c) => {
30 | if (typeof (c) === "string") {
31 | return a.concat(c);
32 | }
33 | return a;
34 | }, []);
35 | };
36 |
37 | const expandTilde = (p) => {
38 | if (p.startsWith("~")) return os.homedir() + p.substr(1);
39 | return p;
40 | };
41 |
42 | async function findRecursiveHelper({ dir, fileFilter, depth }) {
43 | let result = [];
44 | let files;
45 | try {
46 | files = await readdir(dir);
47 | } catch (err) {
48 | maxAPI.post(err.message);
49 | return result;
50 | }
51 |
52 | if (!files || !files.length) return result;
53 |
54 | for (let i = 0, il = files.length; i < il; i++) {
55 | try {
56 | const fName = files[i];
57 | const fPath = path.join(dir, fName);
58 | const stats = await lstat(fPath);
59 |
60 | if (stats.isFile() && fileFilter.test(fName)) {
61 | result.push(fPath);
62 | } else if (stats.isDirectory() && depth !== 0) {
63 | const dirResult = await findRecursiveHelper({
64 | dir: fPath,
65 | fileFilter,
66 | depth: depth - 1
67 | });
68 | result = result.concat(dirResult);
69 | }
70 |
71 | } catch (err) {
72 | // simply skip entry
73 | maxAPI.post(err.message);
74 | }
75 | }
76 |
77 | return result;
78 | }
79 |
80 | const simpleGlobToRegexp = (glob) => {
81 | const regStr = glob
82 | .replace(/\./g, "\\.")
83 | .replace(/\*\*$/g, "(.+)")
84 | .replace(/(?:\*\*\/|\*\*|\*)/g, (match) => {
85 | switch (match) {
86 | case "*": return "([^/]+)";
87 | case "**": return "(.+/)?([^/]+)";
88 | case "**/": return "(.+/)?";
89 | default: return "";
90 | }
91 | });
92 |
93 | return new RegExp(regStr);
94 | };
95 |
96 | const findRecursive = ({ root, fileGlob, depth }) => {
97 | const fileFilter = simpleGlobToRegexp(fileGlob);
98 | return findRecursiveHelper({
99 | dir: root,
100 | fileFilter,
101 | depth: !depth ? -1 : depth
102 | });
103 | };
104 |
105 | const handlers = {
106 |
107 | pwd: () => {
108 | maxAPI.outlet(currentFolder);
109 | },
110 |
111 | ls: async (...args) => {
112 | const myPaths = decodePaths(args);
113 |
114 | try {
115 | let newPath = currentFolder;
116 | if (myPaths.length) newPath = expandTilde(myPaths[0]);
117 | const files = await readdir(newPath);
118 | maxAPI.outlet(files);
119 | } catch (e) {
120 | maxAPI.post("Error: " + e.message);
121 | }
122 | },
123 |
124 | cd: (...args) => {
125 | const myPaths = decodePaths(args);
126 |
127 | try {
128 | if (myPaths.length) {
129 | let newPath = expandTilde(myPaths[0]);
130 | process.chdir(newPath);
131 | currentFolder = process.cwd();
132 | maxAPI.outlet(currentFolder);
133 | } else {
134 | maxAPI.post("The cd command needs an argument!");
135 | }
136 | } catch (e) {
137 | maxAPI.post("Error: " + e.message);
138 | }
139 | },
140 |
141 | mkdir: async (...args) => {
142 | try {
143 | if (args.length) {
144 | let newPath = expandTilde(args[0]);
145 | await mkdir(newPath);
146 | maxAPI.post(`mkdir: ${newPath}`);
147 | } else {
148 | maxAPI.post("The mkdir command needs an argument!");
149 | }
150 | } catch (e) {
151 | maxAPI.post("Error " + e.message);
152 | }
153 | },
154 |
155 | rmdir: async (...args) => {
156 | try {
157 | if (args.length) {
158 | let newPath = expandTilde(args[0]);
159 | await rmdir(newPath);
160 | maxAPI.post(`rmdir: ${newPath}`);
161 | } else {
162 | maxAPI.post("The rmdir command needs an argument!");
163 | }
164 | } catch (e) {
165 | maxAPI.post("Error " + e.message);
166 | }
167 | },
168 |
169 | touch: async (...args) => {
170 | if (args.length) {
171 | let newPath = expandTilde(args[0]);
172 | try {
173 | await access(newPath, fs.constants.F_OK);
174 | let tmpDate = new Date();
175 | await utimes(newPath, tmpDate, tmpDate);
176 | maxAPI.post("touch: time updated");
177 | } catch (access_err) {
178 | try {
179 | await writeFile(newPath, "");
180 | maxAPI.post(`touch: new file ${newPath}`);
181 | } catch (e) {
182 | maxAPI.post("Error " + e.message);
183 | }
184 | }
185 | } else {
186 | maxAPI.post("The touch command needs an argument!");
187 | }
188 | },
189 |
190 | rm: async (...args) => {
191 | try {
192 | if (args.length) {
193 | let newPath = expandTilde(args[0]);
194 | await unlink(newPath);
195 | maxAPI.post(`unlink: ${newPath}`);
196 | } else {
197 | maxAPI.post("The rm command needs an argument!");
198 | }
199 | } catch (e) {
200 | maxAPI.post("Error " + e.message);
201 | }
202 | },
203 |
204 | cp: async (...args) => {
205 | try {
206 | if (args.length === 2) {
207 | const fromFile = expandTilde(args[0]);
208 | const toFile = expandTilde(args[1]);
209 | await copyFile(fromFile, toFile, fs.constants.COPYFILE_EXCL);
210 | maxAPI.post(`cp: ${fromFile} to ${toFile}`);
211 | } else {
212 | maxAPI.post("The cp command needs exactly two arguments!");
213 | }
214 | } catch (e) {
215 | maxAPI.post("Error " + e.message);
216 | }
217 | },
218 |
219 | mv: async (...args) => {
220 | try {
221 | if (args.length === 2) {
222 | const fromFile = expandTilde(args[0]);
223 | const toFile = expandTilde(args[1]);
224 | await copyFile(fromFile, toFile, fs.constants.COPYFILE_EXCL);
225 | await unlink(fromFile);
226 | maxAPI.post(`mv: ${fromFile} to ${toFile}`);
227 | } else {
228 | maxAPI.post("The mv command needs exactly two arguments!");
229 | }
230 | } catch (e) {
231 | maxAPI.post("Error " + e.message);
232 | }
233 | },
234 |
235 | locate: async (...args) => {
236 | try {
237 | if (args.length) {
238 |
239 | const root = expandTilde(args[0]);
240 | const fileGlob = args.length > 1 ? args[1] : "*";
241 | const depth = args.length > 2 ? args[2] : null;
242 |
243 | if (!fs.existsSync(root) || !(await lstat(root)).isDirectory()) throw new Error(`${root} is not a valid directory path`);
244 | if (depth !== null && isNaN(depth) || depth < 0) throw new Error(`${args[2]} is not a valid depth argument`);
245 |
246 | const results = await findRecursive({ root, fileGlob, depth });
247 | if (results && results.length) maxAPI.outlet(results);
248 |
249 | } else {
250 | maxAPI.post("The locate command requires at least one argument!");
251 | }
252 | } catch (e) {
253 | maxAPI.post("Error " + e.message);
254 | }
255 | }
256 | };
257 |
258 | maxAPI.addHandlers(handlers);
259 |
--------------------------------------------------------------------------------
/_mosaique.navigation.maxpat:
--------------------------------------------------------------------------------
1 | {
2 | "patcher" : {
3 | "fileversion" : 1,
4 | "appversion" : {
5 | "major" : 9,
6 | "minor" : 0,
7 | "revision" : 7,
8 | "architecture" : "x64",
9 | "modernui" : 1
10 | }
11 | ,
12 | "classnamespace" : "box",
13 | "rect" : [ 680.0, 106.0, 1001.0, 983.0 ],
14 | "openinpresentation" : 1,
15 | "gridsize" : [ 15.0, 15.0 ],
16 | "boxes" : [ {
17 | "box" : {
18 | "id" : "obj-16",
19 | "maxclass" : "comment",
20 | "numinlets" : 1,
21 | "numoutlets" : 0,
22 | "patching_rect" : [ 136.0, 251.0, 32.0, 20.0 ],
23 | "presentation" : 1,
24 | "presentation_rect" : [ 266.0, 105.0, 93.0, 20.0 ],
25 | "text" : "XYZ"
26 | }
27 |
28 | }
29 | , {
30 | "box" : {
31 | "id" : "obj-15",
32 | "maxclass" : "comment",
33 | "numinlets" : 1,
34 | "numoutlets" : 0,
35 | "patching_rect" : [ 379.0, 251.0, 150.0, 20.0 ],
36 | "presentation" : 1,
37 | "presentation_linecount" : 2,
38 | "presentation_rect" : [ 271.0, 201.0, 93.0, 33.0 ],
39 | "text" : "Audio descriptors"
40 | }
41 |
42 | }
43 | , {
44 | "box" : {
45 | "id" : "obj-12",
46 | "linecount" : 5,
47 | "maxclass" : "comment",
48 | "numinlets" : 1,
49 | "numoutlets" : 0,
50 | "patching_rect" : [ 348.0, 98.0, 150.0, 74.0 ],
51 | "presentation" : 1,
52 | "presentation_linecount" : 4,
53 | "presentation_rect" : [ 266.0, 39.0, 169.0, 60.0 ],
54 | "text" : "Parameters to add for the query :\n- number of nearest neighbors\n- radius"
55 | }
56 |
57 | }
58 | , {
59 | "box" : {
60 | "id" : "obj-14",
61 | "maxclass" : "comment",
62 | "numinlets" : 1,
63 | "numoutlets" : 0,
64 | "patching_rect" : [ 669.0, 251.0, 83.0, 20.0 ],
65 | "presentation" : 1,
66 | "presentation_rect" : [ 297.0, 410.0, 93.0, 20.0 ],
67 | "text" : "MIDI mapping"
68 | }
69 |
70 | }
71 | , {
72 | "box" : {
73 | "id" : "obj-13",
74 | "maxclass" : "comment",
75 | "numinlets" : 1,
76 | "numoutlets" : 0,
77 | "patching_rect" : [ 1069.5, 133.0, 150.0, 20.0 ],
78 | "presentation" : 1,
79 | "presentation_rect" : [ 915.0, 214.0, 93.0, 20.0 ],
80 | "text" : "<<< MIDI Notes"
81 | }
82 |
83 | }
84 | , {
85 | "box" : {
86 | "args" : [ "#1", "#2" ],
87 | "bgmode" : 0,
88 | "border" : 0,
89 | "clickthrough" : 0,
90 | "enablehscroll" : 0,
91 | "enablevscroll" : 0,
92 | "id" : "obj-10",
93 | "lockeddragscroll" : 0,
94 | "lockedsize" : 0,
95 | "maxclass" : "bpatcher",
96 | "name" : "_mosaique.navigation.midiNotes.maxpat",
97 | "numinlets" : 2,
98 | "numoutlets" : 1,
99 | "offset" : [ 0.0, 0.0 ],
100 | "outlettype" : [ "" ],
101 | "patching_rect" : [ 595.0, 273.0, 245.0, 171.0 ],
102 | "presentation" : 1,
103 | "presentation_rect" : [ -5.0, 340.0, 153.0, 166.0 ],
104 | "viewvisibility" : 1
105 | }
106 |
107 | }
108 | , {
109 | "box" : {
110 | "angle" : 270.0,
111 | "bgcolor" : [ 0.52156862745098, 0.164705882352941, 0.341176470588235, 1.0 ],
112 | "border" : 1,
113 | "id" : "obj-11",
114 | "maxclass" : "panel",
115 | "mode" : 0,
116 | "numinlets" : 1,
117 | "numoutlets" : 0,
118 | "patching_rect" : [ 804.0, 679.0, 128.0, 128.0 ],
119 | "presentation" : 1,
120 | "presentation_rect" : [ 529.0, 333.0, 149.0, 166.0 ],
121 | "proportion" : 0.39,
122 | "shadow" : 1
123 | }
124 |
125 | }
126 | , {
127 | "box" : {
128 | "comment" : "Navigation type",
129 | "id" : "obj-6",
130 | "index" : 1,
131 | "maxclass" : "inlet",
132 | "numinlets" : 0,
133 | "numoutlets" : 1,
134 | "outlettype" : [ "" ],
135 | "patching_rect" : [ 42.0, 94.557260036468506, 30.0, 30.0 ]
136 | }
137 |
138 | }
139 | , {
140 | "box" : {
141 | "args" : [ "#1", "#2" ],
142 | "bgmode" : 0,
143 | "border" : 0,
144 | "clickthrough" : 0,
145 | "enablehscroll" : 0,
146 | "enablevscroll" : 0,
147 | "id" : "obj-2",
148 | "lockeddragscroll" : 0,
149 | "lockedsize" : 0,
150 | "maxclass" : "bpatcher",
151 | "name" : "_mosaique.navigation.xyz.maxpat",
152 | "numinlets" : 1,
153 | "numoutlets" : 1,
154 | "offset" : [ 0.0, 0.0 ],
155 | "outlettype" : [ "" ],
156 | "patching_rect" : [ 42.0, 273.0, 239.0, 175.0 ],
157 | "presentation" : 1,
158 | "presentation_rect" : [ -5.0, -1.0, 153.0, 167.0 ],
159 | "viewvisibility" : 1
160 | }
161 |
162 | }
163 | , {
164 | "box" : {
165 | "args" : [ "#1" ],
166 | "bgmode" : 0,
167 | "border" : 0,
168 | "clickthrough" : 0,
169 | "enablehscroll" : 0,
170 | "enablevscroll" : 0,
171 | "id" : "obj-4",
172 | "lockeddragscroll" : 0,
173 | "lockedsize" : 0,
174 | "maxclass" : "bpatcher",
175 | "name" : "_mosaique.navigation.descriptors.maxpat",
176 | "numinlets" : 1,
177 | "numoutlets" : 1,
178 | "offset" : [ 0.0, 0.0 ],
179 | "outlettype" : [ "" ],
180 | "patching_rect" : [ 320.0, 273.0, 245.0, 171.0 ],
181 | "presentation" : 1,
182 | "presentation_rect" : [ -5.0, 170.0, 153.0, 166.0 ],
183 | "viewvisibility" : 1
184 | }
185 |
186 | }
187 | , {
188 | "box" : {
189 | "angle" : 270.0,
190 | "bgcolor" : [ 0.52156862745098, 0.164705882352941, 0.341176470588235, 1.0 ],
191 | "border" : 1,
192 | "id" : "obj-3",
193 | "maxclass" : "panel",
194 | "mode" : 0,
195 | "numinlets" : 1,
196 | "numoutlets" : 0,
197 | "patching_rect" : [ 537.0, 679.0, 128.0, 128.0 ],
198 | "presentation" : 1,
199 | "presentation_rect" : [ 529.0, 164.0, 149.0, 165.0 ],
200 | "proportion" : 0.39,
201 | "shadow" : 1
202 | }
203 |
204 | }
205 | , {
206 | "box" : {
207 | "angle" : 270.0,
208 | "bgcolor" : [ 0.52156862745098, 0.164705882352941, 0.341176470588235, 1.0 ],
209 | "border" : 1,
210 | "id" : "obj-9",
211 | "maxclass" : "panel",
212 | "mode" : 0,
213 | "numinlets" : 1,
214 | "numoutlets" : 0,
215 | "patching_rect" : [ 671.0, 679.0, 128.0, 128.0 ],
216 | "presentation" : 1,
217 | "presentation_rect" : [ 529.0, -6.0, 149.0, 165.0 ],
218 | "proportion" : 0.39,
219 | "shadow" : 1
220 | }
221 |
222 | }
223 | , {
224 | "box" : {
225 | "id" : "obj-5",
226 | "linecount" : 8,
227 | "maxclass" : "comment",
228 | "numinlets" : 1,
229 | "numoutlets" : 0,
230 | "patching_rect" : [ 87.0, 524.0, 150.0, 114.0 ],
231 | "text" : "<<< Navigation requests are sent out to the players\n\nFormat :\n3D x y z\n2D x y\n2D_grid x y\nstate 0/1"
232 | }
233 |
234 | }
235 | , {
236 | "box" : {
237 | "comment" : "",
238 | "id" : "obj-1",
239 | "index" : 1,
240 | "maxclass" : "outlet",
241 | "numinlets" : 1,
242 | "numoutlets" : 0,
243 | "patching_rect" : [ 42.0, 524.0, 30.0, 30.0 ]
244 | }
245 |
246 | }
247 | , {
248 | "box" : {
249 | "comment" : "Bang to update plotter highlight",
250 | "id" : "obj-7",
251 | "index" : 2,
252 | "maxclass" : "inlet",
253 | "numinlets" : 0,
254 | "numoutlets" : 1,
255 | "outlettype" : [ "" ],
256 | "patching_rect" : [ 821.0, 94.557260036468506, 30.0, 30.0 ]
257 | }
258 |
259 | }
260 | ],
261 | "lines" : [ {
262 | "patchline" : {
263 | "destination" : [ "obj-1", 0 ],
264 | "source" : [ "obj-10", 0 ]
265 | }
266 |
267 | }
268 | , {
269 | "patchline" : {
270 | "destination" : [ "obj-1", 0 ],
271 | "source" : [ "obj-2", 0 ]
272 | }
273 |
274 | }
275 | , {
276 | "patchline" : {
277 | "destination" : [ "obj-1", 0 ],
278 | "source" : [ "obj-4", 0 ]
279 | }
280 |
281 | }
282 | , {
283 | "patchline" : {
284 | "destination" : [ "obj-10", 0 ],
285 | "order" : 0,
286 | "source" : [ "obj-6", 0 ]
287 | }
288 |
289 | }
290 | , {
291 | "patchline" : {
292 | "destination" : [ "obj-2", 0 ],
293 | "order" : 2,
294 | "source" : [ "obj-6", 0 ]
295 | }
296 |
297 | }
298 | , {
299 | "patchline" : {
300 | "destination" : [ "obj-4", 0 ],
301 | "order" : 1,
302 | "source" : [ "obj-6", 0 ]
303 | }
304 |
305 | }
306 | , {
307 | "patchline" : {
308 | "destination" : [ "obj-10", 1 ],
309 | "source" : [ "obj-7", 0 ]
310 | }
311 |
312 | }
313 | ]
314 | }
315 |
316 | }
317 |
--------------------------------------------------------------------------------
/_mosaique.players.maxpat:
--------------------------------------------------------------------------------
1 | {
2 | "patcher" : {
3 | "fileversion" : 1,
4 | "appversion" : {
5 | "major" : 9,
6 | "minor" : 0,
7 | "revision" : 7,
8 | "architecture" : "x64",
9 | "modernui" : 1
10 | }
11 | ,
12 | "classnamespace" : "box",
13 | "rect" : [ 34.0, 100.0, 1001.0, 983.0 ],
14 | "openinpresentation" : 1,
15 | "gridsize" : [ 15.0, 15.0 ],
16 | "boxes" : [ {
17 | "box" : {
18 | "comment" : "",
19 | "id" : "obj-4",
20 | "index" : 3,
21 | "maxclass" : "outlet",
22 | "numinlets" : 1,
23 | "numoutlets" : 0,
24 | "patching_rect" : [ 663.000010162591934, 345.0, 30.0, 30.0 ]
25 | }
26 |
27 | }
28 | , {
29 | "box" : {
30 | "id" : "obj-5",
31 | "maxclass" : "newobj",
32 | "numinlets" : 2,
33 | "numoutlets" : 1,
34 | "outlettype" : [ "int" ],
35 | "patching_rect" : [ 663.000010162591934, -86.0, 29.5, 22.0 ],
36 | "text" : "+ 1"
37 | }
38 |
39 | }
40 | , {
41 | "box" : {
42 | "id" : "obj-2",
43 | "maxclass" : "newobj",
44 | "numinlets" : 2,
45 | "numoutlets" : 3,
46 | "outlettype" : [ "", "", "" ],
47 | "patching_rect" : [ -1.0, -38.0, 50.0, 22.0 ],
48 | "text" : "gate 3"
49 | }
50 |
51 | }
52 | , {
53 | "box" : {
54 | "id" : "obj-7",
55 | "maxclass" : "newobj",
56 | "numinlets" : 1,
57 | "numoutlets" : 2,
58 | "outlettype" : [ "", "" ],
59 | "patching_rect" : [ 793.0, 134.800000101327896, 67.0, 22.0 ],
60 | "save" : [ "#N", "thispatcher", ";", "#Q", "end", ";" ],
61 | "text" : "thispatcher"
62 | }
63 |
64 | }
65 | , {
66 | "box" : {
67 | "id" : "obj-59",
68 | "maxclass" : "message",
69 | "numinlets" : 2,
70 | "numoutlets" : 1,
71 | "outlettype" : [ "" ],
72 | "patching_rect" : [ 896.0, 38.800000101327896, 43.0, 22.0 ],
73 | "text" : "-568 0"
74 | }
75 |
76 | }
77 | , {
78 | "box" : {
79 | "id" : "obj-56",
80 | "maxclass" : "message",
81 | "numinlets" : 2,
82 | "numoutlets" : 1,
83 | "outlettype" : [ "" ],
84 | "patching_rect" : [ 845.0, 38.800000101327896, 43.0, 22.0 ],
85 | "text" : "-284 0"
86 | }
87 |
88 | }
89 | , {
90 | "box" : {
91 | "id" : "obj-54",
92 | "maxclass" : "message",
93 | "numinlets" : 2,
94 | "numoutlets" : 1,
95 | "outlettype" : [ "" ],
96 | "patching_rect" : [ 794.0, 38.800000101327896, 29.5, 22.0 ],
97 | "text" : "0 0"
98 | }
99 |
100 | }
101 | , {
102 | "box" : {
103 | "id" : "obj-49",
104 | "maxclass" : "newobj",
105 | "numinlets" : 1,
106 | "numoutlets" : 1,
107 | "outlettype" : [ "" ],
108 | "patching_rect" : [ 793.0, 87.800000101327896, 85.0, 22.0 ],
109 | "text" : "prepend offset"
110 | }
111 |
112 | }
113 | , {
114 | "box" : {
115 | "id" : "obj-47",
116 | "maxclass" : "newobj",
117 | "numinlets" : 4,
118 | "numoutlets" : 4,
119 | "outlettype" : [ "", "", "", "" ],
120 | "patching_rect" : [ 793.0, 6.800000101327896, 66.0, 22.0 ],
121 | "text" : "route 0 1 2"
122 | }
123 |
124 | }
125 | , {
126 | "box" : {
127 | "comment" : "",
128 | "id" : "obj-1",
129 | "index" : 2,
130 | "maxclass" : "inlet",
131 | "numinlets" : 0,
132 | "numoutlets" : 1,
133 | "outlettype" : [ "" ],
134 | "patching_rect" : [ 793.0, -170.0, 30.0, 30.0 ]
135 | }
136 |
137 | }
138 | , {
139 | "box" : {
140 | "comment" : "",
141 | "id" : "obj-12",
142 | "index" : 2,
143 | "maxclass" : "outlet",
144 | "numinlets" : 1,
145 | "numoutlets" : 0,
146 | "patching_rect" : [ 217.0, 345.0, 30.0, 30.0 ]
147 | }
148 |
149 | }
150 | , {
151 | "box" : {
152 | "comment" : "",
153 | "id" : "obj-11",
154 | "index" : 1,
155 | "maxclass" : "outlet",
156 | "numinlets" : 1,
157 | "numoutlets" : 0,
158 | "patching_rect" : [ 4.0, 333.0, 30.0, 30.0 ]
159 | }
160 |
161 | }
162 | , {
163 | "box" : {
164 | "comment" : "",
165 | "id" : "obj-9",
166 | "index" : 1,
167 | "maxclass" : "inlet",
168 | "numinlets" : 0,
169 | "numoutlets" : 1,
170 | "outlettype" : [ "" ],
171 | "patching_rect" : [ 30.0, -122.0, 30.0, 30.0 ]
172 | }
173 |
174 | }
175 | , {
176 | "box" : {
177 | "args" : [ "#1" ],
178 | "bgmode" : 0,
179 | "border" : 0,
180 | "clickthrough" : 0,
181 | "enablehscroll" : 0,
182 | "enablevscroll" : 0,
183 | "id" : "obj-8",
184 | "lockeddragscroll" : 0,
185 | "lockedsize" : 0,
186 | "maxclass" : "bpatcher",
187 | "name" : "_mosaique.player.morph.bpatcher.maxpat",
188 | "numinlets" : 2,
189 | "numoutlets" : 3,
190 | "offset" : [ 0.0, 0.0 ],
191 | "outlettype" : [ "signal", "signal", "" ],
192 | "patching_rect" : [ 467.000006958842278, 6.800000101327896, 215.000003203749657, 174.20000259578228 ],
193 | "presentation" : 1,
194 | "presentation_rect" : [ 574.0, 0.0, 282.0, 172.0 ],
195 | "viewvisibility" : 1
196 | }
197 |
198 | }
199 | , {
200 | "box" : {
201 | "args" : [ "#1" ],
202 | "bgmode" : 0,
203 | "border" : 0,
204 | "clickthrough" : 0,
205 | "enablehscroll" : 0,
206 | "enablevscroll" : 0,
207 | "id" : "obj-6",
208 | "lockeddragscroll" : 0,
209 | "lockedsize" : 0,
210 | "maxclass" : "bpatcher",
211 | "name" : "_mosaique.player.granular.bpatcher.maxpat",
212 | "numinlets" : 2,
213 | "numoutlets" : 3,
214 | "offset" : [ 0.0, 0.0 ],
215 | "outlettype" : [ "signal", "signal", "" ],
216 | "patching_rect" : [ 183.0, 6.89999870210886, 282.000006929039955, 174.100003995001316 ],
217 | "presentation" : 1,
218 | "presentation_rect" : [ 290.0, 0.0, 282.0, 172.0 ],
219 | "viewvisibility" : 1
220 | }
221 |
222 | }
223 | , {
224 | "box" : {
225 | "args" : [ "#1" ],
226 | "bgmode" : 0,
227 | "border" : 0,
228 | "clickthrough" : 0,
229 | "enablehscroll" : 0,
230 | "enablevscroll" : 0,
231 | "id" : "obj-3",
232 | "lockeddragscroll" : 0,
233 | "lockedsize" : 0,
234 | "maxclass" : "bpatcher",
235 | "name" : "_mosaique.player.basic.bpatcher.maxpat",
236 | "numinlets" : 2,
237 | "numoutlets" : 3,
238 | "offset" : [ 0.0, 0.0 ],
239 | "outlettype" : [ "signal", "signal", "" ],
240 | "patching_rect" : [ -1.0, 7.0, 182.0, 174.0 ],
241 | "presentation" : 1,
242 | "presentation_rect" : [ 6.0, 0.0, 282.0, 174.0 ],
243 | "viewvisibility" : 1
244 | }
245 |
246 | }
247 | ],
248 | "lines" : [ {
249 | "patchline" : {
250 | "destination" : [ "obj-47", 0 ],
251 | "order" : 0,
252 | "source" : [ "obj-1", 0 ]
253 | }
254 |
255 | }
256 | , {
257 | "patchline" : {
258 | "destination" : [ "obj-5", 0 ],
259 | "order" : 1,
260 | "source" : [ "obj-1", 0 ]
261 | }
262 |
263 | }
264 | , {
265 | "patchline" : {
266 | "destination" : [ "obj-3", 0 ],
267 | "source" : [ "obj-2", 0 ]
268 | }
269 |
270 | }
271 | , {
272 | "patchline" : {
273 | "destination" : [ "obj-6", 1 ],
274 | "source" : [ "obj-2", 1 ]
275 | }
276 |
277 | }
278 | , {
279 | "patchline" : {
280 | "destination" : [ "obj-8", 0 ],
281 | "source" : [ "obj-2", 2 ]
282 | }
283 |
284 | }
285 | , {
286 | "patchline" : {
287 | "destination" : [ "obj-11", 0 ],
288 | "source" : [ "obj-3", 0 ]
289 | }
290 |
291 | }
292 | , {
293 | "patchline" : {
294 | "destination" : [ "obj-12", 0 ],
295 | "source" : [ "obj-3", 1 ]
296 | }
297 |
298 | }
299 | , {
300 | "patchline" : {
301 | "destination" : [ "obj-4", 0 ],
302 | "source" : [ "obj-3", 2 ]
303 | }
304 |
305 | }
306 | , {
307 | "patchline" : {
308 | "destination" : [ "obj-54", 0 ],
309 | "source" : [ "obj-47", 0 ]
310 | }
311 |
312 | }
313 | , {
314 | "patchline" : {
315 | "destination" : [ "obj-56", 0 ],
316 | "source" : [ "obj-47", 1 ]
317 | }
318 |
319 | }
320 | , {
321 | "patchline" : {
322 | "destination" : [ "obj-59", 0 ],
323 | "source" : [ "obj-47", 2 ]
324 | }
325 |
326 | }
327 | , {
328 | "patchline" : {
329 | "destination" : [ "obj-7", 0 ],
330 | "source" : [ "obj-49", 0 ]
331 | }
332 |
333 | }
334 | , {
335 | "patchline" : {
336 | "destination" : [ "obj-2", 0 ],
337 | "order" : 3,
338 | "source" : [ "obj-5", 0 ]
339 | }
340 |
341 | }
342 | , {
343 | "patchline" : {
344 | "destination" : [ "obj-3", 1 ],
345 | "order" : 1,
346 | "source" : [ "obj-5", 0 ]
347 | }
348 |
349 | }
350 | , {
351 | "patchline" : {
352 | "destination" : [ "obj-6", 0 ],
353 | "order" : 2,
354 | "source" : [ "obj-5", 0 ]
355 | }
356 |
357 | }
358 | , {
359 | "patchline" : {
360 | "destination" : [ "obj-8", 1 ],
361 | "order" : 0,
362 | "source" : [ "obj-5", 0 ]
363 | }
364 |
365 | }
366 | , {
367 | "patchline" : {
368 | "destination" : [ "obj-49", 0 ],
369 | "source" : [ "obj-54", 0 ]
370 | }
371 |
372 | }
373 | , {
374 | "patchline" : {
375 | "destination" : [ "obj-49", 0 ],
376 | "source" : [ "obj-56", 0 ]
377 | }
378 |
379 | }
380 | , {
381 | "patchline" : {
382 | "destination" : [ "obj-49", 0 ],
383 | "source" : [ "obj-59", 0 ]
384 | }
385 |
386 | }
387 | , {
388 | "patchline" : {
389 | "destination" : [ "obj-11", 0 ],
390 | "source" : [ "obj-6", 0 ]
391 | }
392 |
393 | }
394 | , {
395 | "patchline" : {
396 | "destination" : [ "obj-12", 0 ],
397 | "source" : [ "obj-6", 1 ]
398 | }
399 |
400 | }
401 | , {
402 | "patchline" : {
403 | "destination" : [ "obj-4", 0 ],
404 | "source" : [ "obj-6", 2 ]
405 | }
406 |
407 | }
408 | , {
409 | "patchline" : {
410 | "destination" : [ "obj-11", 0 ],
411 | "source" : [ "obj-8", 0 ]
412 | }
413 |
414 | }
415 | , {
416 | "patchline" : {
417 | "destination" : [ "obj-12", 0 ],
418 | "source" : [ "obj-8", 1 ]
419 | }
420 |
421 | }
422 | , {
423 | "patchline" : {
424 | "destination" : [ "obj-4", 0 ],
425 | "source" : [ "obj-8", 2 ]
426 | }
427 |
428 | }
429 | , {
430 | "patchline" : {
431 | "destination" : [ "obj-2", 1 ],
432 | "source" : [ "obj-9", 0 ]
433 | }
434 |
435 | }
436 | ]
437 | }
438 |
439 | }
440 |
--------------------------------------------------------------------------------
/Players Prototypes/_mosaique.player.freeze.poly.maxpat:
--------------------------------------------------------------------------------
1 | {
2 | "patcher" : {
3 | "fileversion" : 1,
4 | "appversion" : {
5 | "major" : 8,
6 | "minor" : 6,
7 | "revision" : 3,
8 | "architecture" : "x64",
9 | "modernui" : 1
10 | }
11 | ,
12 | "classnamespace" : "box",
13 | "rect" : [ 385.0, 182.0, 968.0, 809.0 ],
14 | "bglocked" : 0,
15 | "openinpresentation" : 0,
16 | "default_fontsize" : 12.0,
17 | "default_fontface" : 0,
18 | "default_fontname" : "Arial",
19 | "gridonopen" : 1,
20 | "gridsize" : [ 15.0, 15.0 ],
21 | "gridsnaponopen" : 1,
22 | "objectsnaponopen" : 1,
23 | "statusbarvisible" : 2,
24 | "toolbarvisible" : 1,
25 | "lefttoolbarpinned" : 0,
26 | "toptoolbarpinned" : 0,
27 | "righttoolbarpinned" : 0,
28 | "bottomtoolbarpinned" : 0,
29 | "toolbars_unpinned_last_save" : 0,
30 | "tallnewobj" : 0,
31 | "boxanimatetime" : 200,
32 | "enablehscroll" : 1,
33 | "enablevscroll" : 1,
34 | "devicewidth" : 0.0,
35 | "description" : "",
36 | "digest" : "",
37 | "tags" : "",
38 | "style" : "",
39 | "subpatcher_template" : "",
40 | "assistshowspatchername" : 0,
41 | "boxes" : [ {
42 | "box" : {
43 | "id" : "obj-12",
44 | "maxclass" : "message",
45 | "numinlets" : 2,
46 | "numoutlets" : 1,
47 | "outlettype" : [ "" ],
48 | "patching_rect" : [ 561.0, 323.0, 214.0, 22.0 ],
49 | "text" : "sizeinsamps #2, fill 1, apply hanning"
50 | }
51 |
52 | }
53 | , {
54 | "box" : {
55 | "id" : "obj-6",
56 | "maxclass" : "newobj",
57 | "numinlets" : 1,
58 | "numoutlets" : 1,
59 | "outlettype" : [ "bang" ],
60 | "patching_rect" : [ 561.0, 258.0, 58.0, 22.0 ],
61 | "text" : "loadbang"
62 | }
63 |
64 | }
65 | , {
66 | "box" : {
67 | "id" : "obj-3",
68 | "maxclass" : "newobj",
69 | "numinlets" : 1,
70 | "numoutlets" : 2,
71 | "outlettype" : [ "float", "bang" ],
72 | "patching_rect" : [ 561.0, 384.0, 116.0, 22.0 ],
73 | "text" : "buffer~ #0window"
74 | }
75 |
76 | }
77 | , {
78 | "box" : {
79 | "id" : "obj-18",
80 | "maxclass" : "newobj",
81 | "numinlets" : 1,
82 | "numoutlets" : 2,
83 | "outlettype" : [ "bang", "bang" ],
84 | "patching_rect" : [ 518.333331247170804, 531.0, 42.0, 22.0 ],
85 | "text" : "edge~"
86 | }
87 |
88 | }
89 | , {
90 | "box" : {
91 | "id" : "obj-17",
92 | "maxclass" : "newobj",
93 | "numinlets" : 2,
94 | "numoutlets" : 2,
95 | "outlettype" : [ "", "" ],
96 | "patching_rect" : [ 125.0, 285.0, 38.0, 22.0 ],
97 | "text" : "zl.reg"
98 | }
99 |
100 | }
101 | , {
102 | "box" : {
103 | "id" : "obj-4",
104 | "maxclass" : "newobj",
105 | "numinlets" : 2,
106 | "numoutlets" : 2,
107 | "outlettype" : [ "", "" ],
108 | "patching_rect" : [ 144.0, 119.0, 69.0, 22.0 ],
109 | "text" : "route event"
110 | }
111 |
112 | }
113 | , {
114 | "box" : {
115 | "id" : "obj-13",
116 | "maxclass" : "newobj",
117 | "numinlets" : 1,
118 | "numoutlets" : 2,
119 | "outlettype" : [ "int", "int" ],
120 | "patching_rect" : [ 124.833331247170747, 381.0, 104.0, 22.0 ],
121 | "text" : "unpack i i"
122 | }
123 |
124 | }
125 | , {
126 | "box" : {
127 | "id" : "obj-9",
128 | "maxclass" : "newobj",
129 | "numinlets" : 2,
130 | "numoutlets" : 2,
131 | "outlettype" : [ "", "" ],
132 | "patching_rect" : [ 144.0, 167.0, 47.0, 22.0 ],
133 | "text" : "zl.nth 1"
134 | }
135 |
136 | }
137 | , {
138 | "box" : {
139 | "id" : "obj-1",
140 | "maxclass" : "newobj",
141 | "numinlets" : 4,
142 | "numoutlets" : 2,
143 | "outlettype" : [ "signal", "signal" ],
144 | "patching_rect" : [ 39.833331247170747, 449.0, 371.0, 22.0 ],
145 | "text" : "pfft~ _mosaique.player.freeze.pfft #2 #3 0 1 args #1 #0 #2 512"
146 | }
147 |
148 | }
149 | , {
150 | "box" : {
151 | "id" : "obj-5",
152 | "maxclass" : "newobj",
153 | "numinlets" : 2,
154 | "numoutlets" : 2,
155 | "outlettype" : [ "", "" ],
156 | "patching_rect" : [ 463.999997913837433, 167.0, 47.0, 22.0 ],
157 | "text" : "zl.nth 2"
158 | }
159 |
160 | }
161 | , {
162 | "box" : {
163 | "id" : "obj-43",
164 | "maxclass" : "newobj",
165 | "numinlets" : 5,
166 | "numoutlets" : 4,
167 | "outlettype" : [ "signal", "signal", "", "" ],
168 | "patching_rect" : [ 463.999997913837433, 480.0, 182.0, 22.0 ],
169 | "text" : "adsr~ 10. 0. 1. 10. @retrigger 10"
170 | }
171 |
172 | }
173 | , {
174 | "box" : {
175 | "id" : "obj-55",
176 | "maxclass" : "message",
177 | "numinlets" : 2,
178 | "numoutlets" : 1,
179 | "outlettype" : [ "" ],
180 | "patching_rect" : [ 1194.0, 1614.0, 50.0, 22.0 ]
181 | }
182 |
183 | }
184 | , {
185 | "box" : {
186 | "id" : "obj-104",
187 | "maxclass" : "newobj",
188 | "numinlets" : 1,
189 | "numoutlets" : 1,
190 | "outlettype" : [ "" ],
191 | "patching_rect" : [ 293.833331247170747, 381.0, 72.0, 22.0 ],
192 | "text" : "prepend set"
193 | }
194 |
195 | }
196 | , {
197 | "box" : {
198 | "id" : "obj-21",
199 | "maxclass" : "newobj",
200 | "numinlets" : 2,
201 | "numoutlets" : 1,
202 | "outlettype" : [ "signal" ],
203 | "patching_rect" : [ 312.833331247170747, 538.0, 34.0, 22.0 ],
204 | "text" : "*~ 1."
205 | }
206 |
207 | }
208 | , {
209 | "box" : {
210 | "id" : "obj-20",
211 | "maxclass" : "newobj",
212 | "numinlets" : 2,
213 | "numoutlets" : 1,
214 | "outlettype" : [ "signal" ],
215 | "patching_rect" : [ 39.833331247170747, 538.0, 34.0, 22.0 ],
216 | "text" : "*~ 1."
217 | }
218 |
219 | }
220 | , {
221 | "box" : {
222 | "id" : "obj-16",
223 | "maxclass" : "newobj",
224 | "numinlets" : 1,
225 | "numoutlets" : 0,
226 | "patching_rect" : [ 312.833331247170747, 589.0, 42.0, 22.0 ],
227 | "saved_object_attributes" : {
228 | "attr_comment" : ""
229 | }
230 | ,
231 | "text" : "out~ 2"
232 | }
233 |
234 | }
235 | , {
236 | "box" : {
237 | "id" : "obj-58",
238 | "maxclass" : "newobj",
239 | "numinlets" : 1,
240 | "numoutlets" : 5,
241 | "outlettype" : [ "", "float", "float", "float", "" ],
242 | "patching_rect" : [ 124.833331247170747, 341.0, 188.333333333333371, 22.0 ],
243 | "text" : "_mosaique.sliceInfos #1"
244 | }
245 |
246 | }
247 | , {
248 | "box" : {
249 | "id" : "obj-102",
250 | "maxclass" : "newobj",
251 | "numinlets" : 1,
252 | "numoutlets" : 0,
253 | "patching_rect" : [ 39.833331247170747, 589.0, 42.0, 22.0 ],
254 | "saved_object_attributes" : {
255 | "attr_comment" : ""
256 | }
257 | ,
258 | "text" : "out~ 1"
259 | }
260 |
261 | }
262 | , {
263 | "box" : {
264 | "id" : "obj-2",
265 | "maxclass" : "newobj",
266 | "numinlets" : 1,
267 | "numoutlets" : 1,
268 | "outlettype" : [ "" ],
269 | "patching_rect" : [ 144.0, 75.0, 28.0, 22.0 ],
270 | "saved_object_attributes" : {
271 | "attr_comment" : ""
272 | }
273 | ,
274 | "text" : "in 2"
275 | }
276 |
277 | }
278 | ],
279 | "lines" : [ {
280 | "patchline" : {
281 | "destination" : [ "obj-20", 0 ],
282 | "source" : [ "obj-1", 0 ]
283 | }
284 |
285 | }
286 | , {
287 | "patchline" : {
288 | "destination" : [ "obj-21", 0 ],
289 | "source" : [ "obj-1", 1 ]
290 | }
291 |
292 | }
293 | , {
294 | "patchline" : {
295 | "destination" : [ "obj-1", 3 ],
296 | "source" : [ "obj-104", 0 ]
297 | }
298 |
299 | }
300 | , {
301 | "patchline" : {
302 | "destination" : [ "obj-3", 0 ],
303 | "source" : [ "obj-12", 0 ]
304 | }
305 |
306 | }
307 | , {
308 | "patchline" : {
309 | "destination" : [ "obj-1", 2 ],
310 | "source" : [ "obj-13", 1 ]
311 | }
312 |
313 | }
314 | , {
315 | "patchline" : {
316 | "destination" : [ "obj-1", 1 ],
317 | "source" : [ "obj-13", 0 ]
318 | }
319 |
320 | }
321 | , {
322 | "patchline" : {
323 | "destination" : [ "obj-58", 0 ],
324 | "source" : [ "obj-17", 0 ]
325 | }
326 |
327 | }
328 | , {
329 | "patchline" : {
330 | "destination" : [ "obj-17", 0 ],
331 | "source" : [ "obj-18", 0 ]
332 | }
333 |
334 | }
335 | , {
336 | "patchline" : {
337 | "destination" : [ "obj-4", 0 ],
338 | "source" : [ "obj-2", 0 ]
339 | }
340 |
341 | }
342 | , {
343 | "patchline" : {
344 | "destination" : [ "obj-102", 0 ],
345 | "source" : [ "obj-20", 0 ]
346 | }
347 |
348 | }
349 | , {
350 | "patchline" : {
351 | "destination" : [ "obj-16", 0 ],
352 | "source" : [ "obj-21", 0 ]
353 | }
354 |
355 | }
356 | , {
357 | "patchline" : {
358 | "destination" : [ "obj-5", 0 ],
359 | "order" : 0,
360 | "source" : [ "obj-4", 0 ]
361 | }
362 |
363 | }
364 | , {
365 | "patchline" : {
366 | "destination" : [ "obj-9", 0 ],
367 | "order" : 1,
368 | "source" : [ "obj-4", 0 ]
369 | }
370 |
371 | }
372 | , {
373 | "patchline" : {
374 | "destination" : [ "obj-18", 0 ],
375 | "source" : [ "obj-43", 1 ]
376 | }
377 |
378 | }
379 | , {
380 | "patchline" : {
381 | "destination" : [ "obj-20", 1 ],
382 | "order" : 1,
383 | "source" : [ "obj-43", 0 ]
384 | }
385 |
386 | }
387 | , {
388 | "patchline" : {
389 | "destination" : [ "obj-21", 1 ],
390 | "order" : 0,
391 | "source" : [ "obj-43", 0 ]
392 | }
393 |
394 | }
395 | , {
396 | "patchline" : {
397 | "destination" : [ "obj-43", 0 ],
398 | "source" : [ "obj-5", 0 ]
399 | }
400 |
401 | }
402 | , {
403 | "patchline" : {
404 | "destination" : [ "obj-104", 0 ],
405 | "source" : [ "obj-58", 4 ]
406 | }
407 |
408 | }
409 | , {
410 | "patchline" : {
411 | "destination" : [ "obj-13", 0 ],
412 | "source" : [ "obj-58", 0 ]
413 | }
414 |
415 | }
416 | , {
417 | "patchline" : {
418 | "destination" : [ "obj-12", 0 ],
419 | "source" : [ "obj-6", 0 ]
420 | }
421 |
422 | }
423 | , {
424 | "patchline" : {
425 | "destination" : [ "obj-17", 1 ],
426 | "source" : [ "obj-9", 0 ]
427 | }
428 |
429 | }
430 | ],
431 | "saved_attribute_attributes" : {
432 | "default_plcolor" : {
433 | "expression" : ""
434 | }
435 |
436 | }
437 |
438 | }
439 |
440 | }
441 |
--------------------------------------------------------------------------------
/_mosaique.corpusColorPicker.maxpat:
--------------------------------------------------------------------------------
1 | {
2 | "patcher" : {
3 | "fileversion" : 1,
4 | "appversion" : {
5 | "major" : 9,
6 | "minor" : 0,
7 | "revision" : 7,
8 | "architecture" : "x64",
9 | "modernui" : 1
10 | }
11 | ,
12 | "classnamespace" : "box",
13 | "rect" : [ 493.0, 117.0, 980.0, 983.0 ],
14 | "openinpresentation" : 1,
15 | "gridsize" : [ 15.0, 15.0 ],
16 | "boxes" : [ {
17 | "box" : {
18 | "id" : "obj-10",
19 | "maxclass" : "newobj",
20 | "numinlets" : 1,
21 | "numoutlets" : 4,
22 | "outlettype" : [ "", "", "", "" ],
23 | "patching_rect" : [ 19.0, 284.0, 167.0, 22.0 ],
24 | "saved_object_attributes" : {
25 | "embed" : 0,
26 | "precision" : 6
27 | }
28 | ,
29 | "text" : "coll #1Mosaique_corpusColor"
30 | }
31 |
32 | }
33 | , {
34 | "box" : {
35 | "id" : "obj-42",
36 | "maxclass" : "newobj",
37 | "numinlets" : 1,
38 | "numoutlets" : 3,
39 | "outlettype" : [ "float", "float", "float" ],
40 | "patching_rect" : [ 344.0, 650.932340500877444, 127.666658997535706, 22.0 ],
41 | "text" : "unpack f f f"
42 | }
43 |
44 | }
45 | , {
46 | "box" : {
47 | "id" : "obj-25",
48 | "maxclass" : "newobj",
49 | "numinlets" : 1,
50 | "numoutlets" : 1,
51 | "outlettype" : [ "" ],
52 | "patching_rect" : [ 533.833329319953918, 366.432340500877388, 67.0, 22.0 ],
53 | "text" : "mousefilter"
54 | }
55 |
56 | }
57 | , {
58 | "box" : {
59 | "id" : "obj-24",
60 | "maxclass" : "newobj",
61 | "numinlets" : 1,
62 | "numoutlets" : 10,
63 | "outlettype" : [ "int", "int", "int", "int", "int", "int", "int", "float", "float", "list" ],
64 | "patching_rect" : [ 833.0, 234.0, 71.0, 22.0 ],
65 | "text" : "mousestate"
66 | }
67 |
68 | }
69 | , {
70 | "box" : {
71 | "id" : "obj-2",
72 | "maxclass" : "swatch",
73 | "numinlets" : 3,
74 | "numoutlets" : 2,
75 | "outlettype" : [ "", "float" ],
76 | "parameter_enable" : 0,
77 | "patching_rect" : [ 343.666658997535706, 703.0, 128.0, 32.0 ],
78 | "presentation" : 1,
79 | "presentation_rect" : [ 114.0, 0.0, 105.0, 32.0 ],
80 | "saturation" : 0.976470588235294
81 | }
82 |
83 | }
84 | , {
85 | "box" : {
86 | "comment" : "",
87 | "id" : "obj-6",
88 | "index" : 1,
89 | "maxclass" : "inlet",
90 | "numinlets" : 0,
91 | "numoutlets" : 1,
92 | "outlettype" : [ "bang" ],
93 | "patching_rect" : [ 343.666658997535706, 27.0, 30.0, 30.0 ]
94 | }
95 |
96 | }
97 | , {
98 | "box" : {
99 | "id" : "obj-12",
100 | "maxclass" : "newobj",
101 | "numinlets" : 1,
102 | "numoutlets" : 1,
103 | "outlettype" : [ "" ],
104 | "patching_rect" : [ 615.333332975705389, 121.5, 72.0, 22.0 ],
105 | "text" : "prepend set"
106 | }
107 |
108 | }
109 | , {
110 | "box" : {
111 | "id" : "obj-30",
112 | "maxclass" : "newobj",
113 | "numinlets" : 2,
114 | "numoutlets" : 1,
115 | "outlettype" : [ "" ],
116 | "patching_rect" : [ 615.333332975705389, 91.0, 265.0, 22.0 ],
117 | "text" : "_mosaique.dictValueGetSet #1 #2Corpus::name"
118 | }
119 |
120 | }
121 | , {
122 | "box" : {
123 | "fontname" : "Avenir Heavy",
124 | "fontsize" : 14.0,
125 | "id" : "obj-1",
126 | "maxclass" : "comment",
127 | "numinlets" : 1,
128 | "numoutlets" : 0,
129 | "patching_rect" : [ 615.333332975705389, 155.932340977714546, 179.0, 26.0 ],
130 | "presentation" : 1,
131 | "presentation_rect" : [ 0.0, 3.0, 111.0, 26.0 ],
132 | "text" : "tenues",
133 | "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
134 | "textjustification" : 1
135 | }
136 |
137 | }
138 | , {
139 | "box" : {
140 | "angle" : 270.0,
141 | "bgcolor" : [ 0.298088235294118, 0.432352941176471, 0.005147058823529, 1.0 ],
142 | "bordercolor" : [ 1.0, 1.0, 1.0, 1.0 ],
143 | "id" : "obj-4",
144 | "maxclass" : "panel",
145 | "mode" : 0,
146 | "numinlets" : 1,
147 | "numoutlets" : 0,
148 | "patching_rect" : [ 151.999999642372131, 688.932340500877444, 128.0, 128.0 ],
149 | "presentation" : 1,
150 | "presentation_rect" : [ 0.0, 0.0, 111.0, 32.0 ],
151 | "proportion" : 0.39,
152 | "rounded" : 4
153 | }
154 |
155 | }
156 | , {
157 | "box" : {
158 | "id" : "obj-5",
159 | "maxclass" : "newobj",
160 | "numinlets" : 2,
161 | "numoutlets" : 2,
162 | "outlettype" : [ "", "" ],
163 | "patching_rect" : [ 656.499988675117493, 539.932340500877444, 39.0, 22.0 ],
164 | "text" : "zl.join"
165 | }
166 |
167 | }
168 | , {
169 | "box" : {
170 | "id" : "obj-7",
171 | "maxclass" : "newobj",
172 | "numinlets" : 1,
173 | "numoutlets" : 2,
174 | "outlettype" : [ "int", "" ],
175 | "patching_rect" : [ 656.499988675117493, 508.432340500877388, 39.0, 22.0 ],
176 | "text" : "t #2 l"
177 | }
178 |
179 | }
180 | , {
181 | "box" : {
182 | "id" : "obj-3",
183 | "maxclass" : "newobj",
184 | "numinlets" : 1,
185 | "numoutlets" : 4,
186 | "outlettype" : [ "", "", "", "" ],
187 | "patching_rect" : [ 656.499988675117493, 569.432340500877444, 167.0, 22.0 ],
188 | "saved_object_attributes" : {
189 | "embed" : 0,
190 | "precision" : 6
191 | }
192 | ,
193 | "text" : "coll #1Mosaique_corpusColor"
194 | }
195 |
196 | }
197 | , {
198 | "box" : {
199 | "id" : "obj-8",
200 | "maxclass" : "newobj",
201 | "numinlets" : 1,
202 | "numoutlets" : 1,
203 | "outlettype" : [ "int" ],
204 | "patching_rect" : [ 19.0, 226.0, 29.0, 22.0 ],
205 | "text" : "t #2"
206 | }
207 |
208 | }
209 | , {
210 | "box" : {
211 | "id" : "obj-39",
212 | "maxclass" : "newobj",
213 | "numinlets" : 1,
214 | "numoutlets" : 0,
215 | "patching_rect" : [ 407.833329319953918, 539.932340500877444, 183.0, 22.0 ],
216 | "text" : "s #1Mosaique_updateServerColl"
217 | }
218 |
219 | }
220 | , {
221 | "box" : {
222 | "id" : "obj-40",
223 | "maxclass" : "newobj",
224 | "numinlets" : 1,
225 | "numoutlets" : 3,
226 | "outlettype" : [ "bang", "", "" ],
227 | "patching_rect" : [ 514.833329319953918, 469.432340500877388, 160.666659355163574, 22.0 ],
228 | "text" : "t b l l"
229 | }
230 |
231 | }
232 | , {
233 | "box" : {
234 | "id" : "obj-9",
235 | "maxclass" : "newobj",
236 | "numinlets" : 2,
237 | "numoutlets" : 2,
238 | "outlettype" : [ "", "" ],
239 | "patching_rect" : [ 533.833329319953918, 438.932340500877388, 38.0, 22.0 ],
240 | "text" : "zl.reg"
241 | }
242 |
243 | }
244 | , {
245 | "box" : {
246 | "id" : "obj-15",
247 | "maxclass" : "newobj",
248 | "numinlets" : 1,
249 | "numoutlets" : 1,
250 | "outlettype" : [ "" ],
251 | "patching_rect" : [ 151.999999642372131, 650.932340500877444, 107.0, 22.0 ],
252 | "text" : "prepend bgfillcolor"
253 | }
254 |
255 | }
256 | , {
257 | "box" : {
258 | "id" : "obj-23",
259 | "maxclass" : "newobj",
260 | "numinlets" : 2,
261 | "numoutlets" : 1,
262 | "outlettype" : [ "" ],
263 | "patching_rect" : [ 343.666658997535706, 569.432340500877444, 261.0, 22.0 ],
264 | "text" : "_mosaique.dictValueGetSet #1 #2Corpus::color"
265 | }
266 |
267 | }
268 | ],
269 | "lines" : [ {
270 | "patchline" : {
271 | "destination" : [ "obj-15", 0 ],
272 | "order" : 1,
273 | "source" : [ "obj-10", 0 ]
274 | }
275 |
276 | }
277 | , {
278 | "patchline" : {
279 | "color" : [ 0.0, 0.741243064403534, 0.033917710185051, 1.0 ],
280 | "destination" : [ "obj-42", 0 ],
281 | "midpoints" : [ 353.5, 631.932340500877444 ],
282 | "order" : 0,
283 | "source" : [ "obj-10", 0 ]
284 | }
285 |
286 | }
287 | , {
288 | "patchline" : {
289 | "destination" : [ "obj-1", 0 ],
290 | "source" : [ "obj-12", 0 ]
291 | }
292 |
293 | }
294 | , {
295 | "patchline" : {
296 | "destination" : [ "obj-4", 0 ],
297 | "source" : [ "obj-15", 0 ]
298 | }
299 |
300 | }
301 | , {
302 | "patchline" : {
303 | "destination" : [ "obj-25", 0 ],
304 | "midpoints" : [ 353.166658997535706, 751.56640625, 330.0, 751.56640625, 330.0, 354.2265625, 543.333329319953918, 354.2265625 ],
305 | "source" : [ "obj-2", 0 ]
306 | }
307 |
308 | }
309 | , {
310 | "patchline" : {
311 | "destination" : [ "obj-15", 0 ],
312 | "midpoints" : [ 543.333329319953918, 423.182340500877388, 161.499999642372131, 423.182340500877388 ],
313 | "order" : 1,
314 | "source" : [ "obj-25", 0 ]
315 | }
316 |
317 | }
318 | , {
319 | "patchline" : {
320 | "destination" : [ "obj-9", 0 ],
321 | "order" : 0,
322 | "source" : [ "obj-25", 0 ]
323 | }
324 |
325 | }
326 | , {
327 | "patchline" : {
328 | "destination" : [ "obj-12", 0 ],
329 | "source" : [ "obj-30", 0 ]
330 | }
331 |
332 | }
333 | , {
334 | "patchline" : {
335 | "destination" : [ "obj-23", 1 ],
336 | "source" : [ "obj-40", 1 ]
337 | }
338 |
339 | }
340 | , {
341 | "patchline" : {
342 | "destination" : [ "obj-39", 0 ],
343 | "source" : [ "obj-40", 0 ]
344 | }
345 |
346 | }
347 | , {
348 | "patchline" : {
349 | "destination" : [ "obj-7", 0 ],
350 | "source" : [ "obj-40", 2 ]
351 | }
352 |
353 | }
354 | , {
355 | "patchline" : {
356 | "destination" : [ "obj-2", 2 ],
357 | "source" : [ "obj-42", 2 ]
358 | }
359 |
360 | }
361 | , {
362 | "patchline" : {
363 | "destination" : [ "obj-2", 1 ],
364 | "source" : [ "obj-42", 1 ]
365 | }
366 |
367 | }
368 | , {
369 | "patchline" : {
370 | "destination" : [ "obj-2", 0 ],
371 | "source" : [ "obj-42", 0 ]
372 | }
373 |
374 | }
375 | , {
376 | "patchline" : {
377 | "destination" : [ "obj-3", 0 ],
378 | "source" : [ "obj-5", 0 ]
379 | }
380 |
381 | }
382 | , {
383 | "patchline" : {
384 | "destination" : [ "obj-30", 0 ],
385 | "order" : 0,
386 | "source" : [ "obj-6", 0 ]
387 | }
388 |
389 | }
390 | , {
391 | "patchline" : {
392 | "destination" : [ "obj-8", 0 ],
393 | "order" : 1,
394 | "source" : [ "obj-6", 0 ]
395 | }
396 |
397 | }
398 | , {
399 | "patchline" : {
400 | "destination" : [ "obj-5", 1 ],
401 | "source" : [ "obj-7", 1 ]
402 | }
403 |
404 | }
405 | , {
406 | "patchline" : {
407 | "destination" : [ "obj-5", 0 ],
408 | "source" : [ "obj-7", 0 ]
409 | }
410 |
411 | }
412 | , {
413 | "patchline" : {
414 | "destination" : [ "obj-10", 0 ],
415 | "source" : [ "obj-8", 0 ]
416 | }
417 |
418 | }
419 | , {
420 | "patchline" : {
421 | "destination" : [ "obj-40", 0 ],
422 | "source" : [ "obj-9", 0 ]
423 | }
424 |
425 | }
426 | ]
427 | }
428 |
429 | }
430 |
--------------------------------------------------------------------------------
/_mosaique.miniCorpusOnOff.maxpat:
--------------------------------------------------------------------------------
1 | {
2 | "patcher" : {
3 | "fileversion" : 1,
4 | "appversion" : {
5 | "major" : 9,
6 | "minor" : 0,
7 | "revision" : 7,
8 | "architecture" : "x64",
9 | "modernui" : 1
10 | }
11 | ,
12 | "classnamespace" : "box",
13 | "rect" : [ 121.0, 240.0, 567.0, 772.0 ],
14 | "openinpresentation" : 1,
15 | "gridsize" : [ 15.0, 15.0 ],
16 | "boxes" : [ {
17 | "box" : {
18 | "id" : "obj-14",
19 | "maxclass" : "newobj",
20 | "numinlets" : 1,
21 | "numoutlets" : 1,
22 | "outlettype" : [ "outputvalue" ],
23 | "patching_rect" : [ 99.0, 66.0, 77.0, 22.0 ],
24 | "text" : "t outputvalue"
25 | }
26 |
27 | }
28 | , {
29 | "box" : {
30 | "id" : "obj-11",
31 | "maxclass" : "newobj",
32 | "numinlets" : 1,
33 | "numoutlets" : 1,
34 | "outlettype" : [ "" ],
35 | "patching_rect" : [ 562.0, 419.0, 77.0, 22.0 ],
36 | "text" : "loadmess #2"
37 | }
38 |
39 | }
40 | , {
41 | "box" : {
42 | "id" : "obj-23",
43 | "maxclass" : "newobj",
44 | "numinlets" : 2,
45 | "numoutlets" : 1,
46 | "outlettype" : [ "int" ],
47 | "patching_rect" : [ 689.0, 237.0, 33.0, 22.0 ],
48 | "text" : "== 0"
49 | }
50 |
51 | }
52 | , {
53 | "box" : {
54 | "id" : "obj-22",
55 | "maxclass" : "message",
56 | "numinlets" : 2,
57 | "numoutlets" : 1,
58 | "outlettype" : [ "" ],
59 | "patching_rect" : [ 640.0, 271.0, 82.0, 22.0 ],
60 | "text" : "ignoreclick $1"
61 | }
62 |
63 | }
64 | , {
65 | "box" : {
66 | "id" : "obj-19",
67 | "maxclass" : "newobj",
68 | "numinlets" : 2,
69 | "numoutlets" : 2,
70 | "outlettype" : [ "", "" ],
71 | "patching_rect" : [ 521.0, 237.0, 71.0, 22.0 ],
72 | "text" : "routepass 0"
73 | }
74 |
75 | }
76 | , {
77 | "box" : {
78 | "id" : "obj-9",
79 | "maxclass" : "newobj",
80 | "numinlets" : 2,
81 | "numoutlets" : 1,
82 | "outlettype" : [ "int" ],
83 | "patching_rect" : [ 521.0, 452.0, 60.0, 22.0 ],
84 | "text" : "int"
85 | }
86 |
87 | }
88 | , {
89 | "box" : {
90 | "id" : "obj-4",
91 | "maxclass" : "newobj",
92 | "numinlets" : 2,
93 | "numoutlets" : 2,
94 | "outlettype" : [ "bang", "" ],
95 | "patching_rect" : [ 521.0, 379.0, 149.0, 22.0 ],
96 | "text" : "sel 1"
97 | }
98 |
99 | }
100 | , {
101 | "box" : {
102 | "comment" : "",
103 | "id" : "obj-7",
104 | "index" : 1,
105 | "maxclass" : "inlet",
106 | "numinlets" : 0,
107 | "numoutlets" : 1,
108 | "outlettype" : [ "bang" ],
109 | "patching_rect" : [ 99.0, 15.0, 30.0, 30.0 ]
110 | }
111 |
112 | }
113 | , {
114 | "box" : {
115 | "comment" : "",
116 | "id" : "obj-10",
117 | "index" : 1,
118 | "maxclass" : "outlet",
119 | "numinlets" : 1,
120 | "numoutlets" : 0,
121 | "patching_rect" : [ 521.0, 506.0, 30.0, 30.0 ]
122 | }
123 |
124 | }
125 | , {
126 | "box" : {
127 | "id" : "obj-3",
128 | "maxclass" : "newobj",
129 | "numinlets" : 1,
130 | "numoutlets" : 2,
131 | "outlettype" : [ "int", "int" ],
132 | "patching_rect" : [ 277.0, 164.0, 91.0, 22.0 ],
133 | "text" : "t i i"
134 | }
135 |
136 | }
137 | , {
138 | "box" : {
139 | "id" : "obj-1",
140 | "ignoreclick" : 1,
141 | "maxclass" : "live.toggle",
142 | "numinlets" : 1,
143 | "numoutlets" : 1,
144 | "outlettype" : [ "" ],
145 | "parameter_enable" : 1,
146 | "patching_rect" : [ 521.0, 334.0, 27.0, 26.0 ],
147 | "presentation" : 1,
148 | "presentation_rect" : [ 1.0, 0.5, 12.0, 12.0 ],
149 | "saved_attribute_attributes" : {
150 | "valueof" : {
151 | "parameter_defer" : 1,
152 | "parameter_enum" : [ "off", "on" ],
153 | "parameter_initial" : [ 1 ],
154 | "parameter_initial_enable" : 1,
155 | "parameter_longname" : "Corpus 8 On-Off",
156 | "parameter_mmax" : 1,
157 | "parameter_modmode" : 0,
158 | "parameter_shortname" : "on/off",
159 | "parameter_type" : 2
160 | }
161 |
162 | }
163 | ,
164 | "varname" : "#2_corpus_on-off"
165 | }
166 |
167 | }
168 | , {
169 | "box" : {
170 | "fontname" : "Ableton Sans Light",
171 | "fontsize" : 9.5,
172 | "id" : "obj-29",
173 | "maxclass" : "comment",
174 | "numinlets" : 1,
175 | "numoutlets" : 0,
176 | "patching_rect" : [ 398.0, 228.0, 51.0, 18.0 ],
177 | "presentation" : 1,
178 | "presentation_rect" : [ 22.0, -2.0, 73.0, 18.0 ],
179 | "text" : "Corpus 1",
180 | "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ]
181 | }
182 |
183 | }
184 | , {
185 | "box" : {
186 | "fontname" : "Ableton Sans Light",
187 | "fontsize" : 9.5,
188 | "id" : "obj-28",
189 | "maxclass" : "comment",
190 | "numinlets" : 1,
191 | "numoutlets" : 0,
192 | "patching_rect" : [ 276.0, 237.0, 25.0, 18.0 ],
193 | "presentation" : 1,
194 | "presentation_rect" : [ 12.0, -2.0, 17.0, 18.0 ],
195 | "text" : "1",
196 | "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ]
197 | }
198 |
199 | }
200 | , {
201 | "box" : {
202 | "id" : "obj-6",
203 | "maxclass" : "newobj",
204 | "numinlets" : 1,
205 | "numoutlets" : 3,
206 | "outlettype" : [ "int", "int", "int" ],
207 | "patching_rect" : [ 521.0, 191.0, 187.0, 22.0 ],
208 | "text" : "t i i i"
209 | }
210 |
211 | }
212 | , {
213 | "box" : {
214 | "id" : "obj-5",
215 | "maxclass" : "message",
216 | "numinlets" : 2,
217 | "numoutlets" : 1,
218 | "outlettype" : [ "" ],
219 | "patching_rect" : [ 605.0, 237.0, 57.0, 22.0 ],
220 | "text" : "active $1"
221 | }
222 |
223 | }
224 | , {
225 | "box" : {
226 | "id" : "obj-2",
227 | "maxclass" : "newobj",
228 | "numinlets" : 2,
229 | "numoutlets" : 2,
230 | "outlettype" : [ "", "" ],
231 | "patching_rect" : [ 276.0, 66.0, 78.0, 22.0 ],
232 | "text" : "routepass #2"
233 | }
234 |
235 | }
236 | , {
237 | "box" : {
238 | "id" : "obj-35",
239 | "maxclass" : "newobj",
240 | "numinlets" : 1,
241 | "numoutlets" : 1,
242 | "outlettype" : [ "" ],
243 | "patching_rect" : [ 765.0, 173.0, 71.0, 22.0 ],
244 | "text" : "fromsymbol"
245 | }
246 |
247 | }
248 | , {
249 | "box" : {
250 | "id" : "obj-33",
251 | "maxclass" : "newobj",
252 | "numinlets" : 1,
253 | "numoutlets" : 1,
254 | "outlettype" : [ "" ],
255 | "patching_rect" : [ 765.0, 205.0, 107.0, 22.0 ],
256 | "text" : "prepend bgfillcolor"
257 | }
258 |
259 | }
260 | , {
261 | "box" : {
262 | "angle" : 270.0,
263 | "bgcolor" : [ 0.8966, 0.2503, 0.2751, 1.0 ],
264 | "id" : "obj-31",
265 | "maxclass" : "panel",
266 | "mode" : 0,
267 | "numinlets" : 1,
268 | "numoutlets" : 0,
269 | "patching_rect" : [ 765.0, 245.0, 61.0, 52.0 ],
270 | "presentation" : 1,
271 | "presentation_rect" : [ 0.0, 0.0, 92.5, 13.25 ],
272 | "proportion" : 0.39,
273 | "rounded" : 2,
274 | "saved_attribute_attributes" : {
275 | "bgfillcolor" : {
276 | "expression" : ""
277 | }
278 |
279 | }
280 |
281 | }
282 |
283 | }
284 | , {
285 | "box" : {
286 | "id" : "obj-30",
287 | "maxclass" : "newobj",
288 | "numinlets" : 1,
289 | "numoutlets" : 1,
290 | "outlettype" : [ "" ],
291 | "patching_rect" : [ 398.0, 196.0, 72.0, 22.0 ],
292 | "text" : "prepend set"
293 | }
294 |
295 | }
296 | , {
297 | "box" : {
298 | "id" : "obj-26",
299 | "maxclass" : "newobj",
300 | "numinlets" : 1,
301 | "numoutlets" : 1,
302 | "outlettype" : [ "" ],
303 | "patching_rect" : [ 276.0, 196.0, 72.0, 22.0 ],
304 | "text" : "prepend set"
305 | }
306 |
307 | }
308 | , {
309 | "box" : {
310 | "id" : "obj-25",
311 | "maxclass" : "newobj",
312 | "numinlets" : 1,
313 | "numoutlets" : 5,
314 | "outlettype" : [ "int", "", "int", "float", "" ],
315 | "patching_rect" : [ 276.0, 125.0, 508.000007569789886, 22.0 ],
316 | "text" : "unpack i s i f s"
317 | }
318 |
319 | }
320 | , {
321 | "box" : {
322 | "comment" : "",
323 | "id" : "obj-38",
324 | "index" : 2,
325 | "maxclass" : "inlet",
326 | "numinlets" : 0,
327 | "numoutlets" : 1,
328 | "outlettype" : [ "clear" ],
329 | "patching_rect" : [ 276.0, 15.0, 30.0, 30.0 ]
330 | }
331 |
332 | }
333 | ],
334 | "lines" : [ {
335 | "patchline" : {
336 | "destination" : [ "obj-4", 0 ],
337 | "source" : [ "obj-1", 0 ]
338 | }
339 |
340 | }
341 | , {
342 | "patchline" : {
343 | "destination" : [ "obj-9", 1 ],
344 | "source" : [ "obj-11", 0 ]
345 | }
346 |
347 | }
348 | , {
349 | "patchline" : {
350 | "destination" : [ "obj-1", 0 ],
351 | "midpoints" : [ 108.5, 314.0, 530.5, 314.0 ],
352 | "source" : [ "obj-14", 0 ]
353 | }
354 |
355 | }
356 | , {
357 | "patchline" : {
358 | "destination" : [ "obj-1", 0 ],
359 | "source" : [ "obj-19", 0 ]
360 | }
361 |
362 | }
363 | , {
364 | "patchline" : {
365 | "destination" : [ "obj-25", 0 ],
366 | "source" : [ "obj-2", 0 ]
367 | }
368 |
369 | }
370 | , {
371 | "patchline" : {
372 | "destination" : [ "obj-1", 0 ],
373 | "source" : [ "obj-22", 0 ]
374 | }
375 |
376 | }
377 | , {
378 | "patchline" : {
379 | "destination" : [ "obj-22", 0 ],
380 | "source" : [ "obj-23", 0 ]
381 | }
382 |
383 | }
384 | , {
385 | "patchline" : {
386 | "destination" : [ "obj-3", 0 ],
387 | "source" : [ "obj-25", 0 ]
388 | }
389 |
390 | }
391 | , {
392 | "patchline" : {
393 | "destination" : [ "obj-30", 0 ],
394 | "source" : [ "obj-25", 1 ]
395 | }
396 |
397 | }
398 | , {
399 | "patchline" : {
400 | "destination" : [ "obj-35", 0 ],
401 | "source" : [ "obj-25", 4 ]
402 | }
403 |
404 | }
405 | , {
406 | "patchline" : {
407 | "destination" : [ "obj-6", 0 ],
408 | "source" : [ "obj-25", 2 ]
409 | }
410 |
411 | }
412 | , {
413 | "patchline" : {
414 | "destination" : [ "obj-28", 0 ],
415 | "source" : [ "obj-26", 0 ]
416 | }
417 |
418 | }
419 | , {
420 | "patchline" : {
421 | "destination" : [ "obj-26", 0 ],
422 | "source" : [ "obj-3", 0 ]
423 | }
424 |
425 | }
426 | , {
427 | "patchline" : {
428 | "destination" : [ "obj-29", 0 ],
429 | "source" : [ "obj-30", 0 ]
430 | }
431 |
432 | }
433 | , {
434 | "patchline" : {
435 | "destination" : [ "obj-31", 0 ],
436 | "source" : [ "obj-33", 0 ]
437 | }
438 |
439 | }
440 | , {
441 | "patchline" : {
442 | "destination" : [ "obj-33", 0 ],
443 | "source" : [ "obj-35", 0 ]
444 | }
445 |
446 | }
447 | , {
448 | "patchline" : {
449 | "destination" : [ "obj-2", 0 ],
450 | "source" : [ "obj-38", 0 ]
451 | }
452 |
453 | }
454 | , {
455 | "patchline" : {
456 | "destination" : [ "obj-10", 0 ],
457 | "midpoints" : [ 660.5, 493.5, 530.5, 493.5 ],
458 | "source" : [ "obj-4", 1 ]
459 | }
460 |
461 | }
462 | , {
463 | "patchline" : {
464 | "destination" : [ "obj-9", 0 ],
465 | "source" : [ "obj-4", 0 ]
466 | }
467 |
468 | }
469 | , {
470 | "patchline" : {
471 | "destination" : [ "obj-1", 0 ],
472 | "source" : [ "obj-5", 0 ]
473 | }
474 |
475 | }
476 | , {
477 | "patchline" : {
478 | "destination" : [ "obj-19", 0 ],
479 | "source" : [ "obj-6", 0 ]
480 | }
481 |
482 | }
483 | , {
484 | "patchline" : {
485 | "destination" : [ "obj-23", 0 ],
486 | "source" : [ "obj-6", 2 ]
487 | }
488 |
489 | }
490 | , {
491 | "patchline" : {
492 | "destination" : [ "obj-5", 0 ],
493 | "source" : [ "obj-6", 1 ]
494 | }
495 |
496 | }
497 | , {
498 | "patchline" : {
499 | "destination" : [ "obj-14", 0 ],
500 | "source" : [ "obj-7", 0 ]
501 | }
502 |
503 | }
504 | , {
505 | "patchline" : {
506 | "destination" : [ "obj-10", 0 ],
507 | "source" : [ "obj-9", 0 ]
508 | }
509 |
510 | }
511 | ]
512 | }
513 |
514 | }
515 |
--------------------------------------------------------------------------------
/_mosaique.OSCSend.maxpat:
--------------------------------------------------------------------------------
1 | {
2 | "patcher" : {
3 | "fileversion" : 1,
4 | "appversion" : {
5 | "major" : 8,
6 | "minor" : 6,
7 | "revision" : 4,
8 | "architecture" : "x64",
9 | "modernui" : 1
10 | }
11 | ,
12 | "classnamespace" : "box",
13 | "rect" : [ 767.0, 291.0, 1255.0, 963.0 ],
14 | "bglocked" : 0,
15 | "openinpresentation" : 0,
16 | "default_fontsize" : 12.0,
17 | "default_fontface" : 0,
18 | "default_fontname" : "Arial",
19 | "gridonopen" : 1,
20 | "gridsize" : [ 15.0, 15.0 ],
21 | "gridsnaponopen" : 1,
22 | "objectsnaponopen" : 1,
23 | "statusbarvisible" : 2,
24 | "toolbarvisible" : 1,
25 | "lefttoolbarpinned" : 0,
26 | "toptoolbarpinned" : 0,
27 | "righttoolbarpinned" : 0,
28 | "bottomtoolbarpinned" : 0,
29 | "toolbars_unpinned_last_save" : 0,
30 | "tallnewobj" : 0,
31 | "boxanimatetime" : 200,
32 | "enablehscroll" : 1,
33 | "enablevscroll" : 1,
34 | "devicewidth" : 0.0,
35 | "description" : "",
36 | "digest" : "",
37 | "tags" : "",
38 | "style" : "",
39 | "subpatcher_template" : "",
40 | "assistshowspatchername" : 0,
41 | "boxes" : [ {
42 | "box" : {
43 | "id" : "obj-9",
44 | "maxclass" : "newobj",
45 | "numinlets" : 1,
46 | "numoutlets" : 2,
47 | "outlettype" : [ "bang", "" ],
48 | "patching_rect" : [ 415.0, 358.0, 29.5, 22.0 ],
49 | "text" : "t b l"
50 | }
51 |
52 | }
53 | , {
54 | "box" : {
55 | "id" : "obj-8",
56 | "maxclass" : "newobj",
57 | "numinlets" : 2,
58 | "numoutlets" : 2,
59 | "outlettype" : [ "", "" ],
60 | "patching_rect" : [ 415.0, 315.0, 66.0, 22.0 ],
61 | "text" : "route none"
62 | }
63 |
64 | }
65 | , {
66 | "box" : {
67 | "id" : "obj-45",
68 | "maxclass" : "newobj",
69 | "numinlets" : 1,
70 | "numoutlets" : 1,
71 | "outlettype" : [ "" ],
72 | "patching_rect" : [ 570.0, 517.0, 57.0, 22.0 ],
73 | "text" : "tosymbol"
74 | }
75 |
76 | }
77 | , {
78 | "box" : {
79 | "id" : "obj-44",
80 | "maxclass" : "newobj",
81 | "numinlets" : 1,
82 | "numoutlets" : 1,
83 | "outlettype" : [ "" ],
84 | "patching_rect" : [ 462.0, 517.0, 57.0, 22.0 ],
85 | "text" : "tosymbol"
86 | }
87 |
88 | }
89 | , {
90 | "box" : {
91 | "id" : "obj-40",
92 | "maxclass" : "newobj",
93 | "numinlets" : 1,
94 | "numoutlets" : 2,
95 | "outlettype" : [ "", "int" ],
96 | "patching_rect" : [ 464.0, 552.0, 31.0, 22.0 ],
97 | "text" : "t s 1"
98 | }
99 |
100 | }
101 | , {
102 | "box" : {
103 | "id" : "obj-41",
104 | "maxclass" : "newobj",
105 | "numinlets" : 1,
106 | "numoutlets" : 1,
107 | "outlettype" : [ "" ],
108 | "patching_rect" : [ 464.0, 490.0, 25.0, 22.0 ],
109 | "text" : "iter"
110 | }
111 |
112 | }
113 | , {
114 | "box" : {
115 | "id" : "obj-39",
116 | "maxclass" : "newobj",
117 | "numinlets" : 1,
118 | "numoutlets" : 2,
119 | "outlettype" : [ "", "int" ],
120 | "patching_rect" : [ 571.0, 552.0, 31.0, 22.0 ],
121 | "text" : "t s 0"
122 | }
123 |
124 | }
125 | , {
126 | "box" : {
127 | "id" : "obj-38",
128 | "maxclass" : "newobj",
129 | "numinlets" : 1,
130 | "numoutlets" : 1,
131 | "outlettype" : [ "" ],
132 | "patching_rect" : [ 571.0, 490.0, 25.0, 22.0 ],
133 | "text" : "iter"
134 | }
135 |
136 | }
137 | , {
138 | "box" : {
139 | "id" : "obj-28",
140 | "maxclass" : "newobj",
141 | "numinlets" : 2,
142 | "numoutlets" : 2,
143 | "outlettype" : [ "", "" ],
144 | "patching_rect" : [ 571.0, 450.0, 52.0, 22.0 ],
145 | "text" : "zl.filter"
146 | }
147 |
148 | }
149 | , {
150 | "box" : {
151 | "id" : "obj-11",
152 | "maxclass" : "newobj",
153 | "numinlets" : 2,
154 | "numoutlets" : 2,
155 | "outlettype" : [ "", "" ],
156 | "patching_rect" : [ 462.0, 450.0, 52.0, 22.0 ],
157 | "text" : "zl.filter"
158 | }
159 |
160 | }
161 | , {
162 | "box" : {
163 | "id" : "obj-10",
164 | "maxclass" : "newobj",
165 | "numinlets" : 2,
166 | "numoutlets" : 2,
167 | "outlettype" : [ "", "" ],
168 | "patching_rect" : [ 571.0, 411.0, 38.0, 22.0 ],
169 | "text" : "zl.reg"
170 | }
171 |
172 | }
173 | , {
174 | "box" : {
175 | "id" : "obj-7",
176 | "maxclass" : "newobj",
177 | "numinlets" : 1,
178 | "numoutlets" : 3,
179 | "outlettype" : [ "", "bang", "" ],
180 | "patching_rect" : [ 462.0, 358.0, 237.0, 22.0 ],
181 | "text" : "t l b l"
182 | }
183 |
184 | }
185 | , {
186 | "box" : {
187 | "id" : "obj-6",
188 | "maxclass" : "newobj",
189 | "numinlets" : 2,
190 | "numoutlets" : 2,
191 | "outlettype" : [ "", "" ],
192 | "patching_rect" : [ 415.0, 275.0, 476.0, 22.0 ],
193 | "text" : "zl.reg"
194 | }
195 |
196 | }
197 | , {
198 | "box" : {
199 | "id" : "obj-5",
200 | "maxclass" : "newobj",
201 | "numinlets" : 2,
202 | "numoutlets" : 2,
203 | "outlettype" : [ "", "" ],
204 | "patching_rect" : [ 681.0, 187.0, 77.0, 22.0 ],
205 | "text" : "route symbol"
206 | }
207 |
208 | }
209 | , {
210 | "box" : {
211 | "id" : "obj-4",
212 | "maxclass" : "newobj",
213 | "numinlets" : 2,
214 | "numoutlets" : 2,
215 | "outlettype" : [ "", "" ],
216 | "patching_rect" : [ 681.0, 229.0, 179.0, 22.0 ],
217 | "text" : "zl.group 512 @zlmaxsize 32767"
218 | }
219 |
220 | }
221 | , {
222 | "box" : {
223 | "id" : "obj-3",
224 | "maxclass" : "newobj",
225 | "numinlets" : 1,
226 | "numoutlets" : 3,
227 | "outlettype" : [ "bang", "dump", "none" ],
228 | "patching_rect" : [ 415.0, 124.0, 476.0, 22.0 ],
229 | "text" : "t b dump none"
230 | }
231 |
232 | }
233 | , {
234 | "box" : {
235 | "id" : "obj-2",
236 | "maxclass" : "newobj",
237 | "numinlets" : 1,
238 | "numoutlets" : 4,
239 | "outlettype" : [ "", "", "", "" ],
240 | "patching_rect" : [ 643.0, 157.0, 159.0, 22.0 ],
241 | "saved_object_attributes" : {
242 | "embed" : 0,
243 | "precision" : 6
244 | }
245 | ,
246 | "text" : "coll #1Mosaique_player"
247 | }
248 |
249 | }
250 | , {
251 | "box" : {
252 | "id" : "obj-21",
253 | "maxclass" : "newobj",
254 | "numinlets" : 1,
255 | "numoutlets" : 1,
256 | "outlettype" : [ "" ],
257 | "patching_rect" : [ 107.0, 642.0, 71.0, 22.0 ],
258 | "text" : "fromsymbol"
259 | }
260 |
261 | }
262 | , {
263 | "box" : {
264 | "id" : "obj-12",
265 | "maxclass" : "newobj",
266 | "numinlets" : 9,
267 | "numoutlets" : 2,
268 | "outlettype" : [ "", "" ],
269 | "patching_rect" : [ 107.0, 610.0, 499.0, 22.0 ],
270 | "text" : "combine /Mosaique/Server #1 / #1 /BasicPlayer \" \" name \" \" on/off @triggers 6"
271 | }
272 |
273 | }
274 | , {
275 | "box" : {
276 | "id" : "obj-48",
277 | "maxclass" : "newobj",
278 | "numinlets" : 0,
279 | "numoutlets" : 1,
280 | "outlettype" : [ "" ],
281 | "patching_rect" : [ 167.0, 566.0, 155.0, 22.0 ],
282 | "text" : "r #1Mosaique_ServerID"
283 | }
284 |
285 | }
286 | , {
287 | "box" : {
288 | "id" : "obj-1",
289 | "maxclass" : "newobj",
290 | "numinlets" : 1,
291 | "numoutlets" : 0,
292 | "patching_rect" : [ 107.0, 682.0, 142.0, 22.0 ],
293 | "text" : "udpsend localhost 23778"
294 | }
295 |
296 | }
297 | , {
298 | "box" : {
299 | "comment" : "",
300 | "id" : "obj-22",
301 | "index" : 1,
302 | "maxclass" : "inlet",
303 | "numinlets" : 0,
304 | "numoutlets" : 1,
305 | "outlettype" : [ "" ],
306 | "patching_rect" : [ 415.0, 81.0, 30.0, 30.0 ]
307 | }
308 |
309 | }
310 | ],
311 | "lines" : [ {
312 | "patchline" : {
313 | "destination" : [ "obj-11", 1 ],
314 | "order" : 1,
315 | "source" : [ "obj-10", 0 ]
316 | }
317 |
318 | }
319 | , {
320 | "patchline" : {
321 | "destination" : [ "obj-28", 0 ],
322 | "order" : 0,
323 | "source" : [ "obj-10", 0 ]
324 | }
325 |
326 | }
327 | , {
328 | "patchline" : {
329 | "destination" : [ "obj-41", 0 ],
330 | "source" : [ "obj-11", 0 ]
331 | }
332 |
333 | }
334 | , {
335 | "patchline" : {
336 | "destination" : [ "obj-21", 0 ],
337 | "source" : [ "obj-12", 0 ]
338 | }
339 |
340 | }
341 | , {
342 | "patchline" : {
343 | "destination" : [ "obj-4", 0 ],
344 | "midpoints" : [ 792.5, 217.5, 690.5, 217.5 ],
345 | "source" : [ "obj-2", 3 ]
346 | }
347 |
348 | }
349 | , {
350 | "patchline" : {
351 | "destination" : [ "obj-5", 0 ],
352 | "source" : [ "obj-2", 1 ]
353 | }
354 |
355 | }
356 | , {
357 | "patchline" : {
358 | "destination" : [ "obj-1", 0 ],
359 | "source" : [ "obj-21", 0 ]
360 | }
361 |
362 | }
363 | , {
364 | "patchline" : {
365 | "destination" : [ "obj-3", 0 ],
366 | "source" : [ "obj-22", 0 ]
367 | }
368 |
369 | }
370 | , {
371 | "patchline" : {
372 | "destination" : [ "obj-38", 0 ],
373 | "source" : [ "obj-28", 0 ]
374 | }
375 |
376 | }
377 | , {
378 | "patchline" : {
379 | "destination" : [ "obj-2", 0 ],
380 | "source" : [ "obj-3", 1 ]
381 | }
382 |
383 | }
384 | , {
385 | "patchline" : {
386 | "destination" : [ "obj-6", 1 ],
387 | "source" : [ "obj-3", 2 ]
388 | }
389 |
390 | }
391 | , {
392 | "patchline" : {
393 | "destination" : [ "obj-6", 0 ],
394 | "source" : [ "obj-3", 0 ]
395 | }
396 |
397 | }
398 | , {
399 | "patchline" : {
400 | "destination" : [ "obj-45", 0 ],
401 | "source" : [ "obj-38", 0 ]
402 | }
403 |
404 | }
405 | , {
406 | "patchline" : {
407 | "destination" : [ "obj-12", 8 ],
408 | "source" : [ "obj-39", 1 ]
409 | }
410 |
411 | }
412 | , {
413 | "patchline" : {
414 | "destination" : [ "obj-12", 6 ],
415 | "source" : [ "obj-39", 0 ]
416 | }
417 |
418 | }
419 | , {
420 | "patchline" : {
421 | "destination" : [ "obj-6", 1 ],
422 | "source" : [ "obj-4", 0 ]
423 | }
424 |
425 | }
426 | , {
427 | "patchline" : {
428 | "destination" : [ "obj-12", 8 ],
429 | "source" : [ "obj-40", 1 ]
430 | }
431 |
432 | }
433 | , {
434 | "patchline" : {
435 | "destination" : [ "obj-12", 6 ],
436 | "source" : [ "obj-40", 0 ]
437 | }
438 |
439 | }
440 | , {
441 | "patchline" : {
442 | "destination" : [ "obj-44", 0 ],
443 | "source" : [ "obj-41", 0 ]
444 | }
445 |
446 | }
447 | , {
448 | "patchline" : {
449 | "destination" : [ "obj-40", 0 ],
450 | "source" : [ "obj-44", 0 ]
451 | }
452 |
453 | }
454 | , {
455 | "patchline" : {
456 | "destination" : [ "obj-39", 0 ],
457 | "source" : [ "obj-45", 0 ]
458 | }
459 |
460 | }
461 | , {
462 | "patchline" : {
463 | "destination" : [ "obj-12", 1 ],
464 | "source" : [ "obj-48", 0 ]
465 | }
466 |
467 | }
468 | , {
469 | "patchline" : {
470 | "destination" : [ "obj-4", 0 ],
471 | "source" : [ "obj-5", 0 ]
472 | }
473 |
474 | }
475 | , {
476 | "patchline" : {
477 | "destination" : [ "obj-8", 0 ],
478 | "source" : [ "obj-6", 0 ]
479 | }
480 |
481 | }
482 | , {
483 | "patchline" : {
484 | "destination" : [ "obj-10", 0 ],
485 | "source" : [ "obj-7", 1 ]
486 | }
487 |
488 | }
489 | , {
490 | "patchline" : {
491 | "destination" : [ "obj-10", 1 ],
492 | "order" : 0,
493 | "source" : [ "obj-7", 0 ]
494 | }
495 |
496 | }
497 | , {
498 | "patchline" : {
499 | "destination" : [ "obj-11", 0 ],
500 | "order" : 1,
501 | "source" : [ "obj-7", 0 ]
502 | }
503 |
504 | }
505 | , {
506 | "patchline" : {
507 | "destination" : [ "obj-28", 1 ],
508 | "source" : [ "obj-7", 2 ]
509 | }
510 |
511 | }
512 | , {
513 | "patchline" : {
514 | "destination" : [ "obj-7", 0 ],
515 | "source" : [ "obj-8", 1 ]
516 | }
517 |
518 | }
519 | , {
520 | "patchline" : {
521 | "destination" : [ "obj-9", 0 ],
522 | "source" : [ "obj-8", 0 ]
523 | }
524 |
525 | }
526 | , {
527 | "patchline" : {
528 | "destination" : [ "obj-10", 0 ],
529 | "source" : [ "obj-9", 0 ]
530 | }
531 |
532 | }
533 | , {
534 | "patchline" : {
535 | "destination" : [ "obj-28", 1 ],
536 | "source" : [ "obj-9", 1 ]
537 | }
538 |
539 | }
540 | ],
541 | "saved_attribute_attributes" : {
542 | "default_plcolor" : {
543 | "expression" : ""
544 | }
545 |
546 | }
547 |
548 | }
549 |
550 | }
551 |
--------------------------------------------------------------------------------
/_mosaique.gui.dimReduct.maxpat:
--------------------------------------------------------------------------------
1 | {
2 | "patcher" : {
3 | "fileversion" : 1,
4 | "appversion" : {
5 | "major" : 8,
6 | "minor" : 6,
7 | "revision" : 3,
8 | "architecture" : "x64",
9 | "modernui" : 1
10 | }
11 | ,
12 | "classnamespace" : "box",
13 | "rect" : [ 435.0, 224.0, 562.0, 859.0 ],
14 | "bglocked" : 0,
15 | "openinpresentation" : 1,
16 | "default_fontsize" : 12.0,
17 | "default_fontface" : 0,
18 | "default_fontname" : "Arial",
19 | "gridonopen" : 1,
20 | "gridsize" : [ 15.0, 15.0 ],
21 | "gridsnaponopen" : 1,
22 | "objectsnaponopen" : 1,
23 | "statusbarvisible" : 2,
24 | "toolbarvisible" : 1,
25 | "lefttoolbarpinned" : 0,
26 | "toptoolbarpinned" : 0,
27 | "righttoolbarpinned" : 0,
28 | "bottomtoolbarpinned" : 0,
29 | "toolbars_unpinned_last_save" : 0,
30 | "tallnewobj" : 0,
31 | "boxanimatetime" : 200,
32 | "enablehscroll" : 1,
33 | "enablevscroll" : 1,
34 | "devicewidth" : 0.0,
35 | "description" : "",
36 | "digest" : "",
37 | "tags" : "",
38 | "style" : "",
39 | "subpatcher_template" : "",
40 | "assistshowspatchername" : 0,
41 | "boxes" : [ {
42 | "box" : {
43 | "id" : "obj-14",
44 | "maxclass" : "comment",
45 | "numinlets" : 1,
46 | "numoutlets" : 0,
47 | "patching_rect" : [ 1546.794320791959763, 265.5, 79.0, 20.0 ],
48 | "presentation" : 1,
49 | "presentation_rect" : [ 7.0, 185.0, 79.0, 20.0 ],
50 | "text" : "Learning rate"
51 | }
52 |
53 | }
54 | , {
55 | "box" : {
56 | "id" : "obj-13",
57 | "maxclass" : "comment",
58 | "numinlets" : 1,
59 | "numoutlets" : 0,
60 | "patching_rect" : [ 1231.141185998916626, 274.201457917690277, 58.0, 20.0 ],
61 | "presentation" : 1,
62 | "presentation_rect" : [ 7.0, 154.6875, 58.0, 20.0 ],
63 | "text" : "Iterations"
64 | }
65 |
66 | }
67 | , {
68 | "box" : {
69 | "id" : "obj-3",
70 | "maxclass" : "live.numbox",
71 | "numinlets" : 1,
72 | "numoutlets" : 2,
73 | "outlettype" : [ "", "float" ],
74 | "parameter_enable" : 1,
75 | "parameter_mappable" : 0,
76 | "patching_rect" : [ 1465.127653837203979, 419.158527016639709, 44.0, 15.0 ],
77 | "presentation" : 1,
78 | "presentation_rect" : [ 129.0, 187.5, 44.0, 15.0 ],
79 | "saved_attribute_attributes" : {
80 | "valueof" : {
81 | "parameter_initial" : [ 0.2 ],
82 | "parameter_initial_enable" : 1,
83 | "parameter_invisible" : 2,
84 | "parameter_longname" : "Learning rate",
85 | "parameter_mmax" : 5.0,
86 | "parameter_modmode" : 0,
87 | "parameter_shortname" : "Learning rate",
88 | "parameter_type" : 0,
89 | "parameter_unitstyle" : 1
90 | }
91 |
92 | }
93 | ,
94 | "varname" : "Learning rate"
95 | }
96 |
97 | }
98 | , {
99 | "box" : {
100 | "id" : "obj-6",
101 | "maxclass" : "live.numbox",
102 | "numinlets" : 1,
103 | "numoutlets" : 2,
104 | "outlettype" : [ "", "float" ],
105 | "parameter_enable" : 1,
106 | "parameter_mappable" : 0,
107 | "patching_rect" : [ 1143.141185998916626, 404.158527016639709, 44.0, 15.0 ],
108 | "presentation" : 1,
109 | "presentation_rect" : [ 129.0, 157.0, 44.0, 15.0 ],
110 | "saved_attribute_attributes" : {
111 | "valueof" : {
112 | "parameter_initial" : [ 200 ],
113 | "parameter_initial_enable" : 1,
114 | "parameter_invisible" : 2,
115 | "parameter_longname" : "Iterations",
116 | "parameter_mmax" : 10000.0,
117 | "parameter_mmin" : 100.0,
118 | "parameter_modmode" : 0,
119 | "parameter_shortname" : "Iterations",
120 | "parameter_type" : 0,
121 | "parameter_unitstyle" : 0
122 | }
123 |
124 | }
125 | ,
126 | "varname" : "Iterations"
127 | }
128 |
129 | }
130 | , {
131 | "box" : {
132 | "id" : "obj-27",
133 | "linecount" : 2,
134 | "maxclass" : "newobj",
135 | "numinlets" : 2,
136 | "numoutlets" : 1,
137 | "outlettype" : [ "" ],
138 | "patching_rect" : [ 1465.127653837203979, 299.596588253974915, 242.333333909511566, 35.0 ],
139 | "text" : "_mosaique.dictValueGetSet --- settings::dimReductParameters::learnrate"
140 | }
141 |
142 | }
143 | , {
144 | "box" : {
145 | "id" : "obj-24",
146 | "linecount" : 2,
147 | "maxclass" : "newobj",
148 | "numinlets" : 2,
149 | "numoutlets" : 1,
150 | "outlettype" : [ "" ],
151 | "patching_rect" : [ 1143.141185998916626, 299.596588253974915, 234.0, 35.0 ],
152 | "text" : "_mosaique.dictValueGetSet --- settings::dimReductParameters::iterations"
153 | }
154 |
155 | }
156 | , {
157 | "box" : {
158 | "comment" : "Bang to store values",
159 | "id" : "obj-11",
160 | "index" : 1,
161 | "maxclass" : "inlet",
162 | "numinlets" : 0,
163 | "numoutlets" : 1,
164 | "outlettype" : [ "" ],
165 | "patching_rect" : [ 91.404255151748657, 304.399491250514984, 30.0, 30.0 ]
166 | }
167 |
168 | }
169 | , {
170 | "box" : {
171 | "id" : "obj-10",
172 | "maxclass" : "comment",
173 | "numinlets" : 1,
174 | "numoutlets" : 0,
175 | "patching_rect" : [ 802.127653837203979, 274.201457917690277, 217.0, 20.0 ],
176 | "presentation" : 1,
177 | "presentation_linecount" : 2,
178 | "presentation_rect" : [ 7.0, 108.125, 119.765956282615662, 33.0 ],
179 | "text" : "Minimum distance between neighbours"
180 | }
181 |
182 | }
183 | , {
184 | "box" : {
185 | "id" : "obj-9",
186 | "maxclass" : "comment",
187 | "numinlets" : 1,
188 | "numoutlets" : 0,
189 | "patching_rect" : [ 491.06382691860199, 274.201457917690277, 191.659573554992676, 20.0 ],
190 | "presentation" : 1,
191 | "presentation_linecount" : 2,
192 | "presentation_rect" : [ 7.0, 61.5625, 119.925530910491943, 33.0 ],
193 | "text" : "Number of neighbours (%)"
194 | }
195 |
196 | }
197 | , {
198 | "box" : {
199 | "id" : "obj-8",
200 | "maxclass" : "comment",
201 | "numinlets" : 1,
202 | "numoutlets" : 0,
203 | "patching_rect" : [ 202.0, 274.201457917690277, 191.659573554992676, 20.0 ],
204 | "presentation" : 1,
205 | "presentation_linecount" : 2,
206 | "presentation_rect" : [ 7.0, 15.0, 120.0, 33.0 ],
207 | "text" : "Number of dimensions"
208 | }
209 |
210 | }
211 | , {
212 | "box" : {
213 | "id" : "obj-1",
214 | "linecount" : 2,
215 | "maxclass" : "newobj",
216 | "numinlets" : 2,
217 | "numoutlets" : 1,
218 | "outlettype" : [ "" ],
219 | "patching_rect" : [ 790.127653837203979, 299.399491250514984, 261.0, 35.0 ],
220 | "text" : "_mosaique.dictValueGetSet #1 settings::dimReductParameters::minDist"
221 | }
222 |
223 | }
224 | , {
225 | "box" : {
226 | "id" : "obj-7",
227 | "maxclass" : "live.numbox",
228 | "numinlets" : 1,
229 | "numoutlets" : 2,
230 | "outlettype" : [ "", "float" ],
231 | "parameter_enable" : 1,
232 | "parameter_mappable" : 0,
233 | "patching_rect" : [ 790.127653837203979, 404.158527016639709, 44.0, 15.0 ],
234 | "presentation" : 1,
235 | "presentation_rect" : [ 129.0, 117.125, 44.0, 15.0 ],
236 | "saved_attribute_attributes" : {
237 | "valueof" : {
238 | "parameter_initial" : [ 0.3 ],
239 | "parameter_initial_enable" : 1,
240 | "parameter_invisible" : 2,
241 | "parameter_longname" : "Min distance",
242 | "parameter_mmax" : 5.0,
243 | "parameter_modmode" : 0,
244 | "parameter_shortname" : "Min distance",
245 | "parameter_type" : 0,
246 | "parameter_unitstyle" : 1
247 | }
248 |
249 | }
250 | ,
251 | "varname" : "Min distance"
252 | }
253 |
254 | }
255 | , {
256 | "box" : {
257 | "id" : "obj-80",
258 | "linecount" : 2,
259 | "maxclass" : "newobj",
260 | "numinlets" : 2,
261 | "numoutlets" : 1,
262 | "outlettype" : [ "" ],
263 | "patching_rect" : [ 468.06382691860199, 299.399491250514984, 276.0, 35.0 ],
264 | "text" : "_mosaique.dictValueGetSet #1 settings::dimReductParameters::numNeighbours"
265 | }
266 |
267 | }
268 | , {
269 | "box" : {
270 | "id" : "obj-5",
271 | "linecount" : 2,
272 | "maxclass" : "newobj",
273 | "numinlets" : 2,
274 | "numoutlets" : 1,
275 | "outlettype" : [ "" ],
276 | "patching_rect" : [ 136.0, 299.399491250514984, 271.0, 35.0 ],
277 | "text" : "_mosaique.dictValueGetSet #1 settings::dimReductParameters::numDimensions"
278 | }
279 |
280 | }
281 | , {
282 | "box" : {
283 | "id" : "obj-66",
284 | "maxclass" : "live.numbox",
285 | "numinlets" : 1,
286 | "numoutlets" : 2,
287 | "outlettype" : [ "", "float" ],
288 | "parameter_enable" : 1,
289 | "parameter_mappable" : 0,
290 | "patching_rect" : [ 468.06382691860199, 404.158527016639709, 44.0, 15.0 ],
291 | "presentation" : 1,
292 | "presentation_rect" : [ 129.0, 70.5625, 44.0, 15.0 ],
293 | "saved_attribute_attributes" : {
294 | "valueof" : {
295 | "parameter_initial" : [ 25 ],
296 | "parameter_initial_enable" : 1,
297 | "parameter_invisible" : 2,
298 | "parameter_longname" : "Number of neighbours",
299 | "parameter_mmax" : 100.0,
300 | "parameter_modmode" : 0,
301 | "parameter_shortname" : "Number of neighbours",
302 | "parameter_type" : 1,
303 | "parameter_unitstyle" : 5
304 | }
305 |
306 | }
307 | ,
308 | "varname" : "Number of neighbours"
309 | }
310 |
311 | }
312 | , {
313 | "box" : {
314 | "id" : "obj-2",
315 | "maxclass" : "live.numbox",
316 | "numinlets" : 1,
317 | "numoutlets" : 2,
318 | "outlettype" : [ "", "float" ],
319 | "parameter_enable" : 1,
320 | "parameter_mappable" : 0,
321 | "patching_rect" : [ 136.0, 404.158527016639709, 44.0, 15.0 ],
322 | "presentation" : 1,
323 | "presentation_rect" : [ 129.0, 24.0, 44.0, 15.0 ],
324 | "saved_attribute_attributes" : {
325 | "valueof" : {
326 | "parameter_initial" : [ 3 ],
327 | "parameter_initial_enable" : 1,
328 | "parameter_invisible" : 2,
329 | "parameter_longname" : "Dimensionality",
330 | "parameter_mmax" : 128.0,
331 | "parameter_modmode" : 0,
332 | "parameter_shortname" : "Dimensionality",
333 | "parameter_type" : 0,
334 | "parameter_unitstyle" : 0
335 | }
336 |
337 | }
338 | ,
339 | "varname" : "Dimensionality"
340 | }
341 |
342 | }
343 | , {
344 | "box" : {
345 | "angle" : 270.0,
346 | "bgcolor" : [ 0.717647058823529, 0.717647058823529, 0.717647058823529, 0.0 ],
347 | "border" : 2,
348 | "bordercolor" : [ 0.9, 0.9, 0.9, 1.0 ],
349 | "id" : "obj-60",
350 | "maxclass" : "panel",
351 | "mode" : 0,
352 | "numinlets" : 1,
353 | "numoutlets" : 0,
354 | "patching_rect" : [ 207.63889878988266, 229.861122071743011, 128.0, 128.0 ],
355 | "presentation" : 1,
356 | "presentation_rect" : [ 2.0, 5.0, 181.0, 210.0 ],
357 | "proportion" : 0.39,
358 | "rounded" : 19,
359 | "saved_attribute_attributes" : {
360 | "bgfillcolor" : {
361 | "expression" : ""
362 | }
363 | ,
364 | "bordercolor" : {
365 | "expression" : "themecolor.live_arranger_grid_tiles"
366 | }
367 |
368 | }
369 | ,
370 | "shadow" : 2
371 | }
372 |
373 | }
374 | ],
375 | "lines" : [ {
376 | "patchline" : {
377 | "destination" : [ "obj-7", 0 ],
378 | "source" : [ "obj-1", 0 ]
379 | }
380 |
381 | }
382 | , {
383 | "patchline" : {
384 | "destination" : [ "obj-2", 0 ],
385 | "order" : 4,
386 | "source" : [ "obj-11", 0 ]
387 | }
388 |
389 | }
390 | , {
391 | "patchline" : {
392 | "destination" : [ "obj-3", 0 ],
393 | "order" : 0,
394 | "source" : [ "obj-11", 0 ]
395 | }
396 |
397 | }
398 | , {
399 | "patchline" : {
400 | "destination" : [ "obj-6", 0 ],
401 | "order" : 1,
402 | "source" : [ "obj-11", 0 ]
403 | }
404 |
405 | }
406 | , {
407 | "patchline" : {
408 | "destination" : [ "obj-66", 0 ],
409 | "order" : 3,
410 | "source" : [ "obj-11", 0 ]
411 | }
412 |
413 | }
414 | , {
415 | "patchline" : {
416 | "destination" : [ "obj-7", 0 ],
417 | "order" : 2,
418 | "source" : [ "obj-11", 0 ]
419 | }
420 |
421 | }
422 | , {
423 | "patchline" : {
424 | "color" : [ 0.650660574436188, 0.621585071086884, 0.0, 1.0 ],
425 | "destination" : [ "obj-5", 1 ],
426 | "midpoints" : [ 145.5, 428.876697599887848, 415.085103392601013, 428.876697599887848, 415.085103392601013, 286.38733583688736, 397.5, 286.38733583688736 ],
427 | "source" : [ "obj-2", 0 ]
428 | }
429 |
430 | }
431 | , {
432 | "patchline" : {
433 | "destination" : [ "obj-6", 0 ],
434 | "source" : [ "obj-24", 0 ]
435 | }
436 |
437 | }
438 | , {
439 | "patchline" : {
440 | "destination" : [ "obj-3", 0 ],
441 | "source" : [ "obj-27", 0 ]
442 | }
443 |
444 | }
445 | , {
446 | "patchline" : {
447 | "destination" : [ "obj-27", 1 ],
448 | "midpoints" : [ 1474.627653837203979, 444.158527016639709, 1732.294320791959763, 444.158527016639709, 1732.294320791959763, 288.596588253974915, 1697.960987746715546, 288.596588253974915 ],
449 | "source" : [ "obj-3", 0 ]
450 | }
451 |
452 | }
453 | , {
454 | "patchline" : {
455 | "destination" : [ "obj-2", 0 ],
456 | "source" : [ "obj-5", 0 ]
457 | }
458 |
459 | }
460 | , {
461 | "patchline" : {
462 | "destination" : [ "obj-24", 1 ],
463 | "midpoints" : [ 1152.641185998916626, 435.158527016639709, 1396.269173413515091, 435.158527016639709, 1396.269173413515091, 288.596588253974915, 1367.641185998916626, 288.596588253974915 ],
464 | "source" : [ "obj-6", 0 ]
465 | }
466 |
467 | }
468 | , {
469 | "patchline" : {
470 | "color" : [ 0.650660574436188, 0.621585071086884, 0.0, 1.0 ],
471 | "destination" : [ "obj-80", 1 ],
472 | "midpoints" : [ 477.56382691860199, 428.230966508388519, 754.319146394729614, 428.230966508388519, 754.319146394729614, 287.16713672876358, 734.56382691860199, 287.16713672876358 ],
473 | "source" : [ "obj-66", 0 ]
474 | }
475 |
476 | }
477 | , {
478 | "patchline" : {
479 | "color" : [ 0.650660574436188, 0.621585071086884, 0.0, 1.0 ],
480 | "destination" : [ "obj-1", 1 ],
481 | "midpoints" : [ 799.627653837203979, 438.158527016639709, 1065.127653837203979, 438.158527016639709, 1065.127653837203979, 284.399491250514984, 1041.627653837203979, 284.399491250514984 ],
482 | "source" : [ "obj-7", 0 ]
483 | }
484 |
485 | }
486 | , {
487 | "patchline" : {
488 | "destination" : [ "obj-66", 0 ],
489 | "source" : [ "obj-80", 0 ]
490 | }
491 |
492 | }
493 | ],
494 | "saved_attribute_attributes" : {
495 | "default_plcolor" : {
496 | "expression" : ""
497 | }
498 |
499 | }
500 |
501 | }
502 |
503 | }
504 |
--------------------------------------------------------------------------------
/_mosaique.sliceInfos.maxpat:
--------------------------------------------------------------------------------
1 | {
2 | "patcher" : {
3 | "fileversion" : 1,
4 | "appversion" : {
5 | "major" : 8,
6 | "minor" : 6,
7 | "revision" : 0,
8 | "architecture" : "x64",
9 | "modernui" : 1
10 | }
11 | ,
12 | "classnamespace" : "box",
13 | "rect" : [ 219.0, 189.0, 990.0, 736.0 ],
14 | "bglocked" : 0,
15 | "openinpresentation" : 0,
16 | "default_fontsize" : 12.0,
17 | "default_fontface" : 0,
18 | "default_fontname" : "Arial",
19 | "gridonopen" : 1,
20 | "gridsize" : [ 15.0, 15.0 ],
21 | "gridsnaponopen" : 1,
22 | "objectsnaponopen" : 1,
23 | "statusbarvisible" : 2,
24 | "toolbarvisible" : 1,
25 | "lefttoolbarpinned" : 0,
26 | "toptoolbarpinned" : 0,
27 | "righttoolbarpinned" : 0,
28 | "bottomtoolbarpinned" : 0,
29 | "toolbars_unpinned_last_save" : 0,
30 | "tallnewobj" : 0,
31 | "boxanimatetime" : 200,
32 | "enablehscroll" : 1,
33 | "enablevscroll" : 1,
34 | "devicewidth" : 0.0,
35 | "description" : "",
36 | "digest" : "",
37 | "tags" : "",
38 | "style" : "",
39 | "subpatcher_template" : "",
40 | "assistshowspatchername" : 0,
41 | "boxes" : [ {
42 | "box" : {
43 | "id" : "obj-17",
44 | "maxclass" : "comment",
45 | "numinlets" : 1,
46 | "numoutlets" : 0,
47 | "patching_rect" : [ 600.0, 725.0, 150.0, 20.0 ],
48 | "text" : "Corpus #"
49 | }
50 |
51 | }
52 | , {
53 | "box" : {
54 | "id" : "obj-11",
55 | "maxclass" : "newobj",
56 | "numinlets" : 2,
57 | "numoutlets" : 2,
58 | "outlettype" : [ "", "" ],
59 | "patching_rect" : [ 92.912658476829506, 595.0, 133.0, 22.0 ],
60 | "text" : "zl.indexmap 3 4 2 1 0 5"
61 | }
62 |
63 | }
64 | , {
65 | "box" : {
66 | "id" : "obj-15",
67 | "maxclass" : "message",
68 | "numinlets" : 2,
69 | "numoutlets" : 1,
70 | "outlettype" : [ "" ],
71 | "patching_rect" : [ 131.0, 268.0, 40.0, 22.0 ],
72 | "text" : "\"1 10\""
73 | }
74 |
75 | }
76 | , {
77 | "box" : {
78 | "id" : "obj-13",
79 | "maxclass" : "newobj",
80 | "numinlets" : 1,
81 | "numoutlets" : 1,
82 | "outlettype" : [ "" ],
83 | "patching_rect" : [ 340.912658476829506, 441.0, 109.0, 22.0 ],
84 | "text" : "loadmess samps 6"
85 | }
86 |
87 | }
88 | , {
89 | "box" : {
90 | "id" : "obj-9",
91 | "maxclass" : "newobj",
92 | "numinlets" : 1,
93 | "numoutlets" : 2,
94 | "outlettype" : [ "float", "bang" ],
95 | "patching_rect" : [ 340.912658476829506, 468.0, 222.0, 22.0 ],
96 | "text" : "buffer~ #0Mosaique_tempPoint 10 1"
97 | }
98 |
99 | }
100 | , {
101 | "box" : {
102 | "id" : "obj-4",
103 | "maxclass" : "newobj",
104 | "numinlets" : 1,
105 | "numoutlets" : 1,
106 | "outlettype" : [ "" ],
107 | "patching_rect" : [ 92.400000000000006, 336.0, 198.0, 22.0 ],
108 | "text" : "append #0Mosaique_tempPoint"
109 | }
110 |
111 | }
112 | , {
113 | "box" : {
114 | "id" : "obj-1",
115 | "maxclass" : "newobj",
116 | "numinlets" : 1,
117 | "numoutlets" : 1,
118 | "outlettype" : [ "bang" ],
119 | "patching_rect" : [ 314.0, 250.0, 58.0, 22.0 ],
120 | "text" : "loadbang"
121 | }
122 |
123 | }
124 | , {
125 | "box" : {
126 | "id" : "obj-8",
127 | "maxclass" : "dict.view",
128 | "numinlets" : 1,
129 | "numoutlets" : 0,
130 | "patching_rect" : [ 565.0, 559.0, 252.0, 106.0 ]
131 | }
132 |
133 | }
134 | , {
135 | "box" : {
136 | "id" : "obj-5",
137 | "maxclass" : "newobj",
138 | "numinlets" : 2,
139 | "numoutlets" : 2,
140 | "outlettype" : [ "", "" ],
141 | "patching_rect" : [ 564.912658476829506, 531.0, 100.0, 22.0 ],
142 | "text" : "route dump"
143 | }
144 |
145 | }
146 | , {
147 | "box" : {
148 | "id" : "obj-2",
149 | "maxclass" : "message",
150 | "numinlets" : 2,
151 | "numoutlets" : 1,
152 | "outlettype" : [ "" ],
153 | "patching_rect" : [ 198.0, 371.0, 50.0, 22.0 ],
154 | "text" : "dump"
155 | }
156 |
157 | }
158 | , {
159 | "box" : {
160 | "id" : "obj-3",
161 | "maxclass" : "comment",
162 | "numinlets" : 1,
163 | "numoutlets" : 0,
164 | "patching_rect" : [ 124.400000000000006, 96.0, 180.0, 20.0 ],
165 | "text" : "Name of slice in the format \"# #\""
166 | }
167 |
168 | }
169 | , {
170 | "box" : {
171 | "id" : "obj-33",
172 | "maxclass" : "newobj",
173 | "numinlets" : 4,
174 | "numoutlets" : 2,
175 | "outlettype" : [ "", "" ],
176 | "patching_rect" : [ 1169.0, 483.0, 292.0, 22.0 ],
177 | "text" : "combine #1 Mosaique_ xxx CorpusAudio @triggers 2"
178 | }
179 |
180 | }
181 | , {
182 | "box" : {
183 | "id" : "obj-48",
184 | "maxclass" : "newobj",
185 | "numinlets" : 1,
186 | "numoutlets" : 1,
187 | "outlettype" : [ "" ],
188 | "patching_rect" : [ 314.0, 359.0, 81.0, 22.0 ],
189 | "text" : "prepend refer"
190 | }
191 |
192 | }
193 | , {
194 | "box" : {
195 | "id" : "obj-49",
196 | "maxclass" : "newobj",
197 | "numinlets" : 2,
198 | "numoutlets" : 2,
199 | "outlettype" : [ "", "" ],
200 | "patching_rect" : [ 314.0, 329.0, 197.0, 22.0 ],
201 | "text" : "combine #1 Mosaique_CorpusInfos"
202 | }
203 |
204 | }
205 | , {
206 | "box" : {
207 | "id" : "obj-45",
208 | "maxclass" : "newobj",
209 | "numinlets" : 0,
210 | "numoutlets" : 1,
211 | "outlettype" : [ "" ],
212 | "patching_rect" : [ 1169.0, 250.0, 135.0, 22.0 ],
213 | "text" : "r #1Mosaique_ServerID"
214 | }
215 |
216 | }
217 | , {
218 | "box" : {
219 | "id" : "obj-43",
220 | "maxclass" : "comment",
221 | "numinlets" : 1,
222 | "numoutlets" : 0,
223 | "patching_rect" : [ 1180.512658476829529, 673.0, 74.0, 20.0 ],
224 | "text" : "Buffer name"
225 | }
226 |
227 | }
228 | , {
229 | "box" : {
230 | "comment" : "Buffer name",
231 | "id" : "obj-44",
232 | "index" : 5,
233 | "maxclass" : "outlet",
234 | "numinlets" : 1,
235 | "numoutlets" : 0,
236 | "patching_rect" : [ 1169.0, 694.803797543048859, 30.0, 30.0 ]
237 | }
238 |
239 | }
240 | , {
241 | "box" : {
242 | "id" : "obj-42",
243 | "maxclass" : "newobj",
244 | "numinlets" : 1,
245 | "numoutlets" : 3,
246 | "outlettype" : [ "", "", "" ],
247 | "patching_rect" : [ 92.400000000000006, 208.0, 1277.599999999999909, 22.0 ],
248 | "text" : "t s s s"
249 | }
250 |
251 | }
252 | , {
253 | "box" : {
254 | "id" : "obj-40",
255 | "maxclass" : "comment",
256 | "numinlets" : 1,
257 | "numoutlets" : 0,
258 | "patching_rect" : [ 496.912658476829506, 725.0, 66.0, 20.0 ],
259 | "text" : "Numchans"
260 | }
261 |
262 | }
263 | , {
264 | "box" : {
265 | "comment" : "Number of channels",
266 | "id" : "obj-41",
267 | "index" : 4,
268 | "maxclass" : "outlet",
269 | "numinlets" : 1,
270 | "numoutlets" : 0,
271 | "patching_rect" : [ 485.399999999999977, 746.803797543048859, 30.0, 30.0 ]
272 | }
273 |
274 | }
275 | , {
276 | "box" : {
277 | "id" : "obj-38",
278 | "maxclass" : "comment",
279 | "numinlets" : 1,
280 | "numoutlets" : 0,
281 | "patching_rect" : [ 400.412658476829506, 725.0, 73.0, 20.0 ],
282 | "text" : "Sample rate"
283 | }
284 |
285 | }
286 | , {
287 | "box" : {
288 | "comment" : "Sampling rate",
289 | "id" : "obj-39",
290 | "index" : 3,
291 | "maxclass" : "outlet",
292 | "numinlets" : 1,
293 | "numoutlets" : 0,
294 | "patching_rect" : [ 388.899999999999977, 746.803797543048859, 30.0, 30.0 ]
295 | }
296 |
297 | }
298 | , {
299 | "box" : {
300 | "id" : "obj-37",
301 | "maxclass" : "comment",
302 | "numinlets" : 1,
303 | "numoutlets" : 0,
304 | "patching_rect" : [ 303.912658476829506, 725.0, 54.0, 20.0 ],
305 | "text" : "Duration"
306 | }
307 |
308 | }
309 | , {
310 | "box" : {
311 | "comment" : "Duration",
312 | "id" : "obj-36",
313 | "index" : 2,
314 | "maxclass" : "outlet",
315 | "numinlets" : 1,
316 | "numoutlets" : 0,
317 | "patching_rect" : [ 292.399999999999977, 746.803797543048859, 30.0, 30.0 ]
318 | }
319 |
320 | }
321 | , {
322 | "box" : {
323 | "id" : "obj-35",
324 | "maxclass" : "newobj",
325 | "numinlets" : 1,
326 | "numoutlets" : 4,
327 | "outlettype" : [ "float", "float", "float", "int" ],
328 | "patching_rect" : [ 292.399999999999977, 685.0, 308.500000000000114, 22.0 ],
329 | "text" : "unpack f f f i"
330 | }
331 |
332 | }
333 | , {
334 | "box" : {
335 | "id" : "obj-31",
336 | "maxclass" : "comment",
337 | "numinlets" : 1,
338 | "numoutlets" : 0,
339 | "patching_rect" : [ 106.912658476829534, 725.0, 49.0, 20.0 ],
340 | "text" : "Bounds"
341 | }
342 |
343 | }
344 | , {
345 | "box" : {
346 | "comment" : "Bounds",
347 | "id" : "obj-27",
348 | "index" : 1,
349 | "maxclass" : "outlet",
350 | "numinlets" : 1,
351 | "numoutlets" : 0,
352 | "patching_rect" : [ 91.912658476829534, 741.0, 30.0, 30.0 ]
353 | }
354 |
355 | }
356 | , {
357 | "box" : {
358 | "id" : "obj-26",
359 | "maxclass" : "newobj",
360 | "numinlets" : 2,
361 | "numoutlets" : 2,
362 | "outlettype" : [ "", "" ],
363 | "patching_rect" : [ 92.400000000000006, 651.0, 219.0, 22.0 ],
364 | "text" : "zl.slice 2"
365 | }
366 |
367 | }
368 | , {
369 | "box" : {
370 | "id" : "obj-22",
371 | "maxclass" : "newobj",
372 | "numinlets" : 2,
373 | "numoutlets" : 1,
374 | "outlettype" : [ "list" ],
375 | "patching_rect" : [ 92.400000000000006, 550.0, 72.0, 22.0 ],
376 | "text" : "fluid.buf2list"
377 | }
378 |
379 | }
380 | , {
381 | "box" : {
382 | "id" : "obj-10",
383 | "maxclass" : "newobj",
384 | "numinlets" : 2,
385 | "numoutlets" : 2,
386 | "outlettype" : [ "", "" ],
387 | "patching_rect" : [ 92.400000000000006, 505.0, 140.0, 22.0 ],
388 | "text" : "substitute getpoint buffer"
389 | }
390 |
391 | }
392 | , {
393 | "box" : {
394 | "id" : "obj-7",
395 | "maxclass" : "newobj",
396 | "numinlets" : 1,
397 | "numoutlets" : 1,
398 | "outlettype" : [ "" ],
399 | "patching_rect" : [ 92.400000000000006, 298.0, 99.0, 22.0 ],
400 | "text" : "prepend getpoint"
401 | }
402 |
403 | }
404 | , {
405 | "box" : {
406 | "id" : "obj-6",
407 | "maxclass" : "newobj",
408 | "numinlets" : 1,
409 | "numoutlets" : 2,
410 | "outlettype" : [ "", "" ],
411 | "patching_rect" : [ 92.400000000000006, 468.0, 219.0, 22.0 ],
412 | "text" : "fluid.dataset~ ---Mosaique_CorpusInfos"
413 | }
414 |
415 | }
416 | , {
417 | "box" : {
418 | "id" : "obj-56",
419 | "maxclass" : "newobj",
420 | "numinlets" : 1,
421 | "numoutlets" : 2,
422 | "outlettype" : [ "int", "int" ],
423 | "patching_rect" : [ 1351.0, 389.0, 59.0, 22.0 ],
424 | "text" : "unpack i i"
425 | }
426 |
427 | }
428 | , {
429 | "box" : {
430 | "id" : "obj-55",
431 | "maxclass" : "newobj",
432 | "numinlets" : 1,
433 | "numoutlets" : 1,
434 | "outlettype" : [ "" ],
435 | "patching_rect" : [ 1351.0, 350.0, 71.0, 22.0 ],
436 | "text" : "fromsymbol"
437 | }
438 |
439 | }
440 | , {
441 | "box" : {
442 | "comment" : "Name of slice \"# #\"",
443 | "id" : "obj-53",
444 | "index" : 1,
445 | "maxclass" : "inlet",
446 | "numinlets" : 0,
447 | "numoutlets" : 1,
448 | "outlettype" : [ "" ],
449 | "patching_rect" : [ 92.400000000000006, 91.0, 30.0, 30.0 ]
450 | }
451 |
452 | }
453 | ],
454 | "lines" : [ {
455 | "patchline" : {
456 | "destination" : [ "obj-33", 0 ],
457 | "midpoints" : [ 323.5, 295.0, 1178.5, 295.0 ],
458 | "order" : 0,
459 | "source" : [ "obj-1", 0 ]
460 | }
461 |
462 | }
463 | , {
464 | "patchline" : {
465 | "destination" : [ "obj-49", 0 ],
466 | "order" : 1,
467 | "source" : [ "obj-1", 0 ]
468 | }
469 |
470 | }
471 | , {
472 | "patchline" : {
473 | "destination" : [ "obj-22", 0 ],
474 | "source" : [ "obj-10", 0 ]
475 | }
476 |
477 | }
478 | , {
479 | "patchline" : {
480 | "destination" : [ "obj-26", 0 ],
481 | "source" : [ "obj-11", 0 ]
482 | }
483 |
484 | }
485 | , {
486 | "patchline" : {
487 | "destination" : [ "obj-9", 0 ],
488 | "source" : [ "obj-13", 0 ]
489 | }
490 |
491 | }
492 | , {
493 | "patchline" : {
494 | "destination" : [ "obj-7", 0 ],
495 | "source" : [ "obj-15", 0 ]
496 | }
497 |
498 | }
499 | , {
500 | "patchline" : {
501 | "destination" : [ "obj-6", 0 ],
502 | "source" : [ "obj-2", 0 ]
503 | }
504 |
505 | }
506 | , {
507 | "patchline" : {
508 | "destination" : [ "obj-11", 0 ],
509 | "source" : [ "obj-22", 0 ]
510 | }
511 |
512 | }
513 | , {
514 | "patchline" : {
515 | "destination" : [ "obj-27", 0 ],
516 | "source" : [ "obj-26", 0 ]
517 | }
518 |
519 | }
520 | , {
521 | "patchline" : {
522 | "destination" : [ "obj-35", 0 ],
523 | "source" : [ "obj-26", 1 ]
524 | }
525 |
526 | }
527 | , {
528 | "patchline" : {
529 | "destination" : [ "obj-44", 0 ],
530 | "source" : [ "obj-33", 0 ]
531 | }
532 |
533 | }
534 | , {
535 | "patchline" : {
536 | "destination" : [ "obj-36", 0 ],
537 | "source" : [ "obj-35", 0 ]
538 | }
539 |
540 | }
541 | , {
542 | "patchline" : {
543 | "destination" : [ "obj-39", 0 ],
544 | "source" : [ "obj-35", 1 ]
545 | }
546 |
547 | }
548 | , {
549 | "patchline" : {
550 | "destination" : [ "obj-41", 0 ],
551 | "source" : [ "obj-35", 2 ]
552 | }
553 |
554 | }
555 | , {
556 | "patchline" : {
557 | "destination" : [ "obj-6", 0 ],
558 | "source" : [ "obj-4", 0 ]
559 | }
560 |
561 | }
562 | , {
563 | "patchline" : {
564 | "destination" : [ "obj-55", 0 ],
565 | "source" : [ "obj-42", 2 ]
566 | }
567 |
568 | }
569 | , {
570 | "patchline" : {
571 | "destination" : [ "obj-7", 0 ],
572 | "source" : [ "obj-42", 0 ]
573 | }
574 |
575 | }
576 | , {
577 | "patchline" : {
578 | "color" : [ 0.863766551017761, 0.0, 0.67025101184845, 1.0 ],
579 | "destination" : [ "obj-33", 0 ],
580 | "order" : 0,
581 | "source" : [ "obj-45", 0 ]
582 | }
583 |
584 | }
585 | , {
586 | "patchline" : {
587 | "color" : [ 0.863766551017761, 0.0, 0.67025101184845, 1.0 ],
588 | "destination" : [ "obj-49", 0 ],
589 | "order" : 1,
590 | "source" : [ "obj-45", 0 ]
591 | }
592 |
593 | }
594 | , {
595 | "patchline" : {
596 | "destination" : [ "obj-6", 0 ],
597 | "source" : [ "obj-48", 0 ]
598 | }
599 |
600 | }
601 | , {
602 | "patchline" : {
603 | "destination" : [ "obj-48", 0 ],
604 | "source" : [ "obj-49", 0 ]
605 | }
606 |
607 | }
608 | , {
609 | "patchline" : {
610 | "destination" : [ "obj-8", 0 ],
611 | "source" : [ "obj-5", 0 ]
612 | }
613 |
614 | }
615 | , {
616 | "patchline" : {
617 | "destination" : [ "obj-42", 0 ],
618 | "source" : [ "obj-53", 0 ]
619 | }
620 |
621 | }
622 | , {
623 | "patchline" : {
624 | "destination" : [ "obj-56", 0 ],
625 | "source" : [ "obj-55", 0 ]
626 | }
627 |
628 | }
629 | , {
630 | "patchline" : {
631 | "destination" : [ "obj-33", 2 ],
632 | "source" : [ "obj-56", 0 ]
633 | }
634 |
635 | }
636 | , {
637 | "patchline" : {
638 | "destination" : [ "obj-10", 0 ],
639 | "source" : [ "obj-6", 0 ]
640 | }
641 |
642 | }
643 | , {
644 | "patchline" : {
645 | "destination" : [ "obj-5", 0 ],
646 | "source" : [ "obj-6", 1 ]
647 | }
648 |
649 | }
650 | , {
651 | "patchline" : {
652 | "destination" : [ "obj-4", 0 ],
653 | "source" : [ "obj-7", 0 ]
654 | }
655 |
656 | }
657 | ],
658 | "saved_attribute_attributes" : {
659 | "default_plcolor" : {
660 | "expression" : ""
661 | }
662 |
663 | }
664 |
665 | }
666 |
667 | }
668 |
--------------------------------------------------------------------------------
/_mosaique.importProgress.maxpat:
--------------------------------------------------------------------------------
1 | {
2 | "patcher" : {
3 | "fileversion" : 1,
4 | "appversion" : {
5 | "major" : 8,
6 | "minor" : 6,
7 | "revision" : 0,
8 | "architecture" : "x64",
9 | "modernui" : 1
10 | }
11 | ,
12 | "classnamespace" : "box",
13 | "rect" : [ 59.0, 125.0, 1202.0, 683.0 ],
14 | "bglocked" : 0,
15 | "openinpresentation" : 1,
16 | "default_fontsize" : 12.0,
17 | "default_fontface" : 0,
18 | "default_fontname" : "Arial",
19 | "gridonopen" : 1,
20 | "gridsize" : [ 15.0, 15.0 ],
21 | "gridsnaponopen" : 1,
22 | "objectsnaponopen" : 1,
23 | "statusbarvisible" : 2,
24 | "toolbarvisible" : 1,
25 | "lefttoolbarpinned" : 0,
26 | "toptoolbarpinned" : 0,
27 | "righttoolbarpinned" : 0,
28 | "bottomtoolbarpinned" : 0,
29 | "toolbars_unpinned_last_save" : 0,
30 | "tallnewobj" : 0,
31 | "boxanimatetime" : 200,
32 | "enablehscroll" : 1,
33 | "enablevscroll" : 1,
34 | "devicewidth" : 0.0,
35 | "description" : "",
36 | "digest" : "",
37 | "tags" : "",
38 | "style" : "",
39 | "subpatcher_template" : "",
40 | "assistshowspatchername" : 0,
41 | "boxes" : [ {
42 | "box" : {
43 | "id" : "obj-6",
44 | "maxclass" : "newobj",
45 | "numinlets" : 1,
46 | "numoutlets" : 0,
47 | "patching_rect" : [ 349.0, 448.0, 168.0, 22.0 ],
48 | "text" : "s #1Mosaique_importProcess"
49 | }
50 |
51 | }
52 | , {
53 | "box" : {
54 | "id" : "obj-5",
55 | "maxclass" : "newobj",
56 | "numinlets" : 1,
57 | "numoutlets" : 1,
58 | "outlettype" : [ "int" ],
59 | "patching_rect" : [ 467.307705402374268, 338.0, 22.0, 22.0 ],
60 | "text" : "t 0"
61 | }
62 |
63 | }
64 | , {
65 | "box" : {
66 | "id" : "obj-4",
67 | "maxclass" : "newobj",
68 | "numinlets" : 2,
69 | "numoutlets" : 2,
70 | "outlettype" : [ "bang", "" ],
71 | "patching_rect" : [ 467.307705402374268, 257.470818221569061, 34.0, 22.0 ],
72 | "text" : "sel 5"
73 | }
74 |
75 | }
76 | , {
77 | "box" : {
78 | "id" : "obj-2",
79 | "maxclass" : "newobj",
80 | "numinlets" : 2,
81 | "numoutlets" : 1,
82 | "outlettype" : [ "bang" ],
83 | "patching_rect" : [ 467.307705402374268, 297.745223999023438, 55.0, 22.0 ],
84 | "text" : "del 1000"
85 | }
86 |
87 | }
88 | , {
89 | "box" : {
90 | "fontname" : "Avenir Heavy",
91 | "id" : "obj-160",
92 | "maxclass" : "comment",
93 | "numinlets" : 1,
94 | "numoutlets" : 0,
95 | "patching_rect" : [ 769.003444224596024, 315.729606062173843, 20.0, 23.0 ],
96 | "presentation" : 1,
97 | "presentation_rect" : [ 143.162155629106451, 108.895753000000013, 20.0, 23.0 ],
98 | "text" : "%",
99 | "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ]
100 | }
101 |
102 | }
103 | , {
104 | "box" : {
105 | "fontname" : "Avenir Heavy",
106 | "id" : "obj-158",
107 | "linecount" : 2,
108 | "maxclass" : "comment",
109 | "numinlets" : 1,
110 | "numoutlets" : 0,
111 | "patching_rect" : [ 749.918825954198837, 315.729606062173843, 26.0, 39.0 ],
112 | "presentation" : 1,
113 | "presentation_rect" : [ 120.077537358709264, 108.895753000000013, 30.0, 23.0 ],
114 | "text" : "100",
115 | "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
116 | "textjustification" : 2
117 | }
118 |
119 | }
120 | , {
121 | "box" : {
122 | "bgcolor" : [ 0.2, 0.2, 0.2, 0.0 ],
123 | "elementcolor" : [ 0.37, 0.37, 0.37, 1.0 ],
124 | "id" : "obj-157",
125 | "ignoreclick" : 1,
126 | "knobcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
127 | "maxclass" : "slider",
128 | "numinlets" : 1,
129 | "numoutlets" : 1,
130 | "outlettype" : [ "" ],
131 | "parameter_enable" : 0,
132 | "patching_rect" : [ 795.051993668079376, 257.397663116455078, 145.850338935852051, 10.0 ],
133 | "presentation" : 1,
134 | "presentation_rect" : [ 48.152367890783239, 96.895753000000013, 187.850338935852051, 10.0 ],
135 | "size" : 6.0
136 | }
137 |
138 | }
139 | , {
140 | "box" : {
141 | "fontname" : "Avenir Heavy",
142 | "id" : "obj-143",
143 | "maxclass" : "comment",
144 | "numinlets" : 1,
145 | "numoutlets" : 0,
146 | "patching_rect" : [ 548.558283656835556, 439.0, 115.441716343164444, 23.0 ],
147 | "presentation" : 1,
148 | "presentation_rect" : [ 75.077537358709264, 67.895753000000013, 134.0, 23.0 ],
149 | "text" : "have fun!",
150 | "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
151 | "textjustification" : 1
152 | }
153 |
154 | }
155 | , {
156 | "box" : {
157 | "fontname" : "Avenir Black",
158 | "id" : "obj-139",
159 | "maxclass" : "comment",
160 | "numinlets" : 1,
161 | "numoutlets" : 0,
162 | "patching_rect" : [ 219.0, 275.745223999023438, 145.0, 23.0 ],
163 | "presentation" : 1,
164 | "presentation_rect" : [ 69.577537358709264, 25.745223999023438, 145.0, 23.0 ],
165 | "text" : "CORPUS IMPORTATION",
166 | "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ]
167 | }
168 |
169 | }
170 | , {
171 | "box" : {
172 | "id" : "obj-175",
173 | "maxclass" : "newobj",
174 | "numinlets" : 1,
175 | "numoutlets" : 1,
176 | "outlettype" : [ "" ],
177 | "patching_rect" : [ 324.111817955970764, 216.922726899385452, 108.0, 22.0 ],
178 | "text" : "prepend knobcolor"
179 | }
180 |
181 | }
182 | , {
183 | "box" : {
184 | "id" : "obj-174",
185 | "maxclass" : "newobj",
186 | "numinlets" : 1,
187 | "numoutlets" : 1,
188 | "outlettype" : [ "" ],
189 | "patching_rect" : [ 432.307705402374268, 216.922726899385452, 125.0, 22.0 ],
190 | "text" : "prepend elementcolor"
191 | }
192 |
193 | }
194 | , {
195 | "box" : {
196 | "id" : "obj-171",
197 | "maxclass" : "message",
198 | "numinlets" : 2,
199 | "numoutlets" : 1,
200 | "outlettype" : [ "" ],
201 | "patching_rect" : [ 432.307705402374268, 191.709051430225372, 99.0, 22.0 ],
202 | "text" : "0.37 0.37 0.37 1."
203 | }
204 |
205 | }
206 | , {
207 | "box" : {
208 | "id" : "obj-163",
209 | "maxclass" : "message",
210 | "numinlets" : 2,
211 | "numoutlets" : 1,
212 | "outlettype" : [ "" ],
213 | "patching_rect" : [ 219.0, 178.530497670173645, 59.0, 22.0 ],
214 | "text" : "1. 1. 1. 0."
215 | }
216 |
217 | }
218 | , {
219 | "box" : {
220 | "id" : "obj-162",
221 | "maxclass" : "message",
222 | "numinlets" : 2,
223 | "numoutlets" : 1,
224 | "outlettype" : [ "" ],
225 | "patching_rect" : [ 288.0, 178.530497670173645, 59.0, 22.0 ],
226 | "text" : "1. 1. 1. 1."
227 | }
228 |
229 | }
230 | , {
231 | "box" : {
232 | "id" : "obj-159",
233 | "maxclass" : "newobj",
234 | "numinlets" : 1,
235 | "numoutlets" : 1,
236 | "outlettype" : [ "" ],
237 | "patching_rect" : [ 749.918825954198837, 287.180539429187775, 72.0, 22.0 ],
238 | "text" : "prepend set"
239 | }
240 |
241 | }
242 | , {
243 | "box" : {
244 | "id" : "obj-154",
245 | "maxclass" : "newobj",
246 | "numinlets" : 1,
247 | "numoutlets" : 4,
248 | "outlettype" : [ "int", "int", "int", "int" ],
249 | "patching_rect" : [ 548.558283656835556, 183.877062857151031, 50.5, 22.0 ],
250 | "text" : "t i i i i"
251 | }
252 |
253 | }
254 | , {
255 | "box" : {
256 | "id" : "obj-153",
257 | "maxclass" : "newobj",
258 | "numinlets" : 2,
259 | "numoutlets" : 1,
260 | "outlettype" : [ "int" ],
261 | "patching_rect" : [ 749.918825954198837, 257.397663116455078, 30.0, 22.0 ],
262 | "text" : "* 20"
263 | }
264 |
265 | }
266 | , {
267 | "box" : {
268 | "id" : "obj-152",
269 | "maxclass" : "newobj",
270 | "numinlets" : 2,
271 | "numoutlets" : 2,
272 | "outlettype" : [ "", "" ],
273 | "patching_rect" : [ 548.558283656835556, 297.745223999023438, 77.0, 22.0 ],
274 | "text" : "route symbol"
275 | }
276 |
277 | }
278 | , {
279 | "box" : {
280 | "id" : "obj-151",
281 | "maxclass" : "newobj",
282 | "numinlets" : 1,
283 | "numoutlets" : 1,
284 | "outlettype" : [ "" ],
285 | "patching_rect" : [ 548.558283656835556, 396.0, 72.0, 22.0 ],
286 | "text" : "prepend set"
287 | }
288 |
289 | }
290 | , {
291 | "box" : {
292 | "id" : "obj-148",
293 | "maxclass" : "newobj",
294 | "numinlets" : 1,
295 | "numoutlets" : 1,
296 | "outlettype" : [ "" ],
297 | "patching_rect" : [ 548.558283656835556, 369.0, 112.0, 22.0 ],
298 | "text" : "fromsymbol symbol"
299 | }
300 |
301 | }
302 | , {
303 | "box" : {
304 | "coll_data" : {
305 | "count" : 5,
306 | "data" : [ {
307 | "key" : 1,
308 | "value" : [ "importing audio" ]
309 | }
310 | , {
311 | "key" : 2,
312 | "value" : [ "analyzing audio" ]
313 | }
314 | , {
315 | "key" : 3,
316 | "value" : [ "reducing dimensions" ]
317 | }
318 | , {
319 | "key" : 4,
320 | "value" : [ "updating mosaïque" ]
321 | }
322 | , {
323 | "key" : 5,
324 | "value" : [ "have fun!" ]
325 | }
326 | ]
327 | }
328 | ,
329 | "id" : "obj-147",
330 | "maxclass" : "newobj",
331 | "numinlets" : 1,
332 | "numoutlets" : 4,
333 | "outlettype" : [ "", "", "", "" ],
334 | "patching_rect" : [ 548.558283656835556, 257.470818221569061, 191.0, 22.0 ],
335 | "saved_object_attributes" : {
336 | "embed" : 1,
337 | "precision" : 6
338 | }
339 | ,
340 | "text" : "coll #1Mosaique_importProcesses"
341 | }
342 |
343 | }
344 | , {
345 | "box" : {
346 | "id" : "obj-142",
347 | "maxclass" : "newobj",
348 | "numinlets" : 1,
349 | "numoutlets" : 1,
350 | "outlettype" : [ "" ],
351 | "patching_rect" : [ 219.0, 216.711614042520523, 101.0, 22.0 ],
352 | "text" : "prepend textcolor"
353 | }
354 |
355 | }
356 | , {
357 | "box" : {
358 | "id" : "obj-110",
359 | "maxclass" : "newobj",
360 | "numinlets" : 2,
361 | "numoutlets" : 2,
362 | "outlettype" : [ "bang", "" ],
363 | "patching_rect" : [ 50.0, 137.059016764163971, 34.0, 22.0 ],
364 | "text" : "sel 0"
365 | }
366 |
367 | }
368 | , {
369 | "box" : {
370 | "id" : "obj-108",
371 | "maxclass" : "newobj",
372 | "numinlets" : 0,
373 | "numoutlets" : 1,
374 | "outlettype" : [ "" ],
375 | "patching_rect" : [ 50.0, 100.0, 165.0, 22.0 ],
376 | "text" : "r #1Mosaique_importProcess"
377 | }
378 |
379 | }
380 | , {
381 | "box" : {
382 | "id" : "obj-107",
383 | "maxclass" : "message",
384 | "numinlets" : 2,
385 | "numoutlets" : 1,
386 | "outlettype" : [ "" ],
387 | "patching_rect" : [ 131.0, 178.530497670173645, 85.0, 22.0 ],
388 | "text" : "0.3 0.3 0.3 0.8"
389 | }
390 |
391 | }
392 | , {
393 | "box" : {
394 | "id" : "obj-106",
395 | "maxclass" : "message",
396 | "numinlets" : 2,
397 | "numoutlets" : 1,
398 | "outlettype" : [ "" ],
399 | "patching_rect" : [ 50.0, 178.530497670173645, 79.0, 22.0 ],
400 | "text" : "0.3 0.3 0.3 0."
401 | }
402 |
403 | }
404 | , {
405 | "box" : {
406 | "id" : "obj-104",
407 | "maxclass" : "newobj",
408 | "numinlets" : 1,
409 | "numoutlets" : 1,
410 | "outlettype" : [ "" ],
411 | "patching_rect" : [ 50.0, 216.711614042520523, 107.0, 22.0 ],
412 | "text" : "prepend bgfillcolor"
413 | }
414 |
415 | }
416 | , {
417 | "box" : {
418 | "angle" : 270.0,
419 | "bgcolor" : [ 0.3, 0.3, 0.3, 0.8 ],
420 | "id" : "obj-84",
421 | "maxclass" : "panel",
422 | "mode" : 0,
423 | "numinlets" : 1,
424 | "numoutlets" : 0,
425 | "patching_rect" : [ 50.0, 244.745223999023438, 128.0, 128.0 ],
426 | "presentation" : 1,
427 | "presentation_rect" : [ 0.126365999999962, -0.5, 283.902342717418605, 167.791505999999998 ],
428 | "proportion" : 0.39,
429 | "saved_attribute_attributes" : {
430 | "bgfillcolor" : {
431 | "expression" : ""
432 | }
433 |
434 | }
435 |
436 | }
437 |
438 | }
439 | ],
440 | "lines" : [ {
441 | "patchline" : {
442 | "destination" : [ "obj-84", 0 ],
443 | "source" : [ "obj-104", 0 ]
444 | }
445 |
446 | }
447 | , {
448 | "patchline" : {
449 | "destination" : [ "obj-104", 0 ],
450 | "source" : [ "obj-106", 0 ]
451 | }
452 |
453 | }
454 | , {
455 | "patchline" : {
456 | "destination" : [ "obj-104", 0 ],
457 | "source" : [ "obj-107", 0 ]
458 | }
459 |
460 | }
461 | , {
462 | "patchline" : {
463 | "destination" : [ "obj-110", 0 ],
464 | "order" : 1,
465 | "source" : [ "obj-108", 0 ]
466 | }
467 |
468 | }
469 | , {
470 | "patchline" : {
471 | "destination" : [ "obj-154", 0 ],
472 | "midpoints" : [ 59.5, 130.416131407022476, 558.058283656835556, 130.416131407022476 ],
473 | "order" : 0,
474 | "source" : [ "obj-108", 0 ]
475 | }
476 |
477 | }
478 | , {
479 | "patchline" : {
480 | "destination" : [ "obj-106", 0 ],
481 | "order" : 1,
482 | "source" : [ "obj-110", 0 ]
483 | }
484 |
485 | }
486 | , {
487 | "patchline" : {
488 | "destination" : [ "obj-107", 0 ],
489 | "order" : 2,
490 | "source" : [ "obj-110", 1 ]
491 | }
492 |
493 | }
494 | , {
495 | "patchline" : {
496 | "destination" : [ "obj-162", 0 ],
497 | "order" : 1,
498 | "source" : [ "obj-110", 1 ]
499 | }
500 |
501 | }
502 | , {
503 | "patchline" : {
504 | "destination" : [ "obj-163", 0 ],
505 | "order" : 0,
506 | "source" : [ "obj-110", 0 ]
507 | }
508 |
509 | }
510 | , {
511 | "patchline" : {
512 | "destination" : [ "obj-171", 0 ],
513 | "order" : 0,
514 | "source" : [ "obj-110", 1 ]
515 | }
516 |
517 | }
518 | , {
519 | "patchline" : {
520 | "destination" : [ "obj-139", 0 ],
521 | "order" : 3,
522 | "source" : [ "obj-142", 0 ]
523 | }
524 |
525 | }
526 | , {
527 | "patchline" : {
528 | "destination" : [ "obj-143", 0 ],
529 | "order" : 2,
530 | "source" : [ "obj-142", 0 ]
531 | }
532 |
533 | }
534 | , {
535 | "patchline" : {
536 | "destination" : [ "obj-158", 0 ],
537 | "order" : 1,
538 | "source" : [ "obj-142", 0 ]
539 | }
540 |
541 | }
542 | , {
543 | "patchline" : {
544 | "destination" : [ "obj-160", 0 ],
545 | "order" : 0,
546 | "source" : [ "obj-142", 0 ]
547 | }
548 |
549 | }
550 | , {
551 | "patchline" : {
552 | "destination" : [ "obj-152", 0 ],
553 | "source" : [ "obj-147", 0 ]
554 | }
555 |
556 | }
557 | , {
558 | "patchline" : {
559 | "destination" : [ "obj-151", 0 ],
560 | "source" : [ "obj-148", 0 ]
561 | }
562 |
563 | }
564 | , {
565 | "patchline" : {
566 | "destination" : [ "obj-143", 0 ],
567 | "source" : [ "obj-151", 0 ]
568 | }
569 |
570 | }
571 | , {
572 | "patchline" : {
573 | "destination" : [ "obj-148", 0 ],
574 | "source" : [ "obj-152", 0 ]
575 | }
576 |
577 | }
578 | , {
579 | "patchline" : {
580 | "destination" : [ "obj-159", 0 ],
581 | "source" : [ "obj-153", 0 ]
582 | }
583 |
584 | }
585 | , {
586 | "patchline" : {
587 | "destination" : [ "obj-147", 0 ],
588 | "source" : [ "obj-154", 1 ]
589 | }
590 |
591 | }
592 | , {
593 | "patchline" : {
594 | "destination" : [ "obj-153", 0 ],
595 | "source" : [ "obj-154", 2 ]
596 | }
597 |
598 | }
599 | , {
600 | "patchline" : {
601 | "destination" : [ "obj-157", 0 ],
602 | "source" : [ "obj-154", 3 ]
603 | }
604 |
605 | }
606 | , {
607 | "patchline" : {
608 | "destination" : [ "obj-4", 0 ],
609 | "source" : [ "obj-154", 0 ]
610 | }
611 |
612 | }
613 | , {
614 | "patchline" : {
615 | "destination" : [ "obj-158", 0 ],
616 | "source" : [ "obj-159", 0 ]
617 | }
618 |
619 | }
620 | , {
621 | "patchline" : {
622 | "destination" : [ "obj-142", 0 ],
623 | "order" : 1,
624 | "source" : [ "obj-162", 0 ]
625 | }
626 |
627 | }
628 | , {
629 | "patchline" : {
630 | "destination" : [ "obj-175", 0 ],
631 | "order" : 0,
632 | "source" : [ "obj-162", 0 ]
633 | }
634 |
635 | }
636 | , {
637 | "patchline" : {
638 | "destination" : [ "obj-142", 0 ],
639 | "order" : 2,
640 | "source" : [ "obj-163", 0 ]
641 | }
642 |
643 | }
644 | , {
645 | "patchline" : {
646 | "destination" : [ "obj-174", 0 ],
647 | "order" : 0,
648 | "source" : [ "obj-163", 0 ]
649 | }
650 |
651 | }
652 | , {
653 | "patchline" : {
654 | "destination" : [ "obj-175", 0 ],
655 | "order" : 1,
656 | "source" : [ "obj-163", 0 ]
657 | }
658 |
659 | }
660 | , {
661 | "patchline" : {
662 | "destination" : [ "obj-174", 0 ],
663 | "source" : [ "obj-171", 0 ]
664 | }
665 |
666 | }
667 | , {
668 | "patchline" : {
669 | "destination" : [ "obj-157", 0 ],
670 | "source" : [ "obj-174", 0 ]
671 | }
672 |
673 | }
674 | , {
675 | "patchline" : {
676 | "destination" : [ "obj-157", 0 ],
677 | "source" : [ "obj-175", 0 ]
678 | }
679 |
680 | }
681 | , {
682 | "patchline" : {
683 | "destination" : [ "obj-5", 0 ],
684 | "source" : [ "obj-2", 0 ]
685 | }
686 |
687 | }
688 | , {
689 | "patchline" : {
690 | "destination" : [ "obj-2", 0 ],
691 | "source" : [ "obj-4", 0 ]
692 | }
693 |
694 | }
695 | , {
696 | "patchline" : {
697 | "destination" : [ "obj-6", 0 ],
698 | "source" : [ "obj-5", 0 ]
699 | }
700 |
701 | }
702 | ]
703 | }
704 |
705 | }
706 |
--------------------------------------------------------------------------------
/_mosaique.clearAll.maxpat:
--------------------------------------------------------------------------------
1 | {
2 | "patcher" : {
3 | "fileversion" : 1,
4 | "appversion" : {
5 | "major" : 8,
6 | "minor" : 6,
7 | "revision" : 4,
8 | "architecture" : "x64",
9 | "modernui" : 1
10 | }
11 | ,
12 | "classnamespace" : "box",
13 | "rect" : [ -125.0, 187.0, 1988.0, 771.0 ],
14 | "bglocked" : 0,
15 | "openinpresentation" : 0,
16 | "default_fontsize" : 12.0,
17 | "default_fontface" : 0,
18 | "default_fontname" : "Arial",
19 | "gridonopen" : 1,
20 | "gridsize" : [ 15.0, 15.0 ],
21 | "gridsnaponopen" : 1,
22 | "objectsnaponopen" : 1,
23 | "statusbarvisible" : 2,
24 | "toolbarvisible" : 1,
25 | "lefttoolbarpinned" : 0,
26 | "toptoolbarpinned" : 0,
27 | "righttoolbarpinned" : 0,
28 | "bottomtoolbarpinned" : 0,
29 | "toolbars_unpinned_last_save" : 0,
30 | "tallnewobj" : 0,
31 | "boxanimatetime" : 200,
32 | "enablehscroll" : 1,
33 | "enablevscroll" : 1,
34 | "devicewidth" : 0.0,
35 | "description" : "",
36 | "digest" : "",
37 | "tags" : "",
38 | "style" : "",
39 | "subpatcher_template" : "",
40 | "assistshowspatchername" : 0,
41 | "boxes" : [ {
42 | "box" : {
43 | "id" : "obj-16",
44 | "maxclass" : "newobj",
45 | "numinlets" : 1,
46 | "numoutlets" : 2,
47 | "outlettype" : [ "bang", "bang" ],
48 | "patching_rect" : [ 1680.0, 313.0, 32.0, 22.0 ],
49 | "text" : "t b b"
50 | }
51 |
52 | }
53 | , {
54 | "box" : {
55 | "id" : "obj-7",
56 | "maxclass" : "newobj",
57 | "numinlets" : 2,
58 | "numoutlets" : 2,
59 | "outlettype" : [ "bang", "" ],
60 | "patching_rect" : [ 1665.0, 283.0, 34.0, 22.0 ],
61 | "text" : "sel 0"
62 | }
63 |
64 | }
65 | , {
66 | "box" : {
67 | "id" : "obj-6",
68 | "maxclass" : "newobj",
69 | "numinlets" : 2,
70 | "numoutlets" : 2,
71 | "outlettype" : [ "", "" ],
72 | "patching_rect" : [ 1665.0, 248.0, 61.0, 22.0 ],
73 | "text" : "route size"
74 | }
75 |
76 | }
77 | , {
78 | "box" : {
79 | "id" : "obj-4",
80 | "maxclass" : "newobj",
81 | "numinlets" : 1,
82 | "numoutlets" : 2,
83 | "outlettype" : [ "", "" ],
84 | "patching_rect" : [ 1665.0, 218.0, 226.0, 22.0 ],
85 | "text" : "fluid.dataset~ #1Mosaique_CorpusInfos"
86 | }
87 |
88 | }
89 | , {
90 | "box" : {
91 | "id" : "obj-3",
92 | "maxclass" : "newobj",
93 | "numinlets" : 1,
94 | "numoutlets" : 1,
95 | "outlettype" : [ "size" ],
96 | "patching_rect" : [ 1665.0, 188.0, 37.0, 22.0 ],
97 | "text" : "t size"
98 | }
99 |
100 | }
101 | , {
102 | "box" : {
103 | "id" : "obj-9",
104 | "maxclass" : "newobj",
105 | "numinlets" : 2,
106 | "numoutlets" : 1,
107 | "outlettype" : [ "" ],
108 | "patching_rect" : [ 446.0, 371.0, 287.0, 22.0 ],
109 | "text" : "_mosaique.dictValueGetSet #1 #2Corpus::analysisSR"
110 | }
111 |
112 | }
113 | , {
114 | "box" : {
115 | "id" : "obj-19",
116 | "maxclass" : "newobj",
117 | "numinlets" : 1,
118 | "numoutlets" : 1,
119 | "outlettype" : [ "" ],
120 | "patching_rect" : [ 2013.0, 674.0, 115.0, 22.0 ],
121 | "text" : "prepend deletepoint"
122 | }
123 |
124 | }
125 | , {
126 | "box" : {
127 | "id" : "obj-20",
128 | "maxclass" : "newobj",
129 | "numinlets" : 1,
130 | "numoutlets" : 1,
131 | "outlettype" : [ "" ],
132 | "patching_rect" : [ 2013.0, 645.0, 57.0, 22.0 ],
133 | "text" : "tosymbol"
134 | }
135 |
136 | }
137 | , {
138 | "box" : {
139 | "id" : "obj-21",
140 | "maxclass" : "newobj",
141 | "numinlets" : 1,
142 | "numoutlets" : 1,
143 | "outlettype" : [ "" ],
144 | "patching_rect" : [ 2013.0, 614.0, 69.0, 22.0 ],
145 | "text" : "prepend #2"
146 | }
147 |
148 | }
149 | , {
150 | "box" : {
151 | "id" : "obj-86",
152 | "maxclass" : "newobj",
153 | "numinlets" : 1,
154 | "numoutlets" : 2,
155 | "outlettype" : [ "", "" ],
156 | "patching_rect" : [ 2013.0, 702.0, 239.0, 22.0 ],
157 | "text" : "fluid.dataset~ #1Mosaique_CorpusAnalysis"
158 | }
159 |
160 | }
161 | , {
162 | "box" : {
163 | "id" : "obj-75",
164 | "maxclass" : "message",
165 | "numinlets" : 2,
166 | "numoutlets" : 1,
167 | "outlettype" : [ "" ],
168 | "patching_rect" : [ 1205.5, 222.0, 35.0, 22.0 ],
169 | "text" : "clear"
170 | }
171 |
172 | }
173 | , {
174 | "box" : {
175 | "id" : "obj-73",
176 | "maxclass" : "message",
177 | "numinlets" : 2,
178 | "numoutlets" : 1,
179 | "outlettype" : [ "" ],
180 | "patching_rect" : [ 866.054610729217529, 222.0, 86.0, 22.0 ],
181 | "text" : "clear, samps 0"
182 | }
183 |
184 | }
185 | , {
186 | "box" : {
187 | "id" : "obj-72",
188 | "maxclass" : "message",
189 | "numinlets" : 2,
190 | "numoutlets" : 1,
191 | "outlettype" : [ "" ],
192 | "patching_rect" : [ 622.357146263122559, 222.0, 86.0, 22.0 ],
193 | "text" : "clear, samps 0"
194 | }
195 |
196 | }
197 | , {
198 | "box" : {
199 | "id" : "obj-64",
200 | "maxclass" : "newobj",
201 | "numinlets" : 1,
202 | "numoutlets" : 2,
203 | "outlettype" : [ "", "" ],
204 | "patching_rect" : [ 1755.0, 702.0, 221.0, 22.0 ],
205 | "text" : "fluid.labelset~ #1Mosaique_CorpusPath"
206 | }
207 |
208 | }
209 | , {
210 | "box" : {
211 | "id" : "obj-63",
212 | "maxclass" : "newobj",
213 | "numinlets" : 1,
214 | "numoutlets" : 1,
215 | "outlettype" : [ "" ],
216 | "patching_rect" : [ 1755.0, 674.0, 114.0, 22.0 ],
217 | "text" : "prepend deletelabel"
218 | }
219 |
220 | }
221 | , {
222 | "box" : {
223 | "id" : "obj-62",
224 | "maxclass" : "newobj",
225 | "numinlets" : 1,
226 | "numoutlets" : 1,
227 | "outlettype" : [ "" ],
228 | "patching_rect" : [ 1755.0, 645.0, 57.0, 22.0 ],
229 | "text" : "tosymbol"
230 | }
231 |
232 | }
233 | , {
234 | "box" : {
235 | "id" : "obj-61",
236 | "maxclass" : "newobj",
237 | "numinlets" : 1,
238 | "numoutlets" : 1,
239 | "outlettype" : [ "" ],
240 | "patching_rect" : [ 1755.0, 614.0, 69.0, 22.0 ],
241 | "text" : "prepend #2"
242 | }
243 |
244 | }
245 | , {
246 | "box" : {
247 | "id" : "obj-60",
248 | "maxclass" : "newobj",
249 | "numinlets" : 2,
250 | "numoutlets" : 3,
251 | "outlettype" : [ "bang", "bang", "int" ],
252 | "patching_rect" : [ 1717.0, 558.0, 57.0, 22.0 ],
253 | "text" : "uzi 100 0"
254 | }
255 |
256 | }
257 | , {
258 | "box" : {
259 | "id" : "obj-59",
260 | "maxclass" : "newobj",
261 | "numinlets" : 2,
262 | "numoutlets" : 2,
263 | "outlettype" : [ "", "" ],
264 | "patching_rect" : [ 1717.0, 524.0, 61.0, 22.0 ],
265 | "text" : "route size"
266 | }
267 |
268 | }
269 | , {
270 | "box" : {
271 | "id" : "obj-58",
272 | "maxclass" : "newobj",
273 | "numinlets" : 1,
274 | "numoutlets" : 2,
275 | "outlettype" : [ "size", "" ],
276 | "patching_rect" : [ 1693.0, 446.0, 43.0, 22.0 ],
277 | "text" : "t size l"
278 | }
279 |
280 | }
281 | , {
282 | "box" : {
283 | "id" : "obj-57",
284 | "maxclass" : "newobj",
285 | "numinlets" : 1,
286 | "numoutlets" : 2,
287 | "outlettype" : [ "", "" ],
288 | "patching_rect" : [ 1717.0, 493.0, 80.0, 22.0 ],
289 | "text" : "fluid.dataset~"
290 | }
291 |
292 | }
293 | , {
294 | "box" : {
295 | "id" : "obj-54",
296 | "maxclass" : "newobj",
297 | "numinlets" : 2,
298 | "numoutlets" : 2,
299 | "outlettype" : [ "", "" ],
300 | "patching_rect" : [ 1693.0, 411.0, 142.0, 22.0 ],
301 | "text" : "substitute transform refer"
302 | }
303 |
304 | }
305 | , {
306 | "box" : {
307 | "id" : "obj-48",
308 | "maxclass" : "message",
309 | "numinlets" : 2,
310 | "numoutlets" : 1,
311 | "outlettype" : [ "" ],
312 | "patching_rect" : [ 1693.0, 354.0, 386.0, 22.0 ],
313 | "text" : "clear, filter 5 == #2, addrange 0 6, transform #1Mosaique_CorpusInfos"
314 | }
315 |
316 | }
317 | , {
318 | "box" : {
319 | "id" : "obj-49",
320 | "maxclass" : "newobj",
321 | "numinlets" : 1,
322 | "numoutlets" : 2,
323 | "outlettype" : [ "", "" ],
324 | "patching_rect" : [ 1693.0, 378.0, 110.0, 22.0 ],
325 | "text" : "fluid.datasetquery~"
326 | }
327 |
328 | }
329 | , {
330 | "box" : {
331 | "id" : "obj-26",
332 | "linecount" : 4,
333 | "maxclass" : "message",
334 | "numinlets" : 2,
335 | "numoutlets" : 1,
336 | "outlettype" : [ "" ],
337 | "patching_rect" : [ 1447.0, 371.0, 160.016828060150146, 62.0 ],
338 | "text" : "clear, filter 5 != #2, addrange 0 6, transform #1Mosaique_CorpusInfos #1Mosaique_CorpusInfos"
339 | }
340 |
341 | }
342 | , {
343 | "box" : {
344 | "id" : "obj-23",
345 | "maxclass" : "newobj",
346 | "numinlets" : 1,
347 | "numoutlets" : 2,
348 | "outlettype" : [ "", "" ],
349 | "patching_rect" : [ 1447.0, 444.0, 110.0, 22.0 ],
350 | "text" : "fluid.datasetquery~"
351 | }
352 |
353 | }
354 | , {
355 | "box" : {
356 | "id" : "obj-15",
357 | "maxclass" : "newobj",
358 | "numinlets" : 1,
359 | "numoutlets" : 0,
360 | "patching_rect" : [ 1182.0, 254.0, 49.0, 22.0 ],
361 | "text" : "forward"
362 | }
363 |
364 | }
365 | , {
366 | "box" : {
367 | "id" : "obj-13",
368 | "maxclass" : "newobj",
369 | "numinlets" : 1,
370 | "numoutlets" : 1,
371 | "outlettype" : [ "" ],
372 | "patching_rect" : [ 1182.0, 142.0, 82.0, 22.0 ],
373 | "text" : "prepend send"
374 | }
375 |
376 | }
377 | , {
378 | "box" : {
379 | "id" : "obj-14",
380 | "maxclass" : "newobj",
381 | "numinlets" : 2,
382 | "numoutlets" : 2,
383 | "outlettype" : [ "", "" ],
384 | "patching_rect" : [ 1182.0, 98.0, 219.0, 22.0 ],
385 | "text" : "combine #1Mosaique_ #2Corpus_Send"
386 | }
387 |
388 | }
389 | , {
390 | "box" : {
391 | "id" : "obj-10",
392 | "maxclass" : "newobj",
393 | "numinlets" : 1,
394 | "numoutlets" : 1,
395 | "outlettype" : [ "" ],
396 | "patching_rect" : [ 834.0, 142.0, 86.0, 22.0 ],
397 | "text" : "prepend name"
398 | }
399 |
400 | }
401 | , {
402 | "box" : {
403 | "id" : "obj-11",
404 | "maxclass" : "newobj",
405 | "numinlets" : 2,
406 | "numoutlets" : 2,
407 | "outlettype" : [ "", "" ],
408 | "patching_rect" : [ 834.0, 98.0, 253.0, 22.0 ],
409 | "text" : "combine #1Mosaique_ #2CorpusAudioMONO"
410 | }
411 |
412 | }
413 | , {
414 | "box" : {
415 | "id" : "obj-18",
416 | "maxclass" : "newobj",
417 | "numinlets" : 1,
418 | "numoutlets" : 1,
419 | "outlettype" : [ "" ],
420 | "patching_rect" : [ 595.0, 142.0, 86.0, 22.0 ],
421 | "text" : "prepend name"
422 | }
423 |
424 | }
425 | , {
426 | "box" : {
427 | "id" : "obj-8",
428 | "maxclass" : "newobj",
429 | "numinlets" : 1,
430 | "numoutlets" : 1,
431 | "outlettype" : [ "bang" ],
432 | "patching_rect" : [ 595.0, 44.0, 58.0, 22.0 ],
433 | "text" : "loadbang"
434 | }
435 |
436 | }
437 | , {
438 | "box" : {
439 | "id" : "obj-24",
440 | "maxclass" : "newobj",
441 | "numinlets" : 2,
442 | "numoutlets" : 2,
443 | "outlettype" : [ "", "" ],
444 | "patching_rect" : [ 595.0, 98.0, 215.0, 22.0 ],
445 | "text" : "combine #1Mosaique_ #2CorpusAudio"
446 | }
447 |
448 | }
449 | , {
450 | "box" : {
451 | "color" : [ 1.0, 0.196078431372549, 0.196078431372549, 1.0 ],
452 | "id" : "obj-5",
453 | "maxclass" : "newobj",
454 | "numinlets" : 1,
455 | "numoutlets" : 2,
456 | "outlettype" : [ "float", "bang" ],
457 | "patching_rect" : [ 834.0, 254.0, 241.0, 22.0 ],
458 | "text" : "buffer~ #1Mosaique_#2CorpusAudioMONO"
459 | }
460 |
461 | }
462 | , {
463 | "box" : {
464 | "id" : "obj-2",
465 | "maxclass" : "newobj",
466 | "numinlets" : 1,
467 | "numoutlets" : 3,
468 | "outlettype" : [ "bang", "bang", "bang" ],
469 | "patching_rect" : [ 311.0, 61.0, 230.0, 22.0 ],
470 | "text" : "t b b b"
471 | }
472 |
473 | }
474 | , {
475 | "box" : {
476 | "comment" : "",
477 | "id" : "obj-1",
478 | "index" : 1,
479 | "maxclass" : "inlet",
480 | "numinlets" : 0,
481 | "numoutlets" : 1,
482 | "outlettype" : [ "bang" ],
483 | "patching_rect" : [ 311.0, 10.0, 30.0, 30.0 ]
484 | }
485 |
486 | }
487 | , {
488 | "box" : {
489 | "color" : [ 1.0, 0.196078431372549, 0.196078431372549, 1.0 ],
490 | "id" : "obj-12",
491 | "maxclass" : "newobj",
492 | "numinlets" : 1,
493 | "numoutlets" : 2,
494 | "outlettype" : [ "float", "bang" ],
495 | "patching_rect" : [ 595.0, 254.0, 204.0, 22.0 ],
496 | "text" : "buffer~ #1Mosaique_#2CorpusAudio"
497 | }
498 |
499 | }
500 | ],
501 | "lines" : [ {
502 | "patchline" : {
503 | "destination" : [ "obj-2", 0 ],
504 | "source" : [ "obj-1", 0 ]
505 | }
506 |
507 | }
508 | , {
509 | "patchline" : {
510 | "destination" : [ "obj-5", 0 ],
511 | "source" : [ "obj-10", 0 ]
512 | }
513 |
514 | }
515 | , {
516 | "patchline" : {
517 | "destination" : [ "obj-10", 0 ],
518 | "source" : [ "obj-11", 0 ]
519 | }
520 |
521 | }
522 | , {
523 | "patchline" : {
524 | "destination" : [ "obj-15", 0 ],
525 | "source" : [ "obj-13", 0 ]
526 | }
527 |
528 | }
529 | , {
530 | "patchline" : {
531 | "destination" : [ "obj-13", 0 ],
532 | "source" : [ "obj-14", 0 ]
533 | }
534 |
535 | }
536 | , {
537 | "patchline" : {
538 | "color" : [ 0.0, 0.0, 1.0, 1.0 ],
539 | "destination" : [ "obj-26", 0 ],
540 | "midpoints" : [ 1689.5, 349.5, 1456.5, 349.5 ],
541 | "source" : [ "obj-16", 0 ]
542 | }
543 |
544 | }
545 | , {
546 | "patchline" : {
547 | "destination" : [ "obj-48", 0 ],
548 | "source" : [ "obj-16", 1 ]
549 | }
550 |
551 | }
552 | , {
553 | "patchline" : {
554 | "destination" : [ "obj-12", 0 ],
555 | "source" : [ "obj-18", 0 ]
556 | }
557 |
558 | }
559 | , {
560 | "patchline" : {
561 | "destination" : [ "obj-86", 0 ],
562 | "source" : [ "obj-19", 0 ]
563 | }
564 |
565 | }
566 | , {
567 | "patchline" : {
568 | "color" : [ 0.0, 0.0, 1.0, 1.0 ],
569 | "destination" : [ "obj-3", 0 ],
570 | "midpoints" : [ 531.5, 173.0, 1674.5, 173.0 ],
571 | "order" : 0,
572 | "source" : [ "obj-2", 2 ]
573 | }
574 |
575 | }
576 | , {
577 | "patchline" : {
578 | "color" : [ 0.0, 0.0, 1.0, 1.0 ],
579 | "destination" : [ "obj-72", 0 ],
580 | "midpoints" : [ 531.5, 173.0, 631.857146263122559, 173.0 ],
581 | "order" : 3,
582 | "source" : [ "obj-2", 2 ]
583 | }
584 |
585 | }
586 | , {
587 | "patchline" : {
588 | "color" : [ 0.0, 0.0, 1.0, 1.0 ],
589 | "destination" : [ "obj-73", 0 ],
590 | "midpoints" : [ 531.5, 173.0, 875.554610729217529, 173.0 ],
591 | "order" : 2,
592 | "source" : [ "obj-2", 2 ]
593 | }
594 |
595 | }
596 | , {
597 | "patchline" : {
598 | "color" : [ 0.0, 0.0, 1.0, 1.0 ],
599 | "destination" : [ "obj-75", 0 ],
600 | "midpoints" : [ 531.5, 173.0, 1215.0, 173.0 ],
601 | "order" : 1,
602 | "source" : [ "obj-2", 2 ]
603 | }
604 |
605 | }
606 | , {
607 | "patchline" : {
608 | "destination" : [ "obj-19", 0 ],
609 | "source" : [ "obj-20", 0 ]
610 | }
611 |
612 | }
613 | , {
614 | "patchline" : {
615 | "destination" : [ "obj-20", 0 ],
616 | "source" : [ "obj-21", 0 ]
617 | }
618 |
619 | }
620 | , {
621 | "patchline" : {
622 | "destination" : [ "obj-18", 0 ],
623 | "source" : [ "obj-24", 0 ]
624 | }
625 |
626 | }
627 | , {
628 | "patchline" : {
629 | "destination" : [ "obj-23", 0 ],
630 | "source" : [ "obj-26", 0 ]
631 | }
632 |
633 | }
634 | , {
635 | "patchline" : {
636 | "color" : [ 0.0, 0.0, 1.0, 1.0 ],
637 | "destination" : [ "obj-4", 0 ],
638 | "source" : [ "obj-3", 0 ]
639 | }
640 |
641 | }
642 | , {
643 | "patchline" : {
644 | "color" : [ 0.0, 0.0, 1.0, 1.0 ],
645 | "destination" : [ "obj-6", 0 ],
646 | "source" : [ "obj-4", 0 ]
647 | }
648 |
649 | }
650 | , {
651 | "patchline" : {
652 | "destination" : [ "obj-49", 0 ],
653 | "source" : [ "obj-48", 0 ]
654 | }
655 |
656 | }
657 | , {
658 | "patchline" : {
659 | "destination" : [ "obj-54", 0 ],
660 | "source" : [ "obj-49", 0 ]
661 | }
662 |
663 | }
664 | , {
665 | "patchline" : {
666 | "destination" : [ "obj-58", 0 ],
667 | "source" : [ "obj-54", 0 ]
668 | }
669 |
670 | }
671 | , {
672 | "patchline" : {
673 | "destination" : [ "obj-59", 0 ],
674 | "source" : [ "obj-57", 0 ]
675 | }
676 |
677 | }
678 | , {
679 | "patchline" : {
680 | "destination" : [ "obj-57", 0 ],
681 | "source" : [ "obj-58", 1 ]
682 | }
683 |
684 | }
685 | , {
686 | "patchline" : {
687 | "destination" : [ "obj-57", 0 ],
688 | "source" : [ "obj-58", 0 ]
689 | }
690 |
691 | }
692 | , {
693 | "patchline" : {
694 | "destination" : [ "obj-60", 0 ],
695 | "source" : [ "obj-59", 0 ]
696 | }
697 |
698 | }
699 | , {
700 | "patchline" : {
701 | "color" : [ 0.0, 0.0, 1.0, 1.0 ],
702 | "destination" : [ "obj-7", 0 ],
703 | "source" : [ "obj-6", 0 ]
704 | }
705 |
706 | }
707 | , {
708 | "patchline" : {
709 | "destination" : [ "obj-21", 0 ],
710 | "order" : 0,
711 | "source" : [ "obj-60", 2 ]
712 | }
713 |
714 | }
715 | , {
716 | "patchline" : {
717 | "destination" : [ "obj-61", 0 ],
718 | "order" : 1,
719 | "source" : [ "obj-60", 2 ]
720 | }
721 |
722 | }
723 | , {
724 | "patchline" : {
725 | "destination" : [ "obj-62", 0 ],
726 | "source" : [ "obj-61", 0 ]
727 | }
728 |
729 | }
730 | , {
731 | "patchline" : {
732 | "destination" : [ "obj-63", 0 ],
733 | "source" : [ "obj-62", 0 ]
734 | }
735 |
736 | }
737 | , {
738 | "patchline" : {
739 | "destination" : [ "obj-64", 0 ],
740 | "source" : [ "obj-63", 0 ]
741 | }
742 |
743 | }
744 | , {
745 | "patchline" : {
746 | "destination" : [ "obj-16", 0 ],
747 | "source" : [ "obj-7", 1 ]
748 | }
749 |
750 | }
751 | , {
752 | "patchline" : {
753 | "destination" : [ "obj-12", 0 ],
754 | "source" : [ "obj-72", 0 ]
755 | }
756 |
757 | }
758 | , {
759 | "patchline" : {
760 | "destination" : [ "obj-5", 0 ],
761 | "source" : [ "obj-73", 0 ]
762 | }
763 |
764 | }
765 | , {
766 | "patchline" : {
767 | "destination" : [ "obj-15", 0 ],
768 | "source" : [ "obj-75", 0 ]
769 | }
770 |
771 | }
772 | , {
773 | "patchline" : {
774 | "destination" : [ "obj-11", 0 ],
775 | "midpoints" : [ 604.5, 81.5, 843.5, 81.5 ],
776 | "order" : 1,
777 | "source" : [ "obj-8", 0 ]
778 | }
779 |
780 | }
781 | , {
782 | "patchline" : {
783 | "destination" : [ "obj-14", 0 ],
784 | "midpoints" : [ 604.5, 81.5, 1191.5, 81.5 ],
785 | "order" : 0,
786 | "source" : [ "obj-8", 0 ]
787 | }
788 |
789 | }
790 | , {
791 | "patchline" : {
792 | "destination" : [ "obj-24", 0 ],
793 | "midpoints" : [ 604.5, 81.5, 604.5, 81.5 ],
794 | "order" : 2,
795 | "source" : [ "obj-8", 0 ]
796 | }
797 |
798 | }
799 | ],
800 | "saved_attribute_attributes" : {
801 | "default_plcolor" : {
802 | "expression" : ""
803 | }
804 |
805 | }
806 |
807 | }
808 |
809 | }
810 |
--------------------------------------------------------------------------------
/RoutingObjects.maxpat:
--------------------------------------------------------------------------------
1 | {
2 | "patcher" : {
3 | "fileversion" : 1,
4 | "appversion" : {
5 | "major" : 8,
6 | "minor" : 6,
7 | "revision" : 4,
8 | "architecture" : "x64",
9 | "modernui" : 1
10 | }
11 | ,
12 | "classnamespace" : "box",
13 | "rect" : [ 918.0, 314.0, 868.0, 714.0 ],
14 | "bglocked" : 0,
15 | "openinpresentation" : 0,
16 | "default_fontsize" : 12.0,
17 | "default_fontface" : 0,
18 | "default_fontname" : "Arial",
19 | "gridonopen" : 2,
20 | "gridsize" : [ 10.0, 10.0 ],
21 | "gridsnaponopen" : 2,
22 | "objectsnaponopen" : 0,
23 | "statusbarvisible" : 2,
24 | "toolbarvisible" : 1,
25 | "lefttoolbarpinned" : 0,
26 | "toptoolbarpinned" : 0,
27 | "righttoolbarpinned" : 0,
28 | "bottomtoolbarpinned" : 0,
29 | "toolbars_unpinned_last_save" : 0,
30 | "tallnewobj" : 0,
31 | "boxanimatetime" : 200,
32 | "enablehscroll" : 1,
33 | "enablevscroll" : 1,
34 | "devicewidth" : 0.0,
35 | "description" : "",
36 | "digest" : "",
37 | "tags" : "",
38 | "style" : "Max For Live",
39 | "subpatcher_template" : "Max For Live",
40 | "assistshowspatchername" : 0,
41 | "boxes" : [ {
42 | "box" : {
43 | "fontface" : 1,
44 | "fontname" : "Arial",
45 | "fontsize" : 12.0,
46 | "id" : "obj-43",
47 | "maxclass" : "comment",
48 | "numinlets" : 1,
49 | "numoutlets" : 0,
50 | "patching_rect" : [ 200.0, 26.0, 284.0, 20.0 ],
51 | "prototypename" : "M4L.patcher-summary",
52 | "text" : "A utility used by the BrowseRouting abstraction"
53 | }
54 |
55 | }
56 | , {
57 | "box" : {
58 | "fontface" : 1,
59 | "fontname" : "Arial",
60 | "fontsize" : 18.0,
61 | "id" : "obj-5",
62 | "maxclass" : "comment",
63 | "numinlets" : 1,
64 | "numoutlets" : 0,
65 | "patching_rect" : [ 50.0, 20.0, 144.0, 27.0 ],
66 | "prototypename" : "M4L.subpatcher-title",
67 | "text" : "RoutingObjects"
68 | }
69 |
70 | }
71 | , {
72 | "box" : {
73 | "id" : "obj-17",
74 | "linecount" : 3,
75 | "maxclass" : "comment",
76 | "numinlets" : 1,
77 | "numoutlets" : 0,
78 | "patching_rect" : [ 50.0, 50.0, 560.0, 47.0 ],
79 | "text" : "The BrowseRouting abstraction is a utility that lists available tracks in the current Live set to send audio to or receive audio from, to be used inside a multichannel Max For Live device. The RoutingObjects abstraction is the mechanism used to list and map available audio inputs and outputs."
80 | }
81 |
82 | }
83 | , {
84 | "box" : {
85 | "id" : "obj-28",
86 | "linecount" : 2,
87 | "maxclass" : "message",
88 | "numinlets" : 2,
89 | "numoutlets" : 1,
90 | "outlettype" : [ "" ],
91 | "patching_rect" : [ 490.0, 540.0, 80.0, 35.0 ],
92 | "text" : "clearchecks, checkitem $1"
93 | }
94 |
95 | }
96 | , {
97 | "box" : {
98 | "id" : "obj-27",
99 | "linecount" : 3,
100 | "maxclass" : "message",
101 | "numinlets" : 2,
102 | "numoutlets" : 1,
103 | "outlettype" : [ "" ],
104 | "patching_rect" : [ 230.0, 540.0, 80.0, 49.0 ],
105 | "text" : "set $1, clearchecks, checkitem $1"
106 | }
107 |
108 | }
109 | , {
110 | "box" : {
111 | "id" : "obj-20",
112 | "maxclass" : "comment",
113 | "numinlets" : 1,
114 | "numoutlets" : 0,
115 | "patching_rect" : [ 330.0, 640.0, 49.0, 20.0 ],
116 | "text" : "Umenu"
117 | }
118 |
119 | }
120 | , {
121 | "box" : {
122 | "id" : "obj-11",
123 | "maxclass" : "comment",
124 | "numinlets" : 1,
125 | "numoutlets" : 0,
126 | "patching_rect" : [ 745.0, 115.0, 22.0, 20.0 ],
127 | "text" : "id"
128 | }
129 |
130 | }
131 | , {
132 | "box" : {
133 | "id" : "obj-6",
134 | "maxclass" : "comment",
135 | "numinlets" : 1,
136 | "numoutlets" : 0,
137 | "patching_rect" : [ 575.0, 335.0, 88.0, 20.0 ],
138 | "text" : "Index (umenu)"
139 | }
140 |
141 | }
142 | , {
143 | "box" : {
144 | "id" : "obj-4",
145 | "maxclass" : "newobj",
146 | "numinlets" : 1,
147 | "numoutlets" : 3,
148 | "outlettype" : [ "bang", "", "bang" ],
149 | "patching_rect" : [ 230.0, 170.0, 79.0, 22.0 ],
150 | "text" : "t b l b"
151 | }
152 |
153 | }
154 | , {
155 | "box" : {
156 | "id" : "obj-21",
157 | "maxclass" : "message",
158 | "numinlets" : 2,
159 | "numoutlets" : 1,
160 | "outlettype" : [ "" ],
161 | "patching_rect" : [ 40.0, 330.0, 65.0, 22.0 ],
162 | "text" : "symbol $1"
163 | }
164 |
165 | }
166 | , {
167 | "box" : {
168 | "fontname" : "Arial",
169 | "fontsize" : 12.0,
170 | "id" : "obj-12",
171 | "maxclass" : "newobj",
172 | "numinlets" : 2,
173 | "numoutlets" : 1,
174 | "outlettype" : [ "int" ],
175 | "patching_rect" : [ 230.0, 510.0, 29.5, 22.0 ],
176 | "text" : "i"
177 | }
178 |
179 | }
180 | , {
181 | "box" : {
182 | "id" : "obj-8",
183 | "items" : "",
184 | "maxclass" : "umenu",
185 | "numinlets" : 1,
186 | "numoutlets" : 3,
187 | "outlettype" : [ "int", "", "" ],
188 | "parameter_enable" : 0,
189 | "patching_rect" : [ 40.0, 440.0, 100.0, 22.0 ]
190 | }
191 |
192 | }
193 | , {
194 | "box" : {
195 | "fontname" : "Arial",
196 | "fontsize" : 12.0,
197 | "id" : "obj-14",
198 | "maxclass" : "newobj",
199 | "numinlets" : 2,
200 | "numoutlets" : 2,
201 | "outlettype" : [ "", "" ],
202 | "patching_rect" : [ 330.0, 270.0, 119.0, 22.0 ],
203 | "text" : "routepass dictionary"
204 | }
205 |
206 | }
207 | , {
208 | "box" : {
209 | "fontname" : "Arial",
210 | "fontsize" : 12.0,
211 | "id" : "obj-10",
212 | "maxclass" : "newobj",
213 | "numinlets" : 1,
214 | "numoutlets" : 2,
215 | "outlettype" : [ "", "" ],
216 | "patching_rect" : [ 40.0, 300.0, 123.0, 22.0 ],
217 | "saved_object_attributes" : {
218 | "legacy" : 1
219 | }
220 | ,
221 | "text" : "dict.unpack identifier:"
222 | }
223 |
224 | }
225 | , {
226 | "box" : {
227 | "comment" : "Index (umenu)",
228 | "id" : "obj-3",
229 | "index" : 1,
230 | "maxclass" : "inlet",
231 | "numinlets" : 0,
232 | "numoutlets" : 1,
233 | "outlettype" : [ "int" ],
234 | "patching_rect" : [ 600.0, 360.0, 30.0, 30.0 ]
235 | }
236 |
237 | }
238 | , {
239 | "box" : {
240 | "comment" : "Umenu",
241 | "id" : "obj-2",
242 | "index" : 1,
243 | "maxclass" : "outlet",
244 | "numinlets" : 1,
245 | "numoutlets" : 0,
246 | "patching_rect" : [ 290.0, 630.0, 30.0, 30.0 ]
247 | }
248 |
249 | }
250 | , {
251 | "box" : {
252 | "comment" : "id",
253 | "id" : "obj-1",
254 | "index" : 2,
255 | "maxclass" : "inlet",
256 | "numinlets" : 0,
257 | "numoutlets" : 1,
258 | "outlettype" : [ "" ],
259 | "patching_rect" : [ 740.0, 140.0, 30.0, 30.0 ]
260 | }
261 |
262 | }
263 | , {
264 | "box" : {
265 | "fontname" : "Arial",
266 | "fontsize" : 12.0,
267 | "id" : "obj-36",
268 | "maxclass" : "newobj",
269 | "numinlets" : 1,
270 | "numoutlets" : 2,
271 | "outlettype" : [ "", "" ],
272 | "patching_rect" : [ 40.0, 270.0, 161.0, 22.0 ],
273 | "saved_object_attributes" : {
274 | "legacy" : 1
275 | }
276 | ,
277 | "text" : "dict.unpack #2:"
278 | }
279 |
280 | }
281 | , {
282 | "box" : {
283 | "color" : [ 0.941176, 0.690196, 0.196078, 1.0 ],
284 | "fontname" : "Arial",
285 | "fontsize" : 12.0,
286 | "id" : "obj-35",
287 | "maxclass" : "newobj",
288 | "numinlets" : 2,
289 | "numoutlets" : 2,
290 | "outlettype" : [ "", "" ],
291 | "patching_rect" : [ 40.0, 240.0, 148.0, 22.0 ],
292 | "saved_object_attributes" : {
293 | "_persistence" : 0
294 | }
295 | ,
296 | "text" : "live.observer #2"
297 | }
298 |
299 | }
300 | , {
301 | "box" : {
302 | "fontname" : "Arial",
303 | "fontsize" : 12.0,
304 | "id" : "obj-34",
305 | "maxclass" : "newobj",
306 | "numinlets" : 1,
307 | "numoutlets" : 1,
308 | "outlettype" : [ "" ],
309 | "patching_rect" : [ 640.0, 610.0, 161.0, 22.0 ],
310 | "text" : "prepend set #2"
311 | }
312 |
313 | }
314 | , {
315 | "box" : {
316 | "color" : [ 0.941176, 0.690196, 0.196078, 1.0 ],
317 | "fontname" : "Arial",
318 | "fontsize" : 12.0,
319 | "id" : "obj-33",
320 | "maxclass" : "newobj",
321 | "numinlets" : 2,
322 | "numoutlets" : 1,
323 | "outlettype" : [ "" ],
324 | "patching_rect" : [ 640.0, 640.0, 119.0, 22.0 ],
325 | "saved_object_attributes" : {
326 | "_persistence" : 0
327 | }
328 | ,
329 | "text" : "live.object"
330 | }
331 |
332 | }
333 | , {
334 | "box" : {
335 | "fontname" : "Arial",
336 | "fontsize" : 12.0,
337 | "id" : "obj-32",
338 | "maxclass" : "newobj",
339 | "numinlets" : 1,
340 | "numoutlets" : 2,
341 | "outlettype" : [ "bang", "" ],
342 | "patching_rect" : [ 640.0, 540.0, 30.0, 22.0 ],
343 | "text" : "t b l"
344 | }
345 |
346 | }
347 | , {
348 | "box" : {
349 | "fontname" : "Arial",
350 | "fontsize" : 12.0,
351 | "id" : "obj-30",
352 | "maxclass" : "newobj",
353 | "numinlets" : 2,
354 | "numoutlets" : 5,
355 | "outlettype" : [ "dictionary", "", "", "", "" ],
356 | "patching_rect" : [ 640.0, 580.0, 50.5, 22.0 ],
357 | "saved_object_attributes" : {
358 | "embed" : 0,
359 | "legacy" : 1,
360 | "parameter_enable" : 0,
361 | "parameter_mappable" : 0
362 | }
363 | ,
364 | "text" : "dict"
365 | }
366 |
367 | }
368 | , {
369 | "box" : {
370 | "fontname" : "Arial",
371 | "fontsize" : 12.0,
372 | "id" : "obj-29",
373 | "maxclass" : "message",
374 | "numinlets" : 2,
375 | "numoutlets" : 1,
376 | "outlettype" : [ "" ],
377 | "patching_rect" : [ 640.0, 510.0, 92.0, 22.0 ],
378 | "text" : "set identifier $1"
379 | }
380 |
381 | }
382 | , {
383 | "box" : {
384 | "fontname" : "Arial",
385 | "fontsize" : 12.0,
386 | "id" : "obj-25",
387 | "maxclass" : "newobj",
388 | "numinlets" : 1,
389 | "numoutlets" : 1,
390 | "outlettype" : [ "" ],
391 | "patching_rect" : [ 640.0, 480.0, 73.0, 22.0 ],
392 | "text" : "fromsymbol"
393 | }
394 |
395 | }
396 | , {
397 | "box" : {
398 | "fontname" : "Arial",
399 | "fontsize" : 12.0,
400 | "id" : "obj-24",
401 | "maxclass" : "newobj",
402 | "numinlets" : 1,
403 | "numoutlets" : 1,
404 | "outlettype" : [ "" ],
405 | "patching_rect" : [ 430.0, 370.0, 98.0, 22.0 ],
406 | "text" : "prepend append"
407 | }
408 |
409 | }
410 | , {
411 | "box" : {
412 | "fontname" : "Arial",
413 | "fontsize" : 12.0,
414 | "id" : "obj-23",
415 | "maxclass" : "newobj",
416 | "numinlets" : 1,
417 | "numoutlets" : 1,
418 | "outlettype" : [ "" ],
419 | "patching_rect" : [ 330.0, 540.0, 98.0, 22.0 ],
420 | "text" : "prepend append"
421 | }
422 |
423 | }
424 | , {
425 | "box" : {
426 | "fontname" : "Arial",
427 | "fontsize" : 12.0,
428 | "id" : "obj-19",
429 | "maxclass" : "newobj",
430 | "numinlets" : 1,
431 | "numoutlets" : 2,
432 | "outlettype" : [ "", "" ],
433 | "patching_rect" : [ 430.0, 340.0, 123.0, 22.0 ],
434 | "saved_object_attributes" : {
435 | "legacy" : 1
436 | }
437 | ,
438 | "text" : "dict.unpack identifier:"
439 | }
440 |
441 | }
442 | , {
443 | "box" : {
444 | "fontname" : "Arial",
445 | "fontsize" : 12.0,
446 | "id" : "obj-18",
447 | "maxclass" : "newobj",
448 | "numinlets" : 1,
449 | "numoutlets" : 1,
450 | "outlettype" : [ "" ],
451 | "patching_rect" : [ 430.0, 300.0, 27.0, 22.0 ],
452 | "text" : "iter"
453 | }
454 |
455 | }
456 | , {
457 | "box" : {
458 | "fontname" : "Arial",
459 | "fontsize" : 12.0,
460 | "id" : "obj-16",
461 | "maxclass" : "newobj",
462 | "numinlets" : 1,
463 | "numoutlets" : 2,
464 | "outlettype" : [ "", "" ],
465 | "patching_rect" : [ 330.0, 240.0, 221.0, 22.0 ],
466 | "saved_object_attributes" : {
467 | "legacy" : 1
468 | }
469 | ,
470 | "text" : "dict.unpack #1:"
471 | }
472 |
473 | }
474 | , {
475 | "box" : {
476 | "fontname" : "Arial",
477 | "fontsize" : 12.0,
478 | "id" : "obj-15",
479 | "maxclass" : "newobj",
480 | "numinlets" : 1,
481 | "numoutlets" : 2,
482 | "outlettype" : [ "", "" ],
483 | "patching_rect" : [ 330.0, 510.0, 152.0, 22.0 ],
484 | "saved_object_attributes" : {
485 | "legacy" : 1
486 | }
487 | ,
488 | "text" : "dict.unpack display_name:"
489 | }
490 |
491 | }
492 | , {
493 | "box" : {
494 | "id" : "obj-13",
495 | "items" : "",
496 | "maxclass" : "umenu",
497 | "numinlets" : 1,
498 | "numoutlets" : 3,
499 | "outlettype" : [ "int", "", "" ],
500 | "parameter_enable" : 0,
501 | "patching_rect" : [ 600.0, 440.0, 99.0, 22.0 ]
502 | }
503 |
504 | }
505 | , {
506 | "box" : {
507 | "color" : [ 0.941176, 0.690196, 0.196078, 1.0 ],
508 | "fontname" : "Arial",
509 | "fontsize" : 12.0,
510 | "id" : "obj-9",
511 | "maxclass" : "newobj",
512 | "numinlets" : 2,
513 | "numoutlets" : 2,
514 | "outlettype" : [ "", "" ],
515 | "patching_rect" : [ 230.0, 140.0, 208.0, 22.0 ],
516 | "saved_object_attributes" : {
517 | "_persistence" : 0
518 | }
519 | ,
520 | "text" : "live.observer #1"
521 | }
522 |
523 | }
524 | , {
525 | "box" : {
526 | "fontname" : "Arial",
527 | "fontsize" : 12.0,
528 | "id" : "obj-7",
529 | "maxclass" : "message",
530 | "numinlets" : 2,
531 | "numoutlets" : 1,
532 | "outlettype" : [ "" ],
533 | "patching_rect" : [ 290.0, 440.0, 37.0, 22.0 ],
534 | "text" : "clear"
535 | }
536 |
537 | }
538 | ],
539 | "lines" : [ {
540 | "patchline" : {
541 | "destination" : [ "obj-33", 1 ],
542 | "order" : 0,
543 | "source" : [ "obj-1", 0 ]
544 | }
545 |
546 | }
547 | , {
548 | "patchline" : {
549 | "destination" : [ "obj-35", 1 ],
550 | "order" : 2,
551 | "source" : [ "obj-1", 0 ]
552 | }
553 |
554 | }
555 | , {
556 | "patchline" : {
557 | "destination" : [ "obj-9", 1 ],
558 | "order" : 1,
559 | "source" : [ "obj-1", 0 ]
560 | }
561 |
562 | }
563 | , {
564 | "patchline" : {
565 | "destination" : [ "obj-21", 0 ],
566 | "source" : [ "obj-10", 0 ]
567 | }
568 |
569 | }
570 | , {
571 | "patchline" : {
572 | "destination" : [ "obj-27", 0 ],
573 | "source" : [ "obj-12", 0 ]
574 | }
575 |
576 | }
577 | , {
578 | "patchline" : {
579 | "destination" : [ "obj-25", 0 ],
580 | "source" : [ "obj-13", 1 ]
581 | }
582 |
583 | }
584 | , {
585 | "patchline" : {
586 | "destination" : [ "obj-15", 0 ],
587 | "source" : [ "obj-14", 0 ]
588 | }
589 |
590 | }
591 | , {
592 | "patchline" : {
593 | "destination" : [ "obj-18", 0 ],
594 | "source" : [ "obj-14", 1 ]
595 | }
596 |
597 | }
598 | , {
599 | "patchline" : {
600 | "destination" : [ "obj-23", 0 ],
601 | "source" : [ "obj-15", 0 ]
602 | }
603 |
604 | }
605 | , {
606 | "patchline" : {
607 | "destination" : [ "obj-14", 0 ],
608 | "source" : [ "obj-16", 0 ]
609 | }
610 |
611 | }
612 | , {
613 | "patchline" : {
614 | "destination" : [ "obj-15", 0 ],
615 | "order" : 1,
616 | "source" : [ "obj-18", 0 ]
617 | }
618 |
619 | }
620 | , {
621 | "patchline" : {
622 | "destination" : [ "obj-19", 0 ],
623 | "order" : 0,
624 | "source" : [ "obj-18", 0 ]
625 | }
626 |
627 | }
628 | , {
629 | "patchline" : {
630 | "destination" : [ "obj-24", 0 ],
631 | "source" : [ "obj-19", 0 ]
632 | }
633 |
634 | }
635 | , {
636 | "patchline" : {
637 | "destination" : [ "obj-8", 0 ],
638 | "source" : [ "obj-21", 0 ]
639 | }
640 |
641 | }
642 | , {
643 | "patchline" : {
644 | "destination" : [ "obj-2", 0 ],
645 | "source" : [ "obj-23", 0 ]
646 | }
647 |
648 | }
649 | , {
650 | "patchline" : {
651 | "destination" : [ "obj-13", 0 ],
652 | "order" : 0,
653 | "source" : [ "obj-24", 0 ]
654 | }
655 |
656 | }
657 | , {
658 | "patchline" : {
659 | "destination" : [ "obj-8", 0 ],
660 | "order" : 1,
661 | "source" : [ "obj-24", 0 ]
662 | }
663 |
664 | }
665 | , {
666 | "patchline" : {
667 | "destination" : [ "obj-29", 0 ],
668 | "source" : [ "obj-25", 0 ]
669 | }
670 |
671 | }
672 | , {
673 | "patchline" : {
674 | "destination" : [ "obj-2", 0 ],
675 | "source" : [ "obj-27", 0 ]
676 | }
677 |
678 | }
679 | , {
680 | "patchline" : {
681 | "destination" : [ "obj-2", 0 ],
682 | "source" : [ "obj-28", 0 ]
683 | }
684 |
685 | }
686 | , {
687 | "patchline" : {
688 | "destination" : [ "obj-32", 0 ],
689 | "source" : [ "obj-29", 0 ]
690 | }
691 |
692 | }
693 | , {
694 | "patchline" : {
695 | "destination" : [ "obj-13", 0 ],
696 | "order" : 0,
697 | "source" : [ "obj-3", 0 ]
698 | }
699 |
700 | }
701 | , {
702 | "patchline" : {
703 | "destination" : [ "obj-28", 0 ],
704 | "order" : 1,
705 | "source" : [ "obj-3", 0 ]
706 | }
707 |
708 | }
709 | , {
710 | "patchline" : {
711 | "destination" : [ "obj-34", 0 ],
712 | "source" : [ "obj-30", 0 ]
713 | }
714 |
715 | }
716 | , {
717 | "patchline" : {
718 | "destination" : [ "obj-30", 0 ],
719 | "source" : [ "obj-32", 1 ]
720 | }
721 |
722 | }
723 | , {
724 | "patchline" : {
725 | "destination" : [ "obj-30", 0 ],
726 | "source" : [ "obj-32", 0 ]
727 | }
728 |
729 | }
730 | , {
731 | "patchline" : {
732 | "destination" : [ "obj-33", 0 ],
733 | "source" : [ "obj-34", 0 ]
734 | }
735 |
736 | }
737 | , {
738 | "patchline" : {
739 | "destination" : [ "obj-36", 0 ],
740 | "source" : [ "obj-35", 0 ]
741 | }
742 |
743 | }
744 | , {
745 | "patchline" : {
746 | "destination" : [ "obj-10", 0 ],
747 | "source" : [ "obj-36", 0 ]
748 | }
749 |
750 | }
751 | , {
752 | "patchline" : {
753 | "destination" : [ "obj-12", 0 ],
754 | "source" : [ "obj-4", 0 ]
755 | }
756 |
757 | }
758 | , {
759 | "patchline" : {
760 | "destination" : [ "obj-16", 0 ],
761 | "source" : [ "obj-4", 1 ]
762 | }
763 |
764 | }
765 | , {
766 | "patchline" : {
767 | "destination" : [ "obj-7", 0 ],
768 | "source" : [ "obj-4", 2 ]
769 | }
770 |
771 | }
772 | , {
773 | "patchline" : {
774 | "destination" : [ "obj-13", 0 ],
775 | "order" : 0,
776 | "source" : [ "obj-7", 0 ]
777 | }
778 |
779 | }
780 | , {
781 | "patchline" : {
782 | "destination" : [ "obj-2", 0 ],
783 | "order" : 1,
784 | "source" : [ "obj-7", 0 ]
785 | }
786 |
787 | }
788 | , {
789 | "patchline" : {
790 | "destination" : [ "obj-8", 0 ],
791 | "order" : 2,
792 | "source" : [ "obj-7", 0 ]
793 | }
794 |
795 | }
796 | , {
797 | "patchline" : {
798 | "destination" : [ "obj-12", 0 ],
799 | "source" : [ "obj-8", 0 ]
800 | }
801 |
802 | }
803 | , {
804 | "patchline" : {
805 | "destination" : [ "obj-4", 0 ],
806 | "source" : [ "obj-9", 0 ]
807 | }
808 |
809 | }
810 | ],
811 | "styles" : [ {
812 | "name" : "Audiomix",
813 | "default" : {
814 | "bgfillcolor" : {
815 | "angle" : 270.0,
816 | "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ],
817 | "color1" : [ 0.376471, 0.384314, 0.4, 1.0 ],
818 | "color2" : [ 0.290196, 0.309804, 0.301961, 1.0 ],
819 | "proportion" : 0.39,
820 | "type" : "gradient"
821 | }
822 |
823 | }
824 | ,
825 | "parentstyle" : "",
826 | "multi" : 0
827 | }
828 | , {
829 | "name" : "Max 12 Regular",
830 | "parentstyle" : "",
831 | "multi" : 0
832 | }
833 | , {
834 | "name" : "Max For Live",
835 | "default" : {
836 | "patchlinecolor" : [ 0.239216, 0.254902, 0.278431, 0.631373 ]
837 | }
838 | ,
839 | "parentstyle" : "",
840 | "multi" : 0
841 | }
842 | , {
843 | "name" : "stb001",
844 | "default" : {
845 | "fontface" : [ 1 ],
846 | "fontname" : [ "Arial Bold" ],
847 | "fontsize" : [ 10.0 ]
848 | }
849 | ,
850 | "parentstyle" : "",
851 | "multi" : 0
852 | }
853 | ]
854 | }
855 |
856 | }
857 |
--------------------------------------------------------------------------------
/_mosaique.navigation.xyz.maxpat:
--------------------------------------------------------------------------------
1 | {
2 | "patcher" : {
3 | "fileversion" : 1,
4 | "appversion" : {
5 | "major" : 9,
6 | "minor" : 0,
7 | "revision" : 7,
8 | "architecture" : "x64",
9 | "modernui" : 1
10 | }
11 | ,
12 | "classnamespace" : "box",
13 | "rect" : [ 876.0, 278.0, 601.0, 983.0 ],
14 | "openinpresentation" : 1,
15 | "gridsize" : [ 15.0, 15.0 ],
16 | "boxes" : [ {
17 | "box" : {
18 | "id" : "obj-35",
19 | "maxclass" : "newobj",
20 | "numinlets" : 1,
21 | "numoutlets" : 1,
22 | "outlettype" : [ "" ],
23 | "patching_rect" : [ 921.0, 423.0, 87.0, 22.0 ],
24 | "text" : "prepend active"
25 | }
26 |
27 | }
28 | , {
29 | "box" : {
30 | "id" : "obj-20",
31 | "maxclass" : "newobj",
32 | "numinlets" : 2,
33 | "numoutlets" : 1,
34 | "outlettype" : [ "int" ],
35 | "patching_rect" : [ 921.0, 389.0, 33.0, 22.0 ],
36 | "text" : "== 0"
37 | }
38 |
39 | }
40 | , {
41 | "box" : {
42 | "id" : "obj-36",
43 | "maxclass" : "message",
44 | "numinlets" : 2,
45 | "numoutlets" : 1,
46 | "outlettype" : [ "" ],
47 | "patching_rect" : [ 131.0, 729.0, 71.0, 22.0 ],
48 | "text" : "outputvalue"
49 | }
50 |
51 | }
52 | , {
53 | "box" : {
54 | "id" : "obj-34",
55 | "maxclass" : "newobj",
56 | "numinlets" : 2,
57 | "numoutlets" : 2,
58 | "outlettype" : [ "bang", "" ],
59 | "patching_rect" : [ 132.0, 692.0, 34.0, 22.0 ],
60 | "text" : "sel 1"
61 | }
62 |
63 | }
64 | , {
65 | "box" : {
66 | "id" : "obj-19",
67 | "maxclass" : "newobj",
68 | "numinlets" : 1,
69 | "numoutlets" : 1,
70 | "outlettype" : [ "" ],
71 | "patching_rect" : [ 350.0, 431.0, 79.0, 22.0 ],
72 | "text" : "prepend XYZ"
73 | }
74 |
75 | }
76 | , {
77 | "box" : {
78 | "id" : "obj-14",
79 | "maxclass" : "newobj",
80 | "numinlets" : 2,
81 | "numoutlets" : 1,
82 | "outlettype" : [ "" ],
83 | "patching_rect" : [ 1245.0, 630.0, 52.0, 22.0 ],
84 | "text" : "gate 1 0"
85 | }
86 |
87 | }
88 | , {
89 | "box" : {
90 | "id" : "obj-6",
91 | "maxclass" : "newobj",
92 | "numinlets" : 1,
93 | "numoutlets" : 0,
94 | "patching_rect" : [ 350.0, 462.0, 197.0, 22.0 ],
95 | "text" : "s #1Mosaique_NavigationType"
96 | }
97 |
98 | }
99 | , {
100 | "box" : {
101 | "fontname" : "Avenir",
102 | "fontsize" : 9.5,
103 | "id" : "obj-3",
104 | "maxclass" : "comment",
105 | "numinlets" : 1,
106 | "numoutlets" : 0,
107 | "patching_rect" : [ 1217.0, 526.0, 33.0, 19.0 ],
108 | "text" : "link",
109 | "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ]
110 | }
111 |
112 | }
113 | , {
114 | "box" : {
115 | "id" : "obj-44",
116 | "maxclass" : "message",
117 | "numinlets" : 2,
118 | "numoutlets" : 1,
119 | "outlettype" : [ "" ],
120 | "patching_rect" : [ 1245.0, 466.0, 57.0, 22.0 ],
121 | "text" : "active #3"
122 | }
123 |
124 | }
125 | , {
126 | "box" : {
127 | "automation" : "off",
128 | "automationon" : "on",
129 | "fontname" : "Avenir",
130 | "hint" : "Link navigation coordinates to camera position",
131 | "id" : "obj-43",
132 | "maxclass" : "live.text",
133 | "numinlets" : 1,
134 | "numoutlets" : 2,
135 | "outlettype" : [ "", "" ],
136 | "parameter_enable" : 1,
137 | "patching_rect" : [ 1245.0, 528.0, 44.0, 15.0 ],
138 | "saved_attribute_attributes" : {
139 | "valueof" : {
140 | "parameter_enum" : [ "off", "on" ],
141 | "parameter_invisible" : 2,
142 | "parameter_linknames" : 1,
143 | "parameter_longname" : "Navigation Cam Link",
144 | "parameter_mmax" : 1,
145 | "parameter_modmode" : 0,
146 | "parameter_shortname" : "Cam Link",
147 | "parameter_type" : 2
148 | }
149 |
150 | }
151 | ,
152 | "text" : "camera",
153 | "texton" : "camera",
154 | "varname" : "Navigation Cam Link"
155 | }
156 |
157 | }
158 | , {
159 | "box" : {
160 | "fontname" : "Ableton Sans Bold",
161 | "fontsize" : 8.0,
162 | "id" : "obj-24",
163 | "maxclass" : "comment",
164 | "numinlets" : 1,
165 | "numoutlets" : 0,
166 | "patching_rect" : [ 933.0, 469.0, 19.0, 16.0 ],
167 | "presentation" : 1,
168 | "presentation_rect" : [ 107.625, 138.25, 15.0, 16.0 ],
169 | "saved_attribute_attributes" : {
170 | "textcolor" : {
171 | "expression" : "themecolor.live_control_fg"
172 | }
173 |
174 | }
175 | ,
176 | "text" : "Z"
177 | }
178 |
179 | }
180 | , {
181 | "box" : {
182 | "fontname" : "Ableton Sans Bold",
183 | "fontsize" : 8.0,
184 | "id" : "obj-21",
185 | "maxclass" : "comment",
186 | "numinlets" : 1,
187 | "numoutlets" : 0,
188 | "patching_rect" : [ 859.0, 470.0, 19.0, 16.0 ],
189 | "presentation" : 1,
190 | "presentation_rect" : [ 75.0, 92.25, 15.0, 16.0 ],
191 | "saved_attribute_attributes" : {
192 | "textcolor" : {
193 | "expression" : "themecolor.live_control_fg"
194 | }
195 |
196 | }
197 | ,
198 | "text" : "Y"
199 | }
200 |
201 | }
202 | , {
203 | "box" : {
204 | "fontname" : "Ableton Sans Bold",
205 | "fontsize" : 8.0,
206 | "id" : "obj-8",
207 | "maxclass" : "comment",
208 | "numinlets" : 1,
209 | "numoutlets" : 0,
210 | "patching_rect" : [ 785.0, 470.0, 19.0, 16.0 ],
211 | "presentation" : 1,
212 | "presentation_rect" : [ 44.0, 49.0, 15.0, 16.0 ],
213 | "saved_attribute_attributes" : {
214 | "textcolor" : {
215 | "expression" : "themecolor.live_control_fg"
216 | }
217 |
218 | }
219 | ,
220 | "text" : "X"
221 | }
222 |
223 | }
224 | , {
225 | "box" : {
226 | "activeneedlecolor" : [ 0.011764705882353, 0.764705882352941, 0.835294117647059, 1.0 ],
227 | "annotation" : "\"Move in the Z axis of the corpora\"",
228 | "annotation_name" : "Z Axis Coordinates",
229 | "fontname" : "Ableton Sans Light",
230 | "id" : "obj-15",
231 | "maxclass" : "live.dial",
232 | "numinlets" : 1,
233 | "numoutlets" : 2,
234 | "outlettype" : [ "", "float" ],
235 | "parameter_enable" : 1,
236 | "patching_rect" : [ 921.0, 489.0, 29.0, 43.0 ],
237 | "presentation" : 1,
238 | "presentation_rect" : [ 99.625, 118.75, 29.0, 43.0 ],
239 | "saved_attribute_attributes" : {
240 | "activeneedlecolor" : {
241 | "expression" : "themecolor.live_value_arc"
242 | }
243 | ,
244 | "valueof" : {
245 | "parameter_annotation_name" : "Z Axis Coordinates",
246 | "parameter_info" : "\"Move in the Z axis of the corpora\"",
247 | "parameter_initial" : [ 0 ],
248 | "parameter_initial_enable" : 1,
249 | "parameter_linknames" : 1,
250 | "parameter_longname" : "Navigation Z",
251 | "parameter_mmax" : 1.0,
252 | "parameter_mmin" : -1.0,
253 | "parameter_modmode" : 2,
254 | "parameter_shortname" : "Z",
255 | "parameter_type" : 0,
256 | "parameter_unitstyle" : 1
257 | }
258 |
259 | }
260 | ,
261 | "showname" : 0,
262 | "triangle" : 1,
263 | "varname" : "Navigation Z"
264 | }
265 |
266 | }
267 | , {
268 | "box" : {
269 | "activeneedlecolor" : [ 0.011764705882353, 0.764705882352941, 0.835294117647059, 1.0 ],
270 | "annotation" : "\"Move in the Y axis of the corpora\"",
271 | "annotation_name" : "Y Axis Coordinates",
272 | "fontname" : "Ableton Sans Light",
273 | "id" : "obj-13",
274 | "maxclass" : "live.dial",
275 | "numinlets" : 1,
276 | "numoutlets" : 2,
277 | "outlettype" : [ "", "float" ],
278 | "parameter_enable" : 1,
279 | "patching_rect" : [ 847.0, 489.0, 29.0, 43.0 ],
280 | "presentation" : 1,
281 | "presentation_rect" : [ 67.5, 72.75, 29.0, 43.0 ],
282 | "saved_attribute_attributes" : {
283 | "activeneedlecolor" : {
284 | "expression" : "themecolor.live_value_arc"
285 | }
286 | ,
287 | "valueof" : {
288 | "parameter_annotation_name" : "Y Axis Coordinates",
289 | "parameter_info" : "\"Move in the Y axis of the corpora\"",
290 | "parameter_initial" : [ 0 ],
291 | "parameter_initial_enable" : 1,
292 | "parameter_linknames" : 1,
293 | "parameter_longname" : "Navigation Y",
294 | "parameter_mmax" : 1.0,
295 | "parameter_mmin" : -1.0,
296 | "parameter_modmode" : 2,
297 | "parameter_shortname" : "Y",
298 | "parameter_type" : 0,
299 | "parameter_unitstyle" : 1
300 | }
301 |
302 | }
303 | ,
304 | "showname" : 0,
305 | "triangle" : 1,
306 | "varname" : "Navigation Y"
307 | }
308 |
309 | }
310 | , {
311 | "box" : {
312 | "activeneedlecolor" : [ 0.011764705882353, 0.764705882352941, 0.835294117647059, 1.0 ],
313 | "annotation" : "\"Move in the X axis of the corpora\"",
314 | "annotation_name" : "X Axis Coordinates",
315 | "fontname" : "Ableton Sans Light",
316 | "id" : "obj-2",
317 | "maxclass" : "live.dial",
318 | "numinlets" : 1,
319 | "numoutlets" : 2,
320 | "outlettype" : [ "", "float" ],
321 | "parameter_enable" : 1,
322 | "patching_rect" : [ 773.0, 489.0, 29.0, 43.0 ],
323 | "presentation" : 1,
324 | "presentation_rect" : [ 36.5, 29.5, 29.0, 43.0 ],
325 | "saved_attribute_attributes" : {
326 | "activeneedlecolor" : {
327 | "expression" : "themecolor.live_value_arc"
328 | }
329 | ,
330 | "valueof" : {
331 | "parameter_annotation_name" : "X Axis Coordinates",
332 | "parameter_info" : "\"Move in the X axis of the corpora\"",
333 | "parameter_initial" : [ 0 ],
334 | "parameter_initial_enable" : 1,
335 | "parameter_linknames" : 1,
336 | "parameter_longname" : "Navigation X",
337 | "parameter_mmax" : 1.0,
338 | "parameter_mmin" : -1.0,
339 | "parameter_modmode" : 2,
340 | "parameter_shortname" : "X",
341 | "parameter_type" : 0,
342 | "parameter_unitstyle" : 1
343 | }
344 |
345 | }
346 | ,
347 | "showname" : 0,
348 | "triangle" : 1,
349 | "varname" : "Navigation X"
350 | }
351 |
352 | }
353 | , {
354 | "box" : {
355 | "id" : "obj-7",
356 | "linecount" : 3,
357 | "maxclass" : "comment",
358 | "numinlets" : 1,
359 | "numoutlets" : 0,
360 | "patching_rect" : [ 114.0, 606.0, 78.0, 47.0 ],
361 | "text" : "Checks if navigation type is XYZ"
362 | }
363 |
364 | }
365 | , {
366 | "box" : {
367 | "id" : "obj-41",
368 | "maxclass" : "newobj",
369 | "numinlets" : 0,
370 | "numoutlets" : 1,
371 | "outlettype" : [ "" ],
372 | "patching_rect" : [ 1245.0, 88.0, 169.0, 22.0 ],
373 | "text" : "r #1Mosaique_Loadbang"
374 | }
375 |
376 | }
377 | , {
378 | "box" : {
379 | "id" : "obj-33",
380 | "maxclass" : "newobj",
381 | "numinlets" : 2,
382 | "numoutlets" : 1,
383 | "outlettype" : [ "int" ],
384 | "patching_rect" : [ 697.0, 462.0, 33.0, 22.0 ],
385 | "text" : "== 0"
386 | }
387 |
388 | }
389 | , {
390 | "box" : {
391 | "id" : "obj-31",
392 | "maxclass" : "newobj",
393 | "numinlets" : 2,
394 | "numoutlets" : 2,
395 | "outlettype" : [ "", "" ],
396 | "patching_rect" : [ 773.0, 713.0, 55.0, 22.0 ],
397 | "text" : "zl.slice 2"
398 | }
399 |
400 | }
401 | , {
402 | "box" : {
403 | "id" : "obj-32",
404 | "maxclass" : "newobj",
405 | "numinlets" : 1,
406 | "numoutlets" : 1,
407 | "outlettype" : [ "" ],
408 | "patching_rect" : [ 773.0, 744.0, 98.0, 22.0 ],
409 | "text" : "prepend 2D_grid"
410 | }
411 |
412 | }
413 | , {
414 | "box" : {
415 | "id" : "obj-30",
416 | "maxclass" : "newobj",
417 | "numinlets" : 2,
418 | "numoutlets" : 1,
419 | "outlettype" : [ "int" ],
420 | "patching_rect" : [ 309.0, 407.0, 29.5, 22.0 ],
421 | "text" : "+ 1"
422 | }
423 |
424 | }
425 | , {
426 | "box" : {
427 | "id" : "obj-29",
428 | "maxclass" : "newobj",
429 | "numinlets" : 2,
430 | "numoutlets" : 3,
431 | "outlettype" : [ "", "", "" ],
432 | "patching_rect" : [ 309.0, 647.0, 483.833307266235352, 22.0 ],
433 | "text" : "gate 3"
434 | }
435 |
436 | }
437 | , {
438 | "box" : {
439 | "id" : "obj-25",
440 | "maxclass" : "newobj",
441 | "numinlets" : 2,
442 | "numoutlets" : 1,
443 | "outlettype" : [ "int" ],
444 | "patching_rect" : [ 212.0, 647.0, 33.0, 22.0 ],
445 | "text" : "== 0"
446 | }
447 |
448 | }
449 | , {
450 | "box" : {
451 | "comment" : "Navigation type (0 for OSC)",
452 | "id" : "obj-23",
453 | "index" : 1,
454 | "maxclass" : "inlet",
455 | "numinlets" : 0,
456 | "numoutlets" : 1,
457 | "outlettype" : [ "" ],
458 | "patching_rect" : [ 212.0, 584.0, 30.0, 30.0 ]
459 | }
460 |
461 | }
462 | , {
463 | "box" : {
464 | "id" : "obj-22",
465 | "maxclass" : "newobj",
466 | "numinlets" : 2,
467 | "numoutlets" : 1,
468 | "outlettype" : [ "" ],
469 | "patching_rect" : [ 212.0, 824.0, 116.0, 22.0 ],
470 | "text" : "gate"
471 | }
472 |
473 | }
474 | , {
475 | "box" : {
476 | "comment" : "",
477 | "id" : "obj-10",
478 | "index" : 1,
479 | "maxclass" : "outlet",
480 | "numinlets" : 1,
481 | "numoutlets" : 0,
482 | "patching_rect" : [ 212.0, 871.0, 30.0, 30.0 ]
483 | }
484 |
485 | }
486 | , {
487 | "box" : {
488 | "id" : "obj-101",
489 | "maxclass" : "newobj",
490 | "numinlets" : 1,
491 | "numoutlets" : 1,
492 | "outlettype" : [ "" ],
493 | "patching_rect" : [ 343.0, 536.0, 71.0, 22.0 ],
494 | "text" : "fromsymbol"
495 | }
496 |
497 | }
498 | , {
499 | "box" : {
500 | "id" : "obj-96",
501 | "maxclass" : "newobj",
502 | "numinlets" : 4,
503 | "numoutlets" : 2,
504 | "outlettype" : [ "", "" ],
505 | "patching_rect" : [ 343.0, 494.0, 373.0, 22.0 ],
506 | "text" : "combine \"script sendbox \" RecordedOSC_Z \" active \" int @triggers 3"
507 | }
508 |
509 | }
510 | , {
511 | "box" : {
512 | "id" : "obj-80",
513 | "maxclass" : "newobj",
514 | "numinlets" : 1,
515 | "numoutlets" : 2,
516 | "outlettype" : [ "", "" ],
517 | "patching_rect" : [ 343.0, 575.0, 67.0, 22.0 ],
518 | "save" : [ "#N", "thispatcher", ";", "#Q", "end", ";" ],
519 | "text" : "thispatcher"
520 | }
521 |
522 | }
523 | , {
524 | "box" : {
525 | "annotation" : "Choose the dimensionality of the navigation space.",
526 | "annotation_name" : "Navigation Coordinates",
527 | "fontname" : "Ableton Sans Bold",
528 | "fontsize" : 12.0,
529 | "id" : "obj-27",
530 | "maxclass" : "live.menu",
531 | "numinlets" : 1,
532 | "numoutlets" : 3,
533 | "outlettype" : [ "", "", "float" ],
534 | "parameter_enable" : 1,
535 | "parameter_mappable" : 0,
536 | "patching_rect" : [ 309.0, 357.0, 100.0, 18.0 ],
537 | "presentation" : 1,
538 | "presentation_rect" : [ 87.5, 7.0, 53.25, 18.0 ],
539 | "saved_attribute_attributes" : {
540 | "valueof" : {
541 | "parameter_annotation_name" : "Navigation Coordinates",
542 | "parameter_enum" : [ "3D", "2D", "2D grid" ],
543 | "parameter_info" : "Choose the dimensionality of the navigation space.",
544 | "parameter_initial" : [ 0 ],
545 | "parameter_initial_enable" : 1,
546 | "parameter_invisible" : 1,
547 | "parameter_linknames" : 1,
548 | "parameter_longname" : "Navigation Coordinates",
549 | "parameter_mmax" : 2,
550 | "parameter_modmode" : 0,
551 | "parameter_shortname" : "Coord Type",
552 | "parameter_type" : 2
553 | }
554 |
555 | }
556 | ,
557 | "varname" : "Navigation Coordinates"
558 | }
559 |
560 | }
561 | , {
562 | "box" : {
563 | "id" : "obj-18",
564 | "maxclass" : "newobj",
565 | "numinlets" : 2,
566 | "numoutlets" : 2,
567 | "outlettype" : [ "", "" ],
568 | "patching_rect" : [ 541.0, 713.0, 55.0, 22.0 ],
569 | "text" : "zl.slice 2"
570 | }
571 |
572 | }
573 | , {
574 | "box" : {
575 | "id" : "obj-17",
576 | "maxclass" : "newobj",
577 | "numinlets" : 1,
578 | "numoutlets" : 1,
579 | "outlettype" : [ "" ],
580 | "patching_rect" : [ 309.0, 744.0, 71.0, 22.0 ],
581 | "text" : "prepend 3D"
582 | }
583 |
584 | }
585 | , {
586 | "box" : {
587 | "id" : "obj-11",
588 | "maxclass" : "newobj",
589 | "numinlets" : 1,
590 | "numoutlets" : 1,
591 | "outlettype" : [ "" ],
592 | "patching_rect" : [ 541.0, 744.0, 71.0, 22.0 ],
593 | "text" : "prepend 2D"
594 | }
595 |
596 | }
597 | , {
598 | "box" : {
599 | "id" : "obj-16",
600 | "maxclass" : "newobj",
601 | "numinlets" : 3,
602 | "numoutlets" : 1,
603 | "outlettype" : [ "" ],
604 | "patching_rect" : [ 773.0, 566.0, 167.0, 22.0 ],
605 | "text" : "pak 0. 0. 0."
606 | }
607 |
608 | }
609 | , {
610 | "box" : {
611 | "angle" : 270.0,
612 | "bgcolor" : [ 1.0, 1.0, 1.0, 0.15 ],
613 | "id" : "obj-28",
614 | "maxclass" : "panel",
615 | "mode" : 0,
616 | "numinlets" : 1,
617 | "numoutlets" : 0,
618 | "patching_rect" : [ 746.0, 454.0, 316.0, 101.0 ],
619 | "presentation" : 1,
620 | "presentation_rect" : [ 26.75, 26.75, 114.0, 135.0 ],
621 | "proportion" : 0.39,
622 | "rounded" : 4
623 | }
624 |
625 | }
626 | ],
627 | "lines" : [ {
628 | "patchline" : {
629 | "destination" : [ "obj-80", 0 ],
630 | "source" : [ "obj-101", 0 ]
631 | }
632 |
633 | }
634 | , {
635 | "patchline" : {
636 | "destination" : [ "obj-22", 1 ],
637 | "midpoints" : [ 550.5, 808.0, 318.5, 808.0 ],
638 | "source" : [ "obj-11", 0 ]
639 | }
640 |
641 | }
642 | , {
643 | "patchline" : {
644 | "destination" : [ "obj-16", 1 ],
645 | "source" : [ "obj-13", 0 ]
646 | }
647 |
648 | }
649 | , {
650 | "patchline" : {
651 | "destination" : [ "obj-16", 2 ],
652 | "source" : [ "obj-15", 0 ]
653 | }
654 |
655 | }
656 | , {
657 | "patchline" : {
658 | "destination" : [ "obj-14", 1 ],
659 | "order" : 0,
660 | "source" : [ "obj-16", 0 ]
661 | }
662 |
663 | }
664 | , {
665 | "patchline" : {
666 | "destination" : [ "obj-29", 1 ],
667 | "order" : 1,
668 | "source" : [ "obj-16", 0 ]
669 | }
670 |
671 | }
672 | , {
673 | "patchline" : {
674 | "destination" : [ "obj-22", 1 ],
675 | "source" : [ "obj-17", 0 ]
676 | }
677 |
678 | }
679 | , {
680 | "patchline" : {
681 | "destination" : [ "obj-11", 0 ],
682 | "source" : [ "obj-18", 0 ]
683 | }
684 |
685 | }
686 | , {
687 | "patchline" : {
688 | "destination" : [ "obj-6", 0 ],
689 | "source" : [ "obj-19", 0 ]
690 | }
691 |
692 | }
693 | , {
694 | "patchline" : {
695 | "destination" : [ "obj-16", 0 ],
696 | "source" : [ "obj-2", 0 ]
697 | }
698 |
699 | }
700 | , {
701 | "patchline" : {
702 | "destination" : [ "obj-35", 0 ],
703 | "source" : [ "obj-20", 0 ]
704 | }
705 |
706 | }
707 | , {
708 | "patchline" : {
709 | "destination" : [ "obj-10", 0 ],
710 | "source" : [ "obj-22", 0 ]
711 | }
712 |
713 | }
714 | , {
715 | "patchline" : {
716 | "destination" : [ "obj-25", 0 ],
717 | "source" : [ "obj-23", 0 ]
718 | }
719 |
720 | }
721 | , {
722 | "patchline" : {
723 | "destination" : [ "obj-22", 0 ],
724 | "order" : 0,
725 | "source" : [ "obj-25", 0 ]
726 | }
727 |
728 | }
729 | , {
730 | "patchline" : {
731 | "destination" : [ "obj-34", 0 ],
732 | "order" : 1,
733 | "source" : [ "obj-25", 0 ]
734 | }
735 |
736 | }
737 | , {
738 | "patchline" : {
739 | "destination" : [ "obj-19", 0 ],
740 | "source" : [ "obj-27", 1 ]
741 | }
742 |
743 | }
744 | , {
745 | "patchline" : {
746 | "destination" : [ "obj-20", 0 ],
747 | "order" : 0,
748 | "source" : [ "obj-27", 0 ]
749 | }
750 |
751 | }
752 | , {
753 | "patchline" : {
754 | "destination" : [ "obj-30", 0 ],
755 | "order" : 2,
756 | "source" : [ "obj-27", 0 ]
757 | }
758 |
759 | }
760 | , {
761 | "patchline" : {
762 | "destination" : [ "obj-33", 0 ],
763 | "order" : 1,
764 | "source" : [ "obj-27", 0 ]
765 | }
766 |
767 | }
768 | , {
769 | "patchline" : {
770 | "destination" : [ "obj-17", 0 ],
771 | "source" : [ "obj-29", 0 ]
772 | }
773 |
774 | }
775 | , {
776 | "patchline" : {
777 | "destination" : [ "obj-18", 0 ],
778 | "source" : [ "obj-29", 1 ]
779 | }
780 |
781 | }
782 | , {
783 | "patchline" : {
784 | "destination" : [ "obj-31", 0 ],
785 | "source" : [ "obj-29", 2 ]
786 | }
787 |
788 | }
789 | , {
790 | "patchline" : {
791 | "destination" : [ "obj-29", 0 ],
792 | "source" : [ "obj-30", 0 ]
793 | }
794 |
795 | }
796 | , {
797 | "patchline" : {
798 | "destination" : [ "obj-32", 0 ],
799 | "source" : [ "obj-31", 0 ]
800 | }
801 |
802 | }
803 | , {
804 | "patchline" : {
805 | "destination" : [ "obj-22", 1 ],
806 | "midpoints" : [ 782.5, 808.0, 318.5, 808.0 ],
807 | "source" : [ "obj-32", 0 ]
808 | }
809 |
810 | }
811 | , {
812 | "patchline" : {
813 | "destination" : [ "obj-96", 3 ],
814 | "source" : [ "obj-33", 0 ]
815 | }
816 |
817 | }
818 | , {
819 | "patchline" : {
820 | "destination" : [ "obj-36", 0 ],
821 | "source" : [ "obj-34", 0 ]
822 | }
823 |
824 | }
825 | , {
826 | "patchline" : {
827 | "destination" : [ "obj-15", 0 ],
828 | "source" : [ "obj-35", 0 ]
829 | }
830 |
831 | }
832 | , {
833 | "patchline" : {
834 | "destination" : [ "obj-27", 0 ],
835 | "midpoints" : [ 140.5, 764.0, 104.0, 764.0, 104.0, 334.0, 318.5, 334.0 ],
836 | "source" : [ "obj-36", 0 ]
837 | }
838 |
839 | }
840 | , {
841 | "patchline" : {
842 | "destination" : [ "obj-44", 0 ],
843 | "source" : [ "obj-41", 0 ]
844 | }
845 |
846 | }
847 | , {
848 | "patchline" : {
849 | "destination" : [ "obj-14", 0 ],
850 | "source" : [ "obj-43", 0 ]
851 | }
852 |
853 | }
854 | , {
855 | "patchline" : {
856 | "destination" : [ "obj-43", 0 ],
857 | "source" : [ "obj-44", 0 ]
858 | }
859 |
860 | }
861 | , {
862 | "patchline" : {
863 | "destination" : [ "obj-101", 0 ],
864 | "source" : [ "obj-96", 0 ]
865 | }
866 |
867 | }
868 | ]
869 | }
870 |
871 | }
872 |
--------------------------------------------------------------------------------