Commit 93ac9717 authored by Roman Haefeli's avatar Roman Haefeli
Browse files

fix initialization of gid ui

parent 43552219
......@@ -187,15 +187,21 @@ gid float vel float c float vis;
#X scalar 1003.vertline 1020 60 672 888 4 0 \;;
#X scalar 1003.vertline 1035 60 672 888 4 0 \;;
#X scalar 1003.vertline 1050 60 672 0 5 0 \;;
#X scalar 1003.gid.button 290 20 800 1 0 \;;
#X scalar 1003.gid.button 290 20 800 3 0 \;;
#X scalar 1003.gid.button 320 20 880 1 1 \;;
#X scalar 1003.gid.button 350 20 80 1 2 \;;
#X scalar 1003.gid.button 380 20 88 1 3 \;;
#X scalar 1003.gid.button 410 20 8 1 4 \;;
#X scalar 1003.gid.button 440 20 808 3 5 \;;
#X scalar 1003.vel 90 20 64 \;;
#X scalar 1003.dur 190 20 5 \;;
#X scalar 1003.note 195 480 75 13 0 5 64 404 0 \;;
#X scalar 1003.gid.button 440 20 808 1 5 \;;
#X scalar 1003.vel 90 20 91 \;;
#X scalar 1003.dur 190 20 8 \;;
#X scalar 1003.note 90 368 120 13 0 0 91 600 0 \;;
#X scalar 1003.note 225 368 120 13 1 0 91 600 0 \;;
#X scalar 1003.note 360 368 120 13 2 0 91 600 0 \;;
#X scalar 1003.note 495 368 120 13 3 0 91 600 0 \;;
#X scalar 1003.note 630 368 120 13 4 0 91 600 0 \;;
#X scalar 1003.note 765 368 120 13 5 0 91 600 0 \;;
#X scalar 1003.note 900 368 120 13 6 0 91 600 0 \;;
#X restore 39 55 pd testfeld;
#X msg 644 365 clear;
#X obj 581 524 s pd-testfeld;
......@@ -1037,15 +1043,15 @@ id float gid float vel float c float vis;
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 458 313 1017 504 create_guis 0;
#N canvas 617 363 640 399 create_guis 0;
#X obj 12 76 route click;
#X obj 12 99 t b p p b;
#X obj 63 145 pointer;
#X obj 63 168 t b p;
#X msg 63 197 1;
#X msg 12 191 3;
#X obj 218 16 inlet;
#X obj 218 191 outlet;
#X obj 238 36 inlet;
#X obj 255 210 outlet;
#X obj 16 346 list store;
#X msg 16 320 get \$1 1;
#X obj 16 371 s \$0.gid2lr.set;
......@@ -1119,8 +1125,7 @@ id float gid float vel float c float vis;
#X connect 22 0 16 0;
#X connect 23 0 21 0;
#X connect 24 0 7 1;
#X restore 257 87 pd create.gid.buttons;
#X obj 218 54 t b b b;
#X restore 289 106 pd create.gid.buttons;
#N canvas 0 99 450 300 create.vel.number 0;
#X obj 24 21 inlet;
#X obj 24 201 outlet;
......@@ -1139,7 +1144,7 @@ id float gid float vel float c float vis;
#X connect 6 0 7 0;
#X connect 7 0 8 0;
#X connect 8 0 1 0;
#X restore 240 114 pd create.vel.number;
#X restore 272 135 pd create.vel.number;
#N canvas 0 99 450 300 create.dur.number 0;
#X obj 24 21 inlet;
#X obj 24 216 outlet;
......@@ -1158,31 +1163,58 @@ id float gid float vel float c float vis;
#X connect 6 0 1 0;
#X connect 7 0 4 1;
#X connect 8 0 3 1;
#X restore 218 144 pd create.dur.number;
#X restore 255 163 pd create.dur.number;
#X obj 12 52 r \$0.gid.button.send;
#X obj 12 249 set \$0.gid.button hl;
#N canvas 106 186 401 297 init.pointer 0;
#X msg 68 80 traverse pd-testfeld;
#X obj 17 79 until;
#X msg 17 102 next;
#X obj 17 138 pointer \$0.gid.button;
#X obj 80 188 get \$0.gid.button gid;
#X obj 17 51 t b b;
#X obj 17 14 inlet;
#X obj 80 219 sel 0;
#X obj 126 219 r \$0.default.gid;
#X obj 17 254 outlet;
#X connect 0 0 3 0;
#X connect 1 0 2 0;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 3 0 9 0;
#X connect 3 2 1 1;
#X connect 4 0 7 0;
#X connect 5 0 1 0;
#X connect 5 1 0 0;
#X connect 6 0 5 0;
#X connect 7 0 1 1;
#X connect 8 0 7 1;
#X restore 102 119 pd init.pointer;
#X obj 238 64 t b b b b;
#X connect 0 0 1 0;
#X connect 1 0 5 0;
#X connect 1 1 18 1;
#X connect 1 1 17 1;
#X connect 1 2 2 1;
#X connect 1 3 2 0;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 3 1 18 1;
#X connect 4 0 18 0;
#X connect 5 0 18 0;
#X connect 6 0 14 0;
#X connect 3 1 17 1;
#X connect 4 0 17 0;
#X connect 5 0 17 0;
#X connect 6 0 19 0;
#X connect 8 0 10 0;
#X connect 9 0 8 0;
#X connect 11 0 9 0;
#X connect 12 0 8 1;
#X connect 13 0 7 0;
#X connect 14 0 16 0;
#X connect 14 1 15 0;
#X connect 14 2 13 0;
#X connect 14 0 7 0;
#X connect 15 0 7 0;
#X connect 16 0 7 0;
#X connect 17 0 0 0;
#X connect 16 0 0 0;
#X connect 18 0 2 1;
#X connect 19 0 18 0;
#X connect 19 1 15 0;
#X connect 19 2 14 0;
#X connect 19 3 13 0;
#X restore 581 475 pd create_guis;
#N canvas 0 99 416 185 gui-templates 0;
#N canvas 0 99 408 150 gid.button-template 0;
......@@ -1245,7 +1277,6 @@ hl float gid;
#X obj 855 655 r \$0.dur.send;
#X obj 855 701 get \$0.dur value;
#X obj 855 726 s \$0.default.dur;
#X obj 803 249 pointer;
#X obj 745 545 r \$0.gid.button.send;
#X obj 745 591 get \$0.gid.button gid;
#X connect 1 0 2 0;
......@@ -1341,7 +1372,7 @@ hl float gid;
#X connect 89 2 19 0;
#X connect 89 3 22 0;
#X connect 89 4 1 0;
#X connect 90 0 105 0;
#X connect 90 0 104 0;
#X connect 93 0 2 0;
#X connect 95 0 98 0;
#X connect 96 0 97 0;
......@@ -1349,5 +1380,5 @@ hl float gid;
#X connect 99 0 101 0;
#X connect 100 0 99 0;
#X connect 101 0 102 0;
#X connect 104 0 90 0;
#X connect 105 0 91 0;
#X connect 103 0 90 0;
#X connect 104 0 91 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