Hi,
I'm using an autoscale for incoming data from sensors. I want to scale them from 0 to 1. After the autoscale, i can view the data on a timeroll. The value of the data goes very low and becomes 'stuck' although the values from the sensors are coming in and the interaction with the sensors doesn't fix it. I have to retype the values into the autoscale to view the data flow in the timeroll. The data viewed stays like the photo below until i physically re-enter the max value.
-
Problem with autoscale object
-
There's probably spikes in the data thats stretching the range of [autoscale]. You could try using [median_n] to toss out the spikes, or use [maxlib/scale] to set the ranges by hand instead of having them adapt to the signal like [autoscale] does.
-
You can also just [clip] the outliers that are too ridiculous outside your range
puredata punx http://www.cyberpunki.biz