[PD] Re: mapping library examples

Hans-Christoph Steiner hans at eds.org
Mon Feb 5 15:51:54 CET 2007


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 <hans at eds.org> 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 at 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






More information about the Pd-list mailing list