Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Roman Haefeli
unpunch
Commits
89e4a56d
Commit
89e4a56d
authored
Sep 01, 2019
by
Roman Haefeli
Browse files
adapt 'note change pos' to id based protocol
parent
fc575121
Changes
1
Hide whitespace changes
Inline
Side-by-side
unpunch.pd
View file @
89e4a56d
...
...
@@ -3055,7 +3055,7 @@ by clicking on two coordinates on the grid with Ctrl-key pressed.;
#X connect 30 0 29 0;
#X restore 16 166 pd note.select;
#X text 15 17 GENERATE EVENTS;
#N canvas 3
2
6 2
86
403 183 note.unselect 0;
#N canvas 3
3
6 2
94
403 183 note.unselect 0;
#X obj 25 17 keyname;
#X obj 25 40 pack f s;
#X obj 25 63 route 1;
...
...
@@ -3355,7 +3355,7 @@ by clicking on two coordinates on the grid with Ctrl-key pressed.;
#X connect 35 0 34 10;
#X connect 38 0 37 0;
#X restore 19 18 pd note.create;
#N canvas 1
5
6
512
345 548 note.delete 0;
#N canvas 1
6
6
487
345 548 note.delete 0;
#X obj 6 8 r \$0.global.receive;
#X obj 6 31 route note;
#X obj 6 54 route delete;
...
...
@@ -3632,7 +3632,7 @@ by clicking on two coordinates on the grid with Ctrl-key pressed.;
#X connect 20 0 21 0;
#X connect 21 0 9 0;
#X restore 19 87 pd note.change.velocity;
#N canvas
19
2 2
60
290 524 note.change.gid 0;
#N canvas
20
2 2
35
290 524 note.change.gid 0;
#X obj 6 8 r \$0.global.receive;
#X obj 6 31 route note;
#X obj 6 54 route change;
...
...
@@ -3883,7 +3883,7 @@ by clicking on two coordinates on the grid with Ctrl-key pressed.;
#X connect 9 1 0 0;
#X connect 9 2 7 0;
#X connect 10 0 6 0;
#X restore 19 1
56
pd note.select;
#X restore 19 1
33
pd note.select;
#N canvas 1 99 452 346 dump 0;
#X obj 15 20 r \$0.global.receive;
#X obj 15 43 route dump;
...
...
@@ -4041,11 +4041,11 @@ by clicking on two coordinates on the grid with Ctrl-key pressed.;
#X connect 5 2 3 0;
#X connect 6 0 2 0;
#X connect 7 0 5 0;
#X restore 19 1
79
pd note.unselect;
#N canvas
324 290
3
4
5 4
52
note.
change.pos
0;
#X restore 19 1
58
pd note.unselect;
#N canvas
0 201
3
8
5 4
09
note.
move
0;
#X obj 6 8 r \$0.global.receive;
#X obj 6 31 route note;
#X obj 6 100 t a a, f
26
;
#X obj 6 100 t a a, f
34
;
#N canvas 83 99 410 208 id->pointer 0;
#X obj 13 14 inlet;
#X obj 13 37 t b a;
...
...
@@ -4058,19 +4058,19 @@ by clicking on two coordinates on the grid with Ctrl-key pressed.;
#X connect 1 1 4 0;
#X connect 2 0 3 0;
#X connect 5 0 2 1;
#X restore 9
2
2
1
8 pd id->pointer;
#X obj 9
2
2
4
1 route -1;
#X obj 1
37
2
6
7 t b p;
#X obj 6 1
92
t a a;
#X obj 1
37
3
1
3 t a a;
#X obj 6
225
list append;
#X obj 6 2
48
t a a;
#X obj 6 3
47
s \$0.step;
#X obj 33 2
97
s \$0.pitch;
#X msg 6
323
\$1 \$2;
#X msg 33 2
7
3 \$1 \$3;
#X text 2
07 136
step|pitch;
#X obj 1
37
3
8
7 set \$0.note x y;
#X restore 9
9
2
0
8 pd id->pointer;
#X obj 9
9
2
3
1 route -1;
#X obj 1
44
2
5
7 t b p;
#X obj 6 1
57
t a a
, f 16
;
#X obj 1
44
3
0
3 t a a;
#X obj 6
190
list append;
#X obj 6 2
13
t a a;
#X obj 6 3
12
s \$0.step;
#X obj 33 2
62
s \$0.pitch;
#X msg 6
288
\$1 \$2;
#X msg 33 23
8
\$1 \$3;
#X text 2
55 125
step|pitch;
#X obj 1
44
3
7
7 set \$0.note x y;
#N canvas 0 99 405 189 step->x 0;
#X obj 13 14 inlet;
#X obj 13 37 t b a;
...
...
@@ -4083,7 +4083,7 @@ by clicking on two coordinates on the grid with Ctrl-key pressed.;
#X connect 1 1 4 0;
#X connect 2 0 3 0;
#X connect 5 0 2 1;
#X restore 1
37
3
4
1 pd step->x;
#X restore 1
44
3
3
1 pd step->x;
#N canvas 0 99 405 189 pitch->y 0;
#X obj 13 14 inlet;
#X obj 13 37 t b a;
...
...
@@ -4096,29 +4096,16 @@ by clicking on two coordinates on the grid with Ctrl-key pressed.;
#X connect 1 1 4 0;
#X connect 2 0 3 0;
#X connect 5 0 2 1;
#X restore 180 362 pd pitch->y;
#X obj 6 54 route change pos;
#X msg 159 137 \$2 \$3;
#X obj 137 290 list append;
#N canvas 731 272 337 209 only.active 0;
#X obj 20 71 tabread \$0.active;
#X obj 20 94 sel 1;
#X obj 20 117 f;
#X obj 20 47 t a a;
#X obj 20 18 inlet;
#X obj 20 146 outlet;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X connect 2 0 5 0;
#X connect 3 0 0 0;
#X connect 3 1 2 1;
#X connect 4 0 3 0;
#X restore 6 156 pd only.active;
#X restore 187 352 pd pitch->y;
#X msg 207 126 \$2 \$3;
#X msg 6 123 \$1;
#X obj 144 280 list append;
#X obj 6 54 route change;
#X obj 6 77 route pos;
#X connect 0 0 1 0;
#X connect 1 0 1
8
0;
#X connect 2 0
22
0;
#X connect 2 1 1
9
0;
#X connect 1 0
2
1 0;
#X connect 2 0
19
0;
#X connect 2 1 1
8
0;
#X connect 3 0 4 0;
#X connect 4 1 5 0;
#X connect 5 0 20 0;
...
...
@@ -4134,13 +4121,13 @@ by clicking on two coordinates on the grid with Ctrl-key pressed.;
#X connect 13 0 11 0;
#X connect 16 0 15 0;
#X connect 17 0 15 1;
#X connect 18 0
2 0
;
#X connect 1
9
0
8
1;
#X connect 19 0
20 1
;
#X connect 18 0
8 1
;
#X connect 1
8
0
20
1;
#X connect 19 0
6 0
;
#X connect 20 0 7 0;
#X connect 21 0
6
0;
#X connect 22 0 2
1
0;
#X restore 19 1
33
pd note.
change.pos
;
#X connect 21 0
22
0;
#X connect 22 0 2 0;
#X restore 19 1
84
pd note.
move
;
#X restore 19 155 pd process.events;
#X text 13 12 [unpunch] v0.0alpha;
#X obj 565 443 array define \$0.marked 1000;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment