This python code will detect the musical note present in a given instrument's audio file, Using Fast Fourier Transformation method
Why do you think that https://github.com/chi0tzp/PyVideoFramesExtractor is a good alternative to Music-notes-detection