Cool, thanks! I'm currently building a eurorack module where I need to estimate the frequency and phase of a sequence of input gate signals, and an issue I've run into is the delay inherent in the STFT algorithm. This seems like it might work better!

Awesome - The code (Swift or C++) in the Oscillators package is probably the best place to look for implementation details https://github.com/alexandrefrancois/Oscillators

ping me if you have any question