[PD] newbie ? - quantize controller data

IOhannes m zmoelnig zmoelnig at iem.at
Tue Aug 3 17:58:28 CEST 2004


Mark Casey wrote:
> Hello,
>
> The first attempt used moses to split the range into 4 zones but this bangs
> the transposer every time the controller changes. What I need is a single
> bang for the entire time the controller stays in a range - only sending a
> new bang when the controller passes a upper or lower threshold.
> 
1st quantize you data to only 4 values, e.g. with integer-rounding 
(probably easiest if your ranges are all of the same size) or with a 
combination of [>] & [<].
then use [change] to detect whether you have entered another range.


mfg.a.sdr
IOhannes




More information about the Pd-list mailing list