Exemple #1
0
def make_score(tuplet_duration, row_count, column_count):
    score = Score()
    rows_of_nested_tuplets = make_rows_of_nested_tuplets(
        tuplet_duration, row_count, column_count)
    for row_of_nested_tuplets in rows_of_nested_tuplets:
        staff = stafftools.RhythmicStaff(row_of_nested_tuplets)
        time_signature = contexttools.TimeSignatureMark((1, 4))
        attach(time_signature, staff)
        score.append(staff)
    return score
Exemple #2
0
def make_score(tuplet_duration, row_count, column_count):
    r'''Makes score.
    '''

    score = Score()
    rows_of_nested_tuplets = make_rows_of_nested_tuplets(
        tuplet_duration, row_count, column_count)
    for row_of_nested_tuplets in rows_of_nested_tuplets:
        staff = scoretools.RhythmicStaff(row_of_nested_tuplets)
        time_signature = indicatortools.TimeSignature((1, 4))
        attach(time_signature, staff)
        score.append(staff)
    return score
Exemple #3
0
def make_score(tuplet_duration, row_count, column_count):
    r'''Makes score.
    '''

    score = Score()
    rows_of_nested_tuplets = make_rows_of_nested_tuplets(
        tuplet_duration, row_count, column_count)
    for row_of_nested_tuplets in rows_of_nested_tuplets:
        staff = Staff(row_of_nested_tuplets)
        staff.context_name = 'RhythmicStaff'
        time_signature = indicatortools.TimeSignature((1, 4))
        attach(time_signature, staff)
        score.append(staff)
    return score