BufScale

Buffer scaling

The BufScale object scaling the value of data stored in a buffer and copies it to a new buffer. The interface is relatively lean: all you provide are minima and maxima for the input and output. Optionally you can clip the output, such that after the scaling is performed the numbers never exceed the provided output range. Use the widget below to see how the scaling process processes data.

Minima and Maxima

Data

Input Data: 1  2  3  4  5  
Output Data: 0.00  0.25  0.50  0.75  1.00  
Last modified: Tue Aug 23 14 by James Bradbury
Edit File on GitHub