Here is my problem: I have a .wav file of a musical performance with three instruments: a clarinet, a bass and drums. My goal is to detect the note speed played by the clarinet player (so I want the number of notes played every five seconds: ex: between 0s and 5s = 4 notes played; between 5s and 10s = 2 notes played, etc...).
To seperate I used spleeter by Deezer and to calculate the note density, I used the librosa function librosa.onset.onset_detect() however I am note quite satisfied with the result.
Does anybody have a better idea to solve my problem?
Thank you in advance!