aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoão Pais <jmmmp@users.sourceforge.net>2009-01-30 00:37:52 +0000
committerJoão Pais <jmmmp@users.sourceforge.net>2009-01-30 00:37:52 +0000
commit80a29ec1a5a4b04043b650c8b64ba571eaef3adb (patch)
tree288d3b5d0c5e454ce56bd45ee1ff50caafd221ce
parente29b99512a632a04c35d4a6b88c6e7fccbd89e03 (diff)
svn path=/trunk/abstractions/jmmmp/; revision=10678
-rw-r--r--but-help.pd34
-rw-r--r--but.pd69
-rw-r--r--jmmmp-ext.txt1
3 files changed, 104 insertions, 0 deletions
diff --git a/but-help.pd b/but-help.pd
new file mode 100644
index 0000000..a0d4970
--- /dev/null
+++ b/but-help.pd
@@ -0,0 +1,34 @@
+#N struct farben float x float y float farbe float ynpos;
+#N canvas 188 69 399 435 10;
+#X text 12 387 Released under the BSD License;
+#X text 198 160 Inlets;
+#X text 198 220 Outlets;
+#X text 198 90 Arguments;
+#X text 12 367 (C) 2008 João Pais - jmmmpais@googlemail.com;
+#X text 198 130 - TCL Color;
+#X text 198 180 - Bang;
+#X text 198 240 - Bang;
+#X obj 52 122 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
+-1;
+#X obj 82 162 print;
+#X text 24 183 Always the same output;
+#X text 22 10 [but] - Monochrome Bang Button;
+#X obj 22 122 but 15 31;
+#X obj 82 122 but 15 22;
+#X obj 112 122 but 15 16;
+#X obj 142 122 but 15 13;
+#X text 22 40 [but] is a monochrome button that outputs a bang. It
+serves only to have a different graphic presentation.;
+#X text 12 337 Done following the concept of [Tot] by J. Kreidler.
+;
+#X text 12 268 To know which colors to use \, have a look at;
+#X obj 279 268 pd-colors;
+#X text 198 110 - Size (points);
+#X text 12 288 Unfortunately \, until Pd gets a "clean" flag \, everytime
+you use this abstraction you'll be asked to save the patch (which you
+can if you want).;
+#X connect 8 0 9 0;
+#X connect 12 0 9 0;
+#X connect 13 0 9 0;
+#X connect 14 0 9 0;
+#X connect 15 0 9 0;
diff --git a/but.pd b/but.pd
new file mode 100644
index 0000000..9837e5f
--- /dev/null
+++ b/but.pd
@@ -0,0 +1,69 @@
+#N canvas 547 159 597 335 10;
+#X obj 20 238 outlet;
+#X obj 20 80 inlet;
+#X obj 129 44 init \$1;
+#X obj 129 64 moses 1;
+#X msg 129 84 11;
+#X msg 187 114 size \$1;
+#X obj 247 164 s \$0-cnv;
+#X msg 247 104 vis_size \$1 \$1 \, size \$1;
+#X obj 257 124 init \$2;
+#X msg 257 144 color \$1 \$1;
+#X obj 168 84 t f f f;
+#X obj 20 110 bng 20 250 50 0 empty empty empty 17 7 0 10 -262144 -1
+-1;
+#X obj 20 110 cnv 20 20 20 empty \$0-cnv empty 20 12 0 14 -195568 -195568
+0;
+#X text 474 139 Inlets;
+#X text 474 199 Outlets;
+#X text 474 69 Arguments;
+#X text 474 89 - Size;
+#X text 474 109 - TCL Color;
+#X text 474 159 - Bang;
+#X text 474 219 - Bang;
+#X text 22 10 [but] - Monochrome Bang Button;
+#X msg 168 194 donecanvasdialog 1 -1 2 0 -1 1 1 \$1 \$1 20 110;
+#N canvas 0 0 426 446 license 0;
+#X text 8 47 All rights reserved.;
+#X text 8 227 The names of its contributors may not be used to endorse
+or promote products derived from this software without specific prior
+written permission.;
+#X text 8 87 Redistribution and use in source and binary forms \, with
+or without modification \, are permitted provided that the following
+conditions are met:;
+#X text 8 127 Redistributions of source code must retain the above
+copyright notice \, this list of conditions and the following disclaimer.
+;
+#X text 8 297 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
+CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES \, INCLUDING
+\, BUT NOT LIMITED TO \, THE IMPLIED WARRANTIES OF MERCHANTABILITY
+AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
+THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT \, INDIRECT
+\, INCIDENTAL \, SPECIAL \, EXEMPLARY \, OR CONSEQUENTIAL DAMAGES (INCLUDING
+\, BUT NOT LIMITED TO \, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES
+;
+#X text 8 167 Redistributions in binary form must reproduce the above
+copyright notice \, this list of conditions and the following disclaimer
+in the documentation and/or other materials provided with the distribution.
+;
+#X text 8 27 jmmmpais@googlemail.com;
+#X text 8 7 Copyright 2006 \, João Pais;
+#X restore 15 295 pd license;
+#X text 12 275 (C) 2008 João Pais - jmmmpais@googlemail.com;
+#X obj 168 214 s \$0-button;
+#X obj 168 234 namecanvas \$0-button;
+#X connect 1 0 11 0;
+#X connect 2 0 3 0;
+#X connect 3 0 4 0;
+#X connect 3 1 10 0;
+#X connect 4 0 21 0;
+#X connect 5 0 11 0;
+#X connect 7 0 6 0;
+#X connect 8 0 9 0;
+#X connect 9 0 6 0;
+#X connect 10 0 21 0;
+#X connect 10 1 5 0;
+#X connect 10 2 7 0;
+#X connect 11 0 0 0;
+#X connect 21 0 24 0;
+#X coords 0 -1 1 1 20 20 2 20 110;
diff --git a/jmmmp-ext.txt b/jmmmp-ext.txt
index 19b72a1..1ff7351 100644
--- a/jmmmp-ext.txt
+++ b/jmmmp-ext.txt
@@ -8,6 +8,7 @@ Released under the BSD license (more information in each abstraction).
This package has several base utilities that make coding a bit easier (at least for me). It is composed of the following abstractions:
array-edit - edit properties of arrays and populate them following several formulas
+but - Monochrome bang button
clock - Chronometer with display in seconds
datei-o - Sends the message "open ../../"
datei-r - Sends the message "read ../../"