[LAD] Transcribing piano rolls with Python