pitchscapes.reader.pitch_class_counts_from_chordified

pitchscapes.reader.pitch_class_counts_from_chordified(chordified)[source]

Take a chordified piece and compute pitch class counts for each time slot. :type chordified: :param chordified: chordified piece :return: tuple of two numpy arrays: one of shape (N, 12) with with pitch-class counts for each time bin, and one of shape (N + 1,) with time boundaries