Skip to content
Browse files

update osc gui

  • Loading branch information...
1 parent 16fa517 commit a414b11fdfeeea10b84b258bfd319c5089642ce1 @neophob neophob committed
Showing with 182 additions and 135 deletions.
  1. +15 −1 data/OSC/002.js
  2. +167 −134 data/ledgui5.pd
View
16 data/OSC/002.js
@@ -251,7 +251,7 @@ pages = [
{
"name": "refreshButton",
"type": "Button",
- "x": 0.88, "y": .8,
+ "x": 0.88, "y": .7,
"width": .1, "height": .1,
"mode": "momentary",
"color": "#fc8000",
@@ -259,6 +259,20 @@ pages = [
"ontouchstart": "interfaceManager.refreshInterface()",
"label": "REFRESH GUI",
},
+/* -- Button for enabling Menu/Toolbar */
+{
+ "name": "tabButton",
+ "type": "Button",
+ "x": 0.88, "y": .81,
+ "width": .1, "height": .1,
+ "mode": "toggle",
+ "color": "#fc8000",
+ "stroke": "#7e4000",
+ "isLocal": true,
+ "ontouchstart": "if(this.value == this.max) { control.showToolbar(); } else { control.hideToolbar(); }",
+ "label": "MENU"
+},
+
]
View
301 data/ledgui5.pd
@@ -12,7 +12,7 @@
7 0 10 -260097 -1 -1 1 1;
#X obj 453 148 tgl 15 0 s_rndsel_out r_rndsel_out Visual 17 7 0 10
-260097 -1 -1 1 1;
-#N canvas 428 218 565 357 fx 0;
+#N canvas 465 363 565 357 fx 0;
#X obj 33 0 cnv 15 140 70 empty empty //Threshold 20 12 0 14 -262130
-66577 0;
#X floatatom 116 35 5 0 0 0 - - s_threshold;
@@ -20,19 +20,19 @@
#X obj 154 4 tgl 15 0 s_rndsel_threshold r_rndsel_threshold empty 17
7 0 10 -260097 -1 -1 1 1;
#X obj 49 28 knob 32 32 0 255 0 0 empty r_threshold empty 0 -8 64 8
--262144 -1 -1 1106 1;
+-262144 -1 -1 1568 1;
#X obj 33 71 cnv 15 140 160 empty empty //Tint 20 12 0 14 -262130 -66577
0;
#X obj 49 104 knob 32 32 0 255 0 0 empty r_tint_r R 38 16 64 12 -257985
--258113 -258113 3088 1;
+-258113 -258113 109 1;
#X floatatom 116 112 5 0 255 0 - - s_tint_r;
#X obj 89 111 int;
#X obj 49 144 knob 32 32 0 255 0 0 empty r_tint_g G 38 16 64 12 -262144
--4034 -4034 3076 1;
+-4034 -4034 936 1;
#X floatatom 116 151 5 0 255 0 - - s_tint_g;
#X obj 89 151 int;
#X obj 49 184 knob 32 32 0 255 0 0 empty r_tint_b B 38 16 64 12 -262144
--4160 -4160 3076 1;
+-4160 -4160 2978 1;
#X floatatom 116 191 5 0 255 0 - - s_tint_b;
#X obj 89 191 int;
#X obj 153 77 tgl 15 0 s_rndsel_tint r_rndsel_tint empty 17 7 0 10
@@ -40,7 +40,7 @@
#X obj 33 221 cnv 15 140 70 empty empty //Rotozoom 20 12 0 14 -262130
-66577 0;
#X obj 47 252 knob 32 32 -127 127 0 0 empty r_rotozoom_angle ° 38
-16 64 12 -262144 -33289 -1 2453 1;
+16 64 12 -262144 -33289 -1 2478 1;
#X floatatom 114 259 5 0 255 0 - - s_rotozoom_angle;
#X obj 87 259 int;
#X obj 153 230 tgl 15 0 s_rndsel_rotozoom r_rndsel_rotozoom empty 17
@@ -169,10 +169,10 @@
#X coords 0 -1 1 1 205 100 1 50 50;
#X restore 350 287 pd random;
#X obj 65 -4 hradio 22 1 0 5 s_current_visual r_current_visual current_visual
-6 -8 0 12 -258113 -86277 -1 4;
+6 -8 0 12 -258113 -86277 -1 1;
#X obj 422 -4 hradio 22 1 0 4 s_current_output r_current_output select_output
0 -8 0 12 -4034 -86277 -1 0;
-#N canvas 327 22 953 523 network 1;
+#N canvas 327 22 953 523 network 0;
#N canvas 42 183 1126 428 basicGui 0;
#X obj 18 23 inlet;
#X obj 28 150 s r_gen1;
@@ -550,21 +550,20 @@ CHANGE_PRESENT CHANGE_TINT CHANGE_THRESHOLD_VALUE CHANGE_ROTOZOOM;
#X floatatom 195 120 5 0 0 3 osc_client - -;
#X obj 45 239 cnv 15 200 60 empty empty OSC_processing 20 12 0 14 -260097
-66577 0;
-#N canvas 114 65 925 608 osc 1;
-#X obj -156 39 unpackOSC;
-#X obj -156 8 udpreceive 4443;
-#X floatatom -86 65 3 0 0 0 - - -;
-#X floatatom -59 65 3 0 0 0 - - -;
-#X floatatom -32 65 3 0 0 0 - - -;
-#X floatatom -5 65 3 0 0 0 - - -;
-#X text -129 64 from;
-#X floatatom 23 65 5 0 0 0 - - -;
-#X obj -86 39 unpack 0 0 0 0 0;
-#X obj 23 91 > 0;
-#X floatatom 23 119 5 0 0 0 - - -;
-#X obj 23 171 outlet;
-#X obj -126 117 print;
-#X obj -156 220 routeOSC /knobR /knobG /knobB;
+#N canvas 114 65 1095 628 osc 0;
+#X obj -86 39 unpackOSC;
+#X obj -86 8 udpreceive 4443;
+#X floatatom -16 65 3 0 0 0 - - -;
+#X floatatom 11 65 3 0 0 0 - - -;
+#X floatatom 38 65 3 0 0 0 - - -;
+#X floatatom 65 65 3 0 0 0 - - -;
+#X text -59 64 from;
+#X floatatom 93 65 5 0 0 0 - - -;
+#X obj -16 39 unpack 0 0 0 0 0;
+#X obj 93 91 > 0;
+#X floatatom 93 119 5 0 0 0 - - -;
+#X obj 93 171 outlet;
+#X obj -56 117 print;
#X obj -42 252 * 255;
#X obj -2 252 int;
#X obj -42 274 s r_tint_b;
@@ -574,60 +573,79 @@ CHANGE_PRESENT CHANGE_TINT CHANGE_THRESHOLD_VALUE CHANGE_ROTOZOOM;
#X obj -99 302 * 255;
#X obj -59 302 int;
#X obj -99 324 s r_tint_g;
-#X obj 80 270 routeOSC /0 /1;
-#X floatatom 80 319 5 0 0 0 - - -;
-#X obj 200 270 routeOSC /0 /1;
-#X obj 80 294 int;
-#X obj 64 343 s r_gen1;
-#X floatatom 127 319 5 0 0 0 - - -;
-#X obj 127 294 int;
-#X obj 127 343 s r_gen_b1;
-#X obj 80 220 routeOSC /SliderGen /SliderEffect /SliderMix;
-#X floatatom 218 319 5 0 0 0 - - -;
-#X obj 218 294 int;
-#X floatatom 265 319 5 0 0 0 - - -;
-#X obj 265 294 int;
-#X obj 265 343 s r_fx_b1;
-#X obj 202 343 s r_fx1;
-#X floatatom 335 289 5 0 0 0 - - -;
-#X obj 335 264 int;
-#X obj 335 313 s r_mix1;
-#X obj 441 346 s r_rnd_on;
-#X floatatom 441 269 5 0 0 0 - - -;
-#X obj 441 245 int;
-#X obj 446 322 s r_rnd_off;
-#X obj 441 298 moses 1;
-#X obj 441 221 routeOSC /randomToggleButton /activateTintButton;
-#X obj 583 245 int;
-#X obj 583 268 moses 1;
-#X obj 583 324 s r_output_fx_all;
-#X msg 583 293 6;
-#X obj -159 451 int;
-#X obj -159 474 moses 1;
-#X obj -159 500 s r_rnd_do;
-#X obj -58 451 int;
-#X obj -58 474 moses 1;
-#X obj -58 500 s r_rnd_pres;
-#X obj -159 389 routeOSC /fireRandomButton /fireRandomPresentButton
+#X obj 240 270 routeOSC /0 /1;
+#X floatatom 240 319 5 0 0 0 - - -;
+#X obj 360 270 routeOSC /0 /1;
+#X obj 240 294 int;
+#X obj 224 343 s r_gen1;
+#X floatatom 287 319 5 0 0 0 - - -;
+#X obj 287 294 int;
+#X obj 287 343 s r_gen_b1;
+#X obj 240 220 routeOSC /SliderGen /SliderEffect /SliderMix;
+#X floatatom 378 319 5 0 0 0 - - -;
+#X obj 378 294 int;
+#X floatatom 425 319 5 0 0 0 - - -;
+#X obj 425 294 int;
+#X obj 425 343 s r_fx_b1;
+#X obj 362 343 s r_fx1;
+#X floatatom 495 289 5 0 0 0 - - -;
+#X obj 495 264 int;
+#X obj 495 313 s r_mix1;
+#X obj 601 366 s r_rnd_on;
+#X floatatom 601 289 5 0 0 0 - - -;
+#X obj 601 265 int;
+#X obj 606 342 s r_rnd_off;
+#X obj 601 318 moses 1;
+#X obj 673 395 int;
+#X obj 673 418 moses 1;
+#X obj 673 474 s r_output_fx_all;
+#X msg 673 443 6;
+#X obj -139 451 int;
+#X obj -139 474 moses 1;
+#X obj -139 500 s r_rnd_do;
+#X obj -38 451 int;
+#X obj -38 474 moses 1;
+#X obj -38 500 s r_rnd_pres;
+#X obj -139 389 routeOSC /fireRandomButton /fireRandomPresentButton
/VisualNr;
-#X obj 43 451 int;
-#X floatatom 43 477 5 0 0 0 - - -;
-#X obj 43 523 spigot;
-#X floatatom 93 477 5 0 0 0 - - -;
-#X obj 76 501 !=;
-#X obj 43 548 s r_current_visual;
+#X obj 63 451 int;
+#X floatatom 63 477 5 0 0 0 - - -;
+#X obj 63 523 spigot;
+#X floatatom 113 477 5 0 0 0 - - -;
+#X obj 96 501 !=;
+#X obj 63 548 s r_current_visual;
#X obj 638 9 import mrpeach;
-#X obj 201 451 int;
-#X obj 201 474 moses 1;
-#X obj 319 421 int;
-#X obj 319 444 moses 1;
-#X obj 201 391 routeOSC /visualOneToAll /visualTwoToAll;
-#X msg 201 497 0;
-#X obj 201 520 s r_output_visual_all;
-#X obj 319 491 s r_output_visual_all;
-#X msg 319 468 1;
+#X obj 221 451 int;
+#X obj 221 474 moses 1;
+#X obj 339 421 int;
+#X obj 339 444 moses 1;
+#X obj 221 391 routeOSC /visualOneToAll /visualTwoToAll;
+#X msg 221 497 0;
+#X obj 221 520 s r_output_visual_all;
+#X obj 339 491 s r_output_visual_all;
+#X msg 339 468 1;
+#X obj -156 220 routeOSC /knobR /knobG /knobB /knobThreshold /knobRotozoom
+;
+#X obj 28 302 * 255;
+#X obj 68 302 int;
+#X obj 28 324 s r_threshold;
+#X obj 98 252 * 255;
+#X obj 189 252 int;
+#X obj 98 274 s r_rotozoom_angle;
+#X floatatom 147 315 5 0 0 0 - - -;
+#X obj 144 251 - 127;
+#X obj 601 221 routeOSC /randomToggleButton /activateTintButton /activateTresholdButton
+/activateRotozoomButton;
+#X obj 703 265 int;
+#X obj 703 288 moses 1;
+#X obj 703 344 s r_output_fx_all;
+#X msg 703 313 7;
+#X obj 814 375 int;
+#X obj 814 398 moses 1;
+#X obj 814 454 s r_output_fx_all;
+#X msg 814 423 2;
#X connect 0 0 12 0;
-#X connect 0 0 13 0;
+#X connect 0 0 72 0;
#X connect 1 0 8 0;
#X connect 1 0 0 0;
#X connect 7 0 9 0;
@@ -638,67 +656,82 @@ CHANGE_PRESENT CHANGE_TINT CHANGE_THRESHOLD_VALUE CHANGE_ROTOZOOM;
#X connect 8 4 7 0;
#X connect 9 0 10 0;
#X connect 10 0 11 0;
-#X connect 13 0 17 0;
-#X connect 13 1 20 0;
-#X connect 13 2 14 0;
-#X connect 13 3 31 0;
+#X connect 13 0 14 0;
#X connect 14 0 15 0;
-#X connect 15 0 16 0;
+#X connect 16 0 17 0;
#X connect 17 0 18 0;
-#X connect 18 0 19 0;
+#X connect 19 0 20 0;
#X connect 20 0 21 0;
-#X connect 21 0 22 0;
+#X connect 22 0 25 0;
+#X connect 22 1 28 0;
#X connect 23 0 26 0;
-#X connect 23 1 29 0;
-#X connect 24 0 27 0;
-#X connect 25 0 33 0;
-#X connect 25 1 35 0;
-#X connect 26 0 24 0;
-#X connect 28 0 30 0;
-#X connect 29 0 28 0;
-#X connect 31 0 23 0;
-#X connect 31 1 25 0;
-#X connect 31 2 39 0;
-#X connect 31 3 46 0;
-#X connect 32 0 37 0;
-#X connect 33 0 32 0;
-#X connect 34 0 36 0;
-#X connect 35 0 34 0;
-#X connect 38 0 40 0;
-#X connect 39 0 38 0;
-#X connect 42 0 45 0;
-#X connect 43 0 42 0;
-#X connect 45 0 41 0;
-#X connect 45 1 44 0;
-#X connect 46 0 43 0;
-#X connect 46 1 47 0;
-#X connect 46 2 57 0;
-#X connect 47 0 48 0;
-#X connect 48 0 50 0;
-#X connect 50 0 49 0;
-#X connect 51 0 52 0;
+#X connect 24 0 32 0;
+#X connect 24 1 34 0;
+#X connect 25 0 23 0;
+#X connect 27 0 29 0;
+#X connect 28 0 27 0;
+#X connect 30 0 22 0;
+#X connect 30 1 24 0;
+#X connect 30 2 38 0;
+#X connect 30 3 81 0;
+#X connect 31 0 36 0;
+#X connect 32 0 31 0;
+#X connect 33 0 35 0;
+#X connect 34 0 33 0;
+#X connect 37 0 39 0;
+#X connect 38 0 37 0;
+#X connect 41 0 44 0;
+#X connect 42 0 41 0;
+#X connect 44 0 40 0;
+#X connect 44 1 43 0;
+#X connect 45 0 46 0;
+#X connect 46 0 48 0;
+#X connect 48 0 47 0;
+#X connect 49 0 50 0;
+#X connect 50 0 51 0;
#X connect 52 0 53 0;
-#X connect 54 0 55 0;
-#X connect 55 0 56 0;
-#X connect 57 0 51 0;
-#X connect 57 1 54 0;
-#X connect 57 2 58 0;
-#X connect 57 3 69 0;
+#X connect 53 0 54 0;
+#X connect 55 0 49 0;
+#X connect 55 1 52 0;
+#X connect 55 2 56 0;
+#X connect 55 3 67 0;
+#X connect 56 0 57 0;
+#X connect 57 0 58 0;
+#X connect 57 0 60 0;
#X connect 58 0 59 0;
-#X connect 59 0 60 0;
-#X connect 59 0 62 0;
-#X connect 60 0 61 0;
-#X connect 60 0 63 0;
-#X connect 61 0 62 1;
-#X connect 62 0 60 1;
+#X connect 58 0 61 0;
+#X connect 59 0 60 1;
+#X connect 60 0 58 1;
+#X connect 63 0 64 0;
+#X connect 64 0 68 0;
#X connect 65 0 66 0;
-#X connect 66 0 70 0;
-#X connect 67 0 68 0;
-#X connect 68 0 73 0;
-#X connect 69 0 65 0;
-#X connect 69 1 67 0;
-#X connect 70 0 71 0;
-#X connect 73 0 72 0;
+#X connect 66 0 71 0;
+#X connect 67 0 63 0;
+#X connect 67 1 65 0;
+#X connect 68 0 69 0;
+#X connect 71 0 70 0;
+#X connect 72 0 16 0;
+#X connect 72 1 19 0;
+#X connect 72 2 13 0;
+#X connect 72 3 73 0;
+#X connect 72 4 76 0;
+#X connect 72 5 30 0;
+#X connect 73 0 74 0;
+#X connect 74 0 75 0;
+#X connect 76 0 80 0;
+#X connect 77 0 78 0;
+#X connect 77 0 79 0;
+#X connect 80 0 77 0;
+#X connect 81 0 42 0;
+#X connect 81 1 45 0;
+#X connect 81 2 82 0;
+#X connect 81 3 86 0;
+#X connect 82 0 83 0;
+#X connect 83 0 85 0;
+#X connect 85 0 84 0;
+#X connect 86 0 87 0;
+#X connect 87 0 89 0;
+#X connect 89 0 88 0;
#X restore 82 268 pd osc;
#X connect 2 0 19 0;
#X connect 2 0 6 0;
@@ -731,7 +764,7 @@ CHANGE_PRESENT CHANGE_TINT CHANGE_THRESHOLD_VALUE CHANGE_ROTOZOOM;
#X coords 0 -1 1 1 205 110 1 50 50;
#X restore 350 173 pd network;
#X obj -187 9 vradio 15 1 0 17 s_gen1 r_gen1 Generator1 0 -8 0 12 -203904
--1 -1 9;
+-1 -1 12;
#X text -170 7 Off;
#X text -170 23 Blinken;
#X text -170 38 Image;
@@ -747,9 +780,9 @@ CHANGE_PRESENT CHANGE_TINT CHANGE_THRESHOLD_VALUE CHANGE_ROTOZOOM;
#X text -169 218 Drops;
#X text -170 158 Image Zoomer;
#X obj -73 9 vradio 15 1 0 17 s_gen_b1 r_gen_b1 Generator2 0 -8 0 12
--203904 -1 -1 11;
+-203904 -1 -1 10;
#X obj -186 302 vradio 15 1 0 10 s_fx1 r_fx1 Effect1 0 -8 0 12 -262130
--1 -1 7;
+-1 -1 8;
#X text -166 300 Off;
#X text -167 317 Inverter;
#X text -166 331 Rotozoom;
@@ -783,7 +816,7 @@ CHANGE_PRESENT CHANGE_TINT CHANGE_THRESHOLD_VALUE CHANGE_ROTOZOOM;
#X floatatom 327 77 5 0 0 0 - r_sel s_sel;
#X obj 248 327 s r_sel;
#X obj 70 74 hsl 250 25 0 127 0 0 empty empty empty -2 -8 0 10 -262130
--1 -1 0 1;
+-1 -1 11200 1;
#X connect 0 0 3 0;
#X connect 1 0 12 0;
#X connect 2 0 1 0;
@@ -798,7 +831,7 @@ CHANGE_PRESENT CHANGE_TINT CHANGE_THRESHOLD_VALUE CHANGE_ROTOZOOM;
#X coords 0 -1 1 1 400 60 1 50 50;
#X restore -198 461 pd presentStuff;
#X obj 65 302 vradio 15 1 0 10 s_mix1 r_mix1 Mixer 0 -8 0 12 -99865
--1 -1 7;
+-1 -1 8;
#X text -55 7 Off;
#X text -55 23 Blinken;
#X text -55 38 Image;
@@ -1728,7 +1761,7 @@ CHANGE_PRESENT CHANGE_TINT CHANGE_THRESHOLD_VALUE CHANGE_ROTOZOOM;
#X obj 167 222 hradio 15 1 0 5 s_output_visual_all r_output_visual_all
Visual_Nr 0 -8 0 12 -261682 -1 -1 0;
#X obj 59 93 vradio 15 1 0 10 s_output_fx_all r_output_fx_all Effect
-0 -8 0 12 -262130 -1 -1 6;
+0 -8 0 12 -262130 -1 -1 2;
#X text 80 91 Off;
#X text 79 107 Inverter;
#X text 80 122 Rotozoom;

0 comments on commit a414b11

Please sign in to comment.
Something went wrong with that request. Please try again.