aboutsummaryrefslogtreecommitdiff
path: root/notescale.pd
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2004-11-28 20:57:26 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2004-11-28 20:57:26 +0000
commitdb1f7c03d36082d18544ae40562dde5140da6bd8 (patch)
treeb3738d40e9035f7c757fd521ef2bee57cd148542 /notescale.pd
parent13dd60a5a26163fb53537c5f9d495205047f8bde (diff)
[notescale] is basically a HID object, but not necessarily, hence no hid_ prefix
svn path=/trunk/externals/hcs/hid/; revision=2340
Diffstat (limited to 'notescale.pd')
-rw-r--r--notescale.pd29
1 files changed, 29 insertions, 0 deletions
diff --git a/notescale.pd b/notescale.pd
new file mode 100644
index 0000000..8c63369
--- /dev/null
+++ b/notescale.pd
@@ -0,0 +1,29 @@
+#N canvas 37 318 444 446 10;
+#X obj 64 49 inlet;
+#X obj 64 389 outlet;
+#X obj 64 325 int;
+#X obj 64 297 expr $f1 * ($f3 - $f2) + $f2;
+#X obj 357 231 f \$2;
+#X obj 159 230 f \$1;
+#X obj 159 257 expr if ($f1 == $f2 \, 0 \, $f1) \; if ($f1 == $f2 \,
+127 \, $f2);
+#X text 10 7 [notescale];
+#X obj 229 152 loadbang;
+#X obj 229 179 t b b;
+#X text 114 49 input range: 0 to 1;
+#X obj 64 96 min 1;
+#X obj 64 116 max 0;
+#X text 123 389 output range: MIDI note #s;
+#X connect 0 0 11 0;
+#X connect 2 0 1 0;
+#X connect 3 0 2 0;
+#X connect 4 0 6 1;
+#X connect 5 0 6 0;
+#X connect 6 0 3 1;
+#X connect 6 1 3 2;
+#X connect 8 0 9 0;
+#X connect 9 0 5 0;
+#X connect 9 1 4 0;
+#X connect 11 0 12 0;
+#X connect 12 0 3 0;
+#X connect 12 0 9 0;