-
Notifications
You must be signed in to change notification settings - Fork 22
/
000.G.VECTOR_MULTIPLEXING.pd
89 lines (89 loc) · 2.84 KB
/
000.G.VECTOR_MULTIPLEXING.pd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
#N canvas 50 26 1196 708 10;
#X obj 7 517 vs-multiplex \$0 1;
#X obj 317 517 vs-multiplex \$0 2;
#X text 1014 612 Derek Holzer;
#X text 1014 661 macumbista@gmail.com;
#X text 1014 636 Helsinki May 2019;
#X obj 958 199 cnv 15 200 150 empty empty empty 20 12 0 14 -4034 -66577
0;
#X obj 956 373 cnv 15 200 150 empty empty empty 20 12 0 14 -4034 -66577
0;
#X text 959 376 INLETS;
#X text 963 200 OUTPUT CHANNELS;
#X text 982 218 1) X axis signal;
#X text 982 238 2) Y axis signal;
#X text 982 257 3) Brightness signal;
#X text 982 276 4) RGB (used for ILDA);
#X text 982 296 5) Audio Left;
#X text 982 316 6) Audio Right;
#X text 982 395 1) X axis signal;
#X text 982 415 2) Y axis signal;
#X text 982 434 3) Brightness signal;
#X text 982 455 4) Audio Left;
#X text 982 473 5) Audio Right;
#X text 38 564 USAGE:;
#X text 53 591 Create one [vs-multiplex-gui \$0 <unique-name>] for
your patch.;
#X text 53 621 Create one [vs-audiodac-gui \$0 <unique-name>] for your
patch.;
#X obj 627 372 vs-audiodac-gui \$0 dac-one;
#A saved 85 0 5 6 1 0 50 0 0 0 1 2 100;
#X obj 629 200 vs-multiplex-gui \$0 multiplex-one;
#A saved 25 2 1 1;
#X obj 317 201 vs-icosahedron-gui \$0 \$0-ico-one;
#A saved 25 0 2 0 2 40 0 1 0;
#X obj 7 200 vs-cube-gui \$0 \$0-cube-one;
#A saved 25 0 2 0 2 25 0 1 0;
#X obj 7 306 vs-rotate-gui \$0 \$0-rotate-one;
#A saved 0 45 120 0 0 0 1 10 8 0;
#X obj 317 432 vs-translate-gui \$0 \$0-translate-two;
#A saved -50 0 0;
#X obj 7 431 vs-translate-gui \$0 \$0-translate-one;
#A saved 50 0 0;
#X obj 317 306 vs-rotate-gui \$0 \$0-rotate-two;
#A saved 0 0 0 0 0 0 1 10 -8 0;
#X obj 627 519 switch~;
#X obj 612 175 expr~ ($v1 * -1)+1;
#X obj 302 32 vs-operator-gui \$0 \$0-xfader;
#A saved 0 25 0 1 0 100 0 1 0 0 0;
#X text 52 651 Create one [vs-multiplex \$0 (channel number)] for each
shape;
#X text 52 665 you want to multiplex.;
#X text 666 58 When launched \, this patch will display a cube to the
left of the screen and an icosahedron to the right of the screen. If
birghtness control is enabled in the Oscilloscope app \, or if you
have brightness control availabe on your hardware display \, then the
two shapes will cross fade in brightness.;
#X text 136 9 This operator crossfades the brightness of the two shapes.
;
#X connect 23 0 31 0;
#X connect 24 0 23 0;
#X connect 24 1 23 1;
#X connect 24 2 23 2;
#X connect 24 4 23 3;
#X connect 24 5 23 4;
#X connect 25 0 30 0;
#X connect 25 1 30 1;
#X connect 25 2 30 2;
#X connect 25 3 30 3;
#X connect 26 0 27 0;
#X connect 26 1 27 1;
#X connect 26 2 27 2;
#X connect 26 3 27 3;
#X connect 27 0 29 0;
#X connect 27 1 29 1;
#X connect 27 2 29 2;
#X connect 27 3 29 3;
#X connect 28 0 1 0;
#X connect 28 1 1 1;
#X connect 28 3 1 2;
#X connect 29 0 0 0;
#X connect 29 1 0 1;
#X connect 29 3 0 2;
#X connect 30 0 28 0;
#X connect 30 1 28 1;
#X connect 30 2 28 2;
#X connect 30 3 28 3;
#X connect 32 0 25 2;
#X connect 33 0 32 0;
#X connect 33 0 26 2;