I am writing a Python script that will detect onsets(a new note), in a song and the relative time in seconds to the onset values. I know how to detect an onset, using the fo