amads.melody.segment_gestalt

amads.melody.segment_gestalt#

amads.melody.segment_gestalt(score) tuple[list[float], list[float]][source]#

Given a score, returns the following: (1) If score is not monophonic, we raise an exception (2) If score is monophonic, we return a 2-tuple of lists for clang boundary starts and segment boundary starts, respectively

Parameters:

score (Score)

Return type:

tuple[list[float], list[float]]