Exemplo n.º 1
0
def VC(voice):
    voice = score["Cello.Music"]
    music = baca.make_skeleton("c2. ~ c4")
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(2), head=voice.name)
    voice.extend(music)
    music = baca.make_repeat_tied_notes(accumulator.get(3, 4))
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(5), head=voice.name)
    voice.extend(music)
    music = baca.make_repeat_tied_notes(accumulator.get(6, 8))
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(9), head=voice.name)
    voice.extend(music)
    music = baca.make_repeat_tied_notes(accumulator.get(10, 15))
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(16, 20), head=voice.name)
    voice.extend(music)
Exemplo n.º 2
0
def V2(voice):
    voice = score["Violin.2.Music"]
    music = library.make_urtext_field_rhythm(accumulator.get(1, 2))
    voice.extend(music)
    music = library.make_clocktick_rhythm(accumulator.get(3))
    voice.extend(music)
    music = baca.make_skeleton(
        r"\times 2/3 { c'8 r4 } \times 2/3 { c'8 r8 }",
    )
    voice.extend(music)
    music = library.make_urtext_field_rhythm(accumulator.get(5, 11))
    voice.extend(music)
    music = library.make_trajectory_rhythm(
        accumulator.get(12, 17),
        "C",
        -2,
        -1,
    )
    voice.extend(music)
    baca.append_anchor_note_function(voice)
Exemplo n.º 3
0
def V2(voice):
    voice = score["Violin.2.Music"]
    music = library.make_desynchronization_rhythm(
        accumulator.get(1, 4),
        4,
        [0],
    )
    voice.extend(music)
    music = library.make_loure_tuplets_material(
        accumulator.get(5),
        1,
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(6), head=voice.name)
    voice.extend(music)
    music = library.make_desynchronization_rhythm(
        accumulator.get(7, 10),
        4,
        [0],
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(11), head=voice.name)
    voice.extend(music)
    music = library.make_desynchronization_rhythm(
        accumulator.get(12, 15),
        4,
        [0],
        rests=True,
    )
    voice.extend(music)
    music = library.make_desynchronization_rhythm(
        accumulator.get(16, 19),
        4,
        [0],
        rests=True,
    )
    voice.extend(music)
    music = library.make_desynchronization_rhythm(
        accumulator.get(20, 23),
        4,
        [0],
        rests=([2], 3),
    )
    voice.extend(music)
    music = library.make_desynchronization_rhythm(
        accumulator.get(24, 27),
        4,
        [0],
    )
    voice.extend(music)
    music = library.make_clocktick_rhythm(accumulator.get(28))
    voice.extend(music)
    music = baca.make_skeleton(
        r"\times 2/3 { c'8 r4 } \times 2/3 { c'8 r8 }", )
    voice.extend(music)
    music = library.make_synchronized_circle_rhythm(
        accumulator.get(30, 33),
        rests=[-1],
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(34, 35), head=voice.name)
    voice.extend(music)
    music = library.make_synchronized_circle_rhythm(
        accumulator.get(36, 55),
        rotation=-1,
    )
    voice.extend(music)
    music = library.make_synchronized_circle_rhythm(
        accumulator.get(56, 59),
        gaps=False,
        rotation=-1,
    )
    voice.extend(music)
    music = library.make_urtext_field_rhythm(accumulator.get(60, 61))
    voice.extend(music)
    music = library.make_synchronized_circle_rhythm(
        accumulator.get(62, 69),
        rests=[-1],
        rotation=0,
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(70), head=voice.name)
    voice.extend(music)
    music = library.make_desynchronization_rhythm(
        accumulator.get(71, 76),
        4,
        [0],
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(77), head=voice.name)
    voice.extend(music)
Exemplo n.º 4
0
    baca.metronome_mark(skip, indicator, manifests)

baca.open_volta(skips[7 - 1], commands.first_measure_number)
baca.close_volta(skips[10 - 1], commands.first_measure_number)

rests = score["Rests"]
for index, string in ((11 - 1, "fermata"), ):
    baca.global_fermata(rests[index], string)

# VC

voice = score["Cello.Music"]

# 1
music = baca.make_skeleton("{"
                           r" \times 2/3 { c32 [ c c c c c c c c c c c ] }"
                           " c1"
                           " }")
voice.extend(music)

# 2
music = baca.make_skeleton(r"{ c\breve }")
voice.extend(music)

