Also maxlib/scale in pd-extended.

On Sep 2, 2013, at 1:22 PM, pd-list-request@iem.at wrote:

From: Frank Barknecht <fbar@footils.org>
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, 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. :) 

--------
Dan Wilcox
@danomatika