aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/color.rgbset.pd (renamed from core/sft.rgb.pd)0
-rw-r--r--core/cpugraph.pd93
-rw-r--r--core/instance.pd57
-rw-r--r--core/midi-coarsefine.pd21
4 files changed, 171 insertions, 0 deletions
diff --git a/core/sft.rgb.pd b/core/color.rgbset.pd
index 480db7c..480db7c 100644
--- a/core/sft.rgb.pd
+++ b/core/color.rgbset.pd
diff --git a/core/cpugraph.pd b/core/cpugraph.pd
new file mode 100644
index 0000000..d2987ef
--- /dev/null
+++ b/core/cpugraph.pd
@@ -0,0 +1,93 @@
+#N canvas 172 176 741 586 10;
+#X obj 52 260 cnv 15 100 50 empty \$0cpucnv empty 20 12 0 14 -225271
+-262144 0;
+#X floatatom 104 312 4 0 0 1 Now #0now #0nullS;
+#X obj 288 163 cputime;
+#X obj 288 53 loadbang;
+#X msg 288 81 1;
+#X obj 288 135 t b b;
+#X obj 288 223 * 0.1;
+#X obj 288 192 int;
+#X floatatom 52 312 4 0 0 1 Avg #0avg #0nullS;
+#X obj 349 240 average 10;
+#X obj 110 243 bng 15 250 50 0 \$0markbang \$0nullR empty 17 7 0 10
+-261682 -1 -1;
+#X obj 96 176 f;
+#X obj 96 205 print CPU;
+#N canvas 0 22 454 304 (subpatch) 0;
+#X array \$0cpu 100 float 0;
+#X coords 0 1 99 0 100 50 1;
+#X restore 52 260 graph;
+#X obj 288 262 * 0.01;
+#X obj 288 345 until;
+#X obj 288 472 tabread \$0cpu;
+#X obj 288 534 tabwrite \$0cpu;
+#X obj 288 379 f;
+#X obj 321 379 + 1;
+#X obj 369 443 - 1;
+#X obj 288 426 t a a;
+#X obj 439 389 t b a;
+#X obj 369 325 f;
+#X obj 288 294 t b b a;
+#X msg 328 325 1;
+#X obj 288 401 sel 100;
+#X msg 377 397 100;
+#X msg 288 325 100;
+#X obj 476 243 sel 0 1;
+#X msg 476 273 color 6;
+#X msg 527 273 color 13;
+#X obj 476 307 s \$0cpucnv;
+#X obj 476 219 change;
+#X obj 476 196 > 99;
+#X obj 288 107 metro 500;
+#X obj 288 501 min 100;
+#X floatatom 52 242 4 0 0 1 Mark> #0mark #0nullS;
+#X obj 239 223 s \$0now;
+#X obj 349 273 s \$0avg;
+#X obj 111 154 r \$0avg;
+#X obj 121 176 s \$0mark;
+#X obj 26 155 r \$0markbang;
+#X connect 2 0 7 0;
+#X connect 3 0 4 0;
+#X connect 4 0 35 0;
+#X connect 5 0 2 0;
+#X connect 5 1 2 1;
+#X connect 6 0 9 0;
+#X connect 6 0 14 0;
+#X connect 6 0 34 0;
+#X connect 6 0 38 0;
+#X connect 7 0 6 0;
+#X connect 9 0 39 0;
+#X connect 11 0 12 0;
+#X connect 11 0 41 0;
+#X connect 14 0 24 0;
+#X connect 15 0 18 0;
+#X connect 16 0 36 0;
+#X connect 18 0 19 0;
+#X connect 18 0 26 0;
+#X connect 19 0 18 1;
+#X connect 20 0 17 1;
+#X connect 21 0 16 0;
+#X connect 21 1 20 0;
+#X connect 22 0 23 0;
+#X connect 22 1 17 1;
+#X connect 23 0 36 0;
+#X connect 24 0 28 0;
+#X connect 24 1 25 0;
+#X connect 24 2 23 1;
+#X connect 25 0 18 1;
+#X connect 26 0 27 0;
+#X connect 26 1 21 0;
+#X connect 27 0 22 0;
+#X connect 28 0 15 0;
+#X connect 29 0 30 0;
+#X connect 29 1 31 0;
+#X connect 30 0 32 0;
+#X connect 31 0 32 0;
+#X connect 33 0 29 0;
+#X connect 34 0 33 0;
+#X connect 35 0 5 0;
+#X connect 36 0 17 0;
+#X connect 40 0 11 1;
+#X connect 42 0 11 0;
+#X coords 0 -1 1 1 104 100 1 50 230;
diff --git a/core/instance.pd b/core/instance.pd
new file mode 100644
index 0000000..1c0cc06
--- /dev/null
+++ b/core/instance.pd
@@ -0,0 +1,57 @@
+#N canvas 0 22 479 399 10;
+#X obj 271 25 loadbang;
+#X obj 244 49 + 1;
+#X obj 244 70 s \$0instance;
+#X obj 275 98 closebang;
+#X obj 243 124 - 1;
+#X obj 63 60 r \$0instance;
+#X obj 47 100 f;
+#X obj 17 60 t f b;
+#X obj 34 171 r \$0instance;
+#X obj 18 145 sel 1;
+#X obj 18 196 f;
+#X obj 18 220 - 1;
+#X obj 18 244 s \$0instance;
+#X obj 243 156 closebang;
+#X obj 243 205 f;
+#X obj 259 180 r \$0instance;
+#X obj 18 116 <;
+#X obj 85 329 r \$0instance;
+#X obj 17 33 r \$1InstClosed;
+#X obj 272 49 v \$1Inst;
+#X obj 275 124 v \$1Inst;
+#X obj 243 228 s \$1InstClosed;
+#X obj 85 357 outlet;
+#X text 15 273 Takes instanced object name as argument;
+#X text 16 289 e.g. [instance notescrombler];
+#X text 132 358 This instance's #;
+#X obj 343 370 s \$1-Instances;
+#X obj 309 299 closebang;
+#X obj 309 325 v \$1Inst;
+#X obj 383 299 loadbang;
+#X obj 384 325 v \$1Inst;
+#X connect 0 0 19 0;
+#X connect 1 0 2 0;
+#X connect 1 0 19 0;
+#X connect 3 0 20 0;
+#X connect 4 0 20 0;
+#X connect 5 0 6 1;
+#X connect 6 0 16 1;
+#X connect 7 0 16 0;
+#X connect 7 1 6 0;
+#X connect 8 0 10 1;
+#X connect 9 0 10 0;
+#X connect 10 0 11 0;
+#X connect 11 0 12 0;
+#X connect 13 0 14 0;
+#X connect 14 0 21 0;
+#X connect 15 0 14 1;
+#X connect 16 0 9 0;
+#X connect 17 0 22 0;
+#X connect 18 0 7 0;
+#X connect 19 0 1 0;
+#X connect 20 0 4 0;
+#X connect 27 0 28 0;
+#X connect 28 0 26 0;
+#X connect 29 0 30 0;
+#X connect 30 0 26 0;
diff --git a/core/midi-coarsefine.pd b/core/midi-coarsefine.pd
new file mode 100644
index 0000000..4d660d9
--- /dev/null
+++ b/core/midi-coarsefine.pd
@@ -0,0 +1,21 @@
+#N canvas 1100 781 338 286 10;
+#X obj 106 200 +;
+#X obj 161 60 - 0.5;
+#X obj 161 112 * 0.00392157;
+#X obj 161 86 * 2;
+#X obj 161 136 t b f;
+#X obj 106 168 f;
+#X obj 106 26 inlet;
+#X obj 161 26 inlet;
+#X obj 106 227 clip 0 1;
+#X obj 106 253 outlet;
+#X connect 0 0 8 0;
+#X connect 1 0 3 0;
+#X connect 2 0 4 0;
+#X connect 3 0 2 0;
+#X connect 4 0 5 0;
+#X connect 4 1 0 1;
+#X connect 5 0 0 0;
+#X connect 6 0 5 0;
+#X connect 7 0 1 0;
+#X connect 8 0 9 0;