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. :) 
 
Ciao
-- 
 Frank Barknecht                                     _ ______footils.org__
_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list