forked from patricksebastien/mtl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
adsr-help.pd
50 lines (50 loc) · 1.8 KB
/
adsr-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
#N canvas 1 82 1364 661 10;
#X obj 32 406 osc~ 440;
#X obj 32 435 *~;
#X obj 31 460 *~ 0.3;
#X text 27 57 Description: Simple ADSR enveloppe generator.;
#X text 28 74 Arguments: Attack time \, Decay time \, Sustain level
\, Release time;
#X text 320 521 Arguments: attack_time decay_time sustain_level release_time
;
#X obj 30 485 mtl/out~;
#X obj 643 88 cnv 15 200 20 empty empty /adsr/ 2 12 0 8 -258401 -262144
0;
#X obj 645 117 nbx 5 14 -1e+37 1e+37 0 0 /adsr/attack-time /adsr/attack-time_
attack-time 65 7 0 10 -262144 -1 -1 700 256;
#X obj 645 136 nbx 5 14 -1e+37 1e+37 0 0 /adsr/decay-time /adsr/decay-time_
decay-time 65 7 0 10 -262144 -1 -1 150 256;
#X obj 648 155 hsl 128 15 0 100 0 0 /adsr/sustain-level /adsr/sustain-level_
sustain-level 135 5 0 10 -262144 -1 -1 6350 1;
#X obj 646 175 nbx 5 14 -1e+37 1e+37 0 0 /adsr/release-time /adsr/release-time_
release-time 65 7 0 10 -262144 -1 -1 100 256;
#X obj 645 196 nbx 5 14 -1e+37 1e+37 0 0 /adsr/peak-level /adsr/peak-level_
peak-level 65 7 0 10 -262144 -1 -1 1 256;
#X obj 231 462 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
-1 -1 6350 1;
#X floatatom 240 512 5 0 0 0 - - -;
#X text 27 101 tags: control;
#X obj 164 265 loadbang;
#X obj 165 287 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
1;
#X obj 163 309 mtl/clkSlave 2 8;
#X obj 362 260 loadbang;
#X text 376 294 Right inlet sets pattern;
#X obj 156 358 mtl/seq1x8-nbx /id seq1x8-nbx;
#X msg 361 316 1 -1 -1 -1 0 -1 -1 -1;
#X obj 1089 25 mtl/clkMaster 50;
#X obj 199 418 mtl/adsr /id adsr 1 700 150 50 100;
#X text 320 537 comment;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X connect 2 0 6 0;
#X connect 2 0 6 1;
#X connect 16 0 17 0;
#X connect 17 0 18 0;
#X connect 18 0 21 0;
#X connect 19 0 22 0;
#X connect 21 0 24 0;
#X connect 22 0 21 1;
#X connect 24 0 1 1;
#X connect 24 0 13 0;
#X connect 24 0 14 0;