From 0cf880fbca0a5cc4e607e648fec6ab947c6e5c1f Mon Sep 17 00:00:00 2001 From: porres Date: Fri, 7 Jun 2024 02:05:54 -0300 Subject: [PATCH] file which --- cyclone_objects/abstractions/buffer~.pd | 320 +++++++++++++++--------- documentation/extra_files/CHANGELOG.txt | 4 +- 2 files changed, 203 insertions(+), 121 deletions(-) diff --git a/cyclone_objects/abstractions/buffer~.pd b/cyclone_objects/abstractions/buffer~.pd index 69590c37..2ab96e15 100644 --- a/cyclone_objects/abstractions/buffer~.pd +++ b/cyclone_objects/abstractions/buffer~.pd @@ -1,5 +1,5 @@ -#N canvas 526 173 814 272 10; -#X declare -path /Users/porres/Desktop/Git/pd-cyclone/documentation/help_files; +#N canvas 285 145 814 272 10; +#X declare -path /Users/porres/Documents/Pd/externals/cyclone; #X obj 24 24 inlet; #N canvas 396 59 533 410 rename 0; #X obj 319 189 r \$0-name; @@ -36,17 +36,7 @@ #X connect 14 0 16 0; #X connect 15 0 14 0; #X restore 64 100 pd rename; -#N canvas 961 127 479 442 \$0-buffers 0; -#X obj 6 20 cnv 15 448 80 empty empty empty 3 10 2 14 #e0e0e0 #404040 0; -#N canvas 0 22 450 300 ch0_1005 0; -#X array 0-buff2_1003 1 float 2; -#X coords 0 1 1 -1 450 82 2 0 0; -#X restore 5 19 pd ch0_1005; -#X obj 6 120 cnv 15 448 80 empty empty empty 3 10 2 14 #e0e0e0 #404040 0; -#N canvas 0 22 450 300 ch1_1005 0; -#X array 1-buff2_1003 1 float 2; -#X coords 0 1 1 -1 450 82 2 0 0; -#X restore 5 119 pd ch1_1005; +#N canvas 472 296 479 442 \$0-buffers 0; #X coords 0 0 0 0 10 20 0; #X restore 627 59 pd \$0-buffers; #N canvas 386 286 457 330 clear 0; @@ -1269,7 +1259,7 @@ #X obj 168 27 inlet; #X obj 291 26 inlet; #X obj 291 59 list append \$4; -#N canvas 798 200 642 513 attributes 0; +#N canvas 595 233 642 513 attributes 0; #X obj 317 415 s \$0-size; #X obj 317 390 max 1; #X obj 212 341 cyclone/mstosamps~; @@ -1518,7 +1508,7 @@ #X text 276 83 just in case the abstraction gets corrupted, f 17; #X obj 104 198 pdcontrol; #N canvas 241 23 474 169 \$0-declare 0; -#X obj 50 50 declare -path /Users/porres/Desktop/Git/pd-cyclone/documentation/help_files; +#X obj 50 50 declare -path /Users/porres/Documents/Pd/externals/cyclone; #X restore 243 178 pd \$0-declare; #X obj 104 251 send pd-\$0-declare; #X msg 104 224 clear \, obj 50 50 declare -path \$1; @@ -1545,43 +1535,41 @@ #X connect 5 0 1 0; #X connect 6 0 5 0; #X restore 675 101 pd load-args; -#N canvas 429 122 876 624 read/write 0; -#X obj 115 206 symbol; -#X obj 40 115 route bang; -#X obj 12 433 list prepend read; -#X obj 40 146 openpanel; -#X obj 323 248 cyclone/fromsymbol @separator ., f 18; -#X obj 135 164 r \$0-file; -#X obj 236 204 list; -#X obj 262 337 t l l, f 6; -#X msg 295 371 \$2; -#X msg 262 372 \$1; -#X obj 236 158 cyclone/fromsymbol @separator ., f 18; -#X obj 191 88 route bang, f 12; -#X obj 236 288 list length; -#X obj 236 261 t l l; -#X obj 202 290 > 1; -#X obj 262 315 list; -#X obj 203 313 sel 0 1; -#X obj 225 344 list; -#X obj 191 111 savepanel; -#X obj 467 565 outlet; -#X obj 40 23 inlet; -#X obj 149 425 r \$0-resize; -#X msg 323 310 \$2; -#X obj 323 282 list; -#X obj 447 246 route wave aiff, f 9; -#X obj 546 235 route bang, f 12; -#X obj 467 426 savepanel; -#X obj 615 291 t s b; -#X obj 546 259 t b b; -#X obj 656 248 route bang; -#X obj 713 317 t s b; -#X obj 656 292 t b b; -#X msg 726 447 -wave; -#X msg 773 445 -aiff; -#X obj 654 449 r \$0-bytes; -#X obj 40 51 route read readagain write filetype writewave writeaiff format sr, f 115; +#N canvas 274 23 884 660 read/write 0; +#X obj 121 206 symbol; +#X obj 36 85 route bang; +#X obj 36 126 openpanel; +#X obj 319 248 cyclone/fromsymbol @separator ., f 18; +#X obj 145 147 r \$0-file; +#X obj 232 204 list; +#X obj 258 337 t l l, f 6; +#X msg 291 371 \$2; +#X msg 258 372 \$1; +#X obj 232 158 cyclone/fromsymbol @separator ., f 18; +#X obj 207 85 route bang, f 14; +#X obj 232 288 list length; +#X obj 232 261 t l l; +#X obj 198 290 > 1; +#X obj 258 315 list; +#X obj 199 313 sel 0 1; +#X obj 221 344 list; +#X obj 207 108 savepanel; +#X obj 121 608 outlet; +#X obj 36 23 inlet; +#X msg 319 310 \$2; +#X obj 319 282 list; +#X obj 443 246 route wave aiff, f 9; +#X obj 542 235 route bang, f 12; +#X obj 463 426 savepanel; +#X obj 611 291 t s b; +#X obj 542 259 t b b; +#X obj 652 248 route bang; +#X obj 709 317 t s b; +#X obj 652 292 t b b; +#X msg 722 447 -wave; +#X msg 769 445 -aiff; +#X obj 650 449 r \$0-bytes; +#X obj 36 51 route read readagain write filetype writewave writeaiff format sr, f 115; #N canvas 520 43 450 300 bytes 0; #X obj 115 40 inlet; #X msg 161 152 2; @@ -1603,79 +1591,173 @@ #X connect 6 3 3 0; #X connect 6 4 7 0; #X connect 7 0 5 0; -#X restore 554 80 pd bytes; -#X obj 641 82 s \$0-sr; -#X obj 536 495 cyclone/pak write -rate 0 -bytes 2 -aiff; -#X obj 600 449 r \$0-sr; -#X obj 467 527 list prepend; -#X msg 149 451 read -resize -maxsize 1e+18; -#X obj 323 339 route wav aiff aif caf; -#X msg 831 445 -caf; -#X connect 0 0 2 0; +#X restore 550 80 pd bytes; +#X obj 637 82 s \$0-sr; +#X obj 532 495 cyclone/pak write -rate 0 -bytes 2 -aiff; +#X obj 596 449 r \$0-sr; +#X obj 463 527 list prepend; +#X obj 319 339 route wav aiff aif caf; +#X msg 827 445 -caf; +#N canvas 217 23 560 646 check 0; +#X msg 158 328 \$1 file not found; +#X obj 101 303 file which; +#X obj 101 277 list append 1; +#X obj 101 65 inlet; +#X obj 158 359 print [buffer~]; +#X obj 101 221 list split 1, f 14; +#X obj 102 182 list; +#X obj 262 464 list; +#X msg 212 424 read; +#X obj 283 315 t l b; +#X obj 331 313 s \$0-read; +#X obj 332 510 list; +#N canvas 93 74 401 299 start 0; +#X obj 100 157 cyclone/pak -skip 0; +#X obj 106 111 cyclone/mstosamps~; +#X obj 106 87 max 0; +#X obj 211 135 expr rint($f1); +#X obj 91 133 r \$0-read; +#X obj 91 200 outlet; +#X obj 106 53 inlet; +#X connect 0 0 5 0; +#X connect 1 1 3 0; +#X connect 2 0 1 0; +#X connect 3 0 0 1; +#X connect 4 0 5 0; +#X connect 6 0 2 0; +#X restore 283 371 pd start; +#X obj 283 342 unpack float float float; +#N canvas 339 115 364 323 size 0; +#X obj 76 96 cyclone/mstosamps~; +#X obj 76 72 max 0; +#X obj 181 120 expr rint($f1); +#X obj 181 239 outlet; +#X obj 76 38 inlet; +#X obj 89 131 r \$0-resize; +#X msg 89 187 -resize; +#X msg 181 156 -maxsize \$1; +#X obj 101 160 r \$0-read; +#X connect 0 1 2 0; +#X connect 1 0 0 0; +#X connect 2 0 7 0; +#X connect 4 0 1 0; +#X connect 5 0 6 0; +#X connect 6 0 3 0; +#X connect 7 0 3 0; +#X connect 8 0 6 0; +#X restore 353 370 pd size; +#N canvas 93 74 401 299 ch 0; +#X obj 100 157 cyclone/pak -skip 0; +#X obj 106 111 cyclone/mstosamps~; +#X obj 106 87 max 0; +#X obj 211 135 expr rint($f1); +#X obj 91 133 r \$0-read; +#X obj 91 200 outlet; +#X obj 106 53 inlet; +#X obj 178 207 r \$0-resize; +#X msg 178 233 read -resize -maxsize 1e+18; +#X connect 0 0 5 0; +#X connect 1 1 3 0; +#X connect 2 0 1 0; +#X connect 3 0 0 1; +#X connect 4 0 5 0; +#X connect 6 0 2 0; +#X connect 7 0 8 0; +#X restore 424 369 pd ch; +#X obj 101 390 trigger symbol bang; +#X obj 101 554 outlet; +#X obj 332 554 outlet; +#X obj 331 287 b; #X connect 0 0 4 0; -#X connect 1 0 3 0; +#X connect 1 0 16 0; #X connect 1 1 0 0; -#X connect 2 0 19 0; -#X connect 3 0 0 0; -#X connect 4 0 23 0; -#X connect 5 0 0 0; -#X connect 6 0 13 0; -#X connect 7 0 9 0; -#X connect 7 1 8 0; -#X connect 8 0 42 0; -#X connect 9 0 40 0; -#X connect 10 0 6 0; +#X connect 2 0 1 0; +#X connect 3 0 6 0; +#X connect 5 0 2 0; +#X connect 5 1 19 0; +#X connect 6 0 5 0; +#X connect 7 0 11 0; +#X connect 8 0 7 0; +#X connect 9 0 13 0; +#X connect 9 1 10 0; #X connect 11 0 18 0; -#X connect 11 1 10 0; -#X connect 12 0 14 0; +#X connect 12 0 7 1; #X connect 13 0 12 0; -#X connect 13 1 15 1; -#X connect 13 1 17 1; -#X connect 14 0 16 0; -#X connect 15 0 7 0; +#X connect 13 1 14 0; +#X connect 13 2 15 0; +#X connect 14 0 11 1; #X connect 16 0 17 0; -#X connect 16 1 15 0; +#X connect 16 1 8 0; +#X connect 19 0 10 0; +#X restore 145 177 pd check; +#X obj 121 255 list prepend; +#X obj 148 471 print ========>; +#X connect 0 0 3 0; +#X connect 0 0 42 0; +#X connect 1 0 2 0; +#X connect 1 1 41 0; +#X connect 2 0 0 0; +#X connect 3 0 21 0; +#X connect 4 0 41 0; +#X connect 5 0 12 0; +#X connect 6 0 8 0; +#X connect 6 1 7 0; +#X connect 7 0 39 0; +#X connect 8 0 38 0; +#X connect 9 0 5 0; +#X connect 10 0 17 0; +#X connect 10 1 9 0; +#X connect 11 0 13 0; +#X connect 12 0 11 0; +#X connect 12 1 14 1; +#X connect 12 1 16 1; +#X connect 13 0 15 0; +#X connect 14 0 6 0; +#X connect 15 0 16 0; +#X connect 15 1 14 0; +#X connect 16 0 8 0; #X connect 17 0 9 0; -#X connect 18 0 10 0; -#X connect 20 0 35 0; -#X connect 21 0 41 0; -#X connect 22 0 42 0; -#X connect 23 0 22 0; -#X connect 24 0 32 0; -#X connect 24 1 33 0; -#X connect 25 0 28 0; -#X connect 25 1 27 0; -#X connect 26 0 40 0; -#X connect 27 0 40 0; -#X connect 27 1 32 0; -#X connect 28 0 26 0; -#X connect 28 1 32 0; -#X connect 29 0 31 0; -#X connect 29 1 30 0; -#X connect 30 0 40 0; -#X connect 30 1 33 0; -#X connect 31 0 26 0; -#X connect 31 1 33 0; -#X connect 32 0 38 5; -#X connect 33 0 38 5; -#X connect 34 0 38 4; -#X connect 35 0 1 0; -#X connect 35 1 0 0; -#X connect 35 2 11 0; -#X connect 35 3 24 0; -#X connect 35 4 25 0; -#X connect 35 5 29 0; -#X connect 35 6 36 0; -#X connect 35 7 37 0; -#X connect 38 0 40 1; -#X connect 39 0 38 2; -#X connect 40 0 19 0; -#X connect 41 0 2 1; -#X connect 42 0 32 0; -#X connect 42 1 33 0; -#X connect 42 2 33 0; -#X connect 42 3 43 0; -#X connect 43 0 38 5; +#X connect 19 0 33 0; +#X connect 20 0 39 0; +#X connect 21 0 20 0; +#X connect 22 0 30 0; +#X connect 22 1 31 0; +#X connect 23 0 26 0; +#X connect 23 1 25 0; +#X connect 24 0 38 0; +#X connect 25 0 38 0; +#X connect 25 1 30 0; +#X connect 26 0 24 0; +#X connect 26 1 30 0; +#X connect 27 0 29 0; +#X connect 27 1 28 0; +#X connect 28 0 38 0; +#X connect 28 1 31 0; +#X connect 29 0 24 0; +#X connect 29 1 31 0; +#X connect 30 0 36 5; +#X connect 31 0 36 5; +#X connect 32 0 36 4; +#X connect 33 0 1 0; +#X connect 33 1 0 0; +#X connect 33 2 10 0; +#X connect 33 3 22 0; +#X connect 33 4 23 0; +#X connect 33 5 27 0; +#X connect 33 6 34 0; +#X connect 33 7 35 0; +#X connect 36 0 38 1; +#X connect 37 0 36 2; +#X connect 38 0 18 0; +#X connect 39 0 30 0; +#X connect 39 1 31 0; +#X connect 39 2 31 0; +#X connect 39 3 40 0; +#X connect 40 0 36 5; +#X connect 41 0 0 0; +#X connect 41 1 42 1; +#X connect 42 0 18 0; +#X connect 42 0 43 0; #X restore 581 101 pd read/write; #N canvas 147 315 743 423 init-buffers 0; #X obj 340 246 send pd-\$0-buffers; diff --git a/documentation/extra_files/CHANGELOG.txt b/documentation/extra_files/CHANGELOG.txt index b1399528..7a28e52a 100644 --- a/documentation/extra_files/CHANGELOG.txt +++ b/documentation/extra_files/CHANGELOG.txt @@ -9,9 +9,9 @@ cyclone 0.9-0 (needs at least Pd Vanilla 0.55-0): - added a browser plugin for objects on right click on an empty spot of the patch - Compilation and binaries in double precision is now supported and provided -- added support for 64-bit audio files in [buffer~] (Pd 0.55 in double precision is requiered for this) -- fixed regression bugs in [offer], list input works now and other things that were funny seems ok now (we introduced this bug in 0.3) +- [buffer~]: Added support for 64-bit audio files in [buffer~] (Pd 0.55 in double precision is required for this); now it finds files relative to the patch (thanks to [file which]'s new feature in Pd 0.55). - fixed a bug in [zl.group] where it did not load the default arg +- fixed regression bugs in [offer], list input works now and other things that were funny seems ok now (we introduced this bug in 0.3) -------------------------------------------------- cyclone 0.8-1 (needs at least Pd Vanilla 0.54-1):