Exemplo n.º 1
0
def vc(m):
    accumulator(
        ("vc", (1, 6)),
        baca.circle_bow_spanner(
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            qualifier="granulation",
        ),
        baca.flat_glissando("Ab3"),
        baca.hairpin(
            '"mf" -- !',
            abjad.Tweak(r"- \tweak to-barline ##t"),
            selector=lambda _: baca.select.rleaves(_),
        ),
    )
    accumulator(
        ("vc", 7),
        baca.flat_glissando("Db2"),
        baca.hairpin(
            "p -- !",
            abjad.Tweak(r"- \tweak to-barline ##t"),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.half_clt_spanner(
            abjad.Tweak(rf"- \tweak staff-padding {3 + 6.5}"),
        ),
        baca.tuplet_bracket_down(),
        library.bcps(
            -4,
            clt=True,
            staff_padding=3,
        ),
    )
Exemplo n.º 2
0
def v1(m):
    accumulator(
        "v1",
        baca.dls_staff_padding(7),
    )
    accumulator(
        ("v1", (1, 8)),
        baca.half_clt_spanner(
            abjad.Tweak(rf"- \tweak staff-padding {8 + 6}"), ),
        baca.tuplet_bracket_down(),
        library.bcps(
            -8,
            clt=True,
            staff_padding=8,
        ),
        baca.flat_glissando(
            "A6",
            left_broken=True,
        ),
    )
    accumulator(
        ("v1", (5, 8)),
        baca.hairpin(
            "ppp >o niente",
            selector=lambda _: baca.select.rleaves(_),
        ),
    )
    accumulator(
        (["v1", "v1r"], 9),
        baca.tacet(selector=lambda _: baca.select.mmrests(_)),
    )
    accumulator(
        ("v1", (10, -1)),
        baca.tacet(selector=lambda _: baca.select.mmrests(_)),
    )
Exemplo n.º 3
0
def va(m):
    accumulator(
        ("va", (1, 2)),
        baca.half_clt_spanner(
            abjad.Tweak(rf"- \tweak staff-padding {4 + 6.5}"), ),
        library.bcps(
            -2,
            clt=True,
            staff_padding=4,
        ),
    )
    accumulator(
        ("va", (1, 2)),
        library.multistage_leaf_glissando(
            [("D4", 6), ("A3", None)],
            "B3",
        ),
    )
    accumulator(
        ("va", (3, 4)),
        baca.circle_bow_spanner(
            abjad.Tweak(r"- \tweak staff-padding 8"),
            qualifier="wide-poss",
        ),
        baca.text_spanner(
            r"\baca-diamond-markup -> \baca-black-diamond-markup => ord. ||",
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            autodetect_right_padding=True,
            bookend=False,
            pieces=library.rleaves_partition_by_ratio((1, 1, 1)),
        ),
        baca.flat_glissando("Bqf3"),
    )
    accumulator(
        ("va", (5, 11)),
        baca.dynamic(
            '"mf"',
            abjad.Tweak(r"- \tweak X-extent #'(0 . 0)"),
            abjad.Tweak(r"- \tweak extra-offset #'(-3 . 0)"),
        ),
        library.style_tailpiece_material(
            abjad.Tweak(r"- \tweak bound-details.right.Y 0"),
            abjad.Tweak(r"- \tweak bound-details.right.padding 1.5"),
        ),
    )
    accumulator(
        ("va", [(12, 13), (16, 17)]),
        baca.half_clt_spanner(
            abjad.Tweak(rf"- \tweak staff-padding {4 + 6.5}"), ),
        library.bcps(
            -3,
            clt=True,
            staff_padding=4,
        ),
    )
    accumulator(
        ("va", (12, 17)),
        baca.hairpin(
            "p < mp",
            selector=lambda _: baca.select.rleaves(_),
        ),
        library.multistage_leaf_glissando(
            [("B3", 2), ("A3", 4), ("C4", 4), ("Ab3", 7), ("B3", None)],
            "G#3",
            rleak_final_stage=True,
        ),
    )
    accumulator(
        ("va", (14, 15)),
        baca.stem_tremolo(selector=lambda _: baca.select.pleaves(_), ),
    )
    accumulator(
        ("va", (18, 20)),
        baca.accent(selector=lambda _: baca.select.pheads(_), ),
        baca.breathe(),
        baca.markup(
            r"\baca-five-e",
            abjad.Tweak(r"- \tweak padding 1.5"),
        ),
        baca.stem_tremolo(selector=lambda _: baca.select.pleaves(_), ),
        baca.flat_glissando("G#3"),
    )
    accumulator(
        ("va", 21),
        baca.circle_bow_spanner(
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            qualifier="tight",
        ),
        baca.dynamic_text_self_alignment_x(
            -0.75,
            selector=lambda _: baca.select.pleaf(_, 0),
        ),
        baca.hairpin(
            '"ff" -- !',
            abjad.Tweak(r"- \tweak to-barline ##t"),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.markup(
            r"\baca-seven-d-flat",
            abjad.Tweak(r"- \tweak padding 1.5"),
        ),
        baca.flat_glissando("Bqf3"),
    )
    accumulator(
        (["va", "var"], 22),
        baca.tacet(selector=lambda _: baca.select.mmrests(_)),
    )
    accumulator(
        ("va", 23),
        baca.breathe(),
        baca.dynamic_text_self_alignment_x(
            -0.75,
            selector=lambda _: baca.select.pleaf(_, 0),
        ),
        baca.hairpin('"ff" > mf'),
        baca.circle_bow_spanner(
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            qualifier="wide",
        ),
        baca.flat_glissando("Bqf3"),
    )
    accumulator(
        ("va", (24, 31)),
        baca.accent(selector=lambda _: baca.select.pheads(_), ),
        baca.breathe(),
        baca.dynamic("p"),
        baca.markup(
            r"\baca-five-e-flat",
            abjad.Tweak(r"- \tweak padding 1.5"),
        ),
        baca.stem_tremolo(selector=lambda _: baca.select.pleaves(_), ),
        baca.scp_spanner(
            "T -> P ->",
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            autodetect_right_padding=False,
            pieces=lambda _: baca.select.plts(_)[:-1],
        ),
        baca.flat_glissando("G3"),
    )
    accumulator(
        ("va", (32, 37)),
        baca.accent(selector=lambda _: baca.select.pheads(_), ),
        baca.stem_tremolo(selector=lambda _: baca.select.pleaves(_), ),
        baca.text_spanner(
            "trem. ord. -> larg. =| trem. larg. -> larghiss. =|"
            " trem. larghiss. -> no trem.",
            abjad.Tweak(r"- \tweak bound-details.right.padding 1.5"),
            abjad.Tweak(r"- \tweak staff-padding 8"),
            bookend=False,
            final_piece_spanner=False,
            lilypond_id=1,
            pieces=lambda _: baca.select.cmgroups(_, [1, 1, 2, 1, 1, 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.scp_spanner(
            "T -> P ->",
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            autodetect_right_padding=False,
            pieces=lambda _: baca.select.plts(_)[:-1],
        ),
    )
    accumulator(
        ("va", (32, 53)),
        baca.markup(
            r"\baca-five-d-flat",
            abjad.Tweak(r"- \tweak padding 1.5"),
        ),
        baca.flat_glissando("F3"),
    )
    accumulator(
        ("va", (38, 42)),
        baca.accent(selector=lambda _: baca.select.pheads(_), ),
        baca.text_spanner(
            r"\baca-null-markup || \baca-damp-markup =|",
            abjad.Tweak(r"- \tweak staff-padding 8"),
            autodetect_right_padding=True,
            bookend=False,
            final_piece_spanner=False,
            lilypond_id=1,
            pieces=lambda _: baca.select.plts(_)[:-1],
        ),
        baca.scp_spanner(
            "T1 -> T3 -> T2 -> T3 ->",
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            autodetect_right_padding=False,
            pieces=lambda _: baca.select.plts(_)[:-1],
        ),
    )
    accumulator(
        ("va", (43, 45)),
        baca.hairpin(
            '"mf" -- !',
            abjad.Tweak(r"- \tweak to-barline ##t"),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.half_clt_spanner(
            abjad.Tweak(rf"- \tweak staff-padding {4 + 6.5}"), ),
        library.bcps(
            -2,
            clt=True,
            staff_padding=4,
        ),
    )
    accumulator(
        ("va", (46, 53)),
        baca.damp_spanner(
            abjad.Tweak(r"- \tweak staff-padding 8"),
            # TODO: allow spanner to extend to phantom measure
            selector=lambda _: baca.select.leaves(_),
        ),
        baca.hairpin("p >o niente"),
        baca.scp_spanner(
            "T poss. =|",
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            # TODO: allow spanner to extend to phantom measure
            selector=lambda _: baca.select.leaves(_),
        ),
    )
Exemplo n.º 4
0
def v2(m):
    accumulator(
        ("v2", (1, 2)),
        baca.half_clt_spanner(
            abjad.Tweak(rf"- \tweak staff-padding {4 + 6.5}"), ),
        library.bcps(
            -1,
            clt=True,
            staff_padding=4,
        ),
    )
    accumulator(
        ("v2", (1, 2)),
        library.multistage_leaf_glissando(
            [("C#5", 4), ("E5", 2), ("D5", None)],
            "Eb5",
        ),
    )
    accumulator(
        ("v2", (3, 4)),
        baca.circle_bow_spanner(
            abjad.Tweak(r"- \tweak staff-padding 8"),
            qualifier="wide-poss",
        ),
        baca.text_spanner(
            r"\baca-diamond-markup -> \baca-black-diamond-markup => ord. ||",
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            autodetect_right_padding=True,
            bookend=False,
            pieces=library.rleaves_partition_by_ratio((1, 1, 1)),
        ),
        baca.flat_glissando("Bb4"),
    )
    accumulator(
        ("v2", (5, 8)),
        library.bcps(
            -1,
            clt=True,
            staff_padding=4,
        ),
    )
    accumulator(
        ("v2", [(5, 9), 13, (15, 16)]),
        baca.half_clt_spanner(
            abjad.Tweak(rf"- \tweak staff-padding {4 + 6.5}"), ),
    )
    accumulator(
        ("v2", (5, 16)),
        library.multistage_leaf_glissando(
            [
                ("Eb5", 4),
                ("F5", 9),
                ("B4", 5),
                ("Db5", 5),
                ("C5", 5),
                ("E5", 5),
                ("D5", None),
            ],
            "F#5",
            rleak_final_stage=True,
        ),
    )
    accumulator(
        ("v2", [9, 13, (15, 16)]),
        library.bcps(
            -3,
            clt=True,
            staff_padding=4,
        ),
    )
    accumulator(
        ("v2", [10, (11, 12), 14, 17]),
        baca.stem_tremolo(selector=lambda _: baca.select.pleaves(_), ),
    )
    accumulator(
        ("v2", (17, 20)),
        baca.markup(
            r"\baca-nine-e",
            abjad.Tweak(r"- \tweak padding 1.5"),
        ),
        baca.flat_glissando("F#5"),
    )
    accumulator(
        ("v2", (18, 20)),
        baca.accent(selector=lambda _: baca.select.pheads(_), ),
        baca.breathe(),
        baca.stem_tremolo(selector=lambda _: baca.select.pleaves(_), ),
    )
    accumulator(
        ("v2", 21),
        baca.circle_bow_spanner(
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            qualifier="tight",
        ),
        baca.dynamic_text_self_alignment_x(
            -0.75,
            selector=lambda _: baca.select.pleaf(_, 0),
        ),
        baca.hairpin(
            '"ff" -- !',
            abjad.Tweak(r"- \tweak to-barline ##t"),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.markup(
            r"\baca-nine-d-flat",
            abjad.Tweak(r"- \tweak padding 1.5"),
        ),
        baca.flat_glissando("Eb4"),
    )
    accumulator(
        (["v2", "v2r"], 22),
        baca.tacet(selector=lambda _: baca.select.mmrests(_)),
    )
    accumulator(
        ("v2", 23),
        baca.breathe(),
        baca.dynamic_text_self_alignment_x(
            -0.75,
            selector=lambda _: baca.select.pleaf(_, 0),
        ),
        baca.hairpin('"ff" > mf'),
        baca.circle_bow_spanner(
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            qualifier="wide",
        ),
        baca.flat_glissando("Eb4"),
    )
    accumulator(
        ("v2", (24, 31)),
        baca.accent(selector=lambda _: baca.select.pheads(_), ),
        baca.breathe(),
        baca.dynamic("p"),
        baca.markup(
            r"\baca-nine-e-flat",
            abjad.Tweak(r"- \tweak padding 0.5"),
        ),
        baca.stem_tremolo(selector=lambda _: baca.select.pleaves(_), ),
        baca.scp_spanner(
            "T -> P ->",
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            autodetect_right_padding=False,
            pieces=lambda _: baca.select.plts(_)[:-1],
        ),
        baca.flat_glissando("F5"),
    )
    accumulator(
        ("v2", (32, 37)),
        baca.accent(selector=lambda _: baca.select.pheads(_), ),
        baca.stem_tremolo(selector=lambda _: baca.select.pleaves(_), ),
        baca.text_spanner(
            "trem. ord. -> larg. =| trem. larg. -> larghiss. =|"
            " trem. larghiss. -> no trem.",
            abjad.Tweak(r"- \tweak bound-details.right.padding 1.5"),
            abjad.Tweak(r"- \tweak staff-padding 8"),
            bookend=False,
            final_piece_spanner=False,
            lilypond_id=1,
            pieces=lambda _: baca.select.cmgroups(_, [1, 2, 1, 1, 1, 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.scp_spanner(
            "T -> P ->",
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            autodetect_right_padding=False,
            pieces=lambda _: baca.select.plts(_)[:-1],
        ),
    )
    accumulator(
        ("v2", (32, 53)),
        baca.markup(
            r"\baca-nine-d-flat",
            abjad.Tweak(r"- \tweak padding 0.5"),
        ),
        baca.flat_glissando("Eb5"),
    )
    accumulator(
        ("v2", (38, 45)),
        baca.accent(selector=lambda _: baca.select.pheads(_), ),
        baca.hairpin(
            "p > pp",
            measures=(41, 42),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.hairpin(
            "pp <",
            bookend=False,
            measures=45,
        ),
        baca.text_spanner(
            r"\baca-null-markup || \baca-damp-markup =| \baca-null-markup ||",
            abjad.Tweak(r"- \tweak staff-padding 8"),
            bookend=False,
            final_piece_spanner=False,
            lilypond_id=1,
            pieces=lambda _: baca.select.plts(_),
        ),
        baca.scp_spanner(
            "T1 -> T3 -> T2 -> T3 ->",
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            autodetect_right_padding=False,
            pieces=lambda _: baca.select.plts(_)[:-1],
        ),
    )
    accumulator(
        ("v2", (46, 53)),
        baca.hairpin("p >o niente"),
        baca.damp_spanner(
            abjad.Tweak(r"- \tweak staff-padding 8"),
            # TODO: allow spanner to extend to phantom measure
            selector=lambda _: baca.select.leaves(_),
        ),
        baca.scp_spanner(
            "T poss. =|",
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            # TODO: allow spanner to extend to phantom measure
            selector=lambda _: baca.select.leaves(_),
        ),
    )
Exemplo n.º 5
0
def vc(m):
    accumulator(
        ("vc", (1, 2)),
        baca.half_clt_spanner(
            abjad.Tweak(rf"- \tweak staff-padding {4 + 6.5}"), ),
        library.bcps(
            -3,
            clt=True,
            staff_padding=4,
        ),
    )
    accumulator(
        ("vc", (1, 2)),
        library.multistage_leaf_glissando(
            [("D4", 4), ("Ab3", 2), ("B3", None)],
            "F3",
        ),
    )
    accumulator(
        ("vc", (3, 4)),
        baca.circle_bow_spanner(
            abjad.Tweak(r"- \tweak staff-padding 8"),
            qualifier="wide",
        ),
        baca.text_spanner(
            r"\baca-diamond-markup -> \baca-black-diamond-markup => ord. ||",
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            autodetect_right_padding=True,
            bookend=False,
            pieces=library.rleaves_partition_by_ratio((1, 1, 1)),
        ),
        baca.flat_glissando("Bb2"),
    )
    accumulator(
        ("vc", (5, 8)),
        library.bcps(
            -3,
            clt=True,
            staff_padding=4,
        ),
    )
    accumulator(
        ("vc", [(5, 10), (13, 14)]),
        baca.half_clt_spanner(
            abjad.Tweak(rf"- \tweak staff-padding {4 + 6.5}"), ),
    )
    accumulator(
        ("vc", (5, 14)),
        library.multistage_leaf_glissando(
            [
                ("F3", 4),
                ("C3", 5),
                ("Db3", 5),
                ("A2", 5),
                ("Bb2", 5),
                ("F2", 5),
                ("Gb2", None),
            ],
            "E2",
            rleak_final_stage=True,
        ),
    )
    accumulator(
        ("vc", [(9, 10), (13, 14)]),
        library.bcps(
            -3,
            clt=True,
            staff_padding=4,
        ),
    )
    accumulator(
        ("vc", [(11, 12), (15, 17)]),
        baca.stem_tremolo(selector=lambda _: baca.select.pleaves(_), ),
    )
    accumulator(
        ("vc", (15, 20)),
        baca.flat_glissando("E2"),
    )
    accumulator(
        ("vc", (18, 20)),
        baca.accent(selector=lambda _: baca.select.pheads(_), ),
        baca.breathe(),
        baca.stem_tremolo(selector=lambda _: baca.select.pleaves(_), ),
    )
    accumulator(
        ("vc", (21, 23)),
        baca.breathe(),
        baca.clef("treble"),
        baca.clef(
            "bass",
            selector=lambda _: baca.select.rleaf(_, -1),
        ),
        baca.hairpin(
            'niente o< "f" -- ! >o niente',
            pieces=lambda _: baca.select.cmgroups(_, ),
        ),
        baca.half_clt_spanner(
            abjad.Tweak(rf"- \tweak staff-padding {4.5 + 6.5}"), ),
        baca.markup(
            r"\baca-string-iii-markup",
            abjad.Tweak(r"- \tweak padding 1.5"),
            direction=abjad.DOWN,
        ),
        baca.note_head_style_harmonic(
            selector=lambda _: baca.select.pleaves(_)),
        library.cello_cell_bcps(staff_padding=4.5, ),
        baca.flat_glissando("A5"),
    )
    accumulator(
        ("vc", (24, 31)),
        baca.accent(selector=lambda _: baca.select.pheads(_), ),
        baca.breathe(),
        baca.dynamic("p"),
        baca.stem_tremolo(selector=lambda _: baca.select.pleaves(_), ),
        baca.scp_spanner(
            "T -> P ->",
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            autodetect_right_padding=False,
            pieces=lambda _: baca.select.plts(_)[:-1],
        ),
        baca.flat_glissando("Eb2"),
    )
    accumulator(
        ("vc", (32, 37)),
        baca.accent(selector=lambda _: baca.select.pheads(_), ),
        baca.scp_spanner(
            "T -> P ->",
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            autodetect_right_padding=False,
            pieces=lambda _: baca.select.plts(_)[:-1],
        ),
        baca.stem_tremolo(selector=lambda _: baca.select.pleaves(_), ),
        baca.text_spanner(
            "trem. ord. -> larg. =| trem. larg. -> larghiss. =|"
            " trem. larghiss. -> no trem.",
            abjad.Tweak(r"- \tweak bound-details.right.padding 1.5"),
            abjad.Tweak(r"- \tweak staff-padding 8"),
            bookend=False,
            final_piece_spanner=False,
            lilypond_id=1,
            pieces=lambda _: baca.select.cmgroups(_, [1, 1, 1, 2, 1, 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
    )
    accumulator(
        ("vc", (32, 54)),
        library.clouded_pane_spanner(
            "clouded pane -|",
            13,
            # TODO: allow spanner to extend to phantom measure
            selector=lambda _: baca.select.leaves(_),
        ),
        baca.flat_glissando(
            "Db2",
            right_broken=True,
        ),
    )
    accumulator(
        ("vc", (38, 54)),
        baca.new(
            baca.dots_transparent(),
            baca.stem_transparent(),
            selector=lambda _: baca.select.leaves(_)[:-1],
        ),
        baca.scp_spanner(
            "T -> T poss. =|",
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            pieces=lambda _: baca.select.cmgroups(_, [8, 8]),
        ),
    )
Exemplo n.º 6
0
def v2(m):
    accumulator(
        ("v2", (1, 2)),
        baca.markup(
            r"\baca-eleven-f-markup",
            abjad.Tweak(r"- \tweak padding 1.5"),
        ),
        baca.flat_glissando("Bqf3"),
    )
    accumulator(
        ("v2", (6, 23)),
        baca.damp_spanner(
            abjad.Tweak(r"- \tweak staff-padding 8"),
            map=lambda _: abjad.select.get(
                abjad.select.partition_by_counts(
                    baca.plts(_), [4, 1, 3, 1, 2, 1, 99], cyclic=True),
                [0],
                2,
            ),
        ),
        baca.new(
            baca.accent(),
            baca.dynamic("sfp"),
            baca.stem_tremolo(selector=lambda _: baca.select.pleaves(_)),
            map=lambda _: abjad.select.get(baca.select.plts(_), [0], 2),
        ),
        baca.suite(
            baca.hairpin(
                "pp --",
                bookend=False,
            ),
            baca.xfb_spanner(abjad.Tweak(r"- \tweak staff-padding 5.5"), ),
            baca.flat_glissando("Bqf3"),
            map=lambda _: abjad.select.get(baca.select.plts(_), [1], 2),
        ),
        baca.pitch("Bqf3", allow_repitch=True),
    )
    accumulator(
        ("v2", (24, 31)),
        library.multistage_leaf_glissando(
            [("Bqf3", 3), ("Eb4", 6), ("Db4", None)],
            "G4",
            rleak_final_stage=True,
        ),
    )
    accumulator(
        ("v2", (32, 33)),
        baca.flat_glissando("G4"),
    )
    accumulator(
        ("v2", (35, 40)),
        baca.hairpin(
            'p < "mf"',
            bookend=False,
            pieces=lambda _: baca.select.mgroups(_, [4, 2]),
        ),
        baca.suite(
            library.bcps(
                -7,
                clt=True,
                staff_padding=4.5,
            ),
            baca.untie(lambda _: baca.select.leaves(_)),
        ),
        baca.tuplet_bracket_down(),
        library.multistage_leaf_glissando(
            [("G4", 7), ("G4", 12), ("A4", None)],
            "A4",
        ),
    )
    accumulator(
        ("v2", (42, 53)),
        baca.breathe(),
        baca.circle_bow_spanner(
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            qualifier="wide",
        ),
        baca.damp_spanner(abjad.Tweak(r"- \tweak staff-padding 8"), ),
        baca.hairpin(
            "p -- !",
            abjad.Tweak(r"- \tweak to-barline ##t"),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.flat_glissando("Gb4"),
    )
    accumulator(
        ("v2", (54, 61)),
        baca.breathe(),
        baca.hairpin(
            'fff -- "fff" >o !',
            pieces=lambda _: baca.select.mgroups(_, [4, 4 + 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.half_clt_spanner(
            abjad.Tweak(r"- \tweak staff-padding 10"),
            measures=(58, 61),
        ),
        baca.tuplet_bracket_down(),
        library.bcps(
            -7,
            clt=True,
            staff_padding=2.5,
        ),
        baca.flat_glissando("Dqf5"),
    )
    accumulator(
        ("v2", (63, 77)),
        baca.hairpin(
            '"ff" > p',
            measures=(63, 70),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.half_clt_spanner(
            abjad.Tweak(rf"- \tweak staff-padding {4.5 + 6.5}"), ),
        baca.pitches("D5 F5 Dqs5 E5 Fqs5 G#5 A5 F5 Aqs5"),
        baca.tuplet_bracket_down(),
        baca.tuplet_bracket_staff_padding(1),
        library.bcps(
            0,
            clt=True,
            selector=measure_starts_plus_rest,
            staff_padding=4.5,
        ),
    )
    accumulator(
        ("v2", (78, 80)),
        baca.hairpin(
            "o< mf -- !",
            abjad.Tweak(r"- \tweak to-barline ##t"),
            pieces=lambda _: baca.select.mgroups(_, [2, 1 + 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.scp_spanner(
            "T -> poco P =|",
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            bookend=False,
            pieces=lambda _: baca.select.mgroups(_, [2, 1 + 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.stem_tremolo(selector=lambda _: baca.select.pleaves(_), ),
        library.flight_spanner("flight -|", 8),
    )
    accumulator(
        ("v2", [(78, 80), (82, 85), (87, 88), (109, 110), (112, 119)]),
        baca.flat_glissando("<E5 Aqs5>"),
    )
    accumulator(
        ("v2", (89, 100)),
        baca.breathe(),
        baca.circle_bow_spanner(
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            qualifier="wide",
        ),
        baca.damp_spanner(
            abjad.Tweak(r"- \tweak staff-padding 8"),
            measures=(87, 100),
        ),
        baca.dynamic_text_self_alignment_x(
            -0.75,
            selector=lambda _: baca.select.pleaf(_, 0),
        ),
        baca.hairpin(
            "p-ancora -- !",
            abjad.Tweak(r"- \tweak to-barline ##t"),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.flat_glissando("Gb4"),
    )
    accumulator(
        ("v2", (101, 108)),
        baca.breathe(),
        baca.hairpin(
            'fff -- "fff" >o !',
            pieces=lambda _: baca.select.mgroups(_, [4, 4 + 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.half_clt_spanner(
            abjad.Tweak(r"- \tweak staff-padding 10"),
            measures=(105, 108),
        ),
        baca.tuplet_bracket_down(),
        library.bcps(
            -7,
            clt=True,
            staff_padding=2.5,
        ),
        baca.flat_glissando("Dqf5"),
    )
Exemplo n.º 7
0
def va_vc(cache):
    accumulator(
        (["va", "vc"], (42, 49)),
        baca.breathe(),
        baca.circle_bow_spanner(
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            qualifier="wide",
        ),
        baca.damp_spanner(abjad.Tweak(r"- \tweak staff-padding 8"), ),
        baca.hairpin(
            "p -- !",
            abjad.Tweak(r"- \tweak to-barline ##t"),
            selector=lambda _: baca.select.rleaves(_),
        ),
    )
    accumulator(
        ("va", (42, 49)),
        baca.flat_glissando("B3"),
    )
    accumulator(
        ("vc", (42, 49)),
        baca.flat_glissando("C3"),
    )
    accumulator(
        (["va", "vc"], (50, 61)),
        baca.breathe(),
        baca.hairpin(
            'ff < fff -- "fff" > "f"',
            pieces=lambda _: baca.select.mgroups(_, [4, 4, 4]),
        ),
        baca.half_clt_spanner(
            abjad.Tweak(r"- \tweak staff-padding 10"),
            measures=(58, 61),
        ),
        baca.new(
            baca.tuplet_bracket_down(),
            library.bcps(
                -6,
                clt=True,
                staff_padding=2.5,
            ),
            baca.chunk(
                library.multistage_leaf_glissando(
                    [("Ab3", 6), ("F3", 6), ("Gb3", None)],
                    "E3",
                    measures=(50, 53),
                    rleak_final_stage=True,
                ),
                baca.new(
                    baca.flat_glissando("E3"),
                    measures=(54, 61),
                ),
            ),
            match=0,
        ),
        baca.new(
            baca.tuplet_bracket_down(),
            library.bcps(
                -5,
                clt=True,
                staff_padding=2.5,
            ),
            baca.chunk(
                library.multistage_leaf_glissando(
                    [("Ab3", 3), ("F3", 2), ("G3", 6), ("Eb3", 3),
                     ("Gb3", None)],
                    "D3",
                    measures=(50, 53),
                    rleak_final_stage=True,
                ),
                baca.new(
                    baca.flat_glissando("D3"),
                    measures=(54, 61),
                ),
            ),
            match=1,
        ),
    )
    accumulator(
        (["va", "vc"], (89, 96)),
        baca.circle_bow_spanner(
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            qualifier="wide",
        ),
        baca.damp_spanner(
            abjad.Tweak(r"- \tweak staff-padding 8"),
            match=1,
        ),
        baca.dynamic_text_self_alignment_x(
            -0.75,
            selector=lambda _: baca.select.pleaf(_, 0),
        ),
        baca.hairpin(
            "p-ancora -- !",
            abjad.Tweak(r"- \tweak to-barline ##t"),
            selector=lambda _: baca.select.rleaves(_),
        ),
    )
    accumulator(
        (["va", "vc"], (89, 96)),
        baca.new(
            baca.breathe(),
            baca.flat_glissando("B3"),
            match=0,
        ),
        baca.new(
            baca.breathe(
                lambda _: abjad.select.leaf(_, -1),
                abjad.Tweak(r"\tweak extra-offset #'(-1 . 0)"),
            ),
            baca.flat_glissando("C3"),
            match=1,
        ),
    )
    accumulator(
        (["va", "vc"], (97, 108)),
        baca.breathe(),
        baca.hairpin(
            'o< fff -- "fff" >o !',
            pieces=lambda _: baca.select.mgroups(_, [4, 4, 4 + 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.half_clt_spanner(
            abjad.Tweak(r"- \tweak staff-padding 10"),
            measures=(105, 108),
        ),
        baca.new(
            baca.tuplet_bracket_down(),
            library.bcps(
                -6,
                clt=True,
                staff_padding=2.5,
            ),
            baca.chunk(
                library.multistage_leaf_glissando(
                    [("Ab3", 6), ("F3", 6), ("Gb3", None)],
                    "E3",
                    measures=(97, 100),
                    rleak_final_stage=True,
                ),
                baca.new(
                    baca.flat_glissando("E3"),
                    measures=(101, 108),
                ),
            ),
            match=0,
        ),
        baca.new(
            baca.tuplet_bracket_down(),
            library.bcps(
                -5,
                clt=True,
                staff_padding=2.5,
            ),
            baca.chunk(
                library.multistage_leaf_glissando(
                    [("Ab3", 3), ("F3", 2), ("G3", 6), ("Eb3", 3),
                     ("Gb3", None)],
                    "D3",
                    measures=(97, 100),
                    rleak_final_stage=True,
                ),
                baca.new(
                    baca.flat_glissando("D3"),
                    measures=(101, 108),
                ),
            ),
            match=1,
        ),
    )
Exemplo n.º 8
0
def va(m):
    accumulator(
        ("va", (1, 2)),
        baca.markup(
            r"\baca-five-f-markup",
            abjad.Tweak(r"- \tweak padding 1.5"),
        ),
        baca.flat_glissando("A3"),
    )
    accumulator(
        ("va", (6, 23)),
        baca.damp_spanner(
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            map=lambda _: abjad.select.get(
                abjad.select.partition_by_counts(
                    baca.plts(_), [4, 1, 3, 1, 2, 1, 99], cyclic=True),
                [0],
                2,
            ),
        ),
        baca.new(
            baca.accent(),
            baca.dynamic("sfp"),
            baca.stem_tremolo(selector=lambda _: baca.select.pleaves(_)),
            map=lambda _: abjad.select.get(baca.select.plts(_), [0], 2),
        ),
        baca.suite(
            baca.hairpin(
                "pp --",
                bookend=False,
            ),
            baca.xfb_spanner(abjad.Tweak(r"- \tweak staff-padding 3"), ),
            baca.flat_glissando("A3"),
            map=lambda _: abjad.select.get(baca.select.plts(_), [1], 2),
        ),
        baca.pitch("A3", allow_repitch=True),
    )
    accumulator(
        ("va", (24, 31)),
        library.multistage_leaf_glissando(
            [("A3", 7), ("F4", 6), ("D4", None)],
            "Gb4",
            rleak_final_stage=True,
        ),
    )
    accumulator(
        ("va", (32, 33)),
        baca.flat_glissando("Gb4"),
    )
    accumulator(
        ("va", (35, 40)),
        baca.suite(
            baca.new(
                baca.accent(),
                baca.dynamic("sfp"),
                baca.stem_tremolo(),
                map=lambda _: abjad.select.get(baca.select.plts(_), [0], 2),
            ),
            baca.new(
                baca.hairpin(
                    "pp --",
                    bookend=False,
                ),
                baca.xfb_spanner(abjad.Tweak(r"- \tweak staff-padding 5.5"), ),
                map=lambda _: abjad.select.get(baca.plts(_)[:-1], [1], 2),
            ),
            baca.new(
                baca.hairpin(
                    "pp --",
                    bookend=False,
                ),
                baca.xfb_spanner(abjad.Tweak(r"- \tweak staff-padding 5.5"), ),
                map=lambda _: baca.select.plts(_)[-1:],
            ),
            baca.dynamic(
                "!",
                selector=lambda _: baca.select.pleaf(_, -1),
            ),
            baca.flat_glissando("Gb4"),
        ),
    )
    accumulator(
        ("va", (63, 76)),
        baca.clef("treble"),
        baca.hairpin(
            '"ff" > p',
            measures=(63, 70),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.half_clt_spanner(
            abjad.Tweak(rf"- \tweak staff-padding {4.5 + 6.5}"), ),
        baca.pitches("D5 F5 Dqs5 E5 Fqs5 G#5 A5 F5 Aqs5"),
        baca.tuplet_bracket_down(),
        library.bcps(
            0,
            clt=True,
            selector=measure_starts_plus_rest,
            staff_padding=4.5,
        ),
    )
    accumulator(
        ("va", (77, 80)),
        baca.hairpin(
            "o< mf -- !",
            abjad.Tweak(r"- \tweak to-barline ##t"),
            pieces=lambda _: baca.select.mgroups(_, [3, 1 + 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.scp_spanner(
            "T -> poco P =|",
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            bookend=False,
            pieces=lambda _: baca.select.mgroups(_, [3, 1 + 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.stem_tremolo(selector=lambda _: baca.select.pleaves(_), ),
        library.flight_spanner("flight -|", 8),
    )
    accumulator(
        ("va", [(77, 80), (82, 85), (87, 88), (109, 110), (112, 119)]),
        baca.flat_glissando("<D5 Fqs5>"),
    )
    accumulator(
        ("va", (87, 96)),
        baca.damp_spanner(abjad.Tweak(r"- \tweak staff-padding 8"), ),
        baca.new(
            baca.clef("alto"),
            measures=89,
        ),
    )
Exemplo n.º 9
0
def v2(m):
    accumulator(
        ("v2", 1),
        baca.markup(
            r"\baca-nine-e",
            abjad.Tweak(r"- \tweak padding 1.5"),
        ),
        baca.pitch("F#5"),
    )
    accumulator(
        ("v2", (2, 13)),
        baca.breathe(),
        baca.circle_bow_spanner(
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            qualifier="wide",
        ),
        baca.damp_spanner(
            abjad.Tweak(r"- \tweak staff-padding 8"),
        ),
        baca.dynamic("p"),
    )
    accumulator(
        ("v2", [(2, 13), (22, 30), (38, 45), (51, 56), (61, 64), (68, 70)]),
        baca.flat_glissando("Gb4"),
    )
    accumulator(
        ("v2", (14, 21)),
        baca.breathe(),
        baca.hairpin(
            'fff -- "fff" >o !',
            pieces=lambda _: baca.select.mgroups(_, [4, 4 + 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.tuplet_bracket_down(),
        library.bcps(
            -7,
            clt=True,
            staff_padding=3.5,
        ),
        baca.flat_glissando("Dqf5"),
    )
    accumulator(
        ("v2", (18, 21)),
        baca.half_clt_spanner(
            abjad.Tweak(r"- \tweak staff-padding 10.5"),
        ),
    )
    accumulator(
        ("v2", (22, 30)),
        baca.breathe(),
        baca.circle_bow_spanner(
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            qualifier="wide",
        ),
        baca.damp_spanner(
            abjad.Tweak(r"- \tweak staff-padding 8"),
        ),
        baca.dynamic("p"),
    )
    accumulator(
        ("v2", (31, 37)),
        baca.breathe(),
        baca.hairpin(
            'ff -- "ff" >o !',
            pieces=lambda _: baca.select.mgroups(_, [4, 3 + 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.tuplet_bracket_down(),
        library.bcps(
            -7,
            clt=True,
            staff_padding=3.5,
        ),
        baca.flat_glissando("Dqs5"),
    )
    accumulator(
        ("v2", (35, 37)),
        baca.half_clt_spanner(
            abjad.Tweak(r"- \tweak staff-padding 10.5"),
        ),
    )
    accumulator(
        ("v2", (38, 45)),
        baca.breathe(),
        baca.circle_bow_spanner(
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            qualifier="wide",
        ),
        baca.damp_spanner(
            abjad.Tweak(r"- \tweak staff-padding 8"),
        ),
        baca.dynamic("p"),
    )
    accumulator(
        ("v2", (46, 50)),
        baca.breathe(),
        baca.hairpin(
            'f -- "f" >o !',
            pieces=lambda _: baca.select.mgroups(_, [2, 3 + 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.tuplet_bracket_down(),
        library.bcps(
            -7,
            clt=True,
            staff_padding=3.5,
        ),
        baca.flat_glissando("Cqs5"),
    )
    accumulator(
        ("v2", (48, 50)),
        baca.half_clt_spanner(
            abjad.Tweak(r"- \tweak staff-padding 10.5"),
        ),
    )
    accumulator(
        ("v2", (51, 56)),
        baca.breathe(),
        baca.circle_bow_spanner(
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            qualifier="wide",
        ),
        baca.damp_spanner(
            abjad.Tweak(r"- \tweak staff-padding 8"),
        ),
        baca.dynamic("p"),
    )
    accumulator(
        ("v2", (57, 60)),
        baca.breathe(),
        baca.hairpin(
            'mf -- "mf" >o !',
            pieces=lambda _: baca.select.mgroups(_, [2, 2 + 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.tuplet_bracket_down(),
        library.bcps(
            -7,
            clt=True,
            staff_padding=3.5,
        ),
        baca.flat_glissando("Eqs5"),
    )
    accumulator(
        ("v2", (59, 60)),
        baca.half_clt_spanner(
            abjad.Tweak(r"- \tweak staff-padding 10.5"),
        ),
    )
    accumulator(
        ("v2", (61, 64)),
        baca.breathe(),
        baca.circle_bow_spanner(
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            qualifier="wide",
        ),
        baca.damp_spanner(
            abjad.Tweak(r"- \tweak staff-padding 8"),
        ),
        baca.dynamic(
            "p",
            abjad.Tweak(r"- \tweak self-alignment-X -0.75"),
        ),
    )
    accumulator(
        ("v2", (65, 67)),
        baca.breathe(),
        baca.hairpin(
            "mp -- mp >o !",
            pieces=lambda _: baca.select.mgroups(_, [1, 2 + 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.tuplet_bracket_down(),
        library.bcps(
            -7,
            clt=True,
            staff_padding=3.5,
        ),
        baca.flat_glissando("Fqs5"),
    )
    accumulator(
        ("v2", (66, 67)),
        baca.half_clt_spanner(
            abjad.Tweak(r"- \tweak staff-padding 10.5"),
            selector=lambda _: baca.select.tleaves(_, rleak=True),
        ),
    )
    accumulator(
        ("v2", (68, 70)),
        baca.breathe(),
        baca.circle_bow_spanner(
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            qualifier="wide",
        ),
        baca.damp_spanner(
            abjad.Tweak(r"- \tweak staff-padding 8"),
        ),
        baca.dynamic("p"),
    )
    accumulator(
        ("v2", 71),
        baca.breathe(),
        baca.hairpin(
            "p >o !",
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.half_clt_spanner(
            abjad.Tweak(rf"- \tweak staff-padding {4.5 + 6}"),
        ),
        baca.tuplet_bracket_down(),
        library.bcps(
            -7,
            clt=True,
            staff_padding=4.5,
        ),
        baca.flat_glissando("G4"),
    )
    accumulator(
        ("v2", (73, 92)),
        baca.dynamic(
            "ppp",
            abjad.Tweak(r"- \tweak self-alignment-X -0.75"),
        ),
        baca.half_clt_spanner(
            abjad.Tweak(rf"- \tweak staff-padding {4.5 + 6}"),
        ),
        baca.tuplet_bracket_down(),
        library.bcps(
            -7,
            clt=True,
            staff_padding=4.5,
        ),
        baca.flat_glissando(
            "Ab5",
            right_broken=True,
        ),
    )
Exemplo n.º 10
0
def v1(m):
    accumulator(
        ("v1", 1),
        baca.markup(
            r"\baca-eleven-e",
            abjad.Tweak(r"- \tweak padding 1.5"),
        ),
        baca.pitch("Aqs5"),
    )
    accumulator(
        ("v1", (2, 9)),
        baca.breathe(),
        baca.circle_bow_spanner(
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            qualifier="wide",
        ),
        baca.damp_spanner(
            abjad.Tweak(r"- \tweak staff-padding 8"),
        ),
        baca.dynamic("p"),
    )
    accumulator(
        ("v1", [(2, 9), (25, 27), (41, 42), (53, 54), 63, 69]),
        baca.flat_glissando("Bb5"),
    )
    accumulator(
        ("v1", (10, 13)),
        library.multistage_leaf_glissando(
            [("Ab4", 3), ("C5", 2), ("B4", 6), ("Db5", 3), ("C5", None)],
            "Eb5",
            rleak_final_stage=True,
        ),
    )
    accumulator(
        ("v1", (10, 24)),
        baca.breathe(),
        baca.hairpin(
            'o< fff -- "fff" >o !',
            pieces=lambda _: baca.select.mgroups(_, [4, 4, 7 + 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.tuplet_bracket_down(),
        library.bcps(
            -8,
            clt=True,
            staff_padding=3.5,
        ),
    )
    accumulator(
        ("v1", (14, 24)),
        baca.flat_glissando("Eb5"),
    )
    accumulator(
        ("v1", (18, 24)),
        baca.half_clt_spanner(
            abjad.Tweak(r"- \tweak staff-padding 10.5"),
        ),
    )
    accumulator(
        ("v1", (25, 27)),
        baca.breathe(),
        baca.circle_bow_spanner(
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            qualifier="wide",
        ),
        baca.damp_spanner(
            abjad.Tweak(r"- \tweak staff-padding 8"),
        ),
        baca.dynamic("p"),
    )
    accumulator(
        ("v1", (28, 30)),
        library.multistage_leaf_glissando(
            [("Ab4", 4), ("C5", 3), ("B4", 3), ("Db5", 3), ("C5", None)],
            "E5",
            rleak_final_stage=True,
        ),
    )
    accumulator(
        ("v1", (28, 40)),
        baca.breathe(),
        baca.hairpin(
            'o< ff -- "ff" >o !',
            pieces=lambda _: baca.select.mgroups(_, [3, 4, 6 + 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.tuplet_bracket_down(),
        library.bcps(
            -8,
            clt=True,
            staff_padding=3.5,
        ),
    )
    accumulator(
        ("v1", (31, 40)),
        baca.flat_glissando("E5"),
    )
    accumulator(
        ("v1", (35, 40)),
        baca.half_clt_spanner(
            abjad.Tweak(r"- \tweak staff-padding 10.5"),
        ),
    )
    accumulator(
        ("v1", (41, 42)),
        baca.breathe(),
        baca.circle_bow_spanner(
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            qualifier="wide",
        ),
        baca.damp_spanner(
            abjad.Tweak(r"- \tweak staff-padding 8"),
        ),
        baca.dynamic("p"),
    )
    accumulator(
        ("v1", (43, 45)),
        library.multistage_leaf_glissando(
            [("Ab4", 3), ("Db5", 3), ("B4", 4), ("Eb5", 3), ("Cb5", None)],
            "F5",
            rleak_final_stage=True,
        ),
    )
    accumulator(
        ("v1", (43, 52)),
        baca.breathe(),
        baca.hairpin(
            'o< f -- "f" >o !',
            pieces=lambda _: baca.select.mgroups(_, [3, 2, 5 + 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.tuplet_bracket_down(),
        library.bcps(
            -8,
            clt=True,
            staff_padding=3.5,
        ),
    )
    accumulator(
        ("v1", (46, 52)),
        baca.flat_glissando("F5"),
    )
    accumulator(
        ("v1", (49, 52)),
        baca.half_clt_spanner(
            abjad.Tweak(r"- \tweak staff-padding 10.5"),
        ),
    )
    accumulator(
        ("v1", (53, 54)),
        baca.breathe(),
        baca.circle_bow_spanner(
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            qualifier="wide",
        ),
        baca.damp_spanner(
            abjad.Tweak(r"- \tweak staff-padding 8"),
            selector=lambda _: baca.select.rleak(baca.select.ltleaves(_)),
        ),
        baca.dynamic("p"),
    )
    accumulator(
        ("v1", (55, 56)),
        library.multistage_leaf_glissando(
            [("Ab4", 2), ("Eb5", 2), ("Db5", 3), ("E5", 2), ("D5", None)],
            "Gb5",
            rleak_final_stage=True,
        ),
    )
    accumulator(
        ("v1", (55, 62)),
        baca.breathe(),
        baca.hairpin(
            'o< mf -- "mf" >o !',
            pieces=lambda _: baca.select.mgroups(_, [2, 2, 4 + 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.tuplet_bracket_down(),
        library.bcps(
            -8,
            clt=True,
            staff_padding=4.5,
        ),
    )
    accumulator(
        ("v1", (57, 62)),
        baca.flat_glissando("Gb5"),
    )
    accumulator(
        ("v1", (59, 62)),
        baca.half_clt_spanner(
            abjad.Tweak(r"- \tweak staff-padding 10.5"),
        ),
    )
    accumulator(
        ("v1", 63),
        baca.breathe(),
        baca.circle_bow_spanner(
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            qualifier="wide",
        ),
        baca.damp_spanner(
            abjad.Tweak(r"- \tweak staff-padding 8"),
        ),
        baca.dynamic("p"),
    )
    accumulator(
        ("v1", 64),
        library.multistage_leaf_glissando(
            [("Ab4", 3), ("E5", 2), ("D5", None)],
            "G5",
            rleak_final_stage=True,
        ),
    )
    accumulator(
        ("v1", (64, 68)),
        baca.breathe(),
        baca.hairpin(
            "o< mp -- mp >o !",
            pieces=lambda _: baca.select.mgroups(_, [1, 1, 3 + 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.tuplet_bracket_down(),
        library.bcps(
            -8,
            clt=True,
            staff_padding=4.5,
        ),
    )
    accumulator(
        ("v1", (64, 68)),
        baca.half_clt_spanner(
            abjad.Tweak(r"- \tweak staff-padding 10.5"),
        ),
    )
    accumulator(
        ("v1", (65, 68)),
        baca.flat_glissando("G5"),
    )
    accumulator(
        ("v1", 69),
        baca.breathe(),
        baca.circle_bow_spanner(
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            qualifier="wide",
        ),
        baca.damp_spanner(
            abjad.Tweak(r"- \tweak staff-padding 8"),
        ),
        baca.dynamic("p"),
    )
    accumulator(
        ("v1", (70, 71)),
        baca.breathe(),
        baca.hairpin(
            "o< p >o !",
            pieces=lambda _: baca.select.mgroups(_, [1, 1 + 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.tuplet_bracket_down(),
        library.bcps(
            -8,
            clt=True,
            staff_padding=4.5,
        ),
        baca.flat_glissando(
            "Ab4",
            stop_pitch="Ab5",
        ),
    )
    accumulator(
        ("v1", 71),
        baca.half_clt_spanner(
            abjad.Tweak(r"- \tweak staff-padding 10.5"),
        ),
    )
    accumulator(
        ("v1", (73, 92)),
        baca.dynamic(
            "ppp",
            abjad.Tweak(r"- \tweak self-alignment-X -0.75"),
        ),
        baca.half_clt_spanner(
            abjad.Tweak(r"- \tweak staff-padding 14"),
        ),
        baca.tuplet_bracket_down(),
        library.bcps(
            -8,
            clt=True,
            staff_padding=8,
        ),
        baca.flat_glissando(
            "A6",
            right_broken=True,
        ),
    )
Exemplo n.º 11
0
def vc(m):
    accumulator(
        ("vc", 1),
        baca.pitch("G2"),
    )
    accumulator(
        ("vc", (2, 9)),
        baca.breathe(
            lambda _: baca.select.pleaf(_, -1),
            abjad.Tweak(r"\tweak extra-offset #'(-1 . 0)"),
        ),
        baca.circle_bow_spanner(
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            qualifier="wide",
        ),
        baca.damp_spanner(
            abjad.Tweak(r"- \tweak staff-padding 8"),
        ),
        baca.dynamic("p"),
    )
    accumulator(
        ("vc", [(2, 9), (22, 27), (38, 42), (51, 54), (61, 63), (68, 69)]),
        baca.flat_glissando("C3"),
    )
    accumulator(
        ("vc", (10, 13)),
        library.multistage_leaf_glissando(
            [("Ab3", 3), ("F3", 2), ("G3", 6), ("Eb3", 3), ("Gb3", None)],
            "D3",
            rleak_final_stage=True,
        ),
    )
    accumulator(
        ("vc", (10, 21)),
        baca.breathe(),
        baca.hairpin(
            'o< fff -- "fff" >o !',
            pieces=lambda _: baca.select.mgroups(_, [4, 4, 4 + 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.tuplet_bracket_down(),
        library.bcps(
            -5,
            clt=True,
            staff_padding=3.5,
        ),
    )
    accumulator(
        ("vc", (14, 21)),
        baca.flat_glissando("D3"),
    )
    accumulator(
        ("vc", (18, 21)),
        baca.half_clt_spanner(
            abjad.Tweak(r"- \tweak staff-padding 10.5"),
        ),
    )
    accumulator(
        ("vc", (22, 27)),
        baca.breathe(
            lambda _: baca.select.pleaf(_, -1),
            abjad.Tweak(r"\tweak extra-offset #'(-1 . 0)"),
        ),
        baca.circle_bow_spanner(
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            qualifier="wide",
        ),
        baca.damp_spanner(
            abjad.Tweak(r"- \tweak staff-padding 8"),
        ),
        baca.dynamic("p"),
    )
    accumulator(
        ("vc", (28, 30)),
        library.multistage_leaf_glissando(
            [("Ab3", 4), ("F3", 3), ("G3", 4), ("Eb3", 5), ("Gb3", None)],
            "Db3",
            rleak_final_stage=True,
        ),
    )
    accumulator(
        ("vc", (28, 37)),
        baca.breathe(),
        baca.hairpin(
            'o< ff -- "ff" >o !',
            pieces=lambda _: baca.select.mgroups(_, [3, 4, 3 + 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.dynamic_text_x_offset(
            -3,
            selector=lambda _: abjad.select.leaf(_, -1),
        ),
        baca.tuplet_bracket_down(),
        library.bcps(
            -5,
            clt=True,
            staff_padding=3.5,
        ),
    )
    accumulator(
        ("vc", (31, 37)),
        baca.flat_glissando("Db3"),
    )
    accumulator(
        ("vc", (35, 37)),
        baca.half_clt_spanner(
            abjad.Tweak(r"- \tweak staff-padding 10.5"),
        ),
    )
    accumulator(
        ("vc", (38, 42)),
        baca.breathe(
            lambda _: baca.select.pleaf(_, -1),
            abjad.Tweak(r"\tweak extra-offset #'(-1 . 0)"),
        ),
        baca.circle_bow_spanner(
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            qualifier="wide",
        ),
        baca.damp_spanner(
            abjad.Tweak(r"- \tweak staff-padding 8"),
        ),
        baca.dynamic("p"),
    )
    accumulator(
        ("vc", (43, 45)),
        library.multistage_leaf_glissando(
            [("Ab3", 4), ("E3", 2), ("Gb3", 3), ("D3", 4), ("Eb3", None)],
            "B2",
            rleak_final_stage=True,
        ),
    )
    accumulator(
        ("vc", (43, 50)),
        baca.breathe(),
        baca.hairpin(
            'o< f -- "f" >o !',
            pieces=lambda _: baca.select.mgroups(_, [3, 2, 3 + 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.tuplet_bracket_down(),
        library.bcps(
            -5,
            clt=True,
            staff_padding=3.5,
        ),
    )
    accumulator(
        ("vc", (46, 50)),
        baca.flat_glissando("B2"),
    )
    accumulator(
        ("vc", (48, 50)),
        baca.half_clt_spanner(
            abjad.Tweak(r"- \tweak staff-padding 10.5"),
        ),
    )
    accumulator(
        ("vc", (51, 54)),
        baca.breathe(
            lambda _: baca.select.pleaf(_, -1),
            abjad.Tweak(r"\tweak extra-offset #'(-1 . 0)"),
        ),
        baca.circle_bow_spanner(
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            qualifier="wide",
        ),
        baca.damp_spanner(
            abjad.Tweak(r"- \tweak staff-padding 8"),
        ),
        baca.dynamic("p"),
    )
    accumulator(
        ("vc", (55, 56)),
        library.multistage_leaf_glissando(
            [("Ab3", 3), ("F3", 2), ("Gb3", 3), ("D3", 3), ("E3", None)],
            "Bb2",
            rleak_final_stage=True,
        ),
    )
    accumulator(
        ("vc", (55, 60)),
        baca.breathe(),
        baca.hairpin(
            'o< mf -- "mf" >o !',
            pieces=lambda _: baca.select.mgroups(_, [2, 2, 2 + 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.tuplet_bracket_down(),
        library.bcps(
            -5,
            clt=True,
            staff_padding=3.5,
        ),
    )
    accumulator(
        ("vc", (57, 60)),
        baca.flat_glissando("Bb2"),
    )
    accumulator(
        ("vc", (59, 60)),
        baca.half_clt_spanner(
            abjad.Tweak(r"- \tweak staff-padding 10.5"),
        ),
    )
    accumulator(
        ("vc", (61, 63)),
        baca.breathe(
            lambda _: baca.select.pleaf(_, -1),
            abjad.Tweak(r"\tweak extra-offset #'(-1 . 0)"),
        ),
        baca.circle_bow_spanner(
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            qualifier="wide",
        ),
        baca.damp_spanner(
            abjad.Tweak(r"- \tweak staff-padding 8"),
        ),
        baca.dynamic(
            "p",
            abjad.Tweak(r"- \tweak self-alignment-X -0.75"),
        ),
    )
    accumulator(
        ("vc", 64),
        library.multistage_leaf_glissando(
            [("Ab3", 3), ("D3", 3), ("Eb3", None)],
            "A2",
            rleak_final_stage=True,
        ),
    )
    accumulator(
        ("vc", (64, 67)),
        baca.breathe(),
        baca.hairpin(
            "o< mp -- mp >o !",
            pieces=lambda _: baca.select.mgroups(_, [1, 1, 2 + 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.tuplet_bracket_down(),
        library.bcps(
            -5,
            clt=True,
            staff_padding=3.5,
        ),
    )
    accumulator(
        ("vc", (65, 67)),
        baca.flat_glissando("A2"),
    )
    accumulator(
        ("vc", (66, 67)),
        baca.half_clt_spanner(
            abjad.Tweak(r"- \tweak staff-padding 10.5"),
        ),
    )
    accumulator(
        ("vc", (68, 69)),
        baca.breathe(
            lambda _: baca.select.pleaf(_, -1),
            abjad.Tweak(r"\tweak extra-offset #'(-1 . 0)"),
        ),
        baca.circle_bow_spanner(
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            qualifier="wide",
        ),
        baca.damp_spanner(
            abjad.Tweak(r"- \tweak staff-padding 8"),
        ),
        baca.dynamic("p"),
    )
    accumulator(
        ("vc", (70, 71)),
        baca.breathe(),
        baca.hairpin(
            "o< p >o !",
            pieces=lambda _: baca.select.mgroups(_, [1, 1 + 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.tuplet_bracket_down(),
        library.bcps(
            -5,
            clt=True,
            staff_padding=3.5,
        ),
        baca.flat_glissando(
            "Ab3",
            stop_pitch="Ab2",
        ),
    )
    accumulator(
        ("vc", 71),
        baca.half_clt_spanner(
            abjad.Tweak(r"- \tweak staff-padding 10.5"),
        ),
    )
    accumulator(
        ("vc", (73, 87)),
        baca.beam(),
    )
    accumulator(
        ("vc", (73, 88)),
        baca.dynamic(
            "pp-sempre",
            abjad.Tweak(r"- \tweak self-alignment-X -0.75"),
        ),
        baca.flat_glissando(
            "Bb1",
            stop_pitch="B0",
        ),
    )
    accumulator(
        ("vc", (73, 92)),
        baca.markup(r"\stirrings-still-tuning-peg-slowly-detune-markup"),
        baca.ottava_bassa(),
    )
    accumulator(
        ("vc", (88, 92)),
        baca.flat_glissando(
            "B0",
            hide_middle_stems=True,
            right_broken=True,
        ),
    )
Exemplo n.º 12
0
def va(m):
    accumulator(
        ("va", 1),
        baca.markup(
            r"\baca-five-e",
            abjad.Tweak(r"- \tweak padding 1.5"),
        ),
        baca.pitch("G#3"),
    )
    accumulator(
        ("va", (2, 9)),
        baca.breathe(),
        baca.circle_bow_spanner(
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            qualifier="wide",
        ),
        baca.damp_spanner(
            abjad.Tweak(r"- \tweak staff-padding 8"),
        ),
        baca.dynamic("p"),
    )
    accumulator(
        ("va", [(2, 9), (22, 27), (38, 42), (51, 54), (61, 63), (68, 69)]),
        baca.flat_glissando("B3"),
    )
    accumulator(
        ("va", (10, 13)),
        library.multistage_leaf_glissando(
            [("Ab3", 6), ("F3", 6), ("Gb3", None)],
            "E3",
            rleak_final_stage=True,
        ),
    )
    accumulator(
        ("va", (10, 21)),
        baca.breathe(),
        baca.hairpin(
            'o< fff -- "fff" >o !',
            pieces=lambda _: baca.select.mgroups(_, [4, 4, 4 + 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.tuplet_bracket_down(),
        library.bcps(
            -6,
            clt=True,
            staff_padding=3.5,
        ),
    )
    accumulator(
        ("va", (14, 21)),
        baca.flat_glissando("E3"),
    )
    accumulator(
        ("va", (18, 21)),
        baca.half_clt_spanner(
            abjad.Tweak(r"- \tweak staff-padding 10.5"),
        ),
    )
    accumulator(
        ("va", (22, 27)),
        baca.breathe(),
        baca.circle_bow_spanner(
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            qualifier="wide",
        ),
        baca.damp_spanner(
            abjad.Tweak(r"- \tweak staff-padding 8"),
        ),
        baca.dynamic("p"),
    )
    accumulator(
        ("va", (28, 30)),
        library.multistage_leaf_glissando(
            [("Ab3", 5), ("F3", 7), ("Gb3", None)],
            "Eb3",
            rleak_final_stage=True,
        ),
    )
    accumulator(
        ("va", (28, 37)),
        baca.breathe(),
        baca.hairpin(
            'o< ff -- "ff" >o !',
            pieces=lambda _: baca.select.mgroups(_, [3, 4, 3 + 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.tuplet_bracket_down(),
        library.bcps(
            -6,
            clt=True,
            staff_padding=3.5,
        ),
    )
    accumulator(
        ("va", (31, 37)),
        baca.flat_glissando("Eb3"),
    )
    accumulator(
        ("va", (35, 37)),
        baca.half_clt_spanner(
            abjad.Tweak(r"- \tweak staff-padding 10.5"),
        ),
    )
    accumulator(
        ("va", (38, 42)),
        baca.breathe(),
        baca.circle_bow_spanner(
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            qualifier="wide",
        ),
        baca.damp_spanner(
            abjad.Tweak(r"- \tweak staff-padding 8"),
        ),
        baca.dynamic("p"),
    )
    accumulator(
        ("va", (43, 45)),
        library.multistage_leaf_glissando(
            [("Ab3", 4), ("D3", 7), ("Eb3", None)],
            "C3",
            rleak_final_stage=True,
        ),
    )
    accumulator(
        ("va", (43, 50)),
        baca.breathe(),
        baca.hairpin(
            'o< f -- "f" >o !',
            pieces=lambda _: baca.select.mgroups(_, [3, 2, 3 + 1]),
        ),
        baca.tuplet_bracket_down(),
        library.bcps(
            -6,
            clt=True,
            staff_padding=3.5,
        ),
    )
    accumulator(
        ("va", (46, 50)),
        baca.flat_glissando("C3"),
    )
    accumulator(
        ("va", (48, 50)),
        baca.half_clt_spanner(
            abjad.Tweak(r"- \tweak staff-padding 10.5"),
        ),
    )
    accumulator(
        ("va", (51, 54)),
        baca.breathe(),
        baca.circle_bow_spanner(
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            qualifier="wide",
        ),
        baca.damp_spanner(
            abjad.Tweak(r"- \tweak staff-padding 8"),
        ),
        baca.dynamic("p"),
    )
    accumulator(
        ("va", (55, 56)),
        library.multistage_leaf_glissando(
            [("Ab3", 3), ("Db3", 5), ("F3", None)],
            "B2",
            rleak_final_stage=True,
        ),
    )
    accumulator(
        ("va", (55, 60)),
        baca.breathe(),
        baca.hairpin(
            'o< mf -- "mf" >o !',
            pieces=lambda _: baca.select.mgroups(_, [2, 2, 2 + 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.tuplet_bracket_down(),
        library.bcps(
            -6,
            clt=True,
            staff_padding=3.5,
        ),
    )
    accumulator(
        ("va", (57, 60)),
        baca.flat_glissando("B2"),
    )
    accumulator(
        ("va", (59, 60)),
        baca.half_clt_spanner(
            abjad.Tweak(r"- \tweak staff-padding 10.5"),
        ),
    )
    accumulator(
        ("va", (61, 63)),
        baca.breathe(),
        baca.circle_bow_spanner(
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            qualifier="wide",
        ),
        baca.damp_spanner(
            abjad.Tweak(r"- \tweak staff-padding 8"),
        ),
        baca.dynamic(
            "p",
            abjad.Tweak(r"- \tweak self-alignment-X -0.75"),
        ),
    )
    accumulator(
        ("va", 64),
        baca.flat_glissando(
            "Ab3",
            selector=lambda _: baca.select.rleaves(_),
            stop_pitch="Gb3",
        ),
    )
    accumulator(
        ("va", (64, 67)),
        baca.breathe(),
        baca.hairpin(
            "o< mp -- mp >o !",
            pieces=lambda _: baca.select.mgroups(_, [1, 1, 2 + 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.tuplet_bracket_down(),
        library.bcps(
            -6,
            clt=True,
            staff_padding=3.5,
        ),
    )
    accumulator(
        ("va", (65, 67)),
        baca.flat_glissando("Gb3"),
    )
    accumulator(
        ("va", (66, 67)),
        baca.half_clt_spanner(
            abjad.Tweak(r"- \tweak staff-padding 10.5"),
        ),
    )
    accumulator(
        ("va", (68, 69)),
        baca.breathe(),
        baca.circle_bow_spanner(
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            qualifier="wide",
        ),
        baca.damp_spanner(
            abjad.Tweak(r"- \tweak staff-padding 8"),
        ),
        baca.dynamic("p"),
    )
    accumulator(
        ("va", (70, 71)),
        baca.breathe(),
        baca.hairpin(
            "o< p >o !",
            pieces=lambda _: baca.select.mgroups(_, [1, 1 + 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.tuplet_bracket_down(),
        library.bcps(
            -6,
            clt=True,
            staff_padding=3.5,
        ),
        baca.flat_glissando(
            "Ab3",
            stop_pitch="B2",
        ),
    )
    accumulator(
        ("va", 71),
        baca.half_clt_spanner(
            abjad.Tweak(r"- \tweak staff-padding 10.5"),
        ),
    )
    accumulator(
        ("va", (73, 92)),
        baca.dynamic(
            "pp-sempre",
            abjad.Tweak(r"- \tweak self-alignment-X -0.75"),
        ),
        baca.flat_glissando(
            "Bb2",
            hide_middle_stems=True,
            right_broken=True,
        ),
    )
Exemplo n.º 13
0
def vc(m):
    accumulator(
        "vc",
        baca.clef("bass"),
    )
    accumulator(
        ("vc", (1, 5)),
        baca.hairpin(
            "niente o< mp -- !",
            pieces=lambda _: baca.select.mgroups(_, [3, 2 + 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.flat_glissando(
            "Ab2",
            hide_middle_stems=True,
        ),
    )
    accumulator(
        ("vc", 6),
        baca.chunk(
            baca.beam(),
            baca.note_head_style_harmonic(selector=lambda _: baca.select.pleaves(_)),
            baca.pitches("C#4 F4 G2 B3 D3"),
            baca.glissando(),
        ),
        baca.hairpin(
            "p <",
            bookend=False,
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.half_clt_spanner(
            abjad.Tweak(rf"- \tweak staff-padding {6 + 6.5}"),
        ),
        library.transition_bcps(
            staff_padding=6,
        ),
    )
    accumulator(
        ("vc", (7, 8)),
        baca.hairpin(
            "mp -- !",
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.markup(
            r"\baca-string-iv-markup",
            abjad.Tweak(r"- \tweak padding 1.5"),
            direction=abjad.DOWN,
        ),
        baca.bow_speed_spanner(
            "flaut. -> ord.",
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            autodetect_right_padding=False,
            bookend=-1,
            selector=lambda _: baca.select.leaves(_),
        ),
    )
    accumulator(
        ("vc", (7, 31)),
        baca.note_head_style_harmonic(selector=lambda _: baca.select.pleaves(_)),
        baca.suite(
            baca.untie(lambda _: abjad.select.leaf(_, 1)),
            baca.pitch(
                "Ab2",
                selector=lambda _: baca.select.pleaf(_, 0),
            ),
            baca.finger_pressure_transition(),
        ),
        library.clouded_pane_spanner("clouded pane -|", 8),
    )
    accumulator(
        ("vc", (8, 31)),
        baca.flat_glissando(
            "Gb2",
            hide_middle_stems=True,
        ),
    )
    accumulator(
        ("vc", (9, 16)),
        baca.hairpin(
            "(mp) < ff",
            selector=lambda _: baca.select.rleaves(_),
        ),
    )
    accumulator(
        ("vc", (9, 27)),
        baca.text_spanner(
            "no overpressure -> molto overpressure =|" " (molto) -> no overpressure.",
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            pieces=lambda _: baca.select.mgroups(_, [8, 6, 5 + 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
    )
    accumulator(
        ("vc", (23, 31)),
        baca.dynamic_text_self_alignment_x(
            -1,
            selector=lambda _: baca.select.pleaf(_, 0),
        ),
        baca.hairpin(
            "(ff) > ppp -- !",
            abjad.Tweak(r"- \tweak to-barline ##t"),
            pieces=lambda _: baca.select.mgroups(_, [5, 4 + 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
    )
    accumulator(
        ("vc", (38, 46)),
        baca.hairpin(
            "ppp -- !",
            abjad.Tweak(r"- \tweak to-barline ##t"),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.flat_glissando(
            "Gb2",
            hide_middle_stems=True,
            selector=lambda _: baca.select.rleaves(_),
            stop_pitch="Db2",
        ),
    )
    accumulator(
        ("vc", (47, 51)),
        baca.hairpin(
            "(ppp) < p -- !",
            abjad.Tweak(r"- \tweak to-barline ##t"),
            pieces=lambda _: baca.select.mgroups(_, [3, 2 + 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.half_clt_spanner(
            abjad.Tweak(r"- \tweak staff-padding 10.5"),
        ),
        baca.tuplet_bracket_down(),
        library.bcps(
            -4,
            clt=True,
            staff_padding=3,
        ),
        baca.flat_glissando("Db2"),
    )
    accumulator(
        ("vc", [52, 55]),
        baca.hairpin(
            "o< f -- !",
            pieces=lambda _: baca.select.lparts(_, [1, 2]),
            selector=lambda _: baca.select.rleaves(_),
            match=0,
        ),
        baca.hairpin(
            "f -- ! >o !",
            match=1,
            pieces=lambda _: baca.select.lparts(_, [1, 2]),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.pitch("B1"),
        library.clouded_pane_spanner("clouded pane (pane / urtext) -|", 8),
    )
    accumulator(
        (["vc", "vcr"], 56),
        baca.tacet(selector=lambda _: baca.select.mmrests(_)),
    )
Exemplo n.º 14
0
def vns_va(cache):
    accumulator(
        (["v1", "v2", "va"], (1, 2)),
        baca.dynamic_text_self_alignment_x(
            -0.75,
            selector=lambda _: abjad.select.leaf(_, 0),
        ),
        baca.hairpin(
            "appena-udibile -- !",
            abjad.Tweak(r"- \tweak to-barline ##t"),
            selector=lambda _: baca.select.rleaves(_),
        ),
        library.urtext_spanner("urtext (ds field) -|", 8),
    )
    accumulator(
        (["v1", "v2", "va"], (5, 11)),
        baca.dynamic_text_self_alignment_x(
            -0.75,
            selector=lambda _: baca.select.pleaf(_, 0),
        ),
        baca.dynamic_text_self_alignment_x(
            -0.75,
            selector=lambda _: abjad.select.leaf(_, -1),
        ),
        baca.hairpin(
            "appena-udibile -- ! < fff-poco-scratch",
            pieces=lambda _: baca.select.mgroups(_, [2, 5]),
        ),
    )
    accumulator(
        (["v1", "v2", "va"], (5, 11)),
        library.urtext_spanner("urtext (ds field) -|", 8),
    )
    accumulator(
        (["v1", "v2", "va"], (12, 17)),
        baca.hairpin(
            '"fff" > pp -- !',
            abjad.Tweak(r"- \tweak to-barline ##t"),
            pieces=lambda _: baca.select.mgroups(_, [2, 4 + 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.half_clt_spanner(
            abjad.Tweak(rf"- \tweak staff-padding {4 + 6.5}"),
            # TODO: allow spanner to extend to phantom measure
            # selector=lambda _: baca.select.rleaves(_),
            selector=lambda _: baca.select.leaves(_),
        ),
        baca.new(
            library.bcps(
                -6,
                clt=True,
                staff_padding=4,
            ),
            match=0,
        ),
        baca.new(
            library.bcps(
                -6,
                clt=True,
                staff_padding=4,
            ),
            match=1,
        ),
        baca.new(
            library.bcps(
                -5,
                clt=True,
                staff_padding=4,
            ),
            match=2,
        ),
        baca.tuplet_bracket_down(),
        baca.tuplet_bracket_staff_padding(1.5),
    )
Exemplo n.º 15
0
def va(m):
    accumulator(
        "va",
        baca.dls_staff_padding(7),
        baca.tuplet_bracket_down(),
        baca.tuplet_bracket_staff_padding(1.5),
        library.bcps(
            -6,
            clt=True,
            measures=(1, 2),
            selector=lambda _: baca.select.rleaves(_),
            staff_padding=3,
        ),
        library.bcps(
            -6 - 2,
            clt=True,
            measures=(4, 6),
            selector=lambda _: baca.select.rleaves(_),
            staff_padding=3,
        ),
        library.bcps(
            -6 - 4,
            clt=True,
            measures=(8, 10),
            selector=lambda _: baca.select.rleaves(_),
            staff_padding=3,
        ),
        library.bcps(
            -6 - 6,
            clt=True,
            measures=(12, 14),
            selector=lambda _: baca.select.rleaves(_),
            staff_padding=3,
        ),
    )
    accumulator(
        ("va", (1, 2)),
        library.multistage_leaf_glissando(
            [("D3", None)],
            "F3",
            rleak_final_stage=True,
        ),
    )
    accumulator(
        ("va", [(1, 2), (4, 6), (8, 10), (12, 14)]),
        baca.half_clt_spanner(
            abjad.Tweak(rf"- \tweak staff-padding {3 + 6.5}"), ),
    )
    accumulator(
        ("va", [3, 7, 11, 15]),
        baca.flat_glissando(
            "F3",
            rleak=True,
        ),
    )
    accumulator(
        ("va", (4, 6)),
        library.multistage_leaf_glissando(
            [("F3", None)],
            "D3",
            measures=4,
            rleak_final_stage=True,
        ),
        library.multistage_leaf_glissando(
            [("D3", None)],
            "F3",
            measures=(5, 6),
            rleak_final_stage=True,
        ),
    )
    accumulator(
        ("va", (8, 10)),
        library.multistage_leaf_glissando(
            [("F3", None)],
            "D3",
            measures=8,
            rleak_final_stage=True,
        ),
        library.multistage_leaf_glissando(
            [("D3", None)],
            "F3",
            measures=(9, 10),
            rleak_final_stage=True,
        ),
    )
    accumulator(
        ("va", (12, 14)),
        library.multistage_leaf_glissando(
            [("F3", None)],
            "D3",
            measures=12,
            rleak_final_stage=True,
        ),
        library.multistage_leaf_glissando(
            [("D3", None)],
            "F3",
            measures=(13, 14),
            rleak_final_stage=True,
        ),
    )