aboutsummaryrefslogtreecommitdiff
path: root/examples/tutorial-ann_mlp.pd
diff options
context:
space:
mode:
authorDavide Morelli <morellid@users.sourceforge.net>2005-10-24 10:46:21 +0000
committerDavide Morelli <morellid@users.sourceforge.net>2005-10-24 10:46:21 +0000
commita38a927c5887b27e6e7728c1d0f0822dede7f36b (patch)
tree0eb7163abeb268c15a981a17746d1c6bf11e0130 /examples/tutorial-ann_mlp.pd
parent16f41f4534ca1a57cbe1771348b48aacdb883bf1 (diff)
fixed mouse/a key
svn path=/trunk/externals/ann/; revision=3763
Diffstat (limited to 'examples/tutorial-ann_mlp.pd')
-rwxr-xr-xexamples/tutorial-ann_mlp.pd18
1 files changed, 10 insertions, 8 deletions
diff --git a/examples/tutorial-ann_mlp.pd b/examples/tutorial-ann_mlp.pd
index 4c49715..dcf0292 100755
--- a/examples/tutorial-ann_mlp.pd
+++ b/examples/tutorial-ann_mlp.pd
@@ -1,9 +1,9 @@
-#N canvas 297 73 593 517 12;
+#N canvas 297 73 597 521 12;
#X obj 65 379 ann_mlp;
#X text 39 59 input: mouse coord;
#X text 37 76 output: 1 if mouse is in the upper left part of the screen
;
-#N canvas 106 171 568 438 step1-creation 0;
+#N canvas 106 171 572 442 step1-creation 0;
#X text 141 13 let's create the ANN;
#X obj 130 354 outlet;
#X msg 132 185 create 2 1;
@@ -13,12 +13,12 @@ part of the screen;
#X text 242 185 send this message;
#X connect 2 0 1 0;
#X restore 128 158 pd step1-creation;
-#N canvas 46 38 644 604 step2-train 0;
+#N canvas 46 38 652 612 step2-train 0;
#X obj 97 530 outlet;
#X msg 44 130 train;
#X text 102 129 first switch to train mode;
#X obj 139 367 pack s f f f;
-#N canvas 0 0 462 312 normalized-inputs 0;
+#N canvas 0 0 466 316 normalized-inputs 0;
#X obj 105 64 r X;
#X obj 173 67 r Y;
#X obj 173 92 / 240;
@@ -36,7 +36,7 @@ part of the screen;
#X connect 4 0 7 0;
#X connect 5 0 8 0;
#X restore 127 271 pd normalized-inputs;
-#N canvas 0 0 667 316 desired-output 0;
+#N canvas 0 0 675 324 desired-output 0;
#X obj 383 63 key;
#X obj 383 92 select 97;
#X msg 382 118 1;
@@ -44,8 +44,10 @@ part of the screen;
#X obj 528 68 keyup;
#X msg 527 123 0;
#X obj 183 195 outlet;
-#X text 40 21 i send 1 when "a" is pressed \, 0 when released;
+#X text 90 269 i send 1 when "a" is pressed \, 0 when released;
#X obj 180 108 r out;
+#X text 81 231 optionally \, you can use the "a" key instead of the
+mouse button;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X connect 2 0 6 0;
@@ -113,7 +115,7 @@ are not in the upper left part of the screen;
-1 -1;
#X obj 281 389 loadbang;
#X floatatom 116 414 5 0 0 0 mse - mse;
-#N canvas 618 -3 682 470 step3-run 0;
+#N canvas 618 0 682 470 step3-run 0;
#X obj 64 377 outlet;
#N canvas 0 0 466 316 normalized-inputs 0;
#X obj 105 64 r X;
@@ -133,7 +135,7 @@ are not in the upper left part of the screen;
#X connect 4 0 7 0;
#X connect 5 0 8 0;
#X restore 178 167 pd normalized-inputs;
-#X obj 97 92 tgl 15 0 empty empty run 0 -6 0 8 -258699 -1 -1 1 1;
+#X obj 97 92 tgl 15 0 empty empty run 0 -6 0 8 -258699 -1 -1 0 1;
#X obj 145 267 pack s f f;
#X msg 50 30 run;
#X text 108 29 first switch to run mode;