Re: [PD] Re: mapping library examples
If help is needed, please let me know what I can do to help with the PDDP project. I'm not a coder, but I would love to help clean up Pd's documentation. It would also give me some technical writing practice ;-). ~Kyle On 2/5/07, Hans-Christoph Steiner <[EMAIL PROTECTED]> wrote: Yeah, it should be that way, it's mostly a matter of someone doing the work. The PDDP group is just finalizing the help file template, then we can start porting existing help files to it, including the required [import] statements. .hc On Feb 2, 2007, at 4:18 PM, Kyle Klipowicz wrote: > What would be really sweet would be to mod that script to have a > search function that matches against a pd-vanilla object list, and if > the object is not included, find what library it needs, then add an > [import needed_object] to the required help file. > > That would make it so that the -lib command would be fairly obsolete, > if a help file is loaded first. This would be great for Pd-extended > users who might be exploring the documentation browser and want > 'plug-n-play' lib action. > > ~Kyle > > On 2/2/07, Steffen <[EMAIL PROTECTED]> wrote: >> >> On 02/02/2007, at 16.31, Kyle Klipowicz wrote: >> >> > Thanks for generating this list. >> >> No problem, it's essentially just a one-liner - attached as a bash >> script. >> >> >> >> >> >> >> >> >> > > > -- > > http://theradioproject.com > http://perhapsidid.blogspot.com > > (()()()(()))()()())( > (())(())()((( > ))(__ > _())(()))___ > (((000)))oOO Access to computers should be unlimited and total. - the hacker ethic -- http://theradioproject.com http://perhapsidid.blogspot.com (()()()(()))()()())( (())(())()((( ))(__ _())(()))___ (((000)))oOO ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] Re: mapping library examples
It's all written in Pd, so it should work with any version from the past couple years. .hc On Feb 2, 2007, at 4:43 AM, Jaime Oliver wrote: Can I make it work with Pd 0.40-1 or only with the extended builds? thanks, Jaime On 2/1/07, Hans-Christoph Steiner <[EMAIL PROTECTED]> wrote: It's included in the Pd-extended builds 0.39.2 or newer. The library is called "mapping". These objects are in the same spirit as the mapping objects, like [autoscale] , [track_min], and [track_max]. Plus cyclone has [minimum] and [maximum], which are very close to the built-in [min] and [max] IIRC. These ones duplicate ones we already have, but we are interested in contributions. Right now, we are building a collection of every kind of mapping object we can think of. After a bit, we'll look and see if natural categories are forming. .hc On Feb 1, 2007, at 5:38 PM, Jaime Oliver wrote: > Hello HC Steiner, where can I find this mapping library for OSX?? > > I have been working in two new instruments and that library could be > really helpfull. Your paper is a good reflection of the situation of > people making new instruments... > > below is a normalizer or autoscale as you call it in your paper that > takes input values 0 - n. If you have some time to see it, let me know > what you think of it, for I am using it all around the place and maybe > it could be optimized. (below that are two abstractions it needs to > work). > > have a good day, > > Jaime > > Mother patch "norm" > > #N canvas 688 157 155 248 10; > #X obj 72 9 inlet; > #X obj 7 10 inlet; > #X obj 71 36 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 > -1; > #X obj 8 96 -; > #X obj 46 96 -; > #X obj 7 123 / 0; > #X floatatom 7 150 5 0 0 0 - - -; > #X obj 6 173 outlet; > #X floatatom 42 126 5 0 0 0 - - -; > #X floatatom 86 124 5 0 0 0 - - -; > #X text 1 198 assumes input >= 0; > #X obj 34 63 minmax; > #X connect 0 0 2 0; > #X connect 1 0 3 0; > #X connect 1 0 11 0; > #X connect 2 0 11 1; > #X connect 3 0 5 0; > #X connect 4 0 5 1; > #X connect 5 0 6 0; > #X connect 6 0 7 0; > #X connect 11 0 3 1; > #X connect 11 0 4 1; > #X connect 11 0 8 0; > #X connect 11 1 4 0; > #X connect 11 1 9 0; > > abstraction "minmax" > > #N canvas 143 22 146 291 10; > #X obj 86 11 inlet; > #X obj 42 11 inlet; > #X obj 86 32 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 > -1; > #X obj 42 52 maximum; > #X obj 11 81 -; > #X obj 10 205 outlet; > #X obj 59 205 outlet; > #X obj 10 107 abs; > #X obj 10 130 maximum; > #X obj 9 154 -; > #X obj 9 177 abs; > #X text 12 230 min; > #X text 64 230 max; > #X floatatom 9 250 5 0 0 0 - - -; > #X floatatom 60 249 5 0 0 0 - - -; > #X floatatom 7 43 5 0 0 0 - - -; > #X floatatom 86 109 5 0 0 0 - - -; > #X floatatom 78 170 5 0 0 0 - - -; > #X connect 0 0 2 0; > #X connect 1 0 3 0; > #X connect 1 0 4 0; > #X connect 1 0 15 0; > #X connect 2 0 3 1; > #X connect 2 0 8 1; > #X connect 3 0 4 1; > #X connect 3 0 6 0; > #X connect 3 0 9 1; > #X connect 3 0 14 0; > #X connect 3 0 16 0; > #X connect 4 0 7 0; > #X connect 7 0 8 0; > #X connect 8 0 9 0; > #X connect 8 0 17 0; > #X connect 9 0 10 0; > #X connect 10 0 5 0; > #X connect 10 0 13 0; > > abstraction "maximum" > > #N canvas 475 22 151 200 10; > #X obj 77 6 inlet; > #X obj 7 8 inlet; > #X floatatom 6 35 5 0 0 0 - - -; > #X obj 7 85 >; > #X floatatom 8 113 5 0 0 0 - - -; > #X obj 9 137 sel 1 0; > #X obj 9 159 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 > -1; > #X floatatom 78 111 5 0 0 0 - - -; > #X msg 76 28 0; > #X obj 7 55 t f f; > #X obj 78 87 f; > #X obj 78 143 outlet; > #X connect 0 0 8 0; > #X connect 1 0 2 0; > #X connect 2 0 9 0; > #X connect 3 0 4 0; > #X connect 4 0 5 0; > #X connect 5 0 6 0; > #X connect 6 0 10 0; > #X connect 7 0 3 1; > #X connect 7 0 11 0; > #X connect 8 0 3 1; > #X connect 9 0 3 0; > #X connect 9 1 10 1; > #X connect 10 0 7 0; > > ___ > PD-list@iem.at mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/ > listinfo/pd-list - --- Access to computers should be unlimited and total. - the hacker ethic As we enjoy great advantages from inventions of others, we should be glad of an opportunity to serve others by any invention of ours; and this we should do freely and generously. - Benjamin Franklin ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] Re: mapping library examples
Yeah, it should be that way, it's mostly a matter of someone doing the work. The PDDP group is just finalizing the help file template, then we can start porting existing help files to it, including the required [import] statements. .hc On Feb 2, 2007, at 4:18 PM, Kyle Klipowicz wrote: What would be really sweet would be to mod that script to have a search function that matches against a pd-vanilla object list, and if the object is not included, find what library it needs, then add an [import needed_object] to the required help file. That would make it so that the -lib command would be fairly obsolete, if a help file is loaded first. This would be great for Pd-extended users who might be exploring the documentation browser and want 'plug-n-play' lib action. ~Kyle On 2/2/07, Steffen <[EMAIL PROTECTED]> wrote: On 02/02/2007, at 16.31, Kyle Klipowicz wrote: > Thanks for generating this list. No problem, it's essentially just a one-liner - attached as a bash script. -- http://theradioproject.com http://perhapsidid.blogspot.com (()()()(()))()()())( (())(())()((( ))(__ _())(()))___ (((000)))oOO Access to computers should be unlimited and total. - the hacker ethic ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] Re: mapping library examples
What are the FUN equations? Do you have any info on them? .hc On Feb 4, 2007, at 6:30 AM, hard off wrote: this mapping thing is something like the FUN equations of the kurzweil k2000 ? if so that will save me some work, cos i was gonna convert all the FUN equations to pd files. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list Computer science is no more related to the computer than astronomy is related to the telescope. -Edsger Dykstra ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] Re: mapping library examples
Hallo, Georg Holzmann hat gesagt: // Georg Holzmann wrote: > >What would be really sweet would be to mod that script to have a > >search function that matches against a pd-vanilla object list, and if > >the object is not included, find what library it needs, then add an > >[import needed_object] to the required help file. > > Yes, good idea - but it won't work in a perfect way, because of various > nameclashes in externals ... At least the external [import] doesn't nameclash AFAIK. ;) Ciao -- Frank Barknecht _ __footils.org_ __goto10.org__ ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] Re: mapping library examples
this mapping thing is something like the FUN equations of the kurzweil k2000 ? if so that will save me some work, cos i was gonna convert all the FUN equations to pd files. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] Re: mapping library examples
Hallo! What would be really sweet would be to mod that script to have a search function that matches against a pd-vanilla object list, and if the object is not included, find what library it needs, then add an [import needed_object] to the required help file. Yes, good idea - but it won't work in a perfect way, because of various nameclashes in externals ... LG Georg ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] Re: mapping library examples
What would be really sweet would be to mod that script to have a search function that matches against a pd-vanilla object list, and if the object is not included, find what library it needs, then add an [import needed_object] to the required help file. That would make it so that the -lib command would be fairly obsolete, if a help file is loaded first. This would be great for Pd-extended users who might be exploring the documentation browser and want 'plug-n-play' lib action. ~Kyle On 2/2/07, Steffen <[EMAIL PROTECTED]> wrote: On 02/02/2007, at 16.31, Kyle Klipowicz wrote: > Thanks for generating this list. No problem, it's essentially just a one-liner - attached as a bash script. -- http://theradioproject.com http://perhapsidid.blogspot.com (()()()(()))()()())( (())(())()((( ))(__ _())(()))___ (((000)))oOO ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] Re: mapping library examples
On 02/02/2007, at 16.31, Kyle Klipowicz wrote: Thanks for generating this list. No problem, it's essentially just a one-liner - attached as a bash script. find_objs_used_in_abs-lib.sh Description: Binary data ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] Re: mapping library examples
Thanks for generating this list. As I posted before, I think that it's very important to start including the [import needed_external] with every help patch that requires it. Perhaps this is something that can be contained in the Pd-meta subpatches that I (vaguely from my away-from-pd day job) recall seeing in various help docs? ~Kyle On 2/2/07, Steffen <[EMAIL PROTECTED]> wrote: On 02/02/2007, at 10.43, Jaime Oliver wrote: > Can I make it work with Pd 0.40-1 or only with the extended builds? Looking at the CVS home of mapping[1], it tells that there is no externals in the lib, only abstractions as there is only .pd files in there, no .c(pp) or the like. Attached is a list of objs used in the mapping lib (made with grep, cut, sort, uniq). It shows that it (the mapping lib) at least uses pol2cart and cart2pol from zexy, besides using float_argument and symbol_argument from purepd. purepd is placed in the abstactions section of cvs so i guess it's fair to assume it doesn't use any externals. But you anyways need zexy to use the mapping objects cartesian and vector. [1] http://pure-data.cvs.sourceforge.net/pure-data/externals/mapping/ ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list -- http://theradioproject.com http://perhapsidid.blogspot.com (()()()(()))()()())( (())(())()((( ))(__ _())(()))___ (((000)))oOO ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] Re: mapping library examples
On 02/02/2007, at 10.43, Jaime Oliver wrote: Can I make it work with Pd 0.40-1 or only with the extended builds? Looking at the CVS home of mapping[1], it tells that there is no externals in the lib, only abstractions as there is only .pd files in there, no .c(pp) or the like. Attached is a list of objs used in the mapping lib (made with grep, cut, sort, uniq). It shows that it (the mapping lib) at least uses pol2cart and cart2pol from zexy, besides using float_argument and symbol_argument from purepd. purepd is placed in the abstactions section of cvs so i guess it's fair to assume it doesn't use any externals. But you anyways need zexy to use the mapping objects cartesian and vector. [1] http://pure-data.cvs.sourceforge.net/pure-data/externals/mapping/ != % & * + - / 1 < == > >= \$1 \$2 \$3 abs any_argument atan b bang bng change cnv contours cos curve_power cyclone/gate dbtorms delay delay_n delta desegment desegment12 desegment3 desegment4 disjoin drip env+ env- exp expr f float float_argument hid i import inlet int its join keyname last_n length list listto loadbang log mapping/curve mapping/reverse mapping2radians max max_n maximum mean_n metro min min_n minimum mod moses msd msd2D msd3D mtx_.* mtx_mean namecanvas obj object objects outlet pack pd polar pow print purepd/float_argument purepd/symbol_argument radians->mapping random resample rmstodb route s segment segment12 segment3 segment4 sel select send sin sort soundfiler spigot sqrt stepper12 symbol symbol_argument t table tabread tabwrite tolist track_max track_min trigger unpack until vector zexy/cart2pol zexy/pol2cart | ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] Re: mapping library examples
Can I make it work with Pd 0.40-1 or only with the extended builds? thanks, Jaime On 2/1/07, Hans-Christoph Steiner <[EMAIL PROTECTED]> wrote: It's included in the Pd-extended builds 0.39.2 or newer. The library is called "mapping". These objects are in the same spirit as the mapping objects, like [autoscale] , [track_min], and [track_max]. Plus cyclone has [minimum] and [maximum], which are very close to the built-in [min] and [max] IIRC. These ones duplicate ones we already have, but we are interested in contributions. Right now, we are building a collection of every kind of mapping object we can think of. After a bit, we'll look and see if natural categories are forming. .hc On Feb 1, 2007, at 5:38 PM, Jaime Oliver wrote: > Hello HC Steiner, where can I find this mapping library for OSX?? > > I have been working in two new instruments and that library could be > really helpfull. Your paper is a good reflection of the situation of > people making new instruments... > > below is a normalizer or autoscale as you call it in your paper that > takes input values 0 - n. If you have some time to see it, let me know > what you think of it, for I am using it all around the place and maybe > it could be optimized. (below that are two abstractions it needs to > work). > > have a good day, > > Jaime > > Mother patch "norm" > > #N canvas 688 157 155 248 10; > #X obj 72 9 inlet; > #X obj 7 10 inlet; > #X obj 71 36 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 > -1; > #X obj 8 96 -; > #X obj 46 96 -; > #X obj 7 123 / 0; > #X floatatom 7 150 5 0 0 0 - - -; > #X obj 6 173 outlet; > #X floatatom 42 126 5 0 0 0 - - -; > #X floatatom 86 124 5 0 0 0 - - -; > #X text 1 198 assumes input >= 0; > #X obj 34 63 minmax; > #X connect 0 0 2 0; > #X connect 1 0 3 0; > #X connect 1 0 11 0; > #X connect 2 0 11 1; > #X connect 3 0 5 0; > #X connect 4 0 5 1; > #X connect 5 0 6 0; > #X connect 6 0 7 0; > #X connect 11 0 3 1; > #X connect 11 0 4 1; > #X connect 11 0 8 0; > #X connect 11 1 4 0; > #X connect 11 1 9 0; > > abstraction "minmax" > > #N canvas 143 22 146 291 10; > #X obj 86 11 inlet; > #X obj 42 11 inlet; > #X obj 86 32 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 > -1; > #X obj 42 52 maximum; > #X obj 11 81 -; > #X obj 10 205 outlet; > #X obj 59 205 outlet; > #X obj 10 107 abs; > #X obj 10 130 maximum; > #X obj 9 154 -; > #X obj 9 177 abs; > #X text 12 230 min; > #X text 64 230 max; > #X floatatom 9 250 5 0 0 0 - - -; > #X floatatom 60 249 5 0 0 0 - - -; > #X floatatom 7 43 5 0 0 0 - - -; > #X floatatom 86 109 5 0 0 0 - - -; > #X floatatom 78 170 5 0 0 0 - - -; > #X connect 0 0 2 0; > #X connect 1 0 3 0; > #X connect 1 0 4 0; > #X connect 1 0 15 0; > #X connect 2 0 3 1; > #X connect 2 0 8 1; > #X connect 3 0 4 1; > #X connect 3 0 6 0; > #X connect 3 0 9 1; > #X connect 3 0 14 0; > #X connect 3 0 16 0; > #X connect 4 0 7 0; > #X connect 7 0 8 0; > #X connect 8 0 9 0; > #X connect 8 0 17 0; > #X connect 9 0 10 0; > #X connect 10 0 5 0; > #X connect 10 0 13 0; > > abstraction "maximum" > > #N canvas 475 22 151 200 10; > #X obj 77 6 inlet; > #X obj 7 8 inlet; > #X floatatom 6 35 5 0 0 0 - - -; > #X obj 7 85 >; > #X floatatom 8 113 5 0 0 0 - - -; > #X obj 9 137 sel 1 0; > #X obj 9 159 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 > -1; > #X floatatom 78 111 5 0 0 0 - - -; > #X msg 76 28 0; > #X obj 7 55 t f f; > #X obj 78 87 f; > #X obj 78 143 outlet; > #X connect 0 0 8 0; > #X connect 1 0 2 0; > #X connect 2 0 9 0; > #X connect 3 0 4 0; > #X connect 4 0 5 0; > #X connect 5 0 6 0; > #X connect 6 0 10 0; > #X connect 7 0 3 1; > #X connect 7 0 11 0; > #X connect 8 0 3 1; > #X connect 9 0 3 0; > #X connect 9 1 10 1; > #X connect 10 0 7 0; > > ___ > PD-list@iem.at mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/ > listinfo/pd-list Access to computers should be unlimited and total. - the hacker ethic ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] Re: mapping library examples
It's included in the Pd-extended builds 0.39.2 or newer. The library is called "mapping". These objects are in the same spirit as the mapping objects, like [autoscale] , [track_min], and [track_max]. Plus cyclone has [minimum] and [maximum], which are very close to the built-in [min] and [max] IIRC. These ones duplicate ones we already have, but we are interested in contributions. Right now, we are building a collection of every kind of mapping object we can think of. After a bit, we'll look and see if natural categories are forming. .hc On Feb 1, 2007, at 5:38 PM, Jaime Oliver wrote: Hello HC Steiner, where can I find this mapping library for OSX?? I have been working in two new instruments and that library could be really helpfull. Your paper is a good reflection of the situation of people making new instruments... below is a normalizer or autoscale as you call it in your paper that takes input values 0 - n. If you have some time to see it, let me know what you think of it, for I am using it all around the place and maybe it could be optimized. (below that are two abstractions it needs to work). have a good day, Jaime Mother patch "norm" #N canvas 688 157 155 248 10; #X obj 72 9 inlet; #X obj 7 10 inlet; #X obj 71 36 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 8 96 -; #X obj 46 96 -; #X obj 7 123 / 0; #X floatatom 7 150 5 0 0 0 - - -; #X obj 6 173 outlet; #X floatatom 42 126 5 0 0 0 - - -; #X floatatom 86 124 5 0 0 0 - - -; #X text 1 198 assumes input >= 0; #X obj 34 63 minmax; #X connect 0 0 2 0; #X connect 1 0 3 0; #X connect 1 0 11 0; #X connect 2 0 11 1; #X connect 3 0 5 0; #X connect 4 0 5 1; #X connect 5 0 6 0; #X connect 6 0 7 0; #X connect 11 0 3 1; #X connect 11 0 4 1; #X connect 11 0 8 0; #X connect 11 1 4 0; #X connect 11 1 9 0; abstraction "minmax" #N canvas 143 22 146 291 10; #X obj 86 11 inlet; #X obj 42 11 inlet; #X obj 86 32 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 42 52 maximum; #X obj 11 81 -; #X obj 10 205 outlet; #X obj 59 205 outlet; #X obj 10 107 abs; #X obj 10 130 maximum; #X obj 9 154 -; #X obj 9 177 abs; #X text 12 230 min; #X text 64 230 max; #X floatatom 9 250 5 0 0 0 - - -; #X floatatom 60 249 5 0 0 0 - - -; #X floatatom 7 43 5 0 0 0 - - -; #X floatatom 86 109 5 0 0 0 - - -; #X floatatom 78 170 5 0 0 0 - - -; #X connect 0 0 2 0; #X connect 1 0 3 0; #X connect 1 0 4 0; #X connect 1 0 15 0; #X connect 2 0 3 1; #X connect 2 0 8 1; #X connect 3 0 4 1; #X connect 3 0 6 0; #X connect 3 0 9 1; #X connect 3 0 14 0; #X connect 3 0 16 0; #X connect 4 0 7 0; #X connect 7 0 8 0; #X connect 8 0 9 0; #X connect 8 0 17 0; #X connect 9 0 10 0; #X connect 10 0 5 0; #X connect 10 0 13 0; abstraction "maximum" #N canvas 475 22 151 200 10; #X obj 77 6 inlet; #X obj 7 8 inlet; #X floatatom 6 35 5 0 0 0 - - -; #X obj 7 85 >; #X floatatom 8 113 5 0 0 0 - - -; #X obj 9 137 sel 1 0; #X obj 9 159 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X floatatom 78 111 5 0 0 0 - - -; #X msg 76 28 0; #X obj 7 55 t f f; #X obj 78 87 f; #X obj 78 143 outlet; #X connect 0 0 8 0; #X connect 1 0 2 0; #X connect 2 0 9 0; #X connect 3 0 4 0; #X connect 4 0 5 0; #X connect 5 0 6 0; #X connect 6 0 10 0; #X connect 7 0 3 1; #X connect 7 0 11 0; #X connect 8 0 3 1; #X connect 9 0 3 0; #X connect 9 1 10 1; #X connect 10 0 7 0; ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list Access to computers should be unlimited and total. - the hacker ethic ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
[PD] Re: mapping library examples
Hello HC Steiner, where can I find this mapping library for OSX?? I have been working in two new instruments and that library could be really helpfull. Your paper is a good reflection of the situation of people making new instruments... below is a normalizer or autoscale as you call it in your paper that takes input values 0 - n. If you have some time to see it, let me know what you think of it, for I am using it all around the place and maybe it could be optimized. (below that are two abstractions it needs to work). have a good day, Jaime Mother patch "norm" #N canvas 688 157 155 248 10; #X obj 72 9 inlet; #X obj 7 10 inlet; #X obj 71 36 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 8 96 -; #X obj 46 96 -; #X obj 7 123 / 0; #X floatatom 7 150 5 0 0 0 - - -; #X obj 6 173 outlet; #X floatatom 42 126 5 0 0 0 - - -; #X floatatom 86 124 5 0 0 0 - - -; #X text 1 198 assumes input >= 0; #X obj 34 63 minmax; #X connect 0 0 2 0; #X connect 1 0 3 0; #X connect 1 0 11 0; #X connect 2 0 11 1; #X connect 3 0 5 0; #X connect 4 0 5 1; #X connect 5 0 6 0; #X connect 6 0 7 0; #X connect 11 0 3 1; #X connect 11 0 4 1; #X connect 11 0 8 0; #X connect 11 1 4 0; #X connect 11 1 9 0; abstraction "minmax" #N canvas 143 22 146 291 10; #X obj 86 11 inlet; #X obj 42 11 inlet; #X obj 86 32 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 42 52 maximum; #X obj 11 81 -; #X obj 10 205 outlet; #X obj 59 205 outlet; #X obj 10 107 abs; #X obj 10 130 maximum; #X obj 9 154 -; #X obj 9 177 abs; #X text 12 230 min; #X text 64 230 max; #X floatatom 9 250 5 0 0 0 - - -; #X floatatom 60 249 5 0 0 0 - - -; #X floatatom 7 43 5 0 0 0 - - -; #X floatatom 86 109 5 0 0 0 - - -; #X floatatom 78 170 5 0 0 0 - - -; #X connect 0 0 2 0; #X connect 1 0 3 0; #X connect 1 0 4 0; #X connect 1 0 15 0; #X connect 2 0 3 1; #X connect 2 0 8 1; #X connect 3 0 4 1; #X connect 3 0 6 0; #X connect 3 0 9 1; #X connect 3 0 14 0; #X connect 3 0 16 0; #X connect 4 0 7 0; #X connect 7 0 8 0; #X connect 8 0 9 0; #X connect 8 0 17 0; #X connect 9 0 10 0; #X connect 10 0 5 0; #X connect 10 0 13 0; abstraction "maximum" #N canvas 475 22 151 200 10; #X obj 77 6 inlet; #X obj 7 8 inlet; #X floatatom 6 35 5 0 0 0 - - -; #X obj 7 85 >; #X floatatom 8 113 5 0 0 0 - - -; #X obj 9 137 sel 1 0; #X obj 9 159 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X floatatom 78 111 5 0 0 0 - - -; #X msg 76 28 0; #X obj 7 55 t f f; #X obj 78 87 f; #X obj 78 143 outlet; #X connect 0 0 8 0; #X connect 1 0 2 0; #X connect 2 0 9 0; #X connect 3 0 4 0; #X connect 4 0 5 0; #X connect 5 0 6 0; #X connect 6 0 10 0; #X connect 7 0 3 1; #X connect 7 0 11 0; #X connect 8 0 3 1; #X connect 9 0 3 0; #X connect 9 1 10 1; #X connect 10 0 7 0; ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list