aboutsummaryrefslogtreecommitdiff
path: root/notescale.pd
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-01-29 08:12:33 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-01-29 08:12:33 +0000
commit6252435d46370211ee4af19a51845a66b3c2f96f (patch)
tree263658f500bdc665a400836f6825e19a0af30eb5 /notescale.pd
parent043dfe0ae677c018cde28cb84e1abe5ae1fe5205 (diff)
cleaned up a lot of hid_ cruft; renamed some hid_ objects to better names; added more objects from hid_ and wrote more curve objects
svn path=/trunk/externals/mapping/; revision=4515
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;