Skip to content

Commit

Permalink
Update play.file~-help.pd
Browse files Browse the repository at this point in the history
  • Loading branch information
porres committed Jul 10, 2024
1 parent b4082f8 commit bcd6658
Showing 1 changed file with 47 additions and 41 deletions.
88 changes: 47 additions & 41 deletions Documentation/Help-files/play.file~-help.pd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#N canvas 572 38 566 703 10;
#N canvas 572 38 563 755 10;
#X obj 244 200 bng 18 250 50 0 empty empty empty 17 7 0 10 #dcdcdc #000000 #000000;
#X msg 125 209 start;
#X msg 173 209 stop;
Expand All @@ -20,21 +20,21 @@
#N canvas 0 22 450 278 (subpatch) 0;
#X coords 0 1 100 -1 302 42 1;
#X restore 2 4 graph;
#X obj 7 675 cnv 15 552 21 empty empty empty 20 12 0 14 #e0e0e0 #202020 0;
#X obj 7 354 cnv 3 550 3 empty empty inlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 7 495 cnv 3 550 3 empty empty outlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 7 553 cnv 3 550 3 empty empty arguments 8 12 0 13 #dcdcdc #000000 0;
#X obj 91 504 cnv 17 3 17 empty empty n 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 90 359 cnv 17 3 130 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X text 170 376 start - same as bang, f 58;
#X text 176 392 stop - stop playing the sample, f 57;
#X text 122 428 open <symbol> -;
#X text 128 472 loop <float> -;
#X text 218 472 loop on <1> or off <0>, f 50;
#X obj 221 291 else/out~;
#X obj 7 725 cnv 15 552 21 empty empty empty 20 12 0 14 #e0e0e0 #202020 0;
#X obj 7 384 cnv 3 550 3 empty empty inlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 7 545 cnv 3 550 3 empty empty outlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 7 603 cnv 3 550 3 empty empty arguments 8 12 0 13 #dcdcdc #000000 0;
#X obj 91 554 cnv 17 3 17 empty empty n 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 90 389 cnv 17 3 130 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X text 170 406 start - same as bang, f 58;
#X text 176 422 stop - stop playing the sample, f 57;
#X text 122 486 open <symbol> -;
#X text 128 523 loop <float> -;
#X text 218 524 loop on <1> or off <0>, f 50;
#X obj 221 321 else/out~;
#X obj 221 200 tgl 18 0 empty empty empty 17 7 0 10 #dcdcdc #000000 #000000 0 1;
#X text 176 360 bang - (re)start playing the sample, f 57;
#X text 170 410 float - non-0 (re)starts playing \, zero stops, f 58;
#X text 176 390 bang - (re)start playing the sample, f 57;
#X text 170 437 float - non-0 (re)starts playing \, zero stops, f 58;
#N canvas 760 138 588 508 multi-channel 0;
#X obj 175 332 else/meter2~;
#X obj 340 364 else/out~;
Expand Down Expand Up @@ -62,35 +62,39 @@
#X connect 13 2 6 0;
#X connect 14 0 1 0;
#X connect 14 1 7 0;
#X restore 443 320 pd multi-channel;
#X obj 7 645 cnv 3 550 3 empty empty flags 8 12 0 13 #dcdcdc #000000 0;
#X text 204 652 -loop: turns loop mode on;
#X obj 398 285 bng 19 250 50 0 empty empty empty 17 7 0 10 #dcdcdc #000000 #000000;
#X text 422 288 finished;
#X obj 91 530 cnv 17 3 17 empty empty n+1 5 9 0 16 #dcdcdc #9c9c9c 0;
#X text 153 505 signal - the sample signal of the corresponding channel;
#X text 165 531 bang - a bang when finishing playing the sample;
#X text 193 561 (optional) channels (default 1 if no file is given \, or sound file's if given \, max 64), f 44;
#X text 116 588 2) symbol;
#X text 182 588 - the name of the file to open (default none);
#X text 116 605 3) float;
#X text 182 605 - autostart <1: on \, 0: off> (default 0), f 45;
#X text 116 620 4) float;
#X text 182 621 - loop <1: on \, 0: off> (default 0), f 45;
#X text 116 563 1) float;
#X text 180 562 -;
#X text 35 299 see also:;
#X obj 39 317 else/player~;
#X restore 443 350 pd multi-channel;
#X obj 7 695 cnv 3 550 3 empty empty flags 8 12 0 13 #dcdcdc #000000 0;
#X text 204 702 -loop: turns loop mode on;
#X obj 398 315 bng 19 250 50 0 empty empty empty 17 7 0 10 #dcdcdc #000000 #000000;
#X text 422 318 finished;
#X obj 91 580 cnv 17 3 17 empty empty n+1 5 9 0 16 #dcdcdc #9c9c9c 0;
#X text 153 555 signal - the sample signal of the corresponding channel;
#X text 165 581 bang - a bang when finishing playing the sample;
#X text 193 611 (optional) channels (default 1 if no file is given \, or sound file's if given \, max 64), f 44;
#X text 116 638 2) symbol;
#X text 182 638 - the name of the file to open (default none);
#X text 116 655 3) float;
#X text 182 655 - autostart <1: on \, 0: off> (default 0), f 45;
#X text 116 670 4) float;
#X text 182 671 - loop <1: on \, 0: off> (default 0), f 45;
#X text 116 613 1) float;
#X text 180 612 -;
#X text 35 329 see also:;
#X obj 39 347 else/player~;
#X obj 64 41 cnv 4 4 4 empty empty sound 0 28 2 18 #e0e0e0 #000000 0;
#X text 128 457 set <symbol> -;
#X text 218 456 sets a file to open next time it starts playing, f 50;
#X text 128 509 set <symbol> -;
#X text 218 509 sets a file to open next time it starts playing, f 50;
#X msg 270 201 open MouthBow.wav;
#X obj 221 258 else/play.file~ violin.wav 1 1;
#X obj 221 288 else/play.file~ violin.wav 1 1;
#X text 68 91 [play.file~] is similar to [readsf~] and reads/plays files from your computer. Note that the file sample needs to be at the same sample rate as Pd's. It supports MP3 \, FLAC \, WAV \, AIF \, AAC \, OGG & OPUS filie extensions., f 68;
#X msg 268 230 open;
#X text 34 259 click: opens dialog window -->;
#X text 300 230 <-- opens dialog window (like clicking);
#X text 218 427 opens a file with the symbol name (no symbol opens dialog winows) and starts playing, f 50;
#X msg 278 226 open;
#X text 34 289 click: opens dialog window -->;
#X text 310 226 <-- opens dialog window (like clicking);
#X text 218 482 opens a file with the symbol name (no symbol opens dialog winows) and starts playing, f 50;
#X msg 286 252 pause;
#X msg 329 252 continue;
#X text 170 452 pause - stop playing the sample, f 58;
#X text 152 467 continue - stop playing the sample, f 61;
#X connect 0 0 55 0;
#X connect 1 0 55 0;
#X connect 2 0 55 0;
Expand All @@ -101,3 +105,5 @@
#X connect 55 0 28 0;
#X connect 55 1 35 0;
#X connect 57 0 55 0;
#X connect 61 0 55 0;
#X connect 62 0 55 0;

0 comments on commit bcd6658

Please sign in to comment.