comparison projects/heavy/pd/circularBuffer/_main.pd @ 163:20b52283c7b4 heavy-updated

- added circular buffer pd/heavy example (works but process needs to be killed manually if launched via ssh?)
author chnrx <chris.heinrichs@gmail.com>
date Thu, 12 Nov 2015 15:55:30 +0000
parents
children 40badaff5729
comparison
equal deleted inserted replaced
162:c3e8226a5651 163:20b52283c7b4
1 #N canvas 369 979 738 494 10;
2 #X obj 135 167 loadbang;
3 #X msg 135 212 1;
4 #X obj 183 234 / 44.1;
5 #X obj 135 253 metro;
6 #X obj 135 286 f;
7 #X obj 160 286 + 64;
8 #X obj 160 308 % 65536, f 8;
9 #X msg 160 329 start \$1;
10 #X obj 160 351 tabwrite~ circbuf;
11 #X obj 363 303 - 32768;
12 #X obj 363 325 + 65536;
13 #X obj 363 347 % 65536;
14 #X obj 342 371 +~ 0;
15 #X msg 381 236 0;
16 #X obj 342 258 phasor~;
17 #X obj 342 392 tabread4~ circbuf;
18 #X obj 341 415 dac~;
19 #N canvas 422 781 312 126 buf 0;
20 #N canvas 0 22 450 278 (subpatch) 0;
21 #X array circbuf 65536 float 2;
22 #X coords 0 1 65535 -1 256 64 1 0 0;
23 #X restore 23 28 graph;
24 #X restore 129 441 pd buf;
25 #X obj 32 101 osc~ 440;
26 #X obj 342 213 samplerate~;
27 #X obj 134 189 t b b b b;
28 #X text 30 82 audio input;
29 #X text 219 310 write pointer;
30 #X text 412 349 read pointer;
31 #X obj 342 282 *~ 16;
32 #X obj 342 236 / 16;
33 #X obj 183 214 f 16;
34 #X obj 363 189 r \$0-blocksize;
35 #X obj 204 186 r \$0-blocksize;
36 #X obj 394 259 r \$0-blocksize;
37 #X obj 390 123 s \$0-blocksize;
38 #X floatatom 390 105 5 0 0 0 - - -, f 5;
39 #X text 34 13 VIRTUAL CIRCULAR BUFFER;
40 #X text 34 23 =======================;
41 #X text 503 465 @krighxz / BELA / heavy / 11/2015;
42 #X connect 0 0 20 0;
43 #X connect 1 0 3 0;
44 #X connect 2 0 3 1;
45 #X connect 3 0 4 0;
46 #X connect 4 0 5 0;
47 #X connect 5 0 6 0;
48 #X connect 5 0 9 0;
49 #X connect 6 0 7 0;
50 #X connect 6 0 4 1;
51 #X connect 7 0 8 0;
52 #X connect 9 0 10 0;
53 #X connect 10 0 11 0;
54 #X connect 11 0 12 1;
55 #X connect 12 0 15 0;
56 #X connect 13 0 14 1;
57 #X connect 14 0 24 0;
58 #X connect 15 0 16 0;
59 #X connect 15 0 16 1;
60 #X connect 18 0 8 0;
61 #X connect 19 0 25 0;
62 #X connect 20 0 1 0;
63 #X connect 20 1 26 0;
64 #X connect 20 2 13 0;
65 #X connect 20 3 19 0;
66 #X connect 24 0 12 0;
67 #X connect 25 0 14 0;
68 #X connect 26 0 2 0;
69 #X connect 27 0 25 1;
70 #X connect 28 0 26 1;
71 #X connect 29 0 24 1;
72 #X connect 31 0 30 0;