# 3
music = baca.make_skeleton(r"{ c4 c c c c c c c c c }")
voice.extend(music)

# 4
music = baca.make_skeleton(r"{ c8 c4. c8 }")
voice.extend(music)
Exemplo n.º 5
0
    baca.metronome_mark(skip, indicator, manifests)

baca.open_volta(skips[2 - 1], commands.first_measure_number)
baca.close_volta(skips[6 - 1], commands.first_measure_number)

rests = score["Rests"]
for index, string in ((14 - 1, "fermata"), ):
    baca.global_fermata(rests[index], string)

# VC

voice = score["Cello.Music"]

# 1
music = baca.make_skeleton("{"
                           r" c4 \times 3/4 { c4 c \times 2/3 { c c c } }"
                           " }")
voice.extend(music)

# 2
music = baca.make_skeleton("{ c1 c4 }")
voice.extend(music)

# 3
music = baca.make_skeleton("{ c4 c8 }")
leaf = abjad.select.leaf(music, -1)
baca.repeat_tie_function(leaf)
voice.extend(music)

# 4
music = baca.make_skeleton("{ c4 c8 }")
Exemplo n.º 6
0
    indicator = commands.metronome_marks.get(item, item)
    baca.metronome_mark(skip, indicator, manifests)

baca.open_volta(skips[5 - 1], commands.first_measure_number)
baca.close_volta(skips[7 - 1], commands.first_measure_number)

rests = score["Rests"]
for index, string in ((10 - 1, "fermata"), ):
    baca.global_fermata(rests[index], string)

# VC

voice = score["Cello.Music"]

# 1
music = baca.make_skeleton(r"{ c8 c4. c8 }")
voice.extend(music)

# 2
music = baca.make_skeleton(r"\times 6/7 { c2. c8 }")
voice.extend(music)

# 3
music = baca.make_skeleton(r"{ c4 \times 6/7 { c8 [ c c c c c c ] }"
                           r" \times 2/3 { c4 c8 } }")
voice.extend(music)

