Commit af5688ce authored by Roman Haefeli's avatar Roman Haefeli
Browse files

show both, velocity and gid, in note; when deleting note, move it out of the...

show both, velocity and gid, in note; when deleting note, move it out of the way so that the numbers are not visible
parent 82248926
......@@ -466,13 +466,12 @@ n float nvis;
#X connect 20 0 9 0;
#X connect 22 0 12 0;
#X restore 596 446 pd create_vertline;
#N canvas 79 99 782 466 note-template 0;
#N canvas 79 99 767 573 note-template 0;
#X obj 121 264 max 0;
#X obj 121 287 min 127;
#X obj 51 166 route click change;
#X obj 121 312 t a a;
#X obj 32 141 t a a a;
#X obj 32 34 drawnumber -v vis vel 1 -14 0;
#X obj 32 429 s \$0.note.send;
#X obj 32 104 struct \$0.note float x float y float w float h float
id float gid float vel float c float vis;
......@@ -499,7 +498,7 @@ id float gid float vel float c float vis;
#X connect 3 1 1 0;
#X connect 3 2 4 1;
#X connect 4 0 5 0;
#X restore 51 335 pd get.gid.clr;
#X restore 64 335 pd get.gid.clr;
#N canvas 320 203 446 363 clr.* 0;
#X obj 28 62 t a a a;
#X obj 28 112 div 100;
......@@ -548,38 +547,76 @@ id float gid float vel float c float vis;
#X connect 18 0 19 0;
#X connect 19 0 20 0;
#X connect 21 0 0 0;
#X restore 51 369 pd clr.*;
#X restore 64 369 pd clr.*;
#X obj 121 361 / 113;
#X obj 51 212 get \$0.note gid vel w, f 24;
#X obj 51 406 set \$0.note c vel w h, f 48;
#X obj 469 34 r \$0.default.show;
#X obj 469 163 == 1;
#X obj 496 93 == 2;
#X obj 469 57 t a a;
#X text 596 36 show note properties:;
#X text 609 53 0 = none;
#X text 609 68 1 = velocity;
#X text 609 83 2 = gid;
#X obj 478 260 hradio 20 1 0 3 empty empty empty 0 -8 0 10 -262144
-1 -1 1;
#X obj 478 291 s \$0.default.show;
#N canvas 149 210 387 235 range 0;
#X obj 33 104 min;
#X obj 86 64 r \$0.gidcolorlist;
#X obj 86 87 list length;
#X obj 86 110 - 1;
#X obj 33 22 inlet;
#X obj 33 45 max 0;
#X obj 33 127 outlet;
#X connect 0 0 6 0;
#X connect 1 0 2 0;
#X connect 2 0 3 0;
#X connect 3 0 0 1;
#X connect 4 0 5 0;
#X connect 5 0 0 0;
#X restore 51 279 pd range;
#X obj 51 406 set \$0.note gid c vel w h, f 48;
#X obj 51 302 t a a;
#X obj 496 120 drawnumber gid 3 1 999;
#X obj 469 190 drawnumber vel 3 1 999;
#X connect 0 0 1 0;
#X connect 1 0 3 0;
#X connect 2 0 8 0;
#X connect 2 1 8 0;
#X connect 3 0 20 0;
#X connect 3 1 22 1;
#X connect 4 0 6 0;
#X connect 2 0 7 0;
#X connect 2 1 7 0;
#X connect 3 0 19 0;
#X connect 3 1 32 2;
#X connect 4 0 5 0;
#X connect 4 1 2 0;
#X connect 7 0 4 0;
#X connect 8 0 21 0;
#X connect 8 1 22 4;
#X connect 9 0 18 0;
#X connect 9 1 10 0;
#X connect 10 0 22 3;
#X connect 11 0 12 0;
#X connect 12 0 10 1;
#X connect 13 0 14 1;
#X connect 13 0 15 1;
#X connect 13 0 17 1;
#X connect 14 0 15 0;
#X connect 15 0 17 0;
#X connect 17 0 22 2;
#X connect 18 0 19 0;
#X connect 19 0 22 0;
#X connect 20 0 19 1;
#X connect 21 0 9 0;
#X connect 21 1 0 0;
#X connect 21 2 14 0;
#X connect 6 0 4 0;
#X connect 7 0 20 0;
#X connect 7 1 32 5;
#X connect 8 0 31 0;
#X connect 8 1 9 0;
#X connect 9 0 32 4;
#X connect 10 0 11 0;
#X connect 11 0 9 1;
#X connect 12 0 13 1;
#X connect 12 0 14 1;
#X connect 12 0 16 1;
#X connect 13 0 14 0;
#X connect 14 0 16 0;
#X connect 16 0 32 3;
#X connect 17 0 18 0;
#X connect 18 0 32 1;
#X connect 19 0 18 1;
#X connect 20 0 8 0;
#X connect 20 1 0 0;
#X connect 20 2 13 0;
#X connect 21 0 24 0;
#X connect 22 0 35 0;
#X connect 23 0 34 0;
#X connect 24 0 22 0;
#X connect 24 1 23 0;
#X connect 29 0 30 0;
#X connect 31 0 33 0;
#X connect 33 0 32 0;
#X connect 33 1 17 0;
#X restore 759 341 pd note-template;
#X obj 835 38 array define \$0.step 1000;
#X obj 835 61 array define \$0.pitch 1000;
......@@ -592,12 +629,6 @@ id float gid float vel float c float vis;
#X obj 581 338 t b b b b b;
#X obj 897 308 route click;
#X obj 897 356 s \$0.default.gid;
#X msg 437 61 \; \$1.stepcount 64 \; \$1.pitchrange 48 \; \$1.stepviswidth
15 \; \$1.stepvisheight 14 \; \$1.canvastopmargin 60 \; \$1.canvasleftmargin
90 \; \$1.stepkeycolor1 887 \; \$1.stepkeycolor2 777 \; \$1.griddivision
4 \; \$1.gridsubdivision 4 \; \$1.gidcolorlist 800 880 80 88 8 808
\; \$1.default.vel 64 \; \$1.default.gid 0 \; \$1.default.dur 4 \;
\$1.init bang \;;
#N canvas 617 363 640 399 create_guis 0;
#X obj 12 76 route click;
#X obj 12 99 t b p p b;
......@@ -1132,13 +1163,10 @@ hl float gid;
#X obj 258 160 s \$0.global.receive;
#X obj 258 114 t a a;
#X obj 285 138 print ACTIONS;
#N canvas 260 189 300 366 note.delete 0;
#N canvas 260 288 300 366 note.delete 0;
#X obj 6 8 r \$0.global.receive;
#X obj 6 31 route note;
#X obj 6 54 route delete;
#X obj 133 300 set \$0.note vis;
#X obj 133 251 t b p;
#X msg 133 274 0;
#X obj 6 292 s \$0.active;
#X msg 6 265 \$1 0;
#N canvas 126 411 388 279 resolve.note 0;
......@@ -1168,17 +1196,26 @@ hl float gid;
#X restore 6 101 pd resolve.note;
#X obj 6 138 t p p;
#X obj 6 186 get \$0.note id;
#X obj 133 300 set \$0.note x y vis;
#X obj 133 251 t b b b p, f 19;
#X msg 170 275 5;
#X msg 133 274 5;
#X msg 207 274 0;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X connect 2 0 8 0;
#X connect 4 0 5 0;
#X connect 4 1 3 1;
#X connect 5 0 3 0;
#X connect 7 0 6 0;
#X connect 8 0 9 0;
#X connect 9 0 10 0;
#X connect 9 1 4 0;
#X connect 10 0 7 0;
#X connect 2 0 5 0;
#X connect 4 0 3 0;
#X connect 5 0 6 0;
#X connect 6 0 7 0;
#X connect 6 1 9 0;
#X connect 7 0 4 0;
#X connect 9 0 11 0;
#X connect 9 1 10 0;
#X connect 9 2 12 0;
#X connect 9 3 8 3;
#X connect 10 0 8 1;
#X connect 11 0 8 0;
#X connect 12 0 8 2;
#X restore 43 287 pd note.delete;
#X text 50 69 generate events;
#X text 42 205 process events;
......@@ -1500,31 +1537,6 @@ to the note (or prints a 'not found' error);
#X connect 23 0 14 0;
#X connect 23 1 2 1;
#X restore 42 237 pd resolve.note;
#N canvas 126 411 388 279 resolve.note 0;
#X obj 39 95 r \$0.resolve.note.receive;
#X obj 39 72 s \$0.resolve.note.send;
#X obj 20 224 pointer;
#X obj 20 17 inlet;
#X obj 20 46 t b a b;
#X obj 20 174 f;
#X obj 20 197 sel 1;
#X obj 39 118 t b p;
#X msg 39 142 1;
#X msg 107 141 0;
#X obj 20 247 outlet;
#X connect 0 0 7 0;
#X connect 2 0 10 0;
#X connect 3 0 4 0;
#X connect 4 0 5 0;
#X connect 4 1 1 0;
#X connect 4 2 9 0;
#X connect 5 0 6 0;
#X connect 6 0 2 0;
#X connect 7 0 8 0;
#X connect 7 1 2 1;
#X connect 8 0 5 1;
#X connect 9 0 5 1;
#X restore 56 402 pd resolve.note;
#N canvas 286 572 475 540 note.change.duration 0;
#X obj 6 8 r \$0.global.receive;
#X obj 6 31 route note;
......@@ -1720,14 +1732,20 @@ to the note (or prints a 'not found' error);
#X connect 19 1 14 0;
#X restore 43 333 pd note.change.velocity;
#X msg 234 298 note change velocity 16 72 120;
#X connect 0 0 38 0;
#X msg 437 61 \; \$1.stepcount 64 \; \$1.pitchrange 48 \; \$1.stepviswidth
15 \; \$1.stepvisheight 14 \; \$1.canvastopmargin 60 \; \$1.canvasleftmargin
90 \; \$1.stepkeycolor1 887 \; \$1.stepkeycolor2 777 \; \$1.griddivision
4 \; \$1.gridsubdivision 4 \; \$1.gidcolorlist 800 840 80 88 8 808
\; \$1.default.vel 64 \; \$1.default.gid 0 \; \$1.default.dur 4 \;
\$1.default.show 0 \; \$1.init bang \;;
#X connect 0 0 37 0;
#X connect 1 0 2 0;
#X connect 2 0 23 0;
#X connect 2 0 59 0;
#X connect 3 0 20 0;
#X connect 4 0 2 0;
#X connect 5 0 38 0;
#X connect 8 0 38 0;
#X connect 10 0 38 0;
#X connect 5 0 37 0;
#X connect 8 0 37 0;
#X connect 10 0 37 0;
#X connect 17 0 18 0;
#X connect 18 0 12 0;
#X connect 18 0 13 0;
......@@ -1735,26 +1753,26 @@ to the note (or prints a 'not found' error);
#X connect 18 0 14 0;
#X connect 18 0 16 0;
#X connect 18 0 19 0;
#X connect 20 0 24 0;
#X connect 20 0 23 0;
#X connect 20 1 10 0;
#X connect 20 2 5 0;
#X connect 20 3 8 0;
#X connect 20 4 0 0;
#X connect 21 0 35 0;
#X connect 24 0 38 0;
#X connect 26 0 29 0;
#X connect 27 0 28 0;
#X connect 29 0 27 0;
#X connect 30 0 32 0;
#X connect 31 0 30 0;
#X connect 32 0 33 0;
#X connect 34 0 21 0;
#X connect 35 0 22 0;
#X connect 39 0 40 0;
#X connect 41 0 42 0;
#X connect 42 0 40 0;
#X connect 44 0 46 0;
#X connect 46 0 45 0;
#X connect 46 1 47 0;
#X connect 58 0 57 0;
#X connect 60 0 57 0;
#X connect 21 0 34 0;
#X connect 23 0 37 0;
#X connect 25 0 28 0;
#X connect 26 0 27 0;
#X connect 28 0 26 0;
#X connect 29 0 31 0;
#X connect 30 0 29 0;
#X connect 31 0 32 0;
#X connect 33 0 21 0;
#X connect 34 0 22 0;
#X connect 38 0 39 0;
#X connect 40 0 41 0;
#X connect 41 0 39 0;
#X connect 43 0 45 0;
#X connect 45 0 44 0;
#X connect 45 1 46 0;
#X connect 56 0 55 0;
#X connect 58 0 55 0;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment