diff options
author | Frank Barknecht <fbar@users.sourceforge.net> | 2004-04-26 15:15:19 +0000 |
---|---|---|
committer | Frank Barknecht <fbar@users.sourceforge.net> | 2004-04-26 15:15:19 +0000 |
commit | 93414e0090719ee7fc83f33360d5d3f3714871f2 (patch) | |
tree | ad7bb31835f2532cd33b92b8c863b249fb49e202 /memento | |
parent | 5ecb886a63d70ceb3bf238c169daade5dee2d640 (diff) |
scale-commun: Scaled version of commun. Will scale from 0-127 (midi) to min-max
requires maxlib.scale
Usage: [scale-commun /OSCtag $0 min max]
svn path=/trunk/abstractions/rradical/; revision=1648
Diffstat (limited to 'memento')
-rw-r--r-- | memento/scale-commun.pd | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/memento/scale-commun.pd b/memento/scale-commun.pd new file mode 100644 index 0000000..e946d46 --- /dev/null +++ b/memento/scale-commun.pd @@ -0,0 +1,21 @@ +#N canvas 0 0 450 300 10; +#X obj 153 133 commun \$1 \$2; +#X obj 153 92 scale 0 127 \$3 \$4; +#X obj 153 57 inlet; +#X obj 153 189 outlet; +#X obj 153 158 scale \$3 \$4 0 127; +#X obj 309 129 outlet; +#X obj 241 46 f \$3; +#X obj 279 46 f \$4; +#X obj 250 23 loadbang; +#X connect 0 0 4 0; +#X connect 0 0 5 0; +#X connect 1 0 0 0; +#X connect 1 0 5 0; +#X connect 2 0 1 0; +#X connect 4 0 3 0; +#X connect 6 0 1 3; +#X connect 6 0 4 4; +#X connect 7 0 1 4; +#X connect 7 0 4 3; +#X connect 8 0 6 0; |