Detecting fundamental pitch and partials

oh it seems it is nested inside another post. I’ll clean it up and might even do an object eventually as discussed with @tedmoore but for now you can check inside this patch:

p