<commit_before>package abc.player;


public interface Music {
    /**
     * Datatype definition:
     *      Music = Note (duration: double, pitch: Pitch) 
     *              + Chord (duration:double, numNotes: int, notes: Note[])
     *              + Tuplet (numNotes: int, notes Note[])
     *              + Rest (duration: duration)
     *              + Measure (m: Music[])
     *              + Voices(name: String, measures: Concat[]) 
     */

    /**
     * 
     * @return total duration of music
     */
    double duration();
    
    /**
     * Transpose all notes upward or downward in pitch.
     * @param semitonesUp semitones by which to transpose
     * @return for Music m, return m' such that for all notes n in m, the
     *         corresponding note n' in m' has<commit_msg>datatype definition of voice --> measure[]<commit_after>package abc.player;


public interface Music {
    /**
     * Datatype definition:
     *      Music = Note (duration: double, pitch: Pitch) 
     *              + Chord (duration:double, numNotes: int, notes: Note[])
     *              + Tuplet (numNotes: int, notes Note[])
     *              + Rest (duration: duration)
     *              + Measure (m: Music[])
     *              + Voice (name: String, measures: Measure[]) 
     */

    /**
     * 
     * @return total duration of music
     */
    double duration();
    
    /**
     * Transpose all notes upward or downward in pitch.
     * @param semitonesUp semitones by which to transpose
     * @return for Music m, return m' such that for all notes n in m, the
     *         corresponding note n' in m' has
{'fraction_non_alphanumeric': 0.10845588235294118, 'fraction_numerical': 0.0, 'mean_word_length': 1.7914529914529915, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3069439', 'n_tokens_mistral': 461, 'n_tokens_neox': 443, 'n_words': 158}