tab_cross_test3tmp.pd

Hi there I'm trying to calculate the delay between two channels using cross-correlation. so I created a test signal with delay between LEFT and RIGHT. I have few problems: 1st - the cpu load is quite high, maybe some operations can be performed in a lighter way? 2nd - the right channel doesn't quite update, and I can't figure out the issue.

I'm a noobie and I'd be very grateful for suggestions especially If you have a better way to obtain similar results...

PS you need the tabletool external to use my patch.. maybe that's slowing down my calculations..