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