# 4
music = baca.make_skeleton("{"
                           r" \times 6/11 { \times 4/5 { c8 [ c c c c ] }"
                           r" { c2. c8 } }"
Exemplo n.º 7
0
    baca.metronome_mark(skip, indicator, manifests)

rests = score["Rests"]
for index, string in (
    (8 - 1, "fermata"),
    (13 - 1, "fermata"),
    (15 - 1, "fermata"),
):
    baca.global_fermata(rests[index], string)

# VC

voice = score["Cello.Music"]

# 1
music = baca.make_skeleton(r"{ c8 [ c c c \times 4/5 { c c c c c ] } }")
voice.extend(music)

# 2
music = baca.make_skeleton(r"{ c8 [ c c c \times 4/5 { c c c c c ] } }")
voice.extend(music)

# 3
music = baca.make_skeleton(r"{ c8 [ c c c \times 4/5 { c c c c c ] } }")
voice.extend(music)

# 4
music = baca.make_skeleton("{"
                           r" \times 2/3 { c32 [ c c c c c c c c c c c ] }"
                           " c2... r16"
                           " }")
Exemplo n.º 8
0
def V2(voice):
    voice = score["Violin.2.Music"]
    music = baca.make_repeat_tied_notes(accumulator.get(1, 5))
    voice.extend(music)
    music = baca.make_repeat_tied_notes(accumulator.get(6))
    voice.extend(music)
    music = baca.make_repeat_tied_notes(accumulator.get(7, 10))
    voice.extend(music)
    music = library.make_accelerando(
        accumulator.get(11, 12),
        (1, 2),
        (7, 32),
    )
    voice.extend(music)
    music = library.make_desynchronization_rhythm(
        accumulator.get(13, 16),
        4,
        [1, 0, 2],
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(17, 22), head=voice.name)
    voice.extend(music)
    music = library.make_picket_rhythm(
        accumulator.get(23, 28),
        4,
        1,
        rmakers.force_rest(
            lambda _: baca.select.tuplet(_, 0),
        ),
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(29), head=voice.name)
    voice.extend(music)
    music = library.make_accelerando(
        accumulator.get(30, 31),
        (1, 2),
        (8, 32),
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(32), head=voice.name)
    voice.extend(music)
    music = library.make_clocktick_rhythm(accumulator.get(33))
    voice.extend(music)
    music = baca.make_skeleton(
        r"\times 2/3 { c'8 r4 } \times 2/3 { c'8 r8 }",
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(35), head=voice.name)
    voice.extend(music)
    music = baca.make_repeat_tied_notes(accumulator.get(36, 37))
    voice.extend(music)
    music = library.make_accelerando(
        accumulator.get(38, 40),
        (1, 2),
        (8, 32),
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(41), head=voice.name)
    voice.extend(music)
    music = library.make_accelerando(
        accumulator.get(42, 45),
        (1, 2),
        (8, 32),
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(46), head=voice.name)
    voice.extend(music)
    music = library.make_picket_rhythm(
        accumulator.get(47, 51),
        4,
        1,
    )
    voice.extend(music)
    music = library.make_loure_tuplets_material(
        accumulator.get(52),
        1,
    )
    voice.extend(music)
    music = library.make_clocktick_rhythm(accumulator.get(53))
    voice.extend(music)
    music = baca.make_skeleton(
        r"{ \times 2/3 { c'8 r4 } \times 2/3 { c'8 r8 } }",
    )
    voice.extend(music)
    music = library.make_loure_tuplets_material(
        accumulator.get(55),
        1,
    )
    voice.extend(music)
    music = library.make_circle_rhythm(
        accumulator.get(56),
        (1, 4),
    )
    voice.extend(music)
    baca.append_anchor_note_function(voice)
Exemplo n.º 9
0
def VC(voice):
    voice = score["Cello.Music"]
    music = library.make_stroke_rhythm(
        accumulator.get(1, 6),
        3,
        rmakers.force_rest(lambda _: baca.select.tuplets(_, ([1, 2], 3)), ),
    )
    voice.extend(music)
    music = library.make_stroke_rhythm(
        accumulator.get(7, 12),
        -3,
        rmakers.force_rest(lambda _: baca.select.tuplets(_, ([1, 2], 3)), ),
    )
    voice.extend(music)
    music = library.make_stroke_rhythm(
        accumulator.get(13, 18),
        -3,
        rmakers.force_rest(lambda _: baca.select.tuplets(_, ([1], 3)), ),
    )
    voice.extend(music)
    music = library.make_stroke_rhythm(
        accumulator.get(19, 24),
        -3,
        rmakers.force_rest(lambda _: baca.select.tuplets(_, ([1], 3)), ),
    )
    voice.extend(music)
    music = library.make_stroke_rhythm(
        accumulator.get(25, 30),
        -2,
        rmakers.force_rest(lambda _: baca.select.tuplets(_, ([2], 3)), ),
    )
    voice.extend(music)
    music = library.make_stroke_rhythm(
        accumulator.get(31, 36),
        0,
        rmakers.force_rest(lambda _: baca.select.tuplets(_, ([0], 3)), ),
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(37), head=voice.name)
    voice.extend(music)
    music = library.make_cello_cell_rhythm(accumulator.get(38))
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(39), head=voice.name)
    voice.extend(music)
    music = library.make_stroke_rhythm(
        accumulator.get(40, 45),
        0,
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(46, 48))
    voice.extend(music)
    music = baca.make_repeat_tied_notes(accumulator.get(49, 50),
                                        do_not_rewrite_meter=True)
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(51), head=voice.name)
    voice.extend(music)
    music = baca.make_repeat_tied_notes(accumulator.get(52, 53),
                                        do_not_rewrite_meter=True)
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(54, 56), head=voice.name)
    voice.extend(music)
    music = baca.make_skeleton("c2. ~ c4")
    voice.extend(music)
    music = library.make_stroke_rhythm(
        accumulator.get(58, 63),
        0,
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(64), head=voice.name)
    voice.extend(music)
    music = library.make_clouded_pane_rhythm(accumulator.get(65, 92))
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(93), head=voice.name)
    voice.extend(music)
    music = library.make_clouded_pane_rhythm(accumulator.get(94, 99))
    voice.extend(music)
Exemplo n.º 10
0
manifests = commands.manifests()

for index, item in ((1 - 1, "117"),):
    skip = skips[index]
    indicator = commands.metronome_marks.get(item, item)
    baca.metronome_mark(skip, indicator, manifests)

baca.text_spanner_staff_padding_function(skips[:-1], 10)

# VC

voice = score["Cello.Music"]

# 1
music = baca.make_skeleton(
    r"\times 7/9 { c8 [ c8 c8 c8 c8 c8 ]" r" \times 3/4 { c4. c8 } }"
)
voice.extend(music)

