logoalt Hacker News

fxtentaclelast Sunday at 11:03 PM1 replyview on HN

Note detection works ok if you ignore the octave. Otherwise, you need to know the relative strength of overtones, which is instrument dependent. Some years ago I built a piano training app with FFT+Kalman filter.


Replies

daxfohllast Sunday at 11:42 PM

Cool, I'll give it a shot. So far I've just been blindly feeding into the AI and crossing my fingers. I'll try displaying the spectrogram graphically, and I imagine that'll help figure out what the next step needs to be.

I was thinking this would be a good project to learn AI stuff, but it seems like most of the work is better off being fully deterministic. Which, is maybe the best AI lesson there is. (Though I do still think there's opportunity to use AI in the translation of teacher's notes (e.g. "pay attention to the rest in measure 19") to a deterministic ruleset to monitor when practicing).