-
Notifications
You must be signed in to change notification settings - Fork 1
/
egrains~-help.pd
78 lines (78 loc) · 2.31 KB
/
egrains~-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
#N canvas 384 128 879 661 10;
#X text 54 222 read pt.;
#X text 125 237 transposition;
#X msg 275 275 500;
#X text 303 271 tabread offset;
#X msg 286 305 set nextarray;
#X text 375 303 choose array;
#X text 347 342 set phase of 1st (2nd will be off by 1/2 a cycle);
#X text 37 301 grain freq \, negative is backwards;
#X text 235 381 outlets: 2 signals \, readpoint \, grain size \, and
phase of 1st reader;
#X text 130 560 inlets: readpoint \, transposition \, grainsize \,
control(floats are offset \, "set" message sets array name \, "window"
is a scaler value 1 and higher that scales the hanning window down
(2.g. 2 is half-width);
#X text 244 204 simple granular synth. argument is the name of the
array to read from. overlaps 2 read heads with a hanning window;
#X obj 66 276 vline~;
#X obj 126 23 openpanel;
#X floatatom 136 92 5 0 0 0 - - -;
#X obj 119 142 t f f;
#X obj 96 195 pack f f;
#X obj 126 5 bng 15 250 50 0 empty empty load_soundfile 17 7 0 10 -262144
-1 -1;
#X obj 205 98 bng 15 250 50 0 empty empty play_soundfile 17 7 0 10
-262144 -1 -1;
#X msg 62 249 0 \, \$1 \$2;
#X obj 226 435 ./dbgr~;
#X msg 288 342 phase 0.5;
#X obj 122 118 f;
#X msg 333 150 phase 1;
#X text 386 151 you may have to hit this to start the sampphase;
#X msg 431 278 window 2;
#X msg 493 282 window 1;
#X floatatom 197 129 5 0 0 1 manual_position(seconds) - -;
#X obj 373 91 samplerate~;
#X obj 195 148 *;
#X obj 138 421 *~ 0.5;
#X msg 194 174 \$1 500;
#X text 347 463 args: phase \, window;
#X obj 124 60 ./sampbuf~ myarray;
#X obj 113 380 ./egrains~ myarray;
#X obj 118 452 ./outputc~;
#X obj 376 47 ./banger;
#X obj 178 319 ./smoother~;
#X obj 126 256 ./smoother~;
#X obj 145 171 ./stoms;
#X connect 2 0 33 3;
#X connect 4 0 33 3;
#X connect 11 0 33 0;
#X connect 12 0 32 0;
#X connect 13 0 21 1;
#X connect 14 0 15 0;
#X connect 14 1 38 0;
#X connect 15 0 18 0;
#X connect 16 0 12 0;
#X connect 17 0 21 0;
#X connect 18 0 11 0;
#X connect 20 0 33 3;
#X connect 21 0 14 0;
#X connect 22 0 33 3;
#X connect 24 0 33 3;
#X connect 25 0 33 3;
#X connect 26 0 28 0;
#X connect 27 0 28 1;
#X connect 28 0 30 0;
#X connect 29 0 34 1;
#X connect 29 0 34 0;
#X connect 30 0 11 0;
#X connect 32 0 13 0;
#X connect 33 0 29 0;
#X connect 33 1 29 0;
#X connect 33 4 19 0;
#X connect 35 0 27 0;
#X connect 35 2 27 0;
#X connect 36 0 33 2;
#X connect 37 0 33 1;
#X connect 38 0 15 1;