From 7d8193b81b61344d2c6757d68b10f2c83329a005 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 16 Aug 2007 18:54:02 +0000 Subject: added bang to reset, and made it flash on bang also svn path=/trunk/abstractions/pddp/; revision=8598 --- print-help.pd | 15 ++++++++++----- print.pd | 51 ++++++++++++++++++++++++++++++++++++--------------- print_long-help.pd | 11 +++++++---- print_long.pd | 43 ++++++++++++++++++++++++++++++++----------- 4 files changed, 85 insertions(+), 35 deletions(-) diff --git a/print-help.pd b/print-help.pd index b845db8..56785e4 100644 --- a/print-help.pd +++ b/print-help.pd @@ -1,12 +1,17 @@ -#N canvas 286 187 458 308 10; +#N canvas 716 408 466 316 10; #X obj 151 182 pddp/print; #X text 17 48 this object is for displaying generic messages in the patch rather than in the Pd window.; -#X msg 61 114 word; -#X msg 131 114 symbol asdf; -#X msg 234 114 list 1 2 3; -#X msg 234 147 selector series of 4; +#X msg 24 104 word; +#X msg 94 104 symbol asdf; +#X msg 197 104 list 1 2 3; +#X msg 274 104 selector series of 4; +#X msg 246 148 bang; +#X text 280 147 flashes and resets to blank; +#X text 38 245 because of Pd's type handling \, it strips off data +selectors "float" \, "symbol" and "list".; #X connect 2 0 0 0; #X connect 3 0 0 0; #X connect 4 0 0 0; #X connect 5 0 0 0; +#X connect 6 0 0 0; diff --git a/print.pd b/print.pd index e05ebfb..e367db0 100644 --- a/print.pd +++ b/print.pd @@ -1,18 +1,39 @@ -#N canvas 183 209 347 321 10; -#X obj 9 48 inlet; -#X obj 10 186 send \$0-pddp_print; -#X obj 9 78 zexy/list2symbol; -#X obj 85 1 cnv 15 15 18 empty empty empty 20 12 0 14 -262144 -66577 -0; +#N canvas 183 209 367 341 10; +#X obj 59 48 inlet; +#X obj 117 246 send \$0-pddp_print; +#X obj 116 138 zexy/list2symbol; #X obj 1 3 cnv 15 98 15 empty \$0-pddp_print empty 2 7 0 14 -262144 --33289 0; -#X obj 31 134 loadbang; -#X msg 31 155 label; -#X text 102 143 reset to blank; -#X obj 9 110 flatspace/prepend label; -#X connect 0 0 2 0; -#X connect 2 0 8 0; +-1 0; +#X text 128 203 reset to blank; +#X obj 116 170 flatspace/prepend label; +#X obj 59 90 route bang; +#N canvas 673 22 458 308 reset 0; +#X obj 72 21 inlet; +#X obj 69 264 outlet; +#X msg 233 127 label; +#X obj 250 101 loadbang; +#X msg 36 130 color 0 22; +#X obj 55 57 trigger bang bang bang; +#X obj 35 99 delay 50; +#X msg 116 130 color 26 22; +#X connect 0 0 5 0; +#X connect 2 0 1 0; +#X connect 3 0 2 0; +#X connect 4 0 1 0; #X connect 5 0 6 0; -#X connect 6 0 1 0; -#X connect 8 0 1 0; +#X connect 5 1 7 0; +#X connect 5 2 2 0; +#X connect 6 0 4 0; +#X connect 7 0 1 0; +#X restore 59 202 pd reset; +#X msg 19 169 bang; +#X obj 85 0 cnv 15 15 20 empty empty empty 2 7 0 14 -262144 -262144 +0; +#X connect 0 0 6 0; +#X connect 2 0 5 0; +#X connect 5 0 1 0; +#X connect 6 0 7 0; +#X connect 6 1 2 0; +#X connect 7 0 1 0; +#X connect 8 0 7 0; #X coords 0 -1 1 1 100 20 1 0 0; diff --git a/print_long-help.pd b/print_long-help.pd index f4fda8b..d890a73 100644 --- a/print_long-help.pd +++ b/print_long-help.pd @@ -1,4 +1,4 @@ -#N canvas 93 178 454 304 10; +#N canvas 93 178 458 308 10; #X text 13 30 this object is for displaying generic messages in the patch rather than in the Pd window.; #X msg 41 114 word; @@ -6,15 +6,18 @@ patch rather than in the Pd window.; #X msg 214 114 list 1 2 3; #X msg 234 162 selector series of 4; #X text 33 68 its got a longer box and its closed on four sides; -#X obj 140 195 pddp/print_long; +#X obj 140 220 pddp/print_long; #X obj 83 93 hsl 128 15 0 127 0 0 empty empty empty -2 -6 0 8 -262144 --1 -1 4900 1; +-1 -1 0 1; #X msg 229 138 list of words?; -#X text 11 237 because of Pd's type handling \, it strips off data +#X text 11 262 because of Pd's type handling \, it strips off data selectors "float" \, "symbol" and "list".; +#X msg 222 193 bang; +#X text 256 192 flashes and resets to blank; #X connect 1 0 6 0; #X connect 2 0 6 0; #X connect 3 0 6 0; #X connect 4 0 6 0; #X connect 7 0 6 0; #X connect 8 0 6 0; +#X connect 10 0 6 0; diff --git a/print_long.pd b/print_long.pd index ee2d1e2..42a063e 100644 --- a/print_long.pd +++ b/print_long.pd @@ -1,16 +1,37 @@ -#N canvas 531 196 268 215 10; +#N canvas 590 245 337 330 10; #X obj 1 3 cnv 12 198 12 empty \$0-pddp_print empty 2 6 1 14 -262144 -33289 0; -#X obj 11 37 inlet; -#X obj 11 160 send \$0-pddp_print; -#X obj 11 67 zexy/list2symbol; -#X obj 23 116 loadbang; -#X msg 23 136 label; -#X text 96 130 reset to blank; -#X obj 11 94 flatspace/prepend label; -#X connect 1 0 3 0; -#X connect 3 0 7 0; -#X connect 4 0 5 0; +#X obj 59 48 inlet; +#X obj 117 246 send \$0-pddp_print; +#X obj 116 138 zexy/list2symbol; +#X text 128 203 reset to blank; +#X obj 116 170 flatspace/prepend label; +#X obj 59 90 route bang; +#N canvas 673 22 458 308 reset 0; +#X obj 72 21 inlet; +#X obj 69 264 outlet; +#X msg 233 127 label; +#X obj 250 101 loadbang; +#X msg 36 130 color 0 22; +#X obj 55 57 trigger bang bang bang; +#X obj 35 99 delay 50; +#X msg 116 130 color 26 22; +#X connect 0 0 5 0; +#X connect 2 0 1 0; +#X connect 3 0 2 0; +#X connect 4 0 1 0; +#X connect 5 0 6 0; +#X connect 5 1 7 0; +#X connect 5 2 2 0; +#X connect 6 0 4 0; +#X connect 7 0 1 0; +#X restore 59 202 pd reset; +#X msg 19 169 bang; +#X connect 1 0 6 0; +#X connect 3 0 5 0; #X connect 5 0 2 0; +#X connect 6 0 7 0; +#X connect 6 1 3 0; #X connect 7 0 2 0; +#X connect 8 0 7 0; #X coords 0 -1 1 1 200 18 1 0 0; -- cgit v1.2.1