[PD] Scaling values in pd
Eran Sachs
eransachs at hotmail.com
Mon Sep 2 21:28:01 CEST 2013
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 at footils.org
To: pd-list at 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 at iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20130902/44c36cca/attachment.htm>
More information about the Pd-list
mailing list