Hi there,
Recently I started to tinker with gen. Here is my implementation of zerox~ object. My version is not bound to MSP vector size and allows to use arbitrary window size, so it is easier to use it for primitive pitch-detection. .gendsp and example patch attached.
Best,
Eugene
P.S. Forum doesn't allow to attach
.gendsp files, so here is the link to the file:
zerox.gendsp