From df54d3d3d4aab0481ab8a0e9ad23c97ac039ddf9 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 19 Apr 2010 05:02:31 +0000 Subject: make [hid] into a libdir-ish folder like earplug~ and freeverb~, and make sure hid-help.pd gets installed svn path=/trunk/externals/hcs/hid/; revision=13454 --- notescale-help.pd | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 notescale-help.pd (limited to 'notescale-help.pd') diff --git a/notescale-help.pd b/notescale-help.pd new file mode 100644 index 0000000..f3f69a7 --- /dev/null +++ b/notescale-help.pd @@ -0,0 +1,45 @@ +#N canvas 577 303 464 467 10; +#X declare -lib hid; +#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/pddplink http://puredata.info/dev/pddp -text 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 +; +#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 -225271 +-1 -1 0 0; +#X text 17 426 $Revision: 1.3 $$Date: 2006-03-17 04:58:30 $; +#X text 18 439 $Author: eighthave $; +#X obj 140 244 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262131 +-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; -- cgit v1.2.1