I'm analysing the frequencies of something I'm recording (whistling), which is resulting like this (yes, it's super mario bros' beginning song:
I'd like to filter it to make it remain like:
in order to convert them as MIDI notes after the processing.
How could I do it ?
I've tried with a simple low-pass filter but it doesn't work very well.
I'm already rounding it when passing to MIDI:
and sometimes it goes on + - 1 note.