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!!!
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 easyly way to scale values?
You can use an abstraction like m_scale.pd from the ri-library (attached) for this.
Or just divide by 127 and multiply with 500. :)
Frank Barknecht _ ______footils.org__
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: fbar@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 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?
You can use an abstraction like m_scale.pd from the ri-library (attached) for this.
Or just divide by 127 and multiply with 500. :)
Frank Barknecht _ ______footils.org__
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
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 that you should learn how scaling works: it really is only a matter of adding, multiplying, dividing, subtracting - stuff you should heave learned in primary school.
as frank pointed out, this should do for you:
| [/ 127] | [* 500] |
if you find it too tedious to do the maths over and over again, you might want to create an abstraction.
being able to solve trivial problems like this will surely empower you to solve more complex problems :-)
gamsdr IOhannes
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 it. Now, I needed again in Pd... so, I made lin-eq-conv.pd with extrapolation and lin-eq-conv-clip.pd for clipped values. I made it as neat as I could, to see how it works. Using x0-x1 and y0-y1, it uses expr to get "a" and "b" at load. Then, it only computes "aX + b = Y".
I attach the lin-eq-conv.pd, lin-eq-conv-clip.pd and lin-eq-conv-help.pd.
Also, I have some issues using [autoscale]. I start giving values and it outputs only 1. Then, I start to down the input and, then, it shows the real output. Maybe it's about this version (0.43.4 Pd-Extended 64bits).
PD: translated to Python:
|def lin_eq_conv(x, x0, x1, y0, y1): a = (y0 - y1) / (x0 - x1) b = (a * x0) + y0 return a * x + b|
El 03/09/13 03:32, IOhannes zmölnig escribió:
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 that you should learn how scaling works: it really is only a matter of adding, multiplying, dividing, subtracting - stuff you should heave learned in primary school.
as frank pointed out, this should do for you:
| [/ 127] | [* 500] |
if you find it too tedious to do the maths over and over again, you might want to create an abstraction.
being able to solve trivial problems like this will surely empower you to solve more complex problems :-)
gamsdr IOhannes
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
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... then in Python... but I never could did it. Now, I needed again in Pd... so, I made lin-eq-conv.pd with extrapolation and lin-eq-conv-clip.pd for clipped values. I made it as neat as I could, to see how it works. Using x0-x1 and y0-y1, it uses expr to get "a" and "b" at load. Then, it only computes "aX + b = Y".
I attach the lin-eq-conv.pd, lin-eq-conv-clip.pd and lin-eq-conv-help.pd.
i don't see where Iohannes was wrong : it's easy math, and you made the abstraction. ;-)
Also, I have some issues using [autoscale]. I start giving values and it outputs only 1. Then, I start to down the input and, then, it shows the real output. Maybe it's about this version (0.43.4 Pd-Extended 64bits).
that's the desired autoscale behaviors. it scann input and scale it acording to it's min and max value.
see help file.
cheers c
PD: translated to Python:
|def lin_eq_conv(x, x0, x1, y0, y1): a = (y0 - y1) / (x0 - x1) b = (a * x0) + y0 return a * x + b|
El 03/09/13 03:32, IOhannes zmölnig escribió:
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 that you should learn how scaling works: it really is only a matter of adding, multiplying, dividing, subtracting - stuff you should heave learned in primary school.
as frank pointed out, this should do for you:
| [/ 127] | [* 500] |
if you find it too tedious to do the maths over and over again, you might want to create an abstraction.
being able to solve trivial problems like this will surely empower you to solve more complex problems :-)
gamsdr IOhannes
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
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] | [/ 60000] | [+ 0.5]
...
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 it. Now, I needed again in Pd... so, I made lin-eq-conv.pd with extrapolation and lin-eq-conv-clip.pd for clipped values. I made it as neat as I could, to see how it works. Using x0-x1 and y0-y1, it uses expr to get "a" and "b" at load. Then, it only computes "aX + b = Y".
I attach the lin-eq-conv.pd, lin-eq-conv-clip.pd and lin-eq-conv-help.pd.
Also, I have some issues using [autoscale]. I start giving values and it outputs only 1. Then, I start to down the input and, then, it shows the real output. Maybe it's about this version (0.43.4 Pd-Extended 64bits).
PD: translated to Python:
|def lin_eq_conv(x, x0, x1, y0, y1): a = (y0 - y1) / (x0 - x1) b = (a * x0) + y0 return a * x + b|
El 03/09/13 03:32, IOhannes zmölnig escribió:
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 that you should learn how scaling works: it really is only a matter of adding, multiplying, dividing, subtracting - stuff you should heave learned in primary school.
as frank pointed out, this should do for you:
| [/ 127] | [* 500] |
if you find it too tedious to do the maths over and over again, you might want to create an abstraction.
being able to solve trivial problems like this will surely empower you to solve more complex problems :-)
gamsdr IOhannes
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
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 -3000 0.5 0.6
[* -1] | [+ 3000] | [/ 60000] | [+ 0.5]
Yes, you can make this math every scale you need... or use an abstract that does the same automatically. In my patch, I use 284 lin-eq-conv objects. I didn't want to think how to make that math... and change everytime (normally, I create a lin-eq-conv and change its values a lot of times).
Best.
...
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 it. Now, I needed again in Pd... so, I made lin-eq-conv.pd with extrapolation and lin-eq-conv-clip.pd for clipped values. I made it as neat as I could, to see how it works. Using x0-x1 and y0-y1, it uses expr to get "a" and "b" at load. Then, it only computes "aX + b = Y".
I attach the lin-eq-conv.pd, lin-eq-conv-clip.pd and lin-eq-conv-help.pd.
Also, I have some issues using [autoscale]. I start giving values and it outputs only 1. Then, I start to down the input and, then, it shows the real output. Maybe it's about this version (0.43.4 Pd-Extended 64bits).
PD: translated to Python:
|def lin_eq_conv(x, x0, x1, y0, y1): a = (y0 - y1) / (x0 - x1) b = (a * x0) + y0 return a * x + b|
El 03/09/13 03:32, IOhannes zmölnig escribió:
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 that you should learn how scaling works: it really is only a matter of adding, multiplying, dividing, subtracting - stuff you should heave learned in primary school.
as frank pointed out, this should do for you:
| [/ 127] | [* 500] |
if you find it too tedious to do the maths over and over again, you might want to create an abstraction.
being able to solve trivial problems like this will surely empower you to solve more complex problems :-)
gamsdr IOhannes
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
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 mariomey@gmail.com
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 -3000 0.5 0.6
[* -1] | [+ 3000] | [/ 60000] | [+ 0.5]
Yes, you can make this math every scale you need... or use an abstract that does the same automatically. In my patch, I use 284 lin-eq-conv objects. I didn't want to think how to make that math... and change everytime (normally, I create a lin-eq-conv and change its values a lot of times).
Best.
...
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 it. Now, I needed again in Pd... so, I made lin-eq-conv.pd with extrapolation and lin-eq-conv-clip.pd for clipped values. I made it as neat as I could, to see how it works. Using x0-x1 and y0-y1, it uses expr to get "a" and "b" at load. Then, it only computes "aX
- b = Y".
I attach the lin-eq-conv.pd, lin-eq-conv-clip.pd and lin-eq-conv-help.pd.
Also, I have some issues using [autoscale]. I start giving values and it outputs only 1. Then, I start to down the input and, then, it shows the real output. Maybe it's about this version (0.43.4 Pd-Extended 64bits).
PD: translated to Python:
|def lin_eq_conv(x, x0, x1, y0, y1): a = (y0 - y1) / (x0 - x1) b = (a * x0) + y0 return a * x + b|
El 03/09/13 03:32, IOhannes zmölnig escribió:
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 that you should learn how scaling works: it really is only a matter of adding, multiplying, dividing, subtracting - stuff you should heave learned in primary school.
as frank pointed out, this should do for you:
| [/ 127] | [* 500] |
if you find it too tedious to do the maths over and over again, you might want to create an abstraction.
being able to solve trivial problems like this will surely empower you to solve more complex problems :-)
gamsdr IOhannes
______________________________**_________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->http://lists.puredata.info/** listinfo/pd-list http://lists.puredata.info/listinfo/pd-list
______________________________**_________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/** listinfo/pd-list http://lists.puredata.info/listinfo/pd-list
______________________________**_________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/** listinfo/pd-list http://lists.puredata.info/listinfo/pd-list
______________________________**_________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/** listinfo/pd-list http://lists.puredata.info/listinfo/pd-list
Couple of tricks for scaling here.
These are from my Pd workshops at Camberwell College of Art in London. The sutoscaler abstraction is especially useful when you don't know what the input will be, but you want to specify the output range. The other patch is a tutorial on how to scale input values with a bit more explanation. Enjoy!
Ed
Ninja Jamm - a revolutionary new music remix app from Ninja Tune and Seeper, for iPhone and iPad http://www.ninjajamm.com/
Gemnotes-0.2: Live music notation for Pure Data, now with dynamics! http://sharktracks.co.uk/
From: Mario Mey mariomey@gmail.com To: pd-list@iem.at Sent: Tuesday, 3 September 2013, 15:15 Subject: Re: [PD] Scaling values in pd
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 -3000 0.5 0.6
[* -1] | [+ 3000] | [/ 60000] | [+ 0.5]
Yes, you can make this math every scale you need... or use an abstract that does the same automatically. In my patch, I use 284 lin-eq-conv objects. I didn't want to think how to make that math... and change everytime (normally, I create a lin-eq-conv and change its values a lot of times).
Best.
...
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 it. Now, I needed again in Pd... so, I made lin-eq-conv.pd with extrapolation and lin-eq-conv-clip.pd for clipped values. I made it as neat as I could, to see how it works. Using x0-x1 and y0-y1, it uses expr to get "a" and "b" at load. Then, it only computes "aX + b = Y".
I attach the lin-eq-conv.pd, lin-eq-conv-clip.pd and lin-eq-conv-help.pd.
Also, I have some issues using [autoscale]. I start giving values and it outputs only 1. Then, I start to down the input and, then, it shows the real output. Maybe it's about this version (0.43.4 Pd-Extended 64bits).
PD: translated to Python:
|def lin_eq_conv(x, x0, x1, y0, y1): a = (y0 - y1) / (x0 - x1) b = (a * x0) + y0 return a * x + b|
El 03/09/13 03:32, IOhannes zmölnig escribió:
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 that you should learn how scaling works: it really is only a matter of adding, multiplying, dividing, subtracting - stuff you should heave learned in primary school.
as frank pointed out, this should do for you:
| [/ 127] | [* 500] |
if you find it too tedious to do the maths over and over again, you might want to create an abstraction.
being able to solve trivial problems like this will surely empower you to solve more complex problems :-)
gamsdr IOhannes
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Whoops! Here's the other one!
Cheers, Ed
----- Forwarded Message -----
From: Ed Kelly morph_2016@yahoo.co.uk To: Mario Mey mariomey@gmail.com; "pd-list@iem.at" pd-list@iem.at Sent: Tuesday, 3 September 2013, 22:58 Subject: Re: [PD] Scaling values in pd
Couple of tricks for scaling here.
These are from my Pd workshops at Camberwell College of Art in London. The sutoscaler abstraction is especially useful when you don't know what the input will be, but you want to specify the output range. The other patch is a tutorial on how to scale input values with a bit more explanation. Enjoy!
Ed
Ninja Jamm - a revolutionary new music remix app from Ninja Tune and Seeper, for iPhone and iPad http://www.ninjajamm.com/
Gemnotes-0.2: Live music notation for Pure Data, now with dynamics! http://sharktracks.co.uk/
From: Mario Mey mariomey@gmail.com To: pd-list@iem.at Sent: Tuesday, 3 September 2013, 15:15 Subject: Re: [PD] Scaling values in pd
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 -3000 0.5 0.6
[* -1] | [+ 3000] | [/ 60000] | [+ 0.5]
Yes, you can make this math every scale you need... or use an abstract that does the same automatically. In my patch, I use 284 lin-eq-conv objects. I didn't want to think how to make that math... and change everytime (normally, I create a lin-eq-conv and change its values a lot of times).
Best.
...
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 it. Now, I needed again in Pd... so, I made lin-eq-conv.pd with extrapolation and lin-eq-conv-clip.pd for clipped values. I made it as neat as I could, to see how it works. Using x0-x1 and y0-y1, it uses expr to get "a" and "b" at load. Then, it only computes "aX + b = Y".
I attach the lin-eq-conv.pd, lin-eq-conv-clip.pd and lin-eq-conv-help.pd.
Also, I have some issues using [autoscale]. I start giving values and it outputs only 1. Then, I start to down the input and, then, it shows the real output. Maybe it's about this version (0.43.4 Pd-Extended 64bits).
PD:
translated to Python:
|def lin_eq_conv(x, x0, x1, y0, y1): a = (y0 - y1) / (x0 - x1) b = (a * x0) + y0 return a * x + b|
El 03/09/13 03:32, IOhannes zmölnig escribió:
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 that you should learn how scaling works: it really is only a matter of adding, multiplying, dividing, subtracting - stuff you should
heave learned in primary school.
as frank pointed out, this should do for you:
| [/ 127] | [* 500] |
if you find it too tedious to do the maths over and over again, you might want to create an abstraction.
being able to solve trivial problems like this will surely empower you to solve more complex problems :-)
gamsdr IOhannes
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
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...
honestly i'm of the firm conviction that you should learn how scaling works: it really is only a matter of adding, multiplying, dividing, subtracting - stuff you should heave learned in primary school.
I'm unclear-- are you insulting the user on purpose, or do you expect others to be equally insulting to you if you happen to ask a question they find trivial?
as frank pointed out, this should do for you:
| [/ 127] | [* 500] |
if you find it too tedious to do the maths over and over again, you might want to create an abstraction.
being able to solve trivial problems like this will surely empower you to solve more complex problems :-)
If you want to help empower people to solve complex problems, start by not insulting them when they ask questions on the list.
Best, Jonathan
OUCH!
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...
honestly i'm of the firm conviction that you should learn how scaling works: it really is only a matter of adding, multiplying, dividing, subtracting - stuff you should heave learned in primary school.
I'm unclear-- are you insulting the user on purpose, or do you expect others to be equally insulting to you if you happen to ask a question they find trivial?
as frank pointed out, this should do for you:
| [/ 127] | [* 500] |
if you find it too tedious to do the maths over and over again, you might want to create an abstraction.
being able to solve trivial problems like this will surely empower you to solve more complex problems :-)
If you want to help empower people to solve complex problems, start by not insulting them when they ask questions on the list.
Best, Jonathan
Another heated moment in Pd-list history.
I think it's wise for us to remember that not every noob coming onto the list for the first time has a personal acquaintance with all of us. We're all sometimes a bit casual in our dealings with each other, and for those of us who have met each other in person we've had a chance to measure the aloofness and eccentricity of the other core members of the community.
Remember it's a community!
Love, and peace xx Ed
PS did I spell netiquette write? :)
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On 09/03/2013 07:00 PM, Ed Kelly wrote:
OUCH!
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...
honestly i'm of the firm conviction that you should learn how scaling works: it really is only a matter of adding, multiplying, dividing, subtracting - stuff you should heave learned in primary school.
I'm unclear-- are you insulting the user on purpose, or do you expect others to be equally insulting to you if you happen to ask a question they find trivial?
as frank pointed out, this should do for you:
| [/ 127] | [* 500] |
if you find it too tedious to do the maths over and over again, you might want to create an abstraction.
being able to solve trivial problems like this will surely empower you to solve more complex problems :-)
If you want to help empower people to solve complex problems, start by not insulting them when they ask questions on the list.
Best, Jonathan
Another heated moment in Pd-list history.
I think it's wise for us to remember that not every noob coming onto the list for the first time has a personal acquaintance with all of us. We're all sometimes a bit casual in our dealings with each other, and for those of us who have met each other in person we've had a chance to measure the aloofness and eccentricity of the other core members of the community.
Remember it's a community!
Yes, that's a much better way to put it than I did. Sorry for the unnecessarily extreme reaction.
Love, and peace xx Ed
PS did I spell netiquette write? :)
Looks good to me.
-Jonathan
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
yeah, im a noob and i really appreciate the knowledge of this beautiful community, keep the good vibes! some really brilliant and humble people here!
2013/9/3 Jonathan Wilkes jancsika@yahoo.com
On 09/03/2013 07:00 PM, Ed Kelly wrote:
OUCH!
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...
honestly i'm of the firm conviction that you should learn how scaling works: it really is only a matter of adding, multiplying, dividing, subtracting - stuff you should heave learned in primary school.
I'm unclear-- are you insulting the user on purpose, or do you expect others to be equally insulting to you if you happen to ask a question they find trivial?
as frank pointed out, this should do for you:
| [/ 127] | [* 500] |
if you find it too tedious to do the maths over and over again, you might want to create an abstraction.
being able to solve trivial problems like this will surely empower you to solve more complex problems :-)
If you want to help empower people to solve complex problems, start by not insulting them when they ask questions on the list.
Best, Jonathan
Another heated moment in Pd-list history.
I think it's wise for us to remember that not every noob coming onto the list for the first time has a personal acquaintance with all of us. We're all sometimes a bit casual in our dealings with each other, and for those of us who have met each other in person we've had a chance to measure the aloofness and eccentricity of the other core members of the community.
Remember it's a community!
Yes, that's a much better way to put it than I did. Sorry for the unnecessarily extreme reaction.
Love, and peace xx Ed
PS did I spell netiquette write? :)
Looks good to me.
-Jonathan
______________________________**_________________
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/** listinfo/pd-list http://lists.puredata.info/listinfo/pd-list
______________________________**_________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/** listinfo/pd-list http://lists.puredata.info/listinfo/pd-list
By the way JM Jones,
Check out the two posts I made with regard to scaling values in Pd. There's some very useful stuff. Also, check out http://puredata.wikispaces.com - it's a site I've made specifically for noobs :)
Ed Ninja Jamm - a revolutionary new music remix app from Ninja Tune and Seeper, for iPhone and iPad http://www.ninjajamm.com/
Gemnotes-0.2: Live music notation for Pure Data, now with dynamics! http://sharktracks.co.uk/
From: Jm Jones juanmjv@gmail.com To: Jonathan Wilkes jancsika@yahoo.com Cc: Ed Kelly morph_2016@yahoo.co.uk; "pd-list@iem.at" pd-list@iem.at Sent: Wednesday, 4 September 2013, 5:34 Subject: Re: [PD] Nettiquette (was Re: Scaling values in pd)
yeah, im a noob and i really appreciate the knowledge of this beautiful community, keep the good vibes! some really brilliant and humble people here!
2013/9/3 Jonathan Wilkes jancsika@yahoo.com
On 09/03/2013 07:00 PM, Ed Kelly wrote:
OUCH!
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...
honestly i'm of the firm conviction that you should learn how scaling
works: it really is only a matter of adding, multiplying, dividing, subtracting - stuff you should heave learned in primary school.
I'm unclear-- are you insulting the user on purpose, or do you
expect others to be equally insulting to you if you happen to ask a question they find trivial?
as frank pointed out, this should do for you:
| [/ 127] | [* 500] |
if you find it too tedious to do the maths over and over again, you might want to create an abstraction.
being able to solve trivial problems like this will surely empower you to solve more complex problems :-)
If you want to help empower people to solve complex problems, start
by not insulting them when they ask questions on the list.
Best, Jonathan
Another heated moment in Pd-list history.
I think it's wise for us to remember that not every noob coming onto the list for the first time has a personal acquaintance with all of us. We're all sometimes a bit casual in our dealings with each other, and for those of us who have met each other in person we've had a chance to measure the aloofness and eccentricity of the other core members of the community.
Remember it's a community!
Yes, that's a much better way to put it than I did. Sorry for the unnecessarily extreme reaction.
Love, and peace xx Ed
PS did I spell netiquette write? :)
Looks good to me.
-Jonathan
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- JM Jones