Python music recognizer