/usr/share/puredata/doc/5.reference/delay-help.pd is in puredata-core 0.48.1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 55 56 57 58 59 60 | #N canvas 192 35 659 724 12;
#X obj 148 9 delay;
#X floatatom 153 416 0 0 0 0 - - -;
#X text 193 10 - CALLBACK AFTER TIME DELAY;
#X msg 20 182 stop;
#X text 33 665 see also:;
#X obj 158 664 timer;
#X obj 110 664 metro;
#X msg 20 206 2000;
#X obj 21 470 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 20 160 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 165 640 del;
#X text 42 640 Also known as:;
#X text 396 657 updated for Pd version 0.45;
#X text 41 157 bang: start;
#X text 80 180 stop: cancel the delay;
#X text 79 206 number: set delay time and start;
#X text 182 417 <-- number in inlet: set delay time but don't start
;
#X text 207 444 <-- optional creation arguments:;
#X obj 20 443 delay 1000 1 msec;
#X msg 20 232 tempo 0.5 msec;
#X text 256 463 - delay time (float);
#X text 257 481 - tempo (float) and time unit (symbol) as in "tempo"
message, f 31;
#X obj 299 545 delay 1 60 permin;
#X text 39 536 example: specify a delay of one beat at 60 beats per
minute, f 31;
#X obj 330 602 delay 1 1 persec;
#X obj 330 578 delay 1 1 sec;
#X obj 471 578 delay 1 44100 samp;
#X obj 471 602 delay 44100 1 samp;
#X obj 330 625 delay 0.01676 1 min;
#X text 39 577 other possible ways to get a one-second delay (but the
rightmost ones are sample-rate dependent), f 35;
#X text 70 35 The delay object sends a bang to its outlet after a delay
in milliseconds specified by its right inlet or its creation argument.
Sending a bang to a delay which is already set will reschedule its
output \, replacing any previous setting.;
#X text 67 112 Delays are in milliseconds by default \, but you can
set the time units in the creation arguments or with a "tempo" message.
, f 63;
#X text 142 366 If the tempo is changed while the delay is in progress
\, the change only applies to the remaining fraction of the delay.
;
#X text 150 232 Set tempo. Units can be milliseconds (msec for short)
\, seconds (sec) \, minutes (min) or samples (samp). In this example
the unit is set to 1/2 millisecond so that '1000' gives a delay of
500 msec (1/2 second). Equivalently you can say "tempo 2 permsec" or
even "120000 permin". A more traditionally musical way to specify a
one-second delay would be "delay 1" with "tempo 60 permin" as in the
second example below.;
#X connect 1 0 18 1;
#X connect 3 0 18 0;
#X connect 7 0 18 0;
#X connect 9 0 18 0;
#X connect 18 0 8 0;
#X connect 19 0 18 0;
|