Hallo!
to make the result looking better i'm searching for a function to average this jittering out (like a function most hardware oscilloscopes have)
[...]
i can avarage over three blocks, but i need more than that maybe a recursive solution could help me too but i'm not sure how to do that cause looping is not allowed in pd
Ah, okay, I think you mean a moving average filter ?
You can do that e.g. with [z~] from zexy, or directly with [maverage~] in iemlib ! It's also explained here: http://www.dspguide.com/ch15.htm
LG Georg