diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2004-11-28 20:57:26 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2004-11-28 20:57:26 +0000 |
commit | db1f7c03d36082d18544ae40562dde5140da6bd8 (patch) | |
tree | b3738d40e9035f7c757fd521ef2bee57cd148542 /doc | |
parent | 13dd60a5a26163fb53537c5f9d495205047f8bde (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 'doc')
-rw-r--r-- | doc/notescale-help.pd | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/doc/notescale-help.pd b/doc/notescale-help.pd new file mode 100644 index 0000000..053b712 --- /dev/null +++ b/doc/notescale-help.pd @@ -0,0 +1,44 @@ +#N canvas 577 303 460 463 10; +#X floatatom 26 85 5 0 0 0 - - -; +#X floatatom 26 160 0 0 0 0 - - -; +#X obj 2 2 cnv 15 450 20 empty empty [notescale] 2 11 1 18 -233017 +-66577 0; +#X obj 418 3 pddp; +#X floatatom 137 266 5 0 0 0 - - -; +#X obj 140 330 hsl 128 15 0 127 0 0 empty empty empty -2 -6 0 8 -262144 +-1 -1 0 1; +#X text 17 393 (C) Copyright 2004 Hans-Christoph Steiner <hans@at.or.at> +; +#X text 234 407 released under the GNU GPL; +#X floatatom 150 160 0 0 0 0 - - -; +#X floatatom 297 160 0 0 0 0 - - -; +#X obj 213 83 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 +-1 -1 0 0; +#X text 17 426 $Revision: 1.1 $$Date: 2004-11-28 20:57:26 $; +#X text 18 439 $Author: eighthave $; +#X obj 140 244 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 +-1 -1 0 0; +#X obj 26 130 notescale 30 60; +#X floatatom 137 347 5 0 0 0 - - -; +#X text 13 193 If you use [notescale] with no arguments \, then the +output range defaults to 0-127.; +#X floatatom 202 109 5 0 0 0 - - -; +#X obj 26 105 / 100; +#X text 18 35 [notescale] scales a stream of numbers to a MIDI note +number. It takes an input range of 0 to 1 \, and outputs MIDI note +numbers based on an output range set as arguments.; +#X obj 137 297 notescale; +#X obj 150 130 notescale 15 120; +#X obj 297 130 notescale 24 48; +#X connect 0 0 18 0; +#X connect 4 0 20 0; +#X connect 5 0 15 0; +#X connect 10 0 17 0; +#X connect 10 0 21 0; +#X connect 10 0 22 0; +#X connect 13 0 4 0; +#X connect 14 0 1 0; +#X connect 18 0 14 0; +#X connect 20 0 5 0; +#X connect 21 0 8 0; +#X connect 22 0 9 0; |