[PD] Abstractions from jmmmp

Frank Barknecht fbar at footils.org
Tue Jun 27 10:47:27 CEST 2006


Hallo,
João Miguel Pais hat gesagt: // João Miguel Pais wrote:

> I just made available a small group of self-made abstractions, which I use  
> myself a lot. Most of them require the GOP capabilities of Pd 0.39, and  
> some other some external libraries. Please feel free to go to  
> https://puredata.org/Members/jmmmp/ and download them and try them out.  
> They are enough documented, and any remarks about them will be welcome.

Cute and useful. Only problem I have: I would not use [scale] here, as
scale from maxlib nameclashes with scale from Gem. Attached is a
simple scaler I use instead, which is just a wrapper around an
expr formula.

Ciao
-- 
 Frank Barknecht                 _ ______footils.org_ __goto10.org__
-------------- next part --------------
#N canvas 236 224 1026 642 10;
#X obj 166 328 expr ($f1-$f2)*($f4-$f5)/($f2-$f3)+$f4;
#X obj 252 286 f \$1;
#X obj 402 288 f \$4;
#X obj 352 284 f \$3;
#X obj 302 284 f \$2;
#X obj 252 197 inlet;
#X obj 302 197 inlet;
#X obj 352 197 inlet;
#X obj 402 197 inlet;
#X obj 166 129 inlet;
#X obj 166 369 outlet;
#X text 510 173 ARGS;
#X text 520 197 1: input_low_border;
#X text 520 219 2: input_high_border;
#X text 520 245 3: output_low_border;
#X text 520 267 4: output_high_border;
#X text 229 149 scale [from_low \, from_hi] to [to_low \, to_hi];
#X obj 273 243 t b;
#X obj 298 171 loadbang;
#X obj 166 156 t f b;
#N canvas 0 0 1090 810 once 0;
#X obj 86 53 inlet;
#X obj 92 185 outlet;
#X obj 81 146 spigot 1;
#X obj 112 91 t b a;
#X msg 131 123 0;
#X connect 0 0 3 0;
#X connect 2 0 1 0;
#X connect 3 0 4 0;
#X connect 3 1 2 0;
#X connect 4 0 2 1;
#X restore 196 186 pd once;
#X text 174 391 [pc once] is only used \, because autogenerated objects
don't receive loadbangs;
#X connect 0 0 10 0;
#X connect 1 0 0 1;
#X connect 2 0 0 4;
#X connect 3 0 0 3;
#X connect 4 0 0 2;
#X connect 5 0 1 0;
#X connect 6 0 4 0;
#X connect 7 0 3 0;
#X connect 8 0 2 0;
#X connect 9 0 19 0;
#X connect 17 0 1 0;
#X connect 17 0 3 0;
#X connect 17 0 4 0;
#X connect 17 0 2 0;
#X connect 18 0 17 0;
#X connect 19 0 0 0;
#X connect 19 1 20 0;
#X connect 20 0 17 0;


More information about the Pd-list mailing list