Commit 3dbae700 authored by Roman Haefeli's avatar Roman Haefeli
Browse files

implement mode where default values are applied to notes when clicking them...

implement mode where default values are applied to notes when clicking them (activated by grey bars above defaults)
parent bb5f2ab1
......@@ -893,7 +893,7 @@ id float gid float vel float c float vis;
#X connect 10 1 8 0;
#X connect 10 2 9 1;
#X restore 53 169 pd show.selector.state;
#N canvas 258 344 450 300 create.cursor 0;
#N canvas 250 344 450 300 create.cursor 0;
#X obj 45 103 r \$0.canvastopmargin;
#X obj 22 139 f;
#X obj 22 26 inlet;
......@@ -1117,7 +1117,8 @@ symbol param;
#X msg 243 109 1;
#X msg 274 109 0;
#X obj 243 152 list prepend;
#X obj 243 175 print MODES;
#X obj 243 198 s \$0.edit.modes;
#X obj 243 175 list trim;
#X connect 0 0 9 0;
#X connect 1 0 6 1;
#X connect 2 0 6 1;
......@@ -1139,7 +1140,8 @@ symbol param;
#X connect 13 1 15 0;
#X connect 14 0 16 0;
#X connect 15 0 16 0;
#X connect 16 0 17 0;
#X connect 16 0 18 0;
#X connect 18 0 17 0;
#X restore 212 143 pd mode.button.logic;
#X connect 4 0 15 0;
#X connect 6 0 9 0;
......@@ -1407,7 +1409,7 @@ symbol param;
#X connect 30 7 26 0;
#X connect 30 8 27 0;
#X connect 31 0 19 0;
#X restore 23 214 pd note.create;
#X restore 23 244 pd note.create;
#X obj 20 438 r \$0.global.send;
#X obj 20 395 s \$0.global.receive;
#N canvas 260 453 300 366 note.delete 0;
......@@ -1463,9 +1465,9 @@ symbol param;
#X connect 10 0 8 1;
#X connect 11 0 8 0;
#X connect 12 0 8 2;
#X restore 23 237 pd note.delete;
#X restore 23 267 pd note.delete;
#X text 30 19 generate events;
#X text 22 155 process events;
#X text 22 185 process events;
#N canvas 0 99 406 517 note.change.duration 0;
#X obj 14 19 r \$0.note.send;
#X obj 14 246 change -1;
......@@ -1662,7 +1664,7 @@ certain period.;
#X connect 36 0 34 1;
#X connect 37 0 38 0;
#X connect 39 0 37 0;
#X restore 19 43 pd note.create/delete;
#X restore 18 43 pd note.create/delete;
#N canvas 0 99 406 517 note.change.velocity 0;
#X obj 14 19 r \$0.note.send;
#X obj 14 42 route change;
......@@ -1783,7 +1785,7 @@ to the note (or prints a 'not found' error);
#X connect 21 1 1 1;
#X connect 22 0 23 0;
#X connect 23 0 0 0;
#X restore 22 187 pd resolve.note;
#X restore 22 217 pd resolve.note;
#N canvas 132 109 397 442 note.change.duration 0;
#X obj 6 8 r \$0.global.receive;
#X obj 6 31 route note;
......@@ -1844,7 +1846,7 @@ to the note (or prints a 'not found' error);
#X connect 12 0 13 0;
#X connect 15 0 16 1;
#X connect 16 0 14 0;
#X restore 23 260 pd note.change.duration;
#X restore 23 290 pd note.change.duration;
#N canvas 202 202 535 609 note.change.velocity 0;
#X obj 6 8 r \$0.global.receive;
#X obj 6 31 route note;
......@@ -1975,7 +1977,7 @@ to the note (or prints a 'not found' error);
#X connect 18 0 12 0;
#X connect 19 0 18 0;
#X connect 19 1 14 0;
#X restore 23 283 pd note.change.velocity;
#X restore 23 313 pd note.change.velocity;
#N canvas 0 99 406 517 note.change.gid 0;
#X obj 14 19 r \$0.note.send;
#X obj 14 42 route change;
......@@ -2137,7 +2139,7 @@ to the note (or prints a 'not found' error);
#X connect 14 0 5 0;
#X connect 17 0 8 1;
#X connect 17 1 12 0;
#X restore 23 306 pd note.change.gid;
#X restore 23 336 pd note.change.gid;
#X obj 285 430 text define \$0.sequence;
#N canvas 412 166 545 360 sequencer 0;
#N canvas 0 289 404 347 note.create 0;
......@@ -2477,6 +2479,113 @@ to the note (or prints a 'not found' error);
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 \;;
#N canvas 0 99 570 525 note.edit.modes 0;
#X obj 14 19 r \$0.note.send;
#X obj 14 435 s \$0.global.send;
#X obj 14 42 route click;
#X obj 14 65 get \$0.note id;
#N canvas 36 115 405 333 gid 0;
#X obj 40 173 tabread \$0.gid;
#X obj 29 120 r \$0.default.gid;
#X obj 14 143 f;
#X obj 14 203 sel;
#X obj 14 96 spigot 0;
#X obj 14 52 t b a;
#X obj 14 22 inlet;
#X obj 14 262 outlet;
#X obj 59 71 route gid;
#X msg 14 231 gid \$1;
#X obj 59 48 r \$0.edit.modes;
#X connect 0 0 3 1;
#X connect 1 0 2 1;
#X connect 2 0 3 0;
#X connect 3 1 9 0;
#X connect 4 0 2 0;
#X connect 5 0 4 0;
#X connect 5 1 0 0;
#X connect 6 0 5 0;
#X connect 8 0 4 1;
#X connect 9 0 7 0;
#X connect 10 0 8 0;
#X restore 14 179 pd gid;
#N canvas 36 115 406 316 dur 0;
#X obj 14 143 f;
#X obj 14 203 sel;
#X obj 59 48 r \$0.edit.modes;
#X obj 14 96 spigot 0;
#X obj 14 52 t b a;
#X obj 14 22 inlet;
#X obj 59 71 route duration;
#X obj 29 120 r \$0.default.dur;
#X obj 40 173 tabread \$0.duration;
#X obj 14 262 outlet;
#X msg 14 231 duration \$1;
#X connect 0 0 1 0;
#X connect 1 1 10 0;
#X connect 2 0 6 0;
#X connect 3 0 0 0;
#X connect 4 0 3 0;
#X connect 4 1 8 0;
#X connect 5 0 4 0;
#X connect 6 0 3 1;
#X connect 7 0 0 1;
#X connect 8 0 1 1;
#X connect 10 0 9 0;
#X restore 64 179 pd dur;
#N canvas 36 115 407 294 vel 0;
#X obj 14 143 f;
#X obj 14 203 sel;
#X obj 59 48 r \$0.edit.modes;
#X obj 14 96 spigot 0;
#X obj 14 52 t b a;
#X obj 14 22 inlet;
#X obj 59 71 route velocity;
#X obj 40 172 tabread \$0.velocity;
#X obj 14 262 outlet;
#X msg 14 231 velocity \$1;
#X obj 29 120 r \$0.default.vel;
#X connect 0 0 1 0;
#X connect 1 1 9 0;
#X connect 2 0 6 0;
#X connect 3 0 0 0;
#X connect 4 0 3 0;
#X connect 4 1 7 0;
#X connect 5 0 4 0;
#X connect 6 0 3 1;
#X connect 7 0 1 1;
#X connect 9 0 8 0;
#X connect 10 0 0 1;
#X restore 114 179 pd vel;
#X obj 164 183 tabread \$0.step;
#X obj 215 160 tabread \$0.pitch;
#X obj 14 114 t a a a a a, f 34;
#X obj 164 206 pack f f;
#X obj 14 228 list split 1;
#X obj 14 280 list prepend note change;
#X obj 14 303 list append;
#X obj 14 326 list append;
#X obj 14 349 list trim;
#X connect 0 0 2 0;
#X connect 2 0 3 0;
#X connect 3 0 9 0;
#X connect 4 0 11 0;
#X connect 5 0 11 0;
#X connect 6 0 11 0;
#X connect 7 0 10 0;
#X connect 8 0 10 1;
#X connect 9 0 4 0;
#X connect 9 1 5 0;
#X connect 9 2 6 0;
#X connect 9 3 7 0;
#X connect 9 4 8 0;
#X connect 10 0 13 1;
#X connect 11 0 12 0;
#X connect 11 1 14 1;
#X connect 12 0 13 0;
#X connect 13 0 14 0;
#X connect 14 0 15 0;
#X connect 15 0 1 0;
#X restore 18 142 pd note.edit.modes;
#X connect 0 0 44 0;
#X connect 1 0 2 0;
#X connect 2 0 45 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