Iterator-Safe Smooth Patch

toneburst's picture

Anyone have a code-snippet for a JavaScript version of the Smooth patch? I only really need to implement the Linear smoothing type, and only initially on falling values (though the same algorithm should work equally with rising values, I imagine).

a|x

cybero's picture
Re: Iterator-Safe Smooth Patch

Isn't that right under your nose in the music visualizer template ?

franz's picture
Re: Iterator-Safe Smooth Patch

isn't the smooth patch iterator-enabled since 10.6 ? That's what i thought, at least.

toneburst's picture
Re: Iterator-Safe Smooth Patch

Oh, probably. Never looked at that one, to me shame. Thanks for the tip, mate.

a|x

toneburst's picture
Re: Iterator-Safe Smooth Patch

Supposed to be. Not in Leopard though, and I need a particular set of compositions to be downward-compatible, unfortunately.

a|x