[PD] Scaling values in pd

2013-09-02 Thread hghoyer
Hi, in Max/MSP there is an object for simple scaling. If you create in MAX these object with this arguments: [scale 0 127 0 500] incomming messages from 0 to 127 are automatically scaled from 0 to 500... Is in PD a similar easyly way to scale values? Thx!!! ___

Re: [PD] Scaling values in pd

2013-09-02 Thread Frank Barknecht
On Mon, Sep 02, 2013 at 06:17:37PM +0200, hghoyer wrote: > in Max/MSP there is an object for simple scaling. > > If you create in MAX these object with this arguments: > > [scale 0 127 0 500] incomming messages from 0 to 127 are automatically > scaled from 0 to 500... > > Is in PD a similar easy

Re: [PD] Scaling values in pd

2013-09-02 Thread Eran Sachs
Hey Man,AFAICT, [maxlib/scale] on extended is the equivalent of MAX's [scale]. No?Zax Date: Mon, 2 Sep 2013 18:43:24 +0200 From: f...@footils.org To: pd-list@iem.at Subject: Re: [PD] Scaling values in pd On Mon, Sep 02, 2013 at 06:17:37PM +0200, hghoyer wrote: > in Max/MSP there is an ob

Re: [PD] Scaling values in pd

2013-09-02 Thread Dan Wilcox
Also maxlib/scale in pd-extended. On Sep 2, 2013, at 1:22 PM, pd-list-requ...@iem.at wrote: > From: Frank Barknecht > Subject: Re: [PD] Scaling values in pd > Date: September 2, 2013 12:43:24 PM EDT > To: pd-list@iem.at > > > On Mon, Sep 02, 2013 at 06:17:37PM +0200, hgh

Re: [PD] Scaling values in pd

2013-09-02 Thread José Luis Santorcuato Tapia
Hi [autoscale 0 10] Also you can check the help file. Best José El 02/09/2013 21:01, "Dan Wilcox" escribió: > Also maxlib/scale in pd-extended. > > On Sep 2, 2013, at 1:22 PM, pd-list-requ...@iem.at wrote: > > *From: *Frank Barknecht > *Subject: **Re: [PD] S

Re: [PD] Scaling values in pd

2013-09-02 Thread Mario Mey
ailto:danomat...@gmail.com>> escribió: Also maxlib/scale in pd-extended. On Sep 2, 2013, at 1:22 PM, pd-list-requ...@iem.at <mailto:pd-list-requ...@iem.at> wrote: *From:*Frank Barknecht mailto:f...@footils.org>> *Subject:**Re: [PD] Scaling values in pd* *Date

Re: [PD] Scaling values in pd

2013-09-02 Thread IOhannes zmölnig
On 09/02/2013 06:17 PM, hghoyer wrote: > Hi, > > in Max/MSP there is an object for simple scaling. > > If you create in MAX these object with this arguments: > > [scale 0 127 0 500] incomming messages from 0 to 127 are automatically > scaled from 0 to 500... honestly i'm of the firm conviction

Re: [PD] Scaling values in pd

2013-09-03 Thread Mario Mey
IOhannes, you are right only in these cases: 0 127 0 500 0 300 0 1 ... But, if I need: 50 10 0 500 3000 -3000 0.5 0.6 ... I will need a "linear equation conversion". As I wrote in last mail, I was needing something like this, first in ActionScript... then in Python... but I never could did i

Re: [PD] Scaling values in pd

2013-09-03 Thread Cyrille Henry
Le 03/09/2013 14:06, Mario Mey a écrit : IOhannes, you are right only in these cases: 0 127 0 500 0 300 0 1 ... But, if I need: 50 10 0 500 3000 -3000 0.5 0.6 ... I will need a "linear equation conversion". As I wrote in last mail, I was needing something like this, first in ActionScript..

Re: [PD] Scaling values in pd

2013-09-03 Thread Lorenzo Sutton
On 03/09/2013 14:06, Mario Mey wrote: IOhannes, you are right only in these cases: 0 127 0 500 0 300 0 1 ... But, if I need: 50 10 0 500| (assuming you want to map have 50 mapped to the 'minimum'): | [- 10] | [t b f] | / [- ] | [* 12.5] | 3000 -3000 0.5 0.6 [* -1] | [+ 3000] | [/ 6]

Re: [PD] Scaling values in pd

2013-09-03 Thread Mario Mey
El 03/09/13 10:11, Lorenzo Sutton escribió: On 03/09/2013 14:06, Mario Mey wrote: IOhannes, you are right only in these cases: 0 127 0 500 0 300 0 1 ... But, if I need: 50 10 0 500| (assuming you want to map have 50 mapped to the 'minimum'): | [- 10] | [t b f] | / [- ] | [* 12.5] | 3000

Re: [PD] Scaling values in pd

2013-09-03 Thread Jm Jones
jaja, "you can do the math". well, obviously we can always do the math, but he was asking for that particular object. anyway, i appreciate the math examples, surely they empower my brain : ) to the original question, as mentioned above, the object is in pd extended 2013/9/3 Mario Mey > El 03/0

Re: [PD] Scaling values in pd

2013-09-03 Thread Jonathan Wilkes
On 09/03/2013 02:32 AM, IOhannes zmölnig wrote: On 09/02/2013 06:17 PM, hghoyer wrote: Hi, in Max/MSP there is an object for simple scaling. If you create in MAX these object with this arguments: [scale 0 127 0 500] incomming messages from 0 to 127 are automatically scaled from 0 to 500... h

Re: [PD] Scaling values in pd

2013-09-03 Thread Ed Kelly
Whoops! Here's the other one! Cheers, Ed - Forwarded Message - >From: Ed Kelly >To: Mario Mey ; "pd-list@iem.at" >Sent: Tuesday, 3 September 2013, 22:58 >Subject: Re: [PD] Scaling values in pd > > > >Couple of tricks for scaling here.