forked from tomerbe/sh-pdexterns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
+decimate~-help.pd
110 lines (110 loc) · 3 KB
/
+decimate~-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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
#N canvas 348 58 538 376 12;
#X floatatom 91 245 5 0 8 0 - dec-initfolds -;
#X floatatom 52 223 5 1 24 0 - dec-initbit -;
#X text 100 220 Bit Depth;
#X text 138 245 Folds;
#X obj 14 270 +decimate~;
#X text 21 14 +decimate~;
#N canvas 771 57 298 404 dec_soundfile 0;
#N canvas 0 22 450 300 (subpatch) 0;
#X array dec_soundfile 188893 float 2;
#X coords 0 1 188893 -1 200 140 1;
#X restore 48 45 graph;
#X obj 85 300 /;
#X obj 85 250 t b f;
#X obj 85 275 samplerate~;
#X obj 85 225 r dec_filelength;
#X obj 85 325 s dec_phasorfreq;
#X connect 1 0 5 0;
#X connect 2 0 3 0;
#X connect 2 1 1 1;
#X connect 3 0 1 0;
#X connect 4 0 2 0;
#X restore 382 156 pd dec_soundfile;
#N canvas 760 183 326 297 init 0;
#X obj 40 27 loadbang;
#X obj 40 50 t b b b b;
#X msg 70 170 24;
#X msg 113 146 0;
#X msg 40 243 \; pd dsp 1 \;;
#X msg 162 106 70;
#X obj 113 169 s dec-initfolds;
#X obj 70 195 s dec-initbit;
#X obj 162 129 s dec-vol-set;
#X connect 0 0 1 0;
#X connect 1 0 4 0;
#X connect 1 1 2 0;
#X connect 1 2 3 0;
#X connect 1 3 5 0;
#X connect 2 0 7 0;
#X connect 3 0 6 0;
#X connect 5 0 8 0;
#X restore 454 179 pd init;
#X obj 14 41 cnv 15 500 75 empty empty empty 20 12 0 14 -233017 -66577
0;
#X text 22 49 The +decimate~ object provides bit depth and sample rate
reduction for added aliasing and decimation noise. A very noisy plugin.
Bit depth and fold can accept non-integer values (hold down shift and
drag).;
#X obj 272 300 hsl 128 15 0 99 0 0 dec-vol dec-vol-set empty -2 -8
0 10 -228856 -1 -1 8980 1;
#X text 267 280 Volume (dB);
#X floatatom 412 300 5 0 0 0 - dec-vol -;
#X obj 14 153 bng 15 250 50 0 dec-openfile empty open-sound-file 17
7 0 12 -4034 -1 -1;
#N canvas 187 59 254 370 output 0;
#X obj 89 280 dac~;
#X obj 110 141 dbtorms;
#X obj 89 233 *~;
#X obj 89 66 inlet~;
#X msg 110 164 \$1 50;
#X obj 110 187 line~;
#X obj 110 118 r dec-vol;
#X connect 1 0 4 0;
#X connect 2 0 0 0;
#X connect 2 0 0 1;
#X connect 3 0 2 0;
#X connect 4 0 5 0;
#X connect 5 0 2 1;
#X connect 6 0 1 0;
#X restore 14 330 pd output;
#N canvas 135 177 664 511 sf-player 0;
#N canvas 0 22 450 300 (subpatch) 0;
#X array dec-soundfile 188893 float 2;
#X coords 0 1 188893 -1 200 140 1;
#X restore 34 32 graph;
#X obj 286 33 openpanel;
#X obj 286 96 soundfiler;
#X obj 286 181 phasor~ 0.5;
#X obj 286 208 *~;
#X obj 72 289 /;
#X obj 72 242 t b f;
#X obj 72 265 samplerate~;
#X obj 286 272 outlet~;
#X obj 286 11 r dec-openfile;
#X msg 286 64 read -resize -maxsize 2e+06 \$1 dec-soundfile;
#X obj 286 121 s dec-filelength;
#X obj 286 156 r dec-phasorfreq;
#X obj 328 208 r dec-filelength;
#X obj 286 232 tabread4~ dec-soundfile;
#X obj 72 219 r dec-filelength;
#X obj 72 316 s dec-phasorfreq;
#X connect 1 0 10 0;
#X connect 2 0 11 0;
#X connect 3 0 4 0;
#X connect 4 0 14 0;
#X connect 5 0 16 0;
#X connect 6 0 7 0;
#X connect 6 1 5 1;
#X connect 7 0 5 0;
#X connect 9 0 1 0;
#X connect 10 0 2 0;
#X connect 12 0 3 0;
#X connect 13 0 4 1;
#X connect 14 0 8 0;
#X connect 15 0 6 0;
#X restore 14 183 pd sf-player;
#X connect 0 0 4 2;
#X connect 1 0 4 1;
#X connect 4 0 14 0;
#X connect 15 0 4 0;