Ejemplo n.º 1
0
def va(m):
    accumulator(
        ("va", (1, 6)),
        baca.circle_bow_spanner(
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            qualifier="granulation",
        ),
        baca.flat_glissando("G3"),
        baca.hairpin(
            '"mf" -- !',
            abjad.Tweak(r"- \tweak to-barline ##t"),
            selector=lambda _: baca.select.rleaves(_),
        ),
    )
    accumulator(
        ("va", 7),
        baca.circle_bow_spanner(
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            qualifier="wide",
        ),
        baca.flat_glissando("Bqf3"),
        baca.hairpin(
            "mf >o niente",
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.markup(
            r"\baca-seven-d-flat",
            abjad.Tweak(r"- \tweak padding 1.5"),
        ),
    )
Ejemplo n.º 2
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,
        ),
    )
Ejemplo n.º 3
0
def vc(m):
    accumulator(
        "vc",
        baca.dls_staff_padding(6),
    )
    accumulator(
        ("vc", 1),
        baca.flat_glissando("B0"),
        baca.hairpin("o< mf"),
        baca.ottava_bassa(),
    )
    accumulator(
        ("vc", [(3, 4), (6, 8), (10, 15)]),
        baca.flat_glissando(
            "B0",
            hide_middle_stems=True,
        ),
        baca.ottava_bassa(),
    )
    accumulator(
        ("vc", (3, 4)),
        baca.hairpin(
            "o< f -- !",
            abjad.Tweak(r"- \tweak to-barline ##t"),
            pieces=lambda _: baca.select.mgroups(_, [1, 1 + 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
    )
    accumulator(
        ("vc", (6, 8)),
        baca.hairpin(
            "o< ff -- !",
            abjad.Tweak(r"- \tweak to-barline ##t"),
            pieces=lambda _: baca.select.mgroups(_, [1, 2 + 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
    )
    accumulator(
        ("vc", (10, 15)),
        baca.hairpin(
            "o< fff -- !",
            abjad.Tweak(r"- \tweak to-barline ##t"),
            pieces=lambda _: baca.select.mgroups(_, [2, 4 + 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
    )
    accumulator(
        ("vc", 20),
        baca.literal(
            [
                r"\once \override Score.RehearsalMark.direction = #down",
                r"\once \override Score.RehearsalMark.padding = 6",
                r"\once \override Score.RehearsalMark.self-alignment-X = #right",
                r"\mark \stirrings-still-colophon-markup",
            ],
            site="after",
        ),
    )
Ejemplo n.º 4
0
def va(m):
    accumulator(
        "va",
        baca.clef("alto"),
    )
    accumulator(
        ("va", (1, 5)),
        baca.flat_glissando(
            "Ab3",
            hide_middle_stems=True,
        ),
    )
    accumulator(
        ("va", (1, 6)),
        baca.hairpin(
            "niente o< mp -- !",
            pieces=lambda _: baca.select.mgroups(_, [3, 3 + 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
    )
    accumulator(
        ("va", 6),
        baca.circle_bow_spanner(
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            qualifier="very-wide",
        ),
        baca.markup(
            r"\baca-seven-d-flat",
            abjad.Tweak(r"- \tweak padding 1.5"),
        ),
        baca.pitch("Bqf3"),
    )
    accumulator(
        ("va", (7, 14)),
        baca.hairpin(
            "p -- !",
            abjad.Tweak(r"- \tweak to-barline ##t"),
            selector=lambda _: baca.select.rleaves(_),
        ),
    )
    accumulator(
        ("va", (15, 16)),
        baca.flat_glissando("B3"),
    )
    accumulator(
        ("va", [(30, 31), (38, 40), (42, 45)]),
        baca.flat_glissando("B4"),
    )
    accumulator(
        ("va", (52, 55)),
        baca.tasto_spanner(
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
        ),
    )
    accumulator(
        (["va", "var"], 56),
        baca.tacet(selector=lambda _: baca.select.mmrests(_)),
    )
Ejemplo n.º 5
0
def vc(m):
    accumulator(
        "vc",
        baca.clef("bass"),
    )
    accumulator(
        (["vc", "vcr"], 1),
        baca.tacet(selector=lambda _: baca.select.mmrests(_)),
    )
    accumulator(
        ("vc", 2),
        baca.tacet(selector=lambda _: baca.select.mmrests(_)),
    )
    accumulator(
        (["vc", "vcr"], 5),
        baca.tacet(selector=lambda _: baca.select.mmrests(_)),
    )
    accumulator(
        ("vc", 6),
        baca.tacet(selector=lambda _: baca.select.mmrests(_)),
    )
    accumulator(
        ("vc", (7, 11)),
        baca.dynamic_text_self_alignment_x(
            -0.75,
            selector=lambda _: abjad.select.leaf(_, -1),
        ),
        baca.flat_glissando(
            "Bb1",
            hide_middle_stems=True,
        ),
        baca.hairpin(
            "pp < fff-poco-scratch",
        ),
    )
    accumulator(
        ("vc", (12, 13)),
        baca.circle_bow_spanner(
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            qualifier="wide",
        ),
        baca.flat_glissando(
            "Cb2",
            stop_pitch="Bb1",
        ),
        baca.hairpin(
            "fff > pp",
        ),
    )
    accumulator(
        (["vc", "vcr"], 14),
        baca.tacet(selector=lambda _: baca.select.mmrests(_)),
    )
    accumulator(
        ("vc", (15, 17)),
        baca.tacet(selector=lambda _: baca.select.mmrests(_)),
    )
Ejemplo n.º 6
0
def vc(m):
    accumulator(
        ("vc", [(1, 5), (9, 15)]),
        baca.flat_glissando(
            "A2",
            hide_middle_stems=True,
            rleak=True,
        ),
        baca.tasto_spanner(
            abjad.Tweak(rf"- \tweak staff-padding {vc_spanner_staff_padding}"),
        ),
    )
    accumulator(
        ("vc", (1, 18)),
        baca.pitch("A2", allow_repitch=True),
    )
    accumulator(
        ("vc", (6, 8)),
        baca.hairpin(
            "ppppp < p > ppppp",
            pieces=lambda _: baca.select.cmgroups(_, [1, 2]),
            selector=lambda _: baca.select.rleaves(_),
        ),
    )
    accumulator(
        ("vc", [(6, 8), (16, 18)]),
        baca.flat_glissando(
            "A2",
            allow_repitch=True,
            rleak=True,
        ),
    )
    accumulator(
        ("vc", [(6, 8), (16, 25)]),
        baca.circle_bow_spanner(
            abjad.Tweak(rf"- \tweak staff-padding {vc_spanner_staff_padding}"),
            qualifier="wide-poss",
        ),
    )
    accumulator(
        ("vc", (16, 18)),
        baca.hairpin(
            "ppppp < p > ppppp",
            pieces=lambda _: baca.select.cmgroups(_, [1, 2]),
            selector=lambda _: baca.select.rleaves(_),
        ),
    )
    accumulator(
        ("vc", (19, 25)),
        baca.beam(),
        baca.flat_glissando(
            "A2",
            stop_pitch="C3",
        ),
    )
Ejemplo n.º 7
0
def v1(m):
    accumulator(
        ("v1", (1, 5)),
        baca.flat_glissando(
            "Gb4",
            hide_middle_stems=True,
        ),
    )
    accumulator(
        ("v1", (1, 6)),
        baca.hairpin(
            "niente o< mp -- !",
            pieces=lambda _: baca.select.mgroups(_, [3, 3 + 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
    )
    accumulator(
        ("v1", 6),
        baca.beam(),
        baca.circle_bow_spanner(
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            qualifier="wide",
        ),
        baca.markup(
            r"\baca-thirteen-d-flat",
            abjad.Tweak(r"- \tweak padding 1.5"),
        ),
        baca.flat_glissando("Aqs4"),
    )
    accumulator(
        ("v1", (7, 14)),
        baca.hairpin(
            "p -- !",
            abjad.Tweak(r"- \tweak to-barline ##t"),
            selector=lambda _: baca.select.rleaves(_),
        ),
    )
    accumulator(
        ("v1", (15, 16)),
        baca.flat_glissando("Bb4"),
    )
    accumulator(
        ("v1", [(30, 31), (38, 40), (42, 45)]),
        baca.flat_glissando(
            "Db5",
            stop_pitch="B4",
        ),
    )
    accumulator(
        ("v1", (52, 55)),
        baca.tasto_spanner(
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
        ),
    )
Ejemplo n.º 8
0
def va(m):
    accumulator(
        ("va", [(1, 7), (11, 17)]),
        baca.flat_glissando(
            "A3",
            hide_middle_stems=True,
            rleak=True,
        ),
        baca.tasto_spanner(
            abjad.Tweak(rf"- \tweak staff-padding {va_spanner_staff_padding}"),
        ),
    )
    accumulator(
        ("va", (8, 10)),
        baca.hairpin(
            "ppppp < p > ppppp",
            pieces=lambda _: baca.select.cmgroups(_, [1, 2]),
            selector=lambda _: baca.select.rleaves(_),
        ),
    )
    accumulator(
        ("va", [(8, 10), (18, 20)]),
        baca.flat_glissando(
            "A3",
            allow_repitch=True,
            rleak=True,
        ),
    )
    accumulator(
        ("va", [(8, 10), (18, 25)]),
        baca.circle_bow_spanner(
            abjad.Tweak(rf"- \tweak staff-padding {va_spanner_staff_padding}"),
            qualifier="wide-poss",
        ),
    )
    accumulator(
        ("va", (18, 20)),
        baca.hairpin(
            "ppppp < p > ppppp",
            pieces=lambda _: baca.select.cmgroups(_, [1, 2]),
            selector=lambda _: baca.select.rleaves(_),
        ),
    )
    accumulator(
        ("va", (21, 25)),
        baca.beam(),
        baca.flat_glissando(
            "A3",
            stop_pitch="B3",
        ),
    )
Ejemplo n.º 9
0
def crescendi():
    return baca.suite(
        baca.hairpin(
            "mp < mf",
            selector=baca.selectors.run(0),
        ),
        baca.hairpin(
            "mp < f",
            selector=baca.selectors.run(1),
        ),
        baca.hairpin(
            "mp < ff",
            selector=baca.selectors.run(2),
        ),
    )
Ejemplo n.º 10
0
def crescendi():
    return baca.suite(
        baca.new(
            baca.hairpin("mp < mf"),
            map=baca.selectors.runs((None, -1)),
        ),
        baca.new(
            baca.hairpin(
                "mp <",
                remove_length_1_spanner_start=True,
                right_broken=True,
            ),
            map=baca.selectors.runs((-1, None)),
        ),
    )
Ejemplo n.º 11
0
def v2(m):
    accumulator(
        ("v2", [1, 3, 7, 9, 11, 14]),
        baca.dynamic("mp"),
        baca.new(
            baca.markup(
                r"\stirrings-still-twelve-et-conflicts-with-viola-markup",
                abjad.Tweak(r"- \tweak padding 1.5"),
            ),
            match=0,
        ),
        baca.pitch("<E4 G#4>"),
        baca.tasto_spanner(
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
        ),
        library.urtext_spanner("urtext (double stop) -|", 8),
    )
    accumulator(
        ("v2", (12, 13)),
        baca.alternate_bow_strokes(),
        baca.damp_spanner(
            abjad.Tweak(r"- \tweak staff-padding 8"),
        ),
        baca.hairpin(
            "mp -- !",
            abjad.Tweak(r"- \tweak to-barline ##t"),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.half_clt_spanner(
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
        ),
        baca.pitch("F5"),
    )
Ejemplo n.º 12
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(_)),
    )
Ejemplo n.º 13
0
def v2(m):
    accumulator(
        "v2",
        baca.dls_staff_padding(6),
        baca.note_head_style_harmonic(
            selector=lambda _: baca.select.pleaves(_)),
        baca.tuplet_bracket_down(),
    )
    accumulator(
        ("v2", [1, (3, 4), (6, 8), (10, 15)]),
        baca.circle_bow_spanner(
            abjad.Tweak(r"- \tweak staff-padding 3"),
            qualifier="wide",
        ),
        baca.dynamic_text_self_alignment_x(
            0.75,
            selector=lambda _: baca.select.pleaf(_, -1),
        ),
        baca.flat_glissando("F4"),
        baca.hairpin(
            "ppp < p >",
            pieces=lambda _: baca.select.cmgroups(_, ),
        ),
        baca.new(
            baca.markup(
                r"\baca-string-iv-markup",
                direction=abjad.DOWN,
            ),
            match=0,
        ),
    )
Ejemplo n.º 14
0
def vc(m):
    accumulator(
        "vc",
        baca.dls_staff_padding(8),
    )
    accumulator(
        ("vc", (1, 12)),
        baca.ottava_bassa(),
        baca.flat_glissando(
            "B0",
            hide_middle_stems=True,
        ),
    )
    accumulator(
        ("vc", (9, 12)),
        baca.hairpin(
            "pp >o niente",
            selector=lambda _: baca.select.rleaves(_),
        ),
    )
    accumulator(
        (["vc", "vcr"], 13),
        baca.tacet(selector=lambda _: baca.select.mmrests(_)),
    )
    accumulator(
        ("vc", (14, 17)),
        baca.tacet(selector=lambda _: baca.select.mmrests(_)),
    )
Ejemplo n.º 15
0
def va(m):
    accumulator(
        "va",
        baca.clef("treble"),
    )
    accumulator(
        ("va", (1, 18)),
        baca.pitch("D5"),
    )
    accumulator(
        ("va", (19, 30)),
        baca.pitch("Dqs5"),
    )
    accumulator(
        ("va", 47),
        baca.clef("alto"),
    )
    accumulator(
        ("va", (49, 53)),
        baca.dynamic(
            '"mf"',
            abjad.Tweak(r"- \tweak extra-offset #'(-2 . 0)"),
            abjad.Tweak(r"- \tweak X-extent #'(0 . 0)"),
        ),
        library.style_tailpiece_material(
            abjad.Tweak(r"- \tweak bound-details.right.padding 1.5"), ),
    )
    accumulator(
        ("va", 57),
        baca.hairpin(
            "pp -- !",
            abjad.Tweak(r"- \tweak to-barline ##t"),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.pitch("Bb2"),
        library.flight_spanner("memory of flight -|", 5.5),
    )
    accumulator(
        ("va", 58),
        baca.clef("treble"),
    )
    accumulator(
        ("va", 65),
        baca.clef("alto"),
    )
    accumulator(
        ("va", (67, 89)),
        baca.tasto_spanner(abjad.Tweak(r"- \tweak staff-padding 5.5"), ),
    )
    accumulator(
        ("va", (90, 93)),
        baca.dynamic(
            '"mf"',
            abjad.Tweak(r"- \tweak self-alignment-X -0.75"),
        ),
        library.style_tailpiece_material(
            abjad.Tweak(r"- \tweak bound-details.right.Y 0"),
            abjad.Tweak(r"- \tweak bound-details.right.padding 5.5"),
        ),
    )
Ejemplo n.º 16
0
def va(m):
    accumulator(
        ("va", (1, 7)),
        baca.circle_bow_spanner(
            abjad.Tweak(r"- \tweak staff-padding 5.5"),
            qualifier="wide-poss",
        ),
        baca.flat_glissando("Bqf3"),
        baca.hairpin(
            "mp -- !",
            abjad.Tweak(r"- \tweak to-barline ##t"),
            measures=(1, 3),
            selector=lambda _: baca.select.rleak(baca.select.ltleaves(_)),
        ),
        baca.markup(
            r"\baca-seven-d-flat",
            abjad.Tweak(r"- \tweak padding 1.5"),
        ),
    )
    accumulator(
        ("va", (10, 11)),
        baca.flat_glissando(
            "<Eqs4 Gtqs4>",
            hide_middle_stems=True,
            right_broken=True,
        ),
        baca.markup(
            r"\stirrings-still-twenty-four-et-markup",
            abjad.Tweak(r"- \tweak padding 1.5"),
        ),
    )
Ejemplo n.º 17
0
def vns(cache):
    accumulator(
        (["v1", "v2"], (49, 53)),
        baca.tacet(selector=lambda _: baca.select.mmrests(_)),
    )
    accumulator(
        (["v1", "v2"], (67, 85)),
        baca.tasto_spanner(abjad.Tweak(r"- \tweak staff-padding 5.5"), ),
    )
    accumulator(
        (["v1", "v2"], (86, 92)),
        baca.hairpin(
            "(p) < mp -- !",
            abjad.Tweak(r"- \tweak to-barline ##t"),
            pieces=lambda _: baca.select.mgroups(_, [3, 4 + 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
    )
    accumulator(
        (["v1", "v2"], (90, 92)),
        library.urtext_spanner("urtext (NEW cds) -|", 8),
    )
    accumulator(
        (["v1", "v1r", "v2", "v2r"], 93),
        baca.tacet(selector=lambda _: baca.select.mmrests(_)),
    )
Ejemplo n.º 18
0
def v1_va_vc(cache):
    accumulator(
        (["v1", "va", "vc"], (3, 4)),
        baca.hairpin(
            "pp -- !",
            abjad.Tweak(r"- \tweak to-barline ##t"),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.new(
            baca.flat_glissando("<F#4 Dqf5>"),
            baca.markup(r"\stirrings-still-seven-plus-nine-of-e-markup"),
            baca.tasto_spanner(
                abjad.Tweak(r"- \tweak staff-padding 5.5"),
            ),
            match=0,
        ),
        baca.new(
            baca.flat_glissando("<B2 Aqs3>"),
            baca.markup(
                r"\stirrings-still-eleven-plus-three-of-e-markup",
                abjad.Tweak(r"- \tweak padding 1.5"),
            ),
            baca.tasto_spanner(
                abjad.Tweak(r"- \tweak staff-padding 5.5"),
            ),
            match=1,
        ),
        baca.new(
            baca.flat_glissando("E2"),
            match=2,
        ),
        baca.tuplet_bracket_down(),
        library.clouded_pane_spanner("clouded pane (beacon) -|", 8),
    )
Ejemplo n.º 19
0
def va(m):
    accumulator(
        ("va", 5),
        baca.dynamic("mp"),
        baca.markup(
            r"\stirrings-still-nine-plus-seven-of-b-markup",
            abjad.Tweak(r"- \tweak padding 1.5"),
        ),
        baca.pitch("<Aqf3 C#4>"),
        library.clouded_pane_spanner("clouded (partial: stopped) -|", 8),
    )
    accumulator(
        ("va", [(12, 23), (30, 59)]),
        baca.pitch("Bqf3"),
    )
    accumulator(
        ("va", (24, 27)),
        baca.flat_glissando("Bqf3"),
    )
    accumulator(
        ("va", (28, 29)),
        baca.flat_glissando("<B2 Aqs3>"),
        baca.hairpin(
            "pp -- !",
            abjad.Tweak(r"- \tweak to-barline ##t"),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.markup(
            r"\stirrings-still-eleven-plus-three-of-e-markup",
            abjad.Tweak(r"- \tweak padding 1.5"),
        ),
        baca.tasto_spanner(abjad.Tweak(r"- \tweak staff-padding 5.5"), ),
        library.clouded_pane_spanner("clouded pane (beacon) -|", 8),
    )
    accumulator(
        ("va", (36, 59)),
        baca.suite(
            baca.new(
                baca.tie(lambda _: baca.select.lleaf(_, 0)),
                measures=56,
            ),
            baca.articulations([
                abjad.Articulation("baca-damp"),
                abjad.Articulation("baca-double-diamond"),
                abjad.Articulation("baca-double-diamond"),
                abjad.Articulation("baca-damp"),
                None,
            ], ),
            baca.new(
                baca.note_head_style_harmonic(
                    selector=lambda _: baca.select.pleaves(_)),
                map=lambda _: abjad.select.get(baca.select.plts(_), [4], 5),
            ),
        ),
    )
    accumulator(
        ("va", (71, 76)),
        baca.tuplet_bracket_staff_padding(0.5),
    )
Ejemplo n.º 20
0
def v1(m):
    accumulator(
        ("v1", 5),
        baca.dynamic("mp"),
        baca.markup(
            r"\stirrings-still-twelve-et-conflicts-with-viola-markup",
            abjad.Tweak(r"- \tweak padding 1.5"),
        ),
        baca.pitch("<F4 A4>"),
        library.urtext_spanner("urtext (ds) -|", 8),
    )
    accumulator(
        ("v1", [(12, 23), (30, 59)]),
        baca.pitch("Bqf5"),
    )
    accumulator(
        ("v1", (24, 27)),
        baca.flat_glissando("Bqf5"),
    )
    accumulator(
        ("v1", (28, 29)),
        baca.flat_glissando("<F#4 Dqf5>"),
        baca.hairpin(
            "pp -- !",
            abjad.Tweak(r"- \tweak to-barline ##t"),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.markup(
            r"\stirrings-still-seven-plus-nine-of-e-markup",
            abjad.Tweak(r"- \tweak padding 1.5"),
        ),
        baca.tasto_spanner(abjad.Tweak(r"- \tweak staff-padding 5.5"), ),
        library.clouded_pane_spanner("clouded pane (beacon) -|", 8),
    )
    accumulator(
        ("v1", (36, 59)),
        baca.suite(
            baca.new(
                baca.tie(lambda _: baca.select.lleaf(_, 0)),
                measures=56,
            ),
            baca.articulations([
                abjad.Articulation("baca-damp"),
                abjad.Articulation("baca-double-diamond"),
                abjad.Articulation("baca-damp"),
                None,
            ], ),
            baca.new(
                baca.note_head_style_harmonic(
                    selector=lambda _: baca.select.pleaves(_)),
                map=lambda _: abjad.select.get(baca.select.plts(_), [3], 4),
            ),
        ),
    )
    accumulator(
        ("v1", (71, 76)),
        baca.tuplet_bracket_down(),
        baca.tuplet_bracket_staff_padding(1.25),
    )
Ejemplo n.º 21
0
def vns_vc(cache):
    accumulator(
        (["v1", "v2", "vc"], (5, 17)),
        baca.hairpin(
            "pp < mp",
            selector=lambda _: baca.select.rleaves(_),
        ),
    )
Ejemplo n.º 22
0
def vc(m):
    accumulator(
        ("vc", [1, 3, 7, 9, 11, 14]),
        baca.pitch("B1"),
        library.clouded_pane_spanner(
            "clouded pane (pane / urtext) -|",
            5.5,
        ),
    )
    accumulator(
        "vc",
        baca.clef("bass"),
    )
    accumulator(
        ("vc", [1, 3, 7, 9]),
        baca.hairpin(
            "o< f >o !",
            pieces=lambda _: baca.select.lparts(_, [1, 2]),
            selector=lambda _: baca.select.rleaves(_),
        ),
    )
    accumulator(
        ("vc", (5, 6)),
        baca.tacet(selector=lambda _: baca.select.mmrests(_)),
    )
    accumulator(
        ("vc", 11),
        baca.hairpin(
            "o< f -- !",
            pieces=lambda _: baca.select.lparts(_, [1, 2]),
            selector=lambda _: baca.select.rleaves(_),
        ),
    )
    accumulator(
        ("vc", 14),
        baca.hairpin(
            "f -- ! >o niente",
            pieces=lambda _: baca.select.lparts(_, [1, 2]),
            selector=lambda _: baca.select.rleaves(_),
        ),
    )
    accumulator(
        ("vc", 19),
        baca.clef("treble"),
    )
Ejemplo n.º 23
0
def tutti(cache):
    accumulator(
        ["v1", "v2", "va", "vc"],
        baca.dls_staff_padding(6),
        baca.tuplet_bracket_down(),
        baca.tuplet_bracket_staff_padding(1.5),
    )
    accumulator(
        (["v1", "v2", "va", "vc"], (1, 2)),
        baca.hairpin(
            "pp -- !",
            abjad.Tweak(r"- \tweak to-barline ##t"),
            selector=lambda _: baca.select.rleaves(_),
        ),
    )
    accumulator(
        (["v1", "v2", "va", "vc"], (3, 4)),
        baca.hairpin(
            '"f" -- !',
            abjad.Tweak(r"- \tweak to-barline ##t"),
            selector=lambda _: baca.select.rleaves(_),
        ),
    )
    accumulator(
        (["v1", "v2", "va", "vc"], (24, 31)),
        baca.text_spanner(
            "each time more ponticello =|",
            abjad.Tweak(r"- \tweak staff-padding 8"),
            autodetect_right_padding=True,
            bookend=False,
            lilypond_id=2,
            selector=lambda _: baca.select.rleaves(_),
        ),
    )
    accumulator(
        (["v1", "v2", "va", "vc"], (32, 37)),
        baca.text_spanner(
            "each time less ponticello =|",
            abjad.Tweak(r"- \tweak staff-padding 10.5"),
            autodetect_right_padding=True,
            bookend=False,
            lilypond_id=2,
            selector=lambda _: baca.select.rleaves(_),
        ),
    )
Ejemplo n.º 24
0
def vns_va(cache):
    accumulator(
        ["v1", "v2", "va"],
        baca.hairpin(
            '"f" > p p < "ff" > p p < "fff" > p p < "fff" >o !',
            pieces=lambda _: baca.select.mgroups(
                _, [2, 1, 1, 2, 1, 1, 2, 1, 1, 4 + 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
    )
Ejemplo n.º 25
0
def tremolo(peak="f"):
    return baca.suite(
        baca.hairpin(
            f"niente o< {peak} >o niente",
            pieces=lambda _: baca.select.mgroups(_, [2, 2]),
        ),
        baca.text_spanner(
            "tasto => ext. pont. => tasto",
            pieces=baca.selectors.cmgroups([2]),
        ),
        baca.stem_tremolo(
            selector=baca.selectors.pleaves(exclude=baca.const.HIDDEN), ),
    )
Ejemplo n.º 26
0
def vns_va(cache):
    accumulator(
        (["v1", "v2", "va"], (1, 7)),
        baca.new(
            baca.hairpin(
                "(mp) >o niente",
                selector=lambda _: baca.select.rleaves(_),
            ),
            measures=(4, 7),
        ),
    )
    accumulator(
        (["v1r", "v2r", "var"], 8),
        baca.tacet(selector=lambda _: baca.select.mmrests(_)),
    )
    accumulator(
        (["v1", "v2", "va"], 9),
        baca.tacet(selector=lambda _: baca.select.mmrests(_)),
    )
    accumulator(
        (["v1", "v2", "va"], (10, 11)),
        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(_),
        ),
        # TODO: allow right-broken spanner
        library.urtext_spanner(
            "urtext (sustained ds) -|",
            5.5,
            selector=lambda _: baca.select.leaves(_),
        ),
    )
Ejemplo n.º 27
0
def vns_va(cache):
    accumulator(
        (["v1", "v2", "va"], (1, 69)),
        baca.tuplet_bracket_down(),
    )
    accumulator(
        (["v1", "v2", "va"], 5),
        baca.tasto_spanner(abjad.Tweak(r"- \tweak staff-padding 5.5"), ),
    )
    accumulator(
        (["v1r", "v2r", "var"], 34),
        baca.tacet(selector=lambda _: baca.select.mmrests(_)),
    )
    accumulator(
        (["v1", "v2", "va"], 35),
        baca.tacet(selector=lambda _: baca.select.mmrests(_)),
    )
    accumulator(
        (["v1", "v2", "va"], (60, 61)),
        baca.breathe(),
        baca.hairpin(
            "appena-udibile -- !",
            abjad.Tweak(r"- \tweak self-alignment-X #left"),
            abjad.Tweak(r"- \tweak to-barline ##t"),
            selector=lambda _: baca.select.rleaves(_),
        ),
        baca.new(
            baca.flat_glissando(
                "<F4 A4>",
                hide_middle_stems=True,
            ),
            match=0,
        ),
        baca.new(
            baca.flat_glissando(
                "<E4 G#4>",
                hide_middle_stems=True,
            ),
            match=1,
        ),
        baca.new(
            baca.flat_glissando(
                "<Eqs4 Gtqs4>",
                hide_middle_stems=True,
            ),
            match=2,
        ),
        library.urtext_spanner("urtext (ds field) -|", 5.5),
    )
Ejemplo n.º 28
0
def vc(m):
    accumulator(
        "vc",
        baca.hairpin(
            'p < "f" -- "f" >o niente',
            # TODO: extend hairpin to phantom measure
            # following two lines should remain
            # pieces=lambda _: baca.select.mgroups(_, [5, 4, 2 + 1]),
            # selector=lambda _: baca.select.rleaves(_),
            # temporary:
            pieces=lambda _: baca.select.mgroups(_, [5, 4, 1 + 1]),
            selector=lambda _: baca.select.leaves(_),
        ),
        baca.half_clt_spanner(
            abjad.Tweak(rf"- \tweak staff-padding {6 + 6.5}"),
            # TODO: extend spanner to phantom measure
            selector=lambda _: baca.select.leaves(_),
        ),
        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(_)),
    )
    accumulator(
        ("vc", (1, 6)),
        baca.beam(),
        baca.suite(
            baca.pitches("G2 B3 D3 C#4 F4"),
            baca.glissando(selector=lambda _: baca.select.rleaves(_), ),
        ),
        library.transition_bcps(
            final_spanner=True,
            staff_padding=6,
        ),
    )
    accumulator(
        ("vc", (7, 11)),
        baca.clef("treble"),
        baca.flat_glissando("A5"),
        baca.markup(
            r"\stirrings-still-ninth-partial-markup",
            abjad.Tweak(r"- \tweak padding 1.5"),
            direction=abjad.DOWN,
        ),
        library.cello_cell_bcps(staff_padding=6, ),
    )
Ejemplo n.º 29
0
def vc(m):
    accumulator(
        ("vc", (1, 8)),
        baca.flat_glissando(
            "Eb2",
            hide_middle_stems=True,
            left_broken=True,
        ),
        baca.hairpin(
            "(p) < ff -- (ff) >o niente",
            pieces=lambda _: baca.select.mgroups(_, [2, 4, 2 + 1]),
            selector=lambda _: baca.select.rleaves(_),
        ),
        library.clouded_pane_spanner("clouded pane (continues) -|", 5.5),
    )
Ejemplo n.º 30
0
def tremolo_suite():
    return baca.suite(
        baca.accent(selector=baca.selectors.pleaves()),
        baca.dynamic("ff-ancora"),
        baca.hairpin(
            "ff > pp",
            selector=baca.selectors.pleaves((2, -2)),
        ),
        baca.only_parts(
            baca.markup(r"\animales-ext-ponticello-like-acid-markup"), ),
        baca.text_spanner(
            "ext. pont. => tasto",
            selector=baca.selectors.pleaves((2, -2)),
        ),
        baca.stem_tremolo(selector=baca.selectors.pleaves()),
    )
Ejemplo n.º 31
0
maker(
    (strings, (12, 20)),
    baca.pitches(
        pcs,
        selector=baca.plts(exclude=abjad.const.HIDDEN),
        ),
    )

maker(
    (strings, (12, 20)),
    baca.new(
        baca.glissando(),
        map=baca.runs(),
        ),
    baca.hairpin(
        'p > ppp',
        selector=baca.tleaves(),
        ),
    baca.markup('molto flautando'),
    baca.note_head_style_harmonic(),
    )

maker(
    ('vn', (12, 20)),
    krummzeit.register_narrow(5, 4),
    )

maker(
    ('va', (12, 20)),
    krummzeit.register_narrow(4, 3),
    )
Ejemplo n.º 32
0
        selector=baca.leaves(),
        ),
    baca.staff_positions(
        [0],
        allow_repeats=True,
        ),
    )

# NOTE: final_hairpin=False can be removed once
#       LilyPond fixes DynamicLineSpanner bug.
maker(
    ('rh', (2, 13)),
    baca.hairpin(
        'mp > p <',
        bookend=False,
        final_hairpin=False,
        pieces=baca.lparts([2, 1, 3, 2, 2, 1, 3, 2, 2, 1, 3, 2 + 1]),
        selector=baca.leaves().rleak(),
        ),
    )

maker(
    ('rh', 3),
    baca.make_monads('1/3  1/3'),
    baca.markup(
        r'\baca-fz-markup',
        direction=abjad.Down,
        literal=True,
        selector=baca.leaf(0),
        ),
    baca.markup(
Ejemplo n.º 33
0
    baca.clef('alto'),
    baca.new(
        baca.glissando(),
        map=baca.runs(exclude=abjad.const.HIDDEN),
        ),
    baca.new(
        baca.markup('molto flautando'),
        measures=6,
        ),
    )

maker(
    (['va', 'vc'], (1, 23)),
    baca.new(
        baca.hairpin(
            'ff > pp',
            selector=baca.tleaves()[:2],
            ),
        map=baca.runs(exclude=abjad.const.HIDDEN),
        ),
    )

maker(
    ('vc', (1, 23)),
    baca.pitches(
        "d, ctqs, e, dqs, cqs, b,, dqs,",
        selector=baca.plts(exclude=abjad.const.HIDDEN),
        ),
    )

maker(
    ('vc', (1, 23)),
Ejemplo n.º 34
0
        ),
    )

maker(
    ('rh', (1, 20)),
    baca.markup(
        r'\baca-fz-markup',
        direction=abjad.Down,
        literal=True,
        selector=baca.leaves(),
        ),
    )

maker(
    ('rh', (1, 13)),
    baca.hairpin('mp > pp'),
    )

maker(
    ('rh', (14, 26)),
    baca.hairpin('(pp) < ff'),
    )

maker(
    ('rh', (9, 16)),
    baca.make_monads('1/4 3/16 1/4 3/16 1/4 3/16 1/4 3/16'),
    baca.staff_positions(
        [-14, -14, -16, -16, -18, -18, -16, -16],
        allow_out_of_range=True,
        allow_repeats=True,
        ),
Ejemplo n.º 35
0
        ),
    )

maker(
    ('rh', 3),
    baca.make_monads('1/4  1/8  1/8'),
    baca.staff_positions(
        [6, 6, 4],
        allow_repeats=True,
        ),
    )

maker(
    ('rh', 4),
    baca.hairpin(
        'p -- !',
        selector=baca.leaves().rleak().rleak(),
        ),
    baca.make_monads('1/3  1/8  1/8'),
    baca.staff_positions(
        [4, 4, 2],
        allow_repeats=True,
        ),
    )

maker(
    ('rh', (4, 5)),
    baca.markup(
        r'\baca-fz-markup',
        direction=abjad.Down,
        literal=True,
        ),
Ejemplo n.º 36
0
        ),
    )

maker(
    ('rh', (19, 24)),
    baca.beam(),
    )

maker(
    ('rh', 25),
    baca.glissando(
        right_broken=True,
        selector=baca.leaves().rleak(),
        ),
    baca.hairpin(
        '(mp) -- !',
        selector=baca.leaves().rleak(),
        ),
    baca.literal(
        r'\override DynamicLineSpanner.staff-padding = 7',
        ),
    baca.literal([
        r'\stopStaff',
        r'\once \override RHStaff.StaffSymbol.line-positions ='
        " #'(8.2 8 7.8 6 4 2 0 -2 -4 -5.8 -6 -6.2)",
        r'\startStaff',
        ]),
    baca.markup(
        r'\huitzil-sliding-from-bridge-onto-string-markup',
        abjad.tweak(6).staff_padding,
        literal=True,
        ),
Ejemplo n.º 37
0
accumulator(
    'rh_v1',
    collections['stage 5']['rh'].next(exhausted=True),
    baca.register(36),
    baca.tenuto(selector=baca.pheads()),
    counts=[8],
    figure_name='rh-1 4.5.6',
    hide_time_signature=True,
    )

accumulator(
    'rh_v2',
    collections['stage 5']['lh'].next(4),
    baca.anchor_to_figure('rh-1 4.5.3'),
    baca.dls_staff_padding(8),
    baca.hairpin('f < ff', selector=baca.leaves()[:-1]),
    baca.new(
        baca.slur(),
        map=baca.ntruns(),
        ),
    baca.register(10, 36),
    baca.slur_up(),
    figure_name='rh-2 4.5.1',
    hide_time_signature=True,
    time_treatments=[abjad.Duration(1, 4)],
    )

accumulator(
    'rh_v2',
    collections['stage 5']['lh'].next(4),
    baca.dls_staff_padding(8),
Ejemplo n.º 38
0
        ),
    )

maker(
    ('rh', (2, 13)),
    # FUTURE: use after LilyPond fixes DynamicLineSpanner bug:
    #baca.hairpin(
    #    'mp > p <',
    #    bookend=False,
    #    pieces=baca.lparts([2, 1, 3, 2, 2, 1, 3, 2, 2, 1, 3, 2 + 1]),
    #    selector=baca.leaves().rleak(),
    #    ),
    # FUTURE: replace after LilyPond fixes DynamicLineSpanner bug:
    baca.hairpin(
        'mp > p <',
        #bookend=False,
        pieces=baca.lparts([2, 1, 3, 2, 2, 1, 3, 2, 2, 1, 4]),
        selector=baca.leaves()[:-1],
        ),
    )

maker(
    ('rh', 3),
    baca.make_monads('1/3  1/3'),
    baca.markup(
        r'\baca-fz-markup',
        direction=abjad.Down,
        literal=True,
        selector=baca.leaf(0),
        ),
    baca.markup(
        r'\baca-fffz-markup',
Ejemplo n.º 39
0
    )

maker(
    ('va', (1, 6)),
    baca.pitch('F#3'),
    )

maker(
    ('vc', (1, 6)),
    baca.pitch('C2'),
    )

maker(
    (['va', 'vc'], (2, 6)),
    baca.hairpin(
        'ppp < fff',
        selector=baca.tleaves(),
        ),
    )

maker(
    ('perc', (2, 16)),
    baca.dynamic('ppp'),
    baca.stem_tremolo(
        selector=baca.pleaves(exclude=abjad.const.HIDDEN),
        ),
    baca.markup(
        krummzeit.markup.fingertips(),
        ),
    )

maker(
Ejemplo n.º 40
0
        ),
    baca.text_script_parent_alignment_x(0),
    baca.text_script_self_alignment_x(0),
    baca.text_script_staff_padding(4),
    )

maker(
    ('rh', (1, 10)),
    baca.markup(
        r'\baca-mpz-markup',
        direction=abjad.Down,
        literal=True,
        ),
    baca.hairpin(
        'mp > pp <',
        abjad.tweak(True).to_barline,
        final_hairpin=False,
        pieces=baca.clparts([1]),
        ),
    )

maker(
    ('rh', (1, 12)),
    baca.make_monads('1/2 1/2 1/2 1/2 1/2 1/2 1/2 1/2 1/2 3/2'),
    baca.repeat_tie_to(
        selector=baca.pleaves()[1:],
        ),
    baca.staff_position(8),
    baca.text_spanner(
        'larg. => strett. =>',
        abjad.tweak(6).staff_padding,
        pieces=baca.clparts([1]),
Ejemplo n.º 41
0
    )

maker(
    ('cl', (16, 22)),
    baca.dynamic('f'),
    )

maker(
    ('vn', (19, 22)),
    baca.dynamic('f'),
    baca.markup('off-string bowing on staccati'),
    )

maker(
    (['vn', 'ob', 'cl'], (23, 28)),
    baca.hairpin('f < ff'),
    )

maker(
    (['vn', 'ob', 'cl'], (1, 37)),
    baca.staccato(
        selector=baca.pheads(exclude=abjad.const.HIDDEN),
        ),
    )

maker(
    ('va', (1, 11)),
    baca.pitches("d ctqs e dqs cqs b, cqs"),
    )

maker(