forked from tomerbe/sh-pdexterns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path+matrix~-help.pd
95 lines (95 loc) · 2.65 KB
/
+matrix~-help.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
90
91
92
93
94
95
#N canvas 345 64 756 627 12;
#X obj 59 571 dac~;
#X obj 280 430 hsl 128 15 0 100 0 0 empty empty Master-volume -2 -8
0 12 -228856 -1 -1 10900 1;
#X obj 59 532 *~;
#X obj 13 307 +matrix~;
#X obj 120 532 *~;
#X obj 74 286 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X floatatom 43 232 5 -12 12 0 - - -;
#X floatatom 58 257 5 -12 12 0 - - -;
#X text 105 254 sideGain;
#X text 95 284 direction;
#X text 234 16 +matrix~;
#X obj -6 164 readsf~ 2;
#X obj 277 468 dbtorms;
#X floatatom 277 448 5 0 100 0 - - -;
#X msg 31 123 open \$1;
#X obj 76 74 openpanel;
#X obj 76 48 bng 15 250 50 0 empty empty load_soundfile 17 7 0 12 -262144
-1 -1;
#X obj 31 99 symbol;
#X obj -6 74 t b b;
#X msg -6 123 1;
#X obj -6 37 bng 15 250 50 0 empty loop play 17 7 0 12 -262144 -1 -1
;
#X obj 59 468 +matrix~;
#X obj 120 447 tgl 15 0 empty m2-dir-set empty 17 7 0 10 -262144 -1
-1 1 1;
#X text 137 444 direction;
#X obj 63 192 s loop;
#X msg 277 491 \$1 40;
#X obj 277 514 line~;
#N canvas 857 168 270 252 init 0;
#X obj 51 39 loadbang;
#X msg 51 182 \; pd dsp 1 \;;
#X msg 86 128 1;
#X obj 86 151 s m2-dir-set;
#X obj 51 62 t b b b;
#X obj 133 113 s rvb-set;
#X msg 133 90 35;
#X connect 0 0 4 0;
#X connect 2 0 3 0;
#X connect 4 0 1 0;
#X connect 4 1 2 0;
#X connect 4 2 6 0;
#X connect 6 0 5 0;
#X restore 676 199 pd init;
#X obj 236 39 cnv 15 500 150 empty empty empty 20 12 0 14 -233017 -66577
0;
#X text 248 46 A mid-side to left-right encoder and decoder. For mid-side
microphone arrays \, but also useful when needing to apply effects
to only the center or the sides of a stereo mix. Here the first matrix
encodes a stereo file into mid-side \, and the second decodes the mid-side
back to stereo. Check direction box to decode \, leave blank to encode.
\; \; Note: you must load a *stereo* soundfile to hear clear changes.
;
#X obj 59 383 rev1~;
#X obj 119 383 rev1~;
#X obj 140 345 hsl 128 15 0 100 0 0 empty rvb-set empty -2 -8 0 10
-262144 -1 -1 4445 1;
#X text 136 325 Apply reverb while decoded;
#X text 91 230 midGain;
#X text 180 238 (-12 to 12 dB);
#X connect 1 0 13 0;
#X connect 2 0 0 0;
#X connect 3 0 30 0;
#X connect 3 1 31 0;
#X connect 4 0 0 1;
#X connect 5 0 3 4;
#X connect 6 0 3 2;
#X connect 7 0 3 3;
#X connect 11 0 3 0;
#X connect 11 1 3 1;
#X connect 11 2 24 0;
#X connect 12 0 25 0;
#X connect 13 0 12 0;
#X connect 14 0 11 0;
#X connect 15 0 17 1;
#X connect 16 0 15 0;
#X connect 17 0 14 0;
#X connect 18 0 19 0;
#X connect 18 1 17 0;
#X connect 19 0 11 0;
#X connect 20 0 18 0;
#X connect 21 0 2 0;
#X connect 21 1 4 0;
#X connect 22 0 21 4;
#X connect 25 0 26 0;
#X connect 26 0 4 1;
#X connect 26 0 2 1;
#X connect 30 0 21 0;
#X connect 31 0 21 1;
#X connect 32 0 30 1;
#X connect 32 0 31 1;