# 2
music = baca.make_skeleton(r"\times 6/7 { c2. c8 }")
voice.extend(music)

# 3
music = baca.make_skeleton(
    r"{ c4 \times 6/7 { c8 [ c c c c c c ] }" r" \times 2/3 { c4 c8 } }"
)
voice.extend(music)

# 4
music = baca.make_skeleton(
Exemplo n.º 11
0
baca.close_volta(skips[3 - 1], commands.first_measure_number)

rests = score["Rests"]
for index, string in (
    (7 - 1, "fermata"),
    (12 - 1, "fermata"),
    (18 - 1, "fermata"),
):
    baca.global_fermata(rests[index], string)

# VC

voice = score["Cello.Music"]

# 1
music = baca.make_skeleton(r"{ c4 c \times 3/4 { c c \times 2/3 { c c2 } } }")
voice.extend(music)

# 2
music = baca.make_skeleton("{ c4 c c c }")
voice.extend(music)

# 3
music = baca.make_skeleton("{ c8. c8. }")
voice.extend(music)

# 4
music = baca.make_skeleton(r"{ c4 c c c c c c c }")
voice.extend(music)

# 5
Exemplo n.º 12
0
def V2(voice):
    voice = score["Violin.2.Music"]
    music = library.make_loure_tuplets_material(
        accumulator.get(1),
        1,
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(2), head=voice.name)
    voice.extend(music)
    music = library.make_loure_tuplets_material(
        accumulator.get(3),
        1,
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(4), head=voice.name)
    voice.extend(music)
    music = library.make_urtext_field_rhythm(accumulator.get(5, 6))
    voice.extend(music)
    music = library.make_loure_tuplets_material(
        accumulator.get(7),
        1,
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(8), head=voice.name)
    voice.extend(music)
    music = library.make_loure_tuplets_material(
        accumulator.get(9),
        1,
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(10), head=voice.name)
    voice.extend(music)
    music = library.make_loure_tuplets_material(
        accumulator.get(11),
        1,
    )
    voice.extend(music)
    music = library.make_clocktick_rhythm(accumulator.get(12))
    voice.extend(music)
    music = baca.make_skeleton(
        r"\times 2/3 { c'8 r4 } \times 2/3 { c'8 r8 }",
    )
    voice.extend(music)
    music = library.make_loure_tuplets_material(
        accumulator.get(14),
        1,
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(15), head=voice.name)
    voice.extend(music)
    music = library.make_flight_rhythm(
        accumulator.get(16, 17),
        "C",
        -1,
        start=4,
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(18), head=voice.name)
    voice.extend(music)
    music = library.make_stroke_rhythm(
        accumulator.get(19, 24),
        0,
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(25), head=voice.name)
    voice.extend(music)
Exemplo n.º 13
0
    baca.metronome_mark(skip, indicator, manifests)

rests = score["Rests"]
for index, string in (
    (6 - 1, "fermata"),
    (8 - 1, "fermata"),
    (10 - 1, "fermata"),
):
    baca.global_fermata(rests[index], string)

# VC

voice = score["Cello.Music"]

# 1
music = baca.make_skeleton(r"{ c4. c8 c32 [ c c c ] }")
voice.extend(music)

# 2
music = baca.make_skeleton(r"{ c4. c8 c32 [ c c c ] }")
voice.extend(music)

# (3, 4)
music = baca.make_skeleton(
    "{"
    r" \times 6/7 { c2 \times 4/6 { c16 [ c c c c c ] } c1 }"
    " }")
voice.extend(music)

# 5
music = baca.make_skeleton("{ c4.. c16 }")
Exemplo n.º 14
0
baca.bar_line(score["Skips"][14 - 1], "|.")

rests = score["Rests"]
for index, string in (
    (4 - 1, "fermata"),
    (9 - 1, "fermata"),
    (14 - 1, "fermata"),
):
    baca.global_fermata(rests[index], string)

# VC

voice = score["Cello.Music"]

# 1
music = baca.make_skeleton("{ c1 c1 c4 }")
voice.extend(music)

# 2
music = baca.make_skeleton("{ c1 c1 c4 }")
voice.extend(music)

# 3
music = baca.make_skeleton("{ c2 c8 }")
voice.extend(music)

music = baca.make_mmrests(commands.get(4), head=voice.name)
voice.extend(music)

# 5
music = baca.make_skeleton("{"