chris@164
|
1 #N canvas 503 319 861 473 10;
|
chris@164
|
2 #N canvas 0 22 450 278 (subpatch) 0;
|
chris@164
|
3 #X array exampleTable 65238 float 2;
|
chris@164
|
4 #X coords 0 1 65238 -1 200 140 1 0 0;
|
chris@164
|
5 #X restore 21 213 graph;
|
chris@164
|
6 #X obj 243 329 adc~ 1 2 3;
|
chris@164
|
7 #X obj 300 426 dac~;
|
chris@164
|
8 #X text 317 264 <<< delete this object before compiling!;
|
chris@164
|
9 #X obj 300 392 tabread4~ exampleTable;
|
chris@164
|
10 #X msg 243 218 read -resize rt.wav exampleTable;
|
chris@164
|
11 #X obj 300 350 lop~ 1;
|
chris@164
|
12 #X obj 300 371 *~ 65238;
|
chris@164
|
13 #X obj 243 266 soundfiler;
|
chris@164
|
14 #X text 489 229 right-click array -> properties -> toggle "save contents"
|
chris@164
|
15 ;
|
chris@164
|
16 #X text 463 216 <<< after loading a file:;
|
chris@164
|
17 #X text 17 23 Load sample into table and scrub using analog input;
|
chris@164
|
18 #X text 17 33 ===================================================;
|
chris@164
|
19 #X text 362 351 <<< avoid zipper noise;
|
chris@164
|
20 #X text 362 371 <<< length of sample;
|
chris@164
|
21 #X text 317 328 <<< analog input 0 (range 0-1);
|
chris@164
|
22 #X text 631 419 ---------------------------------;
|
chris@164
|
23 #X text 631 409 @krighxz / BELA / heavy / 12/2015;
|
chris@164
|
24 #X text 655 428 beaglert.cc / enzienaudio.com;
|
chris@164
|
25 #X text 30 61 N.B. the patch cannot be bigger than 512kb in size \;
|
chris@164
|
26 only use this for *very small soundfiles*;
|
chris@164
|
27 #X text 29 99 You can modify the render.cpp file to load samples into
|
chris@164
|
28 tables using the Heavy API: https://enzienaudio.com/docs/c.html#api-hv-table
|
chris@164
|
29 ;
|
chris@164
|
30 #X connect 1 2 6 0;
|
chris@164
|
31 #X connect 4 0 2 0;
|
chris@164
|
32 #X connect 4 0 2 1;
|
chris@164
|
33 #X connect 5 0 8 0;
|
chris@164
|
34 #X connect 6 0 7 0;
|
chris@164
|
35 #X connect 7 0 4 0;
|