[PD] Scaling values in pd

Frank Barknecht fbar at footils.org
Mon Sep 2 18:43:24 CEST 2013


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__
-------------- next part --------------
A non-text attachment was scrubbed...
Name: m_scale.pd
Type: application/puredata
Size: 4635 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20130902/a0a28308/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: m_scale-help.pd
Type: application/puredata
Size: 3240 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20130902/a0a28308/attachment-0001.bin>


More information about the Pd-list mailing list