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

give sequencer its own global.receive.seq to ensure defined order

parent 984a1f7f
#N canvas 0 99 842 511 10;
#N canvas 0 99 788 545 10;
#X msg 524 105 clear;
#X obj 206 22 loadbang;
#X obj 206 45 \$0;
......@@ -1155,8 +1155,8 @@ symbol param;
#X connect 17 0 16 0;
#X connect 18 0 19 0;
#X restore 624 215 pd gui-templates;
#X obj 20 448 r \$0.global.send;
#X obj 20 405 s \$0.global.receive;
#X obj 20 468 r \$0.global.send;
#X obj 47 412 s \$0.global.receive;
#X text 20 63 generate events;
#X text 20 218 process events;
#N canvas 0 99 406 517 note.change.duration 0;
......@@ -1490,9 +1490,8 @@ certain period.;
#X connect 11 1 8 0;
#X restore 19 159 pd note.change.gid;
#X obj 285 430 text define \$0.sequence;
#N canvas 392 150 545 360 sequencer 0;
#N canvas 392 150 545 360 sequencer 1;
#N canvas 0 281 404 347 note.create 0;
#X obj 24 16 r \$0.global.receive;
#X obj 24 39 route note;
#X obj 24 62 route create;
#X msg 165 178 \$1 \$2 \$3;
......@@ -1505,22 +1504,22 @@ certain period.;
#X obj 165 210 s \$0.sequencer.event.add.post;
#X obj 24 169 mod;
#X obj 50 169 r \$0.stepsperpage;
#X obj 24 16 r \$0.global.receive.seq;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X connect 2 0 6 0;
#X connect 3 0 10 0;
#X connect 4 0 5 0;
#X connect 5 0 11 0;
#X connect 6 0 4 0;
#X connect 6 1 8 0;
#X connect 6 2 3 0;
#X connect 7 0 9 0;
#X connect 8 0 7 1;
#X connect 11 0 7 0;
#X connect 12 0 11 1;
#X connect 1 0 5 0;
#X connect 2 0 9 0;
#X connect 3 0 4 0;
#X connect 4 0 10 0;
#X connect 5 0 3 0;
#X connect 5 1 7 0;
#X connect 5 2 2 0;
#X connect 6 0 8 0;
#X connect 7 0 6 1;
#X connect 10 0 6 0;
#X connect 11 0 10 1;
#X connect 12 0 0 0;
#X restore 13 19 pd note.create;
#N canvas 140 99 581 399 note.delete 0;
#X obj 24 16 r \$0.global.receive;
#X obj 24 39 route note;
#X obj 24 62 route delete;
#X obj 147 190 tabread \$0.duration;
......@@ -1551,31 +1550,31 @@ certain period.;
#X obj 83 114 t a a a a, f 10;
#X msg 244 262 sequencer: note delete: note not found (\$1 \$2);
#X obj 244 285 s error;
#X obj 24 16 r \$0.global.receive.seq;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X connect 2 0 8 0;
#X connect 3 0 5 1;
#X connect 4 0 5 0;
#X connect 5 0 10 0;
#X connect 6 0 9 0;
#X connect 7 0 6 1;
#X connect 8 0 9 0;
#X connect 8 1 16 0;
#X connect 10 0 6 0;
#X connect 11 0 10 1;
#X connect 12 0 13 0;
#X connect 13 0 15 0;
#X connect 13 1 3 0;
#X connect 14 0 17 0;
#X connect 15 0 14 0;
#X connect 16 0 4 0;
#X connect 16 1 12 0;
#X connect 16 2 7 0;
#X connect 16 3 14 1;
#X connect 17 0 18 0;
#X connect 1 0 7 0;
#X connect 2 0 4 1;
#X connect 3 0 4 0;
#X connect 4 0 9 0;
#X connect 5 0 8 0;
#X connect 6 0 5 1;
#X connect 7 0 8 0;
#X connect 7 1 15 0;
#X connect 9 0 5 0;
#X connect 10 0 9 1;
#X connect 11 0 12 0;
#X connect 12 0 14 0;
#X connect 12 1 2 0;
#X connect 13 0 16 0;
#X connect 14 0 13 0;
#X connect 15 0 3 0;
#X connect 15 1 11 0;
#X connect 15 2 6 0;
#X connect 15 3 13 1;
#X connect 16 0 17 0;
#X connect 18 0 0 0;
#X restore 13 42 pd note.delete;
#N canvas 0 99 785 486 note.change.duration 0;
#X obj 24 16 r \$0.global.receive;
#X obj 24 39 route note;
#X obj 239 299 tabread \$0.duration;
#X msg 254 334 \$1;
......@@ -1616,38 +1615,39 @@ certain period.;
#X msg 483 367 sequencer: note delete: note not found (\$1 \$2);
#X obj 483 390 s error;
#X obj 194 194 t a a a a;
#X connect 0 0 1 0;
#X connect 1 0 8 0;
#X connect 2 0 4 0;
#X connect 3 0 4 1;
#X connect 4 0 18 0;
#X connect 5 0 16 0;
#X connect 6 0 5 1;
#X connect 7 0 11 0;
#X connect 7 1 10 0;
#X connect 8 0 9 0;
#X connect 9 0 7 0;
#X connect 10 0 28 0;
#X obj 24 16 r \$0.global.receive.seq;
#X connect 0 0 7 0;
#X connect 1 0 3 0;
#X connect 2 0 3 1;
#X connect 3 0 17 0;
#X connect 4 0 15 0;
#X connect 5 0 4 1;
#X connect 6 0 10 0;
#X connect 6 1 9 0;
#X connect 7 0 8 0;
#X connect 8 0 6 0;
#X connect 9 0 27 0;
#X connect 10 0 11 0;
#X connect 10 1 14 0;
#X connect 11 0 12 0;
#X connect 11 1 15 0;
#X connect 12 0 13 0;
#X connect 13 0 19 0;
#X connect 14 0 17 0;
#X connect 15 0 14 1;
#X connect 18 0 5 0;
#X connect 19 0 14 0;
#X connect 20 0 19 1;
#X connect 21 0 18 1;
#X connect 22 0 23 0;
#X connect 12 0 18 0;
#X connect 13 0 16 0;
#X connect 14 0 13 1;
#X connect 17 0 4 0;
#X connect 18 0 13 0;
#X connect 19 0 18 1;
#X connect 20 0 17 1;
#X connect 21 0 22 0;
#X connect 22 0 24 0;
#X connect 22 1 1 0;
#X connect 23 0 25 0;
#X connect 23 1 2 0;
#X connect 24 0 26 0;
#X connect 25 0 24 0;
#X connect 26 0 27 0;
#X connect 28 0 22 0;
#X connect 28 1 3 0;
#X connect 28 2 6 0;
#X connect 28 3 24 1;
#X connect 24 0 23 0;
#X connect 25 0 26 0;
#X connect 27 0 21 0;
#X connect 27 1 2 0;
#X connect 27 2 5 0;
#X connect 27 3 23 1;
#X connect 28 0 0 0;
#X restore 13 66 pd note.change.duration;
#N canvas 604 608 577 279 event.add 0;
#X obj 16 37 t a a;
......@@ -1683,7 +1683,7 @@ certain period.;
#X connect 13 0 9 0;
#X connect 14 0 13 0;
#X restore 15 132 pd event.add;
#N canvas 594 732 359 230 event.remove 0;
#N canvas 594 765 359 230 event.remove 0;
#X obj 14 57 text search \$0.sequence 0 1;
#X obj 47 110 text delete \$0.sequence;
#X obj 14 11 r \$0.sequencer.event.remove;
......@@ -1705,7 +1705,6 @@ certain period.;
#X msg 17 230 -1;
#X obj 17 253 text delete \$0.sequence;
#N canvas 0 99 572 389 note.change.velocity 0;
#X obj 24 16 r \$0.global.receive;
#X obj 24 39 route note;
#X obj 24 62 route change;
#X msg 24 135 \$1 \$2;
......@@ -1724,27 +1723,28 @@ certain period.;
#X obj 212 319 s error;
#X obj 69 282 f;
#X obj 69 252 t b a b, f 13;
#X obj 24 16 r \$0.global.receive.seq;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X connect 2 0 4 0;
#X connect 3 0 12 0;
#X connect 4 0 6 0;
#X connect 5 0 10 0;
#X connect 6 0 3 0;
#X connect 6 1 7 0;
#X connect 7 0 16 1;
#X connect 9 0 8 2;
#X connect 10 0 11 0;
#X connect 10 1 17 0;
#X connect 11 0 13 0;
#X connect 12 0 5 0;
#X connect 12 1 13 1;
#X connect 1 0 3 0;
#X connect 2 0 11 0;
#X connect 3 0 5 0;
#X connect 4 0 9 0;
#X connect 5 0 2 0;
#X connect 5 1 6 0;
#X connect 6 0 15 1;
#X connect 8 0 7 2;
#X connect 9 0 10 0;
#X connect 9 1 16 0;
#X connect 10 0 12 0;
#X connect 11 0 4 0;
#X connect 11 1 12 1;
#X connect 12 0 13 0;
#X connect 13 0 14 0;
#X connect 14 0 15 0;
#X connect 16 0 8 0;
#X connect 17 0 16 0;
#X connect 17 1 8 1;
#X connect 17 2 9 0;
#X connect 15 0 7 0;
#X connect 16 0 15 0;
#X connect 16 1 7 1;
#X connect 16 2 8 0;
#X connect 17 0 0 0;
#X restore 13 88 pd note.change.velocity;
#N canvas 0 99 415 481 play.notes.by.index 0;
#X obj 18 77 text search \$0.sequence 0;
......@@ -1827,11 +1827,11 @@ certain period.;
#X connect 12 0 9 0;
#X connect 12 1 13 0;
#X restore 199 430 pd sequencer;
#X obj 20 471 outlet;
#X obj 20 377 inlet;
#X obj 20 491 outlet;
#X obj 20 364 inlet;
#X obj 199 461 outlet;
#X obj 199 367 inlet;
#X text 663 475 2018 \, Roman Haefeli;
#X text 659 519 2018 \, Roman Haefeli;
#X obj 461 254 s \$1;
#N canvas 0 99 570 525 note.edit.modes 0;
#X obj 14 19 r \$0.note.send;
......@@ -2422,7 +2422,7 @@ certain period.;
#X restore 135 168 pd gid->gclr;
#X restore 19 35 pd converters;
#X text 20 15 converters;
#N canvas 109 324 602 507 note.create 0;
#N canvas 109 324 589 500 note.create 0;
#X obj 6 8 r \$0.global.receive;
#X obj 6 31 route note;
#X obj 6 54 route create;
......@@ -3128,7 +3128,7 @@ certain period.;
#X connect 18 1 13 2;
#X connect 19 0 8 0;
#X restore 19 330 pd note.change.gid;
#N canvas 842 143 401 476 inspector 1;
#N canvas 842 143 401 476 inspector 0;
#X obj 42 89 t a a a a a a;
#X obj 117 113 tabread \$0.active;
#X obj 102 158 tabread \$0.step;
......@@ -3168,12 +3168,14 @@ certain period.;
#X connect 14 0 12 0;
#X connect 15 0 13 0;
#X connect 16 0 13 0;
#X restore 464 465 pd inspector;
#X restore 430 497 pd inspector;
#N canvas 0 99 393 172 errors 0;
#X obj 15 14 r error;
#X obj 15 37 print ERROR:;
#X connect 0 0 1 0;
#X restore 73 376 pd errors;
#X restore 350 497 pd errors;
#X obj 20 434 s \$0.global.receive.seq;
#X obj 20 387 t a a;
#X connect 0 0 31 0;
#X connect 1 0 2 0;
#X connect 2 0 47 0;
......@@ -3196,7 +3198,7 @@ certain period.;
#X connect 14 0 31 0;
#X connect 16 0 26 0;
#X connect 25 0 28 0;
#X connect 27 0 17 0;
#X connect 27 0 58 0;
#X connect 29 0 25 0;
#X connect 33 0 37 0;
#X connect 34 0 36 0;
......@@ -3205,3 +3207,5 @@ certain period.;
#X connect 37 0 39 0;
#X connect 37 1 13 0;
#X connect 46 0 13 0;
#X connect 58 0 57 0;
#X connect 58 1 17 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