aboutsummaryrefslogtreecommitdiff
path: root/threadlib/doc/help-threadedsf.pd
blob: 7d6ea64782b68cdcb14e4db5c4d55b72747d6670 (plain)
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
#N canvas 728 33 465 834 10;
#X obj 29 23 cnv 15 404 54 empty empty empty 22 25 0 18 -1 -66577 0
;
#X obj 31 25 cnv 15 400 50 empty empty threadlib 22 25 0 18 -228992
-66577 0;
#X text 314 35 help file of;
#X text 27 765 =%)!(%= threadlib \, by Georg Holzmann <grh@mur.at>
\, 2005;
#X text 70 799 htttp://grh.mur.at/software/threadlib.html;
#X text 100 711 see also:;
#X text 55 782 heavily based on pd_devel code by Tim Blechmann;
#X obj 180 711 detach;
#X obj 237 711 join;
#X text 292 51 ::: threadedsf :::;
#X text 162 112 ::: THREADEDSF :::;
#X text 106 152 A threaded soundfiler for main pd.;
#X obj 274 191 soundfiler;
#X obj 278 711 sleep;
#X text 27 594 NOTE: this is the threaded soundfiler from pd devel
0.38 by Tim Blechmann \, adapted to work with main pd >= 0.39. Instead
of the idle callbacks \, which are not really useable in current main
pd \, it uses clock-callbacks (ans also the lockfree FIFO of pd devel).
;
#X obj 70 512 threadedsf;
#X obj 70 534 print THREADED_SF;
#X obj 70 489 r \$0-tsf;
#X text 101 191 USAGE: see help-file of;
#X text 148 207 (same usage);
#X obj 52 307 openpanel;
#X msg 52 329 read -resize \$1 array1;
#X obj 52 351 s \$0-tsf;
#X obj 52 287 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 248 349 s \$0-tsf;
#X obj 248 285 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X msg 248 327 write -wave \$1 array1;
#X obj 248 305 savepanel;
#X obj 265 505 table array1;
#X text 48 255 the same as with soundfiler:;
#X text 73 286 <- read;
#X text 271 284 <- write;
#X obj 262 437 s \$0-tsf;
#X text 46 409 additional: threaded resize->;
#X msg 262 411 resize array1 4410;
#X connect 15 0 16 0;
#X connect 17 0 15 0;
#X connect 20 0 21 0;
#X connect 21 0 22 0;
#X connect 23 0 20 0;
#X connect 25 0 27 0;
#X connect 26 0 24 0;
#X connect 27 0 26 0;
#X connect 34 0 32 0;