Skip to content

Commit

Permalink
[knob] rename start to arcstart
Browse files Browse the repository at this point in the history
  • Loading branch information
porres committed Nov 22, 2024
1 parent 310cb33 commit 3599125
Show file tree
Hide file tree
Showing 3 changed files with 453 additions and 452 deletions.
32 changes: 16 additions & 16 deletions Documentation/Help-files/knob-help.pd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#N canvas 477 53 564 788 10;
#N canvas 597 44 564 800 10;
#X obj 2 4 cnv 15 301 42 empty empty knob 20 20 2 37 #e0e0e0 #000000 0;
#N canvas 0 22 450 278 (subpatch) 0;
#X coords 0 1 100 -1 302 42 1;
Expand All @@ -16,7 +16,7 @@
#X obj 501 27 cnv 10 10 10 empty empty library 0 6 2 13 #7c7c7c #e0e4dc 0;
#X obj 6 153 cnv 3 550 3 empty empty inlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 6 657 cnv 3 550 3 empty empty outlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 6 760 cnv 15 552 21 empty empty empty 20 12 0 14 #e0e0e0 #202020 0;
#X obj 6 770 cnv 15 552 21 empty empty empty 20 12 0 14 #e0e0e0 #202020 0;
#X obj 82 160 cnv 17 3 492 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 77 665 cnv 17 3 17 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X text 117 246 size <float>;
Expand Down Expand Up @@ -141,7 +141,6 @@
#X text 117 203 load <float>;
#X text 212 203 sets load value \, no float sets current (default: 0), f 56;
#X text 200 276 -;
#X text 111 276 start <float>;
#X text 212 276 sets arc start value \, no float sets current (default: 0);
#X text 117 305 range <f \, f>;
#X text 212 306 sets lower and upper values (default: 0 \, 127), f 56;
Expand Down Expand Up @@ -268,8 +267,6 @@
#X msg 297 201 load 0;
#X msg 305 225 load;
#X text 43 278 alt + click to restore start state, f 13;
#X msg 150 200 start;
#X msg 143 181 start 90;
#X text 19 16 By default \, the angular range is 320 degrees. The object also draws an 'arc' by default with its own color \, which is useful to display the initial and final position. You can change this with the 'arc' or 'angle' messages \, properties or flags. A full 360 degree is possible and the arc is then useful to differentiate from the fully turned down (background color) to the turned up [knob] (foreground color). The default range is from 0 to 127 \, but you can change that in the same way. A float sets and outputs values \, which get clipped to the [knob]'s range. A 'set' message only sets the value (no output)., f 65;
#X obj 518 235 loadbang;
#X text 449 436 You can also set the motion to 'circular' and in this case the [knob] follows the angular position of your mouse motion \, which allows for a 'looped' or 'infinite' knob (which makes more sense if the angular range is 360 degrees). Using arrow keys also make it loop around., f 56;
Expand All @@ -280,9 +277,11 @@
#X msg 343 249 lb 1;
#X text 377 249 loadbang;
#X text 29 419 In 'loadbang' mode \, the load value is output at load time. The 'load' message sets the initial value for when the object is loaded. A 'load' message without float saves the current value as the load value. In 'savestate' mode \, when you save the patch \, the current knob's value becomes the 'load' value. Note that the [savestate] object is needed if you're using [knob] in an abstraction., f 65;
#X text 29 378 The 'start' value is where the arc starts \, just 'start' sets the current value as the start value. alt+clicking on the object restores to the 'start' value., f 65;
#X msg 518 284 square \$1;
#X text 435 93 by default \, the knob has an outter square area \, with the same background color. There's a second mode without the square or any outline \, in which the knob circle increases in size. Use the "square 0" message or the '-nosquare' flag to change the display mode. You can also set it via properties. When you don't have the square \, note that when you are in edit mode the [knob] shows just a square outline around as to indicate you're in edit mode and where you can connect the object. Inlets and outlets are hidden in run mode but also appear in edir mode., f 55;
#X msg 143 181 arcstart 90;
#X msg 150 200 arcstart;
#X text 29 378 The 'arcstart' value is where the arc starts \, just 'arcstart' sets the current value as the start value. alt+clicking on the object restores to the 'arcstart' value., f 65;
#X connect 1 0 18 0;
#X connect 2 0 18 0;
#X connect 3 0 18 0;
Expand All @@ -292,7 +291,7 @@
#X connect 7 0 18 0;
#X connect 8 0 21 0;
#X connect 9 0 8 0;
#X connect 10 0 43 0;
#X connect 10 0 40 0;
#X connect 11 0 12 0;
#X connect 12 0 20 0;
#X connect 13 0 14 0;
Expand All @@ -301,20 +300,20 @@
#X connect 16 0 20 0;
#X connect 17 0 25 0;
#X connect 18 0 0 0;
#X connect 19 0 37 0;
#X connect 21 0 36 0;
#X connect 19 0 35 0;
#X connect 21 0 34 0;
#X connect 22 0 4 0;
#X connect 23 0 19 0;
#X connect 25 0 20 0;
#X connect 26 0 19 0;
#X connect 27 0 19 0;
#X connect 28 0 19 0;
#X connect 30 0 18 0;
#X connect 31 0 18 0;
#X connect 33 0 10 0;
#X connect 38 0 19 0;
#X connect 39 0 19 0;
#X connect 43 0 21 0;
#X connect 31 0 10 0;
#X connect 36 0 19 0;
#X connect 37 0 19 0;
#X connect 40 0 21 0;
#X connect 42 0 18 0;
#X connect 43 0 18 0;
#X restore 493 56 pd basic;
#X text 200 320 -;
#X text 105 345 numbersize <f>;
Expand Down Expand Up @@ -526,7 +525,8 @@
#X text 212 320 sets number display modes: '0'-never \, '1'-always \, '2'-when active \, '3'-when typing (default 0), f 56;
#X text 105 291 square <float>;
#X text 200 291 - non zero sets to square drawing mode (default: 1), f 58;
#X text 74 694 -size <float> | -range <float \, float> | -bgcolor <list> | -arccolor <list> | -fgcolor <list> | -noarc | -nosquare | -angle <float> | -circular | -jump | -discrete | -number <float> | -numbersize <float> | -numberpos <f \, f> | -receive <symbol> | -send <symbol> | -param <symbol> | -var <symbol> | -log | -exp <f> | -ticks <float> | -offset <float> | -savestate | -noloadbang |, f 77;
#X text 123 564 log <float>;
#X text 200 564 - sets to log mode (default: 0), f 58;
#X text 93 276 arcstart <float>;
#X text 74 694 -size <float> | -range <float \, float> | -bgcolor <list> | -arccolor <list> | -fgcolor <list> | -arcstart <float> | -noarc | -nosquare | -angle <float> | -circular | -jump | -discrete | -number <float> | -numbersize <float> | -numberpos <f \, f> | -receive <symbol> | -send <symbol> | -param <symbol> | -var <symbol> | -log | -exp <f> | -ticks <float> | -offset <float> | -savestate | -noloadbang |, f 77;
#X connect 53 0 22 0;
Loading

0 comments on commit 3599125

Please sign in to comment.