diff options
Diffstat (limited to 'externals/gridflow/doc/flow_classes/unix_time-help.pd')
-rw-r--r-- | externals/gridflow/doc/flow_classes/unix_time-help.pd | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/externals/gridflow/doc/flow_classes/unix_time-help.pd b/externals/gridflow/doc/flow_classes/unix_time-help.pd new file mode 100644 index 00000000..6e499216 --- /dev/null +++ b/externals/gridflow/doc/flow_classes/unix_time-help.pd @@ -0,0 +1,50 @@ +#N canvas 679 22 632 619 10; +#X obj 109 184 unix_time; +#X obj 109 153 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 26 243 #to_list; +#X obj 109 111 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +1; +#X obj 27 321 display; +#X obj 109 129 metro 500; +#X text 32 302 <-- Ascii format for the date; +#X obj 326 292 display; +#X obj 141 242 display; +#X obj 325 266 display; +#X obj 324 241 sprintf %04d%02d%02d-%02d%02d%02d; +#X obj 0 0 doc_h; +#X obj 3 356 doc_c 0; +#X obj 3 396 doc_i 1; +#X obj 3 471 doc_o 3; +#X obj 14 426 doc_ii 0; +#X obj 14 501 doc_oo 0; +#X obj 14 523 doc_oo 1; +#X obj 14 545 doc_oo 2; +#X text 9 32 This object returns the Unix timestamp. The first outlet +does so with ASCII \, the second in seconds and the third outlet outputs +the fractions of seconds up to 1/100 0 th of a second which is useful +for creating filenames.; +#X text 232 426 A bang at the left inlet will tell [unix_time] to get +the current Unix timestamp and send it to the outlets.; +#X text 232 501 Outputs the time and date in ASCII format.; +#X text 232 523 Outputs the Unix timestamp in seconds.; +#X text 232 545 Outputs the fractions of a second up to 10 microseconds +(?) (actual precision is probably platform-dependent...); +#X obj 97 426 doc_m i0 bang; +#X obj 97 501 doc_m o0 list; +#X obj 97 523 doc_m o1 list; +#X obj 97 545 doc_m o2 list; +#X obj 0 590 doc_f; +#X connect 0 0 2 0; +#X connect 0 1 8 0; +#X connect 0 2 7 0; +#X connect 0 2 10 0; +#X connect 1 0 0 0; +#X connect 2 0 4 0; +#X connect 3 0 5 0; +#X connect 5 0 1 0; +#X connect 10 0 9 0; +#X connect 24 1 20 0; +#X connect 25 1 21 0; +#X connect 26 1 22 0; +#X connect 27 1 23 0; |