-
Notifications
You must be signed in to change notification settings - Fork 0
/
AM~.pd
executable file
·130 lines (130 loc) · 3.47 KB
/
AM~.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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
#N canvas 497 23 625 516 10;
#X obj 123 279 *~;
#X obj 97 355 *~;
#X obj 162 338 expr~ ($v1 + 1) / 2;
#X obj 198 240 \$1 20;
#X obj 198 262 line~;
#X obj 242 20 loadbang;
#X obj 103 103 cnv 15 148 78 empty empty AM 20 12 0 14 -126377 -204800
0;
#X obj 185 130 hsl 40 20 0 1 0 0 \$0-AM_Moduladora_r \$0-AM_Moduladora_s
Moduladora -6 -8 0 10 -262144 -1 -1 0 1;
#X obj 133 130 tgl 20 0 \$0-AM_ON/OFF_r \$0-AM_ON/OFF_s ON/OFF -7 28
0 10 -262144 -1 -1 0 1;
#X obj 185 155 tgl 15 0 \$0-AM_Ring_r \$0-AM_Ring_s Ring 17 7 0 10
-262144 -1 -1 0 1;
#X obj 28 73 inlet~;
#X obj 136 427 outlet~;
#X obj 242 45 delay 100;
#X msg 242 73 1;
#X obj 123 73 inlet~;
#N canvas 760 227 216 257 spigot~ 0;
#X obj 96 26 inlet;
#X obj 45 26 inlet~;
#X obj 86 176 outlet~;
#X obj 36 176 outlet~;
#X obj 96 104 == 0;
#X obj 45 125 *~ 0;
#X obj 77 125 *~ 0;
#X obj 104 47 loadbang;
#X msg 104 67 0;
#X connect 0 0 4 0;
#X connect 0 0 5 1;
#X connect 1 0 5 0;
#X connect 1 0 6 0;
#X connect 4 0 6 1;
#X connect 5 0 2 0;
#X connect 6 0 3 0;
#X connect 7 0 8 0;
#X connect 8 0 4 0;
#X connect 8 0 5 1;
#X restore 123 303 pd spigot~;
#N canvas 760 227 191 227 spigot~ 0;
#X obj 98 26 inlet;
#X obj 45 26 inlet~;
#X obj 86 176 outlet~;
#X obj 36 176 outlet~;
#X obj 96 104 == 0;
#X obj 45 125 *~ 0;
#X obj 81 125 *~ 0;
#X obj 104 47 loadbang;
#X msg 104 67 0;
#X connect 0 0 4 0;
#X connect 0 0 5 1;
#X connect 1 0 5 0;
#X connect 1 0 6 0;
#X connect 4 0 6 1;
#X connect 5 0 2 0;
#X connect 6 0 3 0;
#X connect 7 0 8 0;
#X connect 8 0 4 0;
#X connect 8 0 5 1;
#X restore 97 383 pd spigot~;
#X text 282 447 Edu Meneses (2015);
#X text 271 475 Released under GNU GPL;
#X text 282 461 www.edumeneses.com;
#X obj 316 163 cnv 15 280 90 empty empty patch_mapping_AM 20 12 0 14
-232576 -66577 0;
#N canvas 831 24 450 300 instructions 0;
#X text 156 231 Edu Meneses (2015);
#X text 145 259 Released under GNU GPL;
#X text 156 245 www.edumeneses.com;
#X text 37 33 To use this subpatch with external controllers send the
command messages to mapping_commands:;
#X text 28 81 am:;
#X text 48 102 on / off: Turn the subpatch on and off (0 or 1).;
#X text 48 122 modulador: change modulator presence (0 to 1).;
#X text 48 142 ring: turn on ring modulation (0 or 1).;
#X restore 494 230 pd instructions;
#X text 223 168 v1.0;
#X text 20 38 portadora;
#X text 113 38 moduladora;
#X text 19 53 (carrier);
#X text 86 54 (modulating signal);
#X obj 330 205 r mapping_commands;
#X symbolatom 471 205 15 0 0 2 address #0-am_patch_mapping_default
-;
#N canvas 73 246 403 313 patch_mapping_am 0;
#X obj 46 64 inlet;
#X msg 46 156 1;
#X msg 89 157 0;
#X obj 91 64 inlet;
#X obj 169 47 loadbang;
#X msg 169 71 set am;
#X obj 169 98 s \$0-am_patch_mapping_default;
#X obj 46 92 route am;
#X obj 46 186 s \$0-AM_ON/OFF_s;
#X obj 125 157 s \$0-AM_Moduladora_s;
#X obj 165 186 s \$0-AM_Ring_s;
#X obj 46 130 route on off modulador ring;
#X connect 0 0 7 0;
#X connect 1 0 8 0;
#X connect 2 0 8 0;
#X connect 3 0 7 1;
#X connect 4 0 5 0;
#X connect 5 0 6 0;
#X connect 7 0 11 0;
#X connect 11 0 1 0;
#X connect 11 1 2 0;
#X connect 11 2 9 0;
#X connect 11 3 10 0;
#X restore 330 226 pd patch_mapping_am;
#X connect 0 0 15 0;
#X connect 1 0 16 0;
#X connect 2 0 1 1;
#X connect 3 0 4 0;
#X connect 4 0 0 1;
#X connect 5 0 12 0;
#X connect 7 0 3 0;
#X connect 8 0 16 1;
#X connect 9 0 15 1;
#X connect 10 0 1 0;
#X connect 12 0 13 0;
#X connect 13 0 7 0;
#X connect 14 0 0 0;
#X connect 15 0 2 0;
#X connect 15 1 1 1;
#X connect 16 1 11 0;
#X connect 27 0 29 0;
#X connect 28 0 29 1;
#X coords 0 -1 1 1 154 84 2 100 100;