mnschmit / piano-note-recognition

A tool to recognize melodies played by a piano
GNU General Public License v2.0
5 stars 1 forks source link

Enhance the STFT by onset detection #3

Open mnschmit opened 8 years ago

mnschmit commented 8 years ago

It would be cool to have the windows of the STFT starting exactly at onsets. This would mean having windows of variable length. I do not know, if this is possible easily with librosa.

Alternatively, we could just adapt parameters like (fixed) window length and hop size accordingly to some kind of regular beat tracking. So we could have windows starting in average approximately at the right positions.

mnschmit commented 8 years ago

Cf. [Ellis et al., ICASSP 2008] and [Bello/Pickens, ISMIR 2005] for this approach.