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
93bc12ee
Commit
93bc12ee
authored
Oct 08, 2019
by
Roman Haefeli
Browse files
Limit mod keys to Shift_L and Control_L; Change key commands for navigation (see help)
parent
7b0d5281
Changes
2
Hide whitespace changes
Inline
Side-by-side
unpunch-help.pd
View file @
93bc12ee
...
...
@@ -802,7 +802,7 @@ notes.;
#X connect 14 0 1 0;
#X connect 15 0 1 0;
#X restore 20 69 pd configuration;
#N canvas 141 99 79
8
4
40
editing 0;
#N canvas 141 99 79
5
4
97
editing 0;
#X text 7 6 NOTE CREATION AND DELETION;
#X text 7 16 --------------------------;
#X text 8 37 <Click> (on empty space): create a note;
...
...
@@ -810,9 +810,6 @@ notes.;
#X text 8 77 <Ctrl_L>+<Click> (on note): delete note;
#X text 7 296 NOTE SELECTION;
#X text 7 306 --------------;
#X text 8 327 <Shift>+<Click> (on note): toggle selection;
#X text 8 347 <Shift>+(<Click> \, <Click>) (twice on empty space):
mark a region to select all notes within region;
#X text 8 384 NOTE: Marking many regions adds notes to selection instead
of replacing current selection;
#X text 7 146 NOTE MANIPULATION;
...
...
@@ -827,8 +824,6 @@ can be manipulated.;
#X text 417 16 ---------------------------;
#X text 417 36 NOTE: Key commands require 'keyboard' to be toggled
on;
#X text 417 76 <Shift>+<ArrowKey>: Increase step size to 1 octave /
1 bar;
#X text 417 56 <ArrowKey>: Move selection to given direction;
#X text 417 96 <Ctrl_L>+<ArrowKey>: Make a copy while moving selection
;
...
...
@@ -849,7 +844,16 @@ many instances of unpatch \, the keyboard toggle makes sure that at
most one instance receives key events.;
#X text 417 246 NAVIGATION;
#X text 417 256 ----------;
#X text 417 276 <Ctrl_R>+<ArrowKey>: switch view by one page/octave
#X text 417 276 <PgUp>/<PgDn>: switch view by one page;
#X text 417 296 <Shift_L>+<PgUp>/<PgDn>: switch view by one octave
;
#X text 417 76 <Shift_L>+<ArrowKey>: Increase step size to 1 octave
/ 1 bar;
#X text 8 327 <Shift_L>+<Click> (on note): toggle selection;
#X text 8 347 <Shift_L>+(<Click> \, <Click>) (twice on empty space):
mark a region to select all notes within region;
#X text 203 436 NOTE: Some modifier keys do not work reliably on some
platforms. That's why the used keys are limited to Shift_L and Ctrl_L
;
#X restore 20 99 pd editing;
#N canvas 170 116 568 256 state 0;
...
...
@@ -866,7 +870,7 @@ internally without updating visual representation);
#X connect 1 0 0 0;
#X connect 2 0 0 0;
#X restore 20 129 pd state management;
#N canvas 70
3 99
1006 749 example-sequencer 1;
#N canvas 70
4 117
1006 749 example-sequencer 1;
#X restore 242 261 pd example-sequencer;
#X obj 20 261 unpunch pd-example-sequencer;
#X text 397 236 inlet0: sequencer input (clock);
...
...
@@ -955,7 +959,7 @@ restore 136 37 82 58 2 4 \, note restore 137 39 75 58 5 4 \, note restore
#X text 263 40 load example song;
#X text 222 240 Container for the GUI:;
#N canvas 0 99 475 61 NETPD 0;
#X msg 11 11 version 1 0
0
;
#X msg 11 11 version 1 0
1
;
#X restore 530 150 pd NETPD 2 0;
#X connect 0 0 34 0;
#X connect 1 0 0 0;
...
...
unpunch.pd
View file @
93bc12ee
...
...
@@ -5285,18 +5285,16 @@ by clicking on two coordinates on the grid with Mod-key pressed.;
777 \; \$1.griddivision 4 \; \$1.gridsubdivision 4 \; \$1.gidcolorlist
800 840 80 68 408 808 \; \$1.default.vel 64 \; \$1.default.gid 0 \;
\$1.default.dur 4 \; \$1.default.show 0 \; \$1.redraw bang \;;
#N canvas 25 99
968 522
key.commands 0;
#N canvas 25 99
1023 518
key.commands 0;
#N canvas 0 99 397 411 mod.keys 0;
#X obj 25 15 keyname;
#X obj 25 37 pack f s;
#X msg 25 59 \$2 \$1;
#X obj 25 159 ||;
#X obj 80 133 t b a;
#X obj 25 284 change -1;
#X obj 25 307 s \$0.mod.key;
#X obj 136 152 ||;
#X obj 136 175 << 1;
#X obj 25 228 +;
#X obj 136 198 t b a;
#X text 44 341 Modifier key bitmask:;
#X text 43 378 --x- Ctrl;
...
...
@@ -5306,27 +5304,24 @@ by clicking on two coordinates on the grid with Mod-key pressed.;
#X obj 25 258 +;
#X obj 248 178 << 2;
#X text 43 395 -x-- Alt_l;
#X obj 25 228 |;
#X connect 0 0 1 0;
#X connect 0 1 1 1;
#X connect 1 0 2 0;
#X connect 2 0 14 0;
#X connect 3 0 9 0;
#X connect 4 0 3 0;
#X connect 4 1 3 1;
#X connect 5 0 6 0;
#X connect 2 0 12 0;
#X connect 3 0 17 0;
#X connect 4 0 5 0;
#X connect 6 0 7 0;
#X connect 7 0 8 0;
#X connect 8 0 10 0;
#X connect 9 0 16 0;
#X connect 10 0 9 0;
#X connect 10 1 9 1;
#X connect 14 0 3 0;
#X connect 14 1 4 0;
#X connect 14 2 7 0;
#X connect 14 3 17 0;
#X connect 15 0 16 0;
#X connect 15 1 16 1;
#X connect 16 0 5 0;
#X connect 17 0 15 0;
#X connect 8 0 17 0;
#X connect 8 1 17 1;
#X connect 12 0 3 0;
#X connect 12 2 6 0;
#X connect 13 0 14 0;
#X connect 13 1 14 1;
#X connect 14 0 4 0;
#X connect 15 0 13 0;
#X connect 17 0 14 0;
#X restore 26 25 pd mod.keys;
#X obj 218 207 r \$0.mod.key;
#X floatatom 218 230 5 0 0 0 - - -;
...
...
@@ -5366,33 +5361,38 @@ by clicking on two coordinates on the grid with Mod-key pressed.;
-1;
#X obj 25 445 r \$0.toggle.selection;
#X obj 25 424 r \$0.copy.and.move;
#X obj 25 467 r \$0.scroll.by.arrow.keys;
#X text 216 317 2: Ctrl_L;
#X text 216 352 4: Ctrl_R;
#X text 216 335 3: Ctrl_L+Shift;
#X obj 707 116 r \$0.scroll.by.arrow.keys;
#X obj 692 91 r \$0.mod.key;
#X obj 644 68 r \$0.keyname;
#X obj 717 235 s \$0.page.left;
#X obj 754 214 s \$0.page.right;
#X obj 680 256 s \$0.scroll.down;
#X obj 644 276 s \$0.scroll.up;
#X obj 644 133 spigot;
#X obj 692 149 ==;
#X obj 644 180 select Up Down Left Right;
#X msg 24 129 \; \$1.delete.on.click 2 \; \$1.select.range 1 \; \$1.move.notes.octave
1 \; \$1.move.notes.bar 1 \; \$1.copy.and.move 2 \; \$1.toggle.selection
1 \; \$1.scroll.by.arrow.keys 4 \;;
#X obj 690 293 s \$0.page.left;
#X obj 739 250 s \$0.page.right;
#X obj 758 229 s \$0.scroll.down;
#X obj 709 272 s \$0.scroll.up;
#X obj 271 125 r \$0.keyboard.enable;
#X obj 219 126 spigot;
#X obj 816 67 r \$0.mod.key;
#X obj 816 90 &;
#X msg 24 129 \; \$1.delete.on.click 2 \; \$1.select.range 1 \; \$1.move.notes.octave
1 \; \$1.move.notes.bar 1 \; \$1.copy.and.move 2 \; \$1.toggle.selection
1 \; \$1.scroll.up.down 1 \;;
#X obj 25 467 r \$0.scroll.up.down;
#X obj 850 91 r \$0.scroll.up.down;
#X obj 816 116 > 0;
#X obj 690 70 r \$0.keyname;
#X obj 690 97 select Prior Next;
#X obj 690 146 f;
#X obj 739 146 f;
#X obj 690 196 sel 0 1;
#X obj 739 196 sel 0 1;
#X text 689 16 SWITCH VIEW;
#X text 689 26 -----------;
#X connect 1 0 2 0;
#X connect 3 0 4 0;
#X connect 4 0
52
0;
#X connect 4 0
48
0;
#X connect 6 0 7 0;
#X connect 6 1 7 1;
#X connect 7 0 8 0;
#X connect 8 0 9 0;
#X connect 9 0
5
4 0;
#X connect 9 0 4
5
0;
#X connect 11 0 14 0;
#X connect 11 1 10 0;
#X connect 15 0 13 0;
...
...
@@ -5408,17 +5408,22 @@ by clicking on two coordinates on the grid with Mod-key pressed.;
#X connect 27 0 28 0;
#X connect 29 0 30 0;
#X connect 35 0 4 0;
#X connect 42 0 50 1;
#X connect 43 0 50 0;
#X connect 44 0 49 0;
#X connect 49 0 51 0;
#X connect 50 0 49 1;
#X connect 51 0 48 0;
#X connect 51 1 47 0;
#X connect 51 2 45 0;
#X connect 51 3 46 0;
#X connect 53 0 54 1;
#X connect 54 0 11 0;
#X connect 44 0 45 1;
#X connect 45 0 11 0;
#X connect 46 0 47 0;
#X connect 47 0 51 0;
#X connect 50 0 47 1;
#X connect 51 0 55 1;
#X connect 51 0 54 1;
#X connect 52 0 53 0;
#X connect 53 0 54 0;
#X connect 53 1 55 0;
#X connect 54 0 56 0;
#X connect 55 0 57 0;
#X connect 56 0 40 0;
#X connect 56 1 43 0;
#X connect 57 0 41 0;
#X connect 57 1 42 0;
#X restore 19 125 pd key.commands;
#N canvas 105 145 487 123 interaction.logic 0;
#N canvas 199 504 810 268 mode.button.logic 0;
...
...
@@ -5656,10 +5661,10 @@ internally (standalone mode) or sent to right outlet only.;
#X connect 10 0 7 1;
#X restore 19 335 pd 2nd.argument;
#N canvas 0 99 417 109 NETPD 0;
#X msg 8 16 version 1 0 0;
#N canvas 162 139 396 98 abslist 0;
#X msg 14 16 unpunch-help;
#X restore 8 46 pd abslist;
#X msg 8 16 version 1 0 1;
#X restore 653 30 pd NETPD 2 0;
#N canvas 0 99 418 378 check.if.target.exists 0;
#X obj 37 37 inlet;
...
...
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