aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nusmuk-utils/mtx_preset-help.pd79
-rw-r--r--nusmuk-utils/preset_param.pd22
2 files changed, 48 insertions, 53 deletions
diff --git a/nusmuk-utils/mtx_preset-help.pd b/nusmuk-utils/mtx_preset-help.pd
index e062c1a..7c4cba0 100644
--- a/nusmuk-utils/mtx_preset-help.pd
+++ b/nusmuk-utils/mtx_preset-help.pd
@@ -1,4 +1,4 @@
-#N canvas 287 198 1260 717 10;
+#N canvas 144 174 1260 717 10;
#X msg 116 142 matrix 10 3 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
17 18 19 20 21 22 23 24 25 26 27 28 29;
#X msg 124 175 matrix 9 2 0 1 2 3 4 5 6 7 8 10 11 12 13 14 15 16 17
@@ -32,7 +32,7 @@
#X text 646 166 get row 1 in one line (selector: row);
#X text 666 199 get interpolation between row 1 and 2 in one line (selector:
row);
-#N canvas 385 340 710 447 simple_example 0;
+#N canvas 248 174 710 447 simple_example 0;
#X obj 34 203 route row;
#X obj 34 272 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144
-1 -1 0 1;
@@ -78,7 +78,7 @@ row);
#X connect 15 0 16 0;
#X connect 16 0 0 0;
#X restore 93 620 pd simple_example;
-#N canvas 953 386 795 409 complex_example 0;
+#N canvas 410 242 795 409 complex_example 0;
#X obj 53 165 mtx_preset 100 10;
#X floatatom 309 119 5 0 0 0 - - -, f 5;
#X obj 53 94 r to_mtx_preset;
@@ -87,74 +87,70 @@ row);
#X floatatom 309 179 5 0 0 0 - - -, f 5;
#X floatatom 309 198 5 0 0 0 - - -, f 5;
#X floatatom 309 99 5 0 0 0 - - -, f 5;
-#X obj 574 105 vradio 15 1 0 10 save_parametters empty empty 0 -8 0
+#X obj 574 105 vradio 15 1 0 10 save_parameters empty empty 0 -8 0
10 -258113 -1 -1 2;
#X text 487 164 save_presets;
#X obj 599 105 vsl 15 150 10 0 0 0 getElement empty empty 0 -9 0 10
--4034 -1 -1 14900 1;
+-4034 -1 -1 0 1;
#X text 630 167 load / interpol presets;
#X obj 70 118 r getElement;
#X msg 70 142 getElements \$1;
-#X obj 51 330 r paramettre_0;
#X floatatom 51 358 5 0 0 0 - - -, f 5;
#X floatatom 147 358 5 0 0 0 - - -, f 5;
-#X obj 147 330 r paramettre_1;
#X obj 53 187 route elements;
-#X obj 361 197 preset_param 5;
#X obj 110 269 send;
#X obj 53 233 unpack f f;
#X obj 53 209 t a a;
#X msg 131 247 symbol from_mtx_preset_\$1;
-#X obj 361 118 preset_param 1;
-#X obj 361 138 preset_param 2;
-#X obj 361 158 preset_param 3;
-#X obj 361 178 preset_param 4;
#X obj 361 98 preset_param 0;
#X text 322 336 use _mtx_preset if you want to save and read this preset
on a file;
#X floatatom 309 278 5 0 0 0 - - -, f 5;
-#X obj 361 277 preset_param 99;
#X text 159 20 using mtx_preset for a complex preset system management
;
-#X connect 0 0 18 0;
-#X connect 1 0 24 0;
+#X obj 361 197 preset_param 5;
+#X obj 361 118 preset_param 1;
+#X obj 361 138 preset_param 2;
+#X obj 361 158 preset_param 3;
+#X obj 361 178 preset_param 4;
+#X obj 361 277 preset_param 99;
+#X obj 51 330 r parametre_0;
+#X obj 147 330 r parametre_1;
+#X connect 0 0 16 0;
+#X connect 1 0 26 0;
#X connect 2 0 0 0;
-#X connect 3 0 25 0;
-#X connect 4 0 26 0;
-#X connect 5 0 27 0;
-#X connect 6 0 19 0;
-#X connect 7 0 28 0;
+#X connect 3 0 27 0;
+#X connect 4 0 28 0;
+#X connect 5 0 29 0;
+#X connect 6 0 25 0;
+#X connect 7 0 21 0;
#X connect 12 0 13 0;
#X connect 13 0 0 0;
-#X connect 14 0 15 0;
-#X connect 17 0 16 0;
-#X connect 18 0 22 0;
-#X connect 19 0 6 0;
-#X connect 21 1 20 0;
-#X connect 22 0 21 0;
-#X connect 22 1 23 0;
-#X connect 23 0 20 1;
-#X connect 24 0 1 0;
-#X connect 25 0 3 0;
-#X connect 26 0 4 0;
-#X connect 27 0 5 0;
-#X connect 28 0 7 0;
-#X connect 30 0 31 0;
-#X connect 31 0 30 0;
+#X connect 16 0 19 0;
+#X connect 18 1 17 0;
+#X connect 19 0 18 0;
+#X connect 19 1 20 0;
+#X connect 20 0 17 1;
+#X connect 21 0 7 0;
+#X connect 23 0 30 0;
+#X connect 25 0 6 0;
+#X connect 26 0 1 0;
+#X connect 27 0 3 0;
+#X connect 28 0 4 0;
+#X connect 29 0 5 0;
+#X connect 30 0 23 0;
+#X connect 31 0 14 0;
+#X connect 32 0 15 0;
#X restore 92 646 pd complex_example;
#X text 723 276 get interpolation between line 1 and 2 element by element
;
#X msg 252 393 resize 5 4;
#X msg 267 419 copyRow 1 2;
#X text 348 419 copy row 1 value to row 2;
-#X text 1023 229 (???);
#X msg 649 338 mixRows 1 1 1.5;
#X text 746 339 mix row together \, output a row in 1 line (selector
mixRows);
#X msg 659 358 mixElements 1 1 1.5;
-#X msg 605 229 getElementss;
-#X text 685 229 get matrix element by element (selector: elementss
-x y);
#X text 213 481 10 col and 3 row;
#X msg 635 302 getElement 3 1.5;
#X text 743 302 get interpolation between element colum 3 \, row 1
@@ -183,7 +179,6 @@ line (selector mixElements x);
#X connect 21 0 11 0;
#X connect 29 0 8 0;
#X connect 30 0 8 0;
-#X connect 33 0 11 0;
-#X connect 35 0 11 0;
+#X connect 32 0 11 0;
+#X connect 34 0 11 0;
#X connect 36 0 11 0;
-#X connect 39 0 11 0;
diff --git a/nusmuk-utils/preset_param.pd b/nusmuk-utils/preset_param.pd
index f05b99f..e1a9d49 100644
--- a/nusmuk-utils/preset_param.pd
+++ b/nusmuk-utils/preset_param.pd
@@ -1,23 +1,23 @@
-#N canvas 443 570 450 300 10;
+#N canvas 2959 446 450 300 10;
#X obj 37 27 inlet;
#X obj 37 259 outlet;
#X obj 37 82 change;
#X obj 215 174 f;
-#X obj 215 117 r save_parametters;
#X obj 215 144 t b f;
#X obj 215 202 pack f f \$1;
-#X obj 64 228 s paramettre_\$1;
#X obj 122 41 r from_mtx_preset_\$1;
#X msg 215 235 element \$3 \$2 \$1;
#X obj 215 261 s to_mtx_preset;
+#X obj 64 228 s parametre_\$1;
+#X obj 215 117 r save_parameters;
#X connect 0 0 2 0;
#X connect 2 0 1 0;
#X connect 2 0 3 1;
-#X connect 2 0 7 0;
-#X connect 3 0 6 0;
-#X connect 4 0 5 0;
-#X connect 5 0 3 0;
-#X connect 5 1 6 1;
-#X connect 6 0 9 0;
-#X connect 8 0 2 0;
-#X connect 9 0 10 0;
+#X connect 2 0 9 0;
+#X connect 3 0 5 0;
+#X connect 4 0 3 0;
+#X connect 4 1 5 1;
+#X connect 5 0 7 0;
+#X connect 6 0 2 0;
+#X connect 7 0 8 0;
+#X connect 10 0 4 0;