I don't think it has the same behavior as [scale], but I'm sending you my version of Scale, from my vanilla friendly patch library.
#N canvas 948 66 687 348 12; #X obj 38 68 inlet; #X obj 38 291 outlet; #X obj 257 47 cnv 15 260 140 empty empty empty 20 12 0 14 #c4fcc4 #404040 0; #N canvas 87 133 405 277 curva 0; #X obj 136 73 loadbang; #X msg 136 103 2; #X obj 75 170 pack 0 0; #X obj 75 211 pow; #X obj 75 248 outlet; #X text 159 158 octavo argumento (-5 to 5); #X obj 75 33 inlet; #X obj 136 136 pow $6; #X connect 0 0 1 0; #X connect 1 0 7 0; #X connect 2 0 3 0; #X connect 3 0 4 0; #X connect 6 0 2 0; #X connect 7 0 2 1; #X restore 38 178 pd curva; #X floatatom 38 152 5 0 0 0 - - - 0; #N canvas 328 328 287 420 rango 0; #X obj 48 69 inlet; #X floatatom 154 277 5 0 0 0 - - - 0; #X obj 48 295 *; #X obj 48 387 outlet; #X floatatom 48 357 10 0 0 0 - - - 0; #X floatatom 48 106 5 0 0 0 - - - 0; #X obj 48 251 /; #X obj 48 222 int; #X obj 48 193 *; #N canvas 760 222 417 367 sub=1 0; #X obj 83 301 outlet; #X obj 181 37 loadbang; #X obj 181 99 sel 0 1; #X obj 83 251 spigot; #X obj 189 252 spigot; #X obj 83 36 inlet; #X msg 128 203 0; #X msg 171 203 1; #X msg 234 202 0; #X msg 279 202 1; #X obj 189 302 outlet; #X text 211 68 pieces; #X obj 181 66 $5; #X connect 1 0 12 0; #X connect 2 0 9 0; #X connect 2 0 6 0; #X connect 2 1 9 0; #X connect 2 1 6 0; #X connect 2 2 8 0; #X connect 2 2 7 0; #X connect 3 0 0 0; #X connect 4 0 10 0; #X connect 5 0 3 0; #X connect 5 0 4 0; #X connect 6 0 3 1; #X connect 7 0 3 1; #X connect 8 0 4 1; #X connect 9 0 4 1; #X connect 12 0 2 0; #X restore 48 144 pd sub=1 o sub=>2; #N canvas 609 86 251 217 pieces 0; #X msg 56 140 1; #X obj 56 115 sel 0; #X obj 56 35 loadbang; #X obj 56 89 int; #X obj 56 172 f; #X obj 56 204 outlet; #X text 86 66 Pieces; #X obj 56 64 $5; #X connect 0 0 4 0; #X connect 1 0 0 0; #X connect 1 1 4 0; #X connect 2 0 7 0; #X connect 3 0 1 0; #X connect 4 0 5 0; #X connect 7 0 3 0; #X restore 95 174 pd pieces; #X obj 48 325 + $3; #N canvas 720 114 282 250 ($3-$4)*-1 0; #X obj 89 191 outlet; #X obj 89 123 -; #X obj 89 156 * -1; #X obj 89 65 loadbang; #X obj 89 91 pack $3 $4; #X connect 1 0 2 0; #X connect 2 0 0 0; #X connect 3 0 4 0; #X connect 4 0 1 0; #X restore 154 247 pd ($3-$4)*-1; #X text 98 308 -x*($3-$4)+$3; #X connect 0 0 5 0; #X connect 1 0 2 1; #X connect 2 0 11 0; #X connect 4 0 3 0; #X connect 5 0 9 0; #X connect 6 0 2 0; #X connect 7 0 6 0; #X connect 8 0 7 0; #X connect 9 0 8 0; #X connect 9 1 2 0; #X connect 10 0 8 1; #X connect 10 0 6 1; #X connect 11 0 4 0; #X connect 12 0 1 0; #X restore 38 226 pd rango 0...1 = d...e; #X floatatom 38 203 5 0 0 0 - - - 0; #X floatatom 38 254 5 0 0 0 - - - 0; #X floatatom 38 97 5 0 1 0 - - - 0; #X obj 107 50 loadbang; #X msg 107 78 0; #N canvas 603 314 401 292 escala 0; #X obj 51 185 /; #X obj 51 66 inlet; #X obj 192 102 loadbang; #X obj 192 166 -; #X obj 51 256 outlet; #X obj 192 134 pack $2 $1; #X obj 51 148 - $1; #X obj 51 218 min 0.9999; #X text 48 28 Ecuación: x-a/b-a=y para a >= x <= b; #N canvas 1107 260 331 382 minMax 0; #X obj 135 100 moses $2; #X obj 135 223 f; #X obj 135 282 outlet; #X obj 82 38 inlet; #X obj 82 130 f $1; #X obj 188 187 f $2; #X floatatom 135 252 5 0 0 0 - - - 0; #X floatatom 135 129 5 0 0 0 - - - 0; #X floatatom 188 128 5 0 0 0 - - - 0; #X obj 82 66 moses $1; #X msg 188 157 bang; #X msg 82 101 bang; #X connect 0 0 7 0; #X connect 0 1 8 0; #X connect 1 0 6 0; #X connect 3 0 9 0; #X connect 4 0 1 0; #X connect 5 0 1 0; #X connect 6 0 2 0; #X connect 7 0 1 0; #X connect 8 0 10 0; #X connect 9 0 11 0; #X connect 9 1 0 0; #X connect 10 0 5 0; #X connect 11 0 4 0; #X restore 51 96 pd minMax $1 $2; #X connect 0 0 7 0; #X connect 1 0 9 0; #X connect 2 0 5 0; #X connect 3 0 0 1; #X connect 5 0 3 0; #X connect 6 0 0 0; #X connect 7 0 4 0; #X connect 9 0 6 0; #X restore 38 124 pd escala $1...$2 = 0...1; #X text 268 92 $1 y $2= input range; #X text 267 114 $3 y $4= output range; #X text 286 58 6 arguments: $1 $2 $3 $4 $5 $6; #X text 258 205 (numbers out of input range gets border range.); #X text 259 224 (if $3 > $4 = reverse); #X text 267 136 $5 = pieces (subdivisions); #X text 267 156 $6 = courve (positive or negative); #X connect 0 0 8 0; #X connect 3 0 6 0; #X connect 4 0 3 0; #X connect 5 0 7 0; #X connect 6 0 5 0; #X connect 7 0 1 0; #X connect 8 0 11 0; #X connect 9 0 10 0; #X connect 10 0 8 0; #X connect 11 0 4 0;
Claudio.
El mié, 20 sept 2023 a las 14:11, pd-list-request@lists.iem.at escribió:
Send Pd-list mailing list submissions to pd-list@lists.iem.at
To subscribe or unsubscribe via the World Wide Web, visit https://lists.puredata.info/listinfo/pd-list or, via email, send a message with subject or body 'help' to pd-list-request@lists.iem.at
You can reach the person managing the list at pd-list-owner@lists.iem.at
When replying, please edit your Subject line so it is more specific than "Re: Contents of Pd-list digest..."
Today's Topics:
- Re: maxlib on OSX version? (rafael.raccuia@blindekinder.com)
- Re: maxlib on OSX version? (Christof Ressi)
- Re: maxlib on OSX version? (Roman Haefeli)
Message: 1 Date: Wed, 20 Sep 2023 12:52:31 +0200 From: rafael.raccuia@blindekinder.com To: pd-list@lists.iem.at Subject: Re: [PD] maxlib on OSX version? Message-ID: < 20230920125231.Horde.ygeBn2HbAf8sZtkX7D_MBD1@webmail.blindekinder.com>
Content-Type: text/plain; charset="utf-8"; Format="flowed"; DelSp="Yes"
Ok, I managed to create my own [scale] (attached).
but for mrpeach? I need OSC collection. What is the alternative?
rph-r
Raphael Raccuia rafael.raccuia@blindekinder.com a ?crit?:
Oh, and same for mrpeach...
Le 19/09/2023 ? 23:33, rafael.raccuia@blindekinder.com a ?crit?:
Hej!! I can't find maxlib on 0.54 OSX version. I seached in Deken and on the web. I need [scale] object. I build the patch on Linux and now it will run on a mac for the
intallation.
thank you in advance!
rph-r
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing listUNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list