Forums > MaxMSP

onepole~ transition 0-1 question

February 20, 2012 | 6:05 pm

Hi all,

is there a reason why the transition in onepole~ from 0 to 1 is so different from 1 to 0?

Using that for ramping, it creates a very notable difference between fade in and fade out behavior.

Could anyone, in case, suggest how to compensate?

Thanks for any help and tip.

– Pasted Max Patch, click to expand. –

matteo


February 20, 2012 | 10:27 pm

Because it’s using feedback, the amount of time that it’s going to spend in transition is going to be heavily affected by the value in the right inlet. The lower the value, the more it’s lowpassed, meaning that the feedback is greater.

Though you can technically use onepole~ in this way (to filter what’s essentially a DC signal), I’d suggest using slide~ or rampsmooth~ (or curve~ if your input is control rate). They work much better, and slide~ is almost obscenely efficient considering that you can decouple attack and decay so nicely.


February 21, 2012 | 12:21 am

Thank you very much Peter.

matteo


Viewing 3 posts - 1 through 3 (of 3 total)