aboutsummaryrefslogtreecommitdiff
path: root/abstractions/pt.filelist.pd
diff options
context:
space:
mode:
Diffstat (limited to 'abstractions/pt.filelist.pd')
-rw-r--r--abstractions/pt.filelist.pd97
1 files changed, 97 insertions, 0 deletions
diff --git a/abstractions/pt.filelist.pd b/abstractions/pt.filelist.pd
new file mode 100644
index 0000000..1b7bb71
--- /dev/null
+++ b/abstractions/pt.filelist.pd
@@ -0,0 +1,97 @@
+#N canvas 394 251 130 112 10;
+#X obj 1 1 cnv 5 128 110 empty empty List_Files 5 6 1 9 -249661 -66577
+0;
+#N canvas 544 188 599 585 interna 0;
+#X obj 115 20 cnv 15 350 500 empty empty empty 5 8 1 10 -260390 -1
+0;
+#X obj 326 474 prepend file;
+#X obj 236 29 inlet;
+#X obj 420 503 outlet;
+#X obj 8 20 cnv 15 100 340 empty empty empty 5 8 1 10 -3121 -1 0;
+#X obj 21 34 inlet;
+#X obj 21 334 outlet;
+#X obj 326 454 prepend open;
+#X text 9 4 Facility to glob directories of files;
+#X obj 164 218 dirlist;
+#X obj 235 145 r \$0-dir;
+#X obj 123 145 r \$0-pattern;
+#X obj 123 165 prepend pattern;
+#X obj 236 50 mementoSetup pt.filelist \$0;
+#X obj 236 90 f \$0;
+#X obj 164 266 s \$0-files;
+#X obj 326 434 r \$0-file;
+#X obj 164 242 prepend options;
+#X msg 253 191 set-dir \$1;
+#X msg 236 110 \; \$1-set-pattern symbol *;
+#X obj 235 219 s \$0-dir-in;
+#X obj 124 475 r \$0-reload;
+#X obj 124 497 s \$0-set-pattern;
+#X obj 304 145 r \$0-dir-out;
+#X obj 236 70 delay 65;
+#X text 21 533 if the directory is the same then don't send back to
+symbol;
+#X obj 235 165 dirpanel;
+#X connect 1 0 3 0;
+#X connect 2 0 13 0;
+#X connect 5 0 6 0;
+#X connect 7 0 1 0;
+#X connect 9 0 17 0;
+#X connect 10 0 26 0;
+#X connect 11 0 12 0;
+#X connect 12 0 9 0;
+#X connect 13 0 24 0;
+#X connect 13 1 3 0;
+#X connect 14 0 19 0;
+#X connect 16 0 7 0;
+#X connect 17 0 15 0;
+#X connect 18 0 9 0;
+#X connect 21 0 22 0;
+#X connect 23 0 18 0;
+#X connect 24 0 14 0;
+#X connect 26 0 18 0;
+#X connect 26 0 20 0;
+#X restore 10 295 pd interna;
+#X obj 10 273 inlet;
+#X obj 75 274 inlet;
+#X obj 10 317 outlet;
+#X obj 75 318 outlet;
+#X obj 7 18 bng 15 250 50 0 \$0-dir \$0 Dir 20 8 1 9 -262144 -1 -1
+;
+#X symbolatom 7 60 10 0 0 1 - #0-set-pattern #0-pattern;
+#X obj 83 62 cnv 5 15 10 empty empty Pattern 5 6 1 9 -249661 -1 0;
+#X obj 120 119 s \$0-file;
+#X text 9 249 Facility to glob directories of files;
+#X obj 386 30 commun /directory \$0;
+#X obj 245 122 s \$0-set-pattern;
+#X obj 245 30 commun /pattern \$0;
+#X text 118 291 Only pattern and directory are state-saved.;
+#X obj 245 10 r \$0-pattern;
+#X obj 106 18 bng 15 250 50 0 \$0-reload \$0 Update -38 8 1 9 -262144
+-1 -1;
+#X symbolatom 7 40 16 0 0 1 - #0-dir-in #0-dir-out;
+#X obj 386 51 prepend set;
+#X obj 245 51 prepend set;
+#X obj 301 76 r \$0-reload;
+#X obj 386 9 r \$0-dir-out;
+#X obj 386 122 s \$0-dir-in;
+#X obj 301 97 t b b;
+#X msg 17 215 options empty \, name files;
+#X obj 3 81 popup 124 25 grey95 files empty;
+#X obj 147 22 r \$0-files;
+#X connect 1 0 4 0;
+#X connect 1 1 5 0;
+#X connect 2 0 1 0;
+#X connect 3 0 1 1;
+#X connect 11 0 18 0;
+#X connect 13 0 19 0;
+#X connect 15 0 13 0;
+#X connect 18 0 22 0;
+#X connect 19 0 12 0;
+#X connect 20 0 23 0;
+#X connect 21 0 11 0;
+#X connect 23 0 12 0;
+#X connect 23 1 22 0;
+#X connect 24 0 25 0;
+#X connect 25 1 9 0;
+#X connect 26 0 25 0;
+#X coords 0 0 1 1 130 112 1;