Idea: Padsynth Algorithm Renderer

Hey, I have ZynAddSubFX installed here, and just read about the Padsynth alogrithm in that synth, and that it basically generates perfectly loopable samples. So I immediatly thought that this would be a nice thing to implement in Renoise.
I’m not much of a Lua coder, so I’m just throwing the idea in here, maybe someone wants to pick up on it?
Here is the description on the algorithm:

looks like a +1 to me!

Awesome idea! +1