def v1(m): accumulator( ("v1", (1, 7)), baca.beam(), baca.circle_bow_spanner( abjad.Tweak(r"- \tweak staff-padding 5.5"), qualifier="wide", ), baca.flat_glissando( "Aqs4", left_broken=True, ), ) accumulator( ("v1", (10, 11)), baca.flat_glissando( "<F4 A4>", hide_middle_stems=True, right_broken=True, ), baca.markup( r"\stirrings-still-twelve-et-markup", abjad.Tweak(r"- \tweak padding 1.5"), ), )
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", ), )
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"), ), )
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", ), )
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, ), )
def vns(cache): accumulator( (["v1", "v2"], 56), baca.circle_bow_spanner( abjad.Tweak(r"- \tweak staff-padding 5.5"), qualifier="wide", # TODO: allow spanner to run to end of section # selector=lambda _: baca.select.rleaves(_), selector=lambda _: baca.select.leaves(_), ), baca.hairpin( "mp -- !", abjad.Tweak(r"- \tweak to-barline ##t"), selector=lambda _: baca.select.rleak(baca.select.ltleaves(_)), ), baca.new( baca.beam(), baca.markup( r"\baca-thirteen-d-flat", abjad.Tweak(r"- \tweak padding 1.5"), ), baca.flat_glissando( "Aqs4", right_broken=True, ), match=0, ), baca.new( baca.markup( r"\baca-nine-d-flat", abjad.Tweak(r"- \tweak padding 1.5"), ), baca.flat_glissando( "Eb4", right_broken=True, ), match=1, ), )
maker( ('rh', (21, 24)), baca.rhythm( "{" r" \times 4/5 { c'8 c'8 c'8 c'8 c'8 }" r" \times 4/6 { c'8 c'8 c'8 c'8 c'8 c'8 }" r" \times 4/7 { c'8 c'8 c'8 c'8 c'8 c'8 c'8 }" " c'16 c'16 c'16 c'16 c'16 c'16 c'16 c'16" " }", ), ) 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', ),
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, ), )
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(_)), )
def vns_va(cache): accumulator( ["v1", "v2", "va"], baca.tuplet_bracket_down(), ) accumulator( (["v1", "v2", "va"], 38), baca.tacet(selector=lambda _: baca.select.mmrests(_)), ) accumulator( (["v1", "v2", "va"], [47, 55]), baca.dynamic_text_self_alignment_x( -1, selector=lambda _: abjad.select.leaf(_, 2), ), baca.hairpin( "p <| mp p < mp", pieces=lambda _: baca.select.clparts(_, [1]), ), baca.new( baca.repeat_tie(lambda _: baca.select.pleaf(_, 0), ), baca.stop_on_string(), selector=lambda _: baca.select.pleaf(_, -1), ), baca.new( baca.flat_glissando( "<E4 C5>", selector=lambda _: baca.select.pleaves(_)[:2], ), baca.flat_glissando( "<E4 Cqs5>", hide_middle_stems=True, selector=lambda _: baca.select.pleaves(_)[2:], ), match=[0, 1], ), baca.new( baca.flat_glissando( "<Eb4 B4>", selector=lambda _: baca.select.pleaves(_)[:2], ), baca.flat_glissando( "<Eqf4 C5>", hide_middle_stems=True, selector=lambda _: baca.select.pleaves(_)[2:], ), match=[2, 3], ), baca.new( baca.flat_glissando( "<D4 Gqs4>", selector=lambda _: baca.select.pleaves(_)[:2], ), baca.flat_glissando( "<C#4 Gqs4>", hide_middle_stems=True, selector=lambda _: baca.select.pleaves(_)[2:], ), match=[4, 5], ), baca.tasto_spanner(abjad.Tweak(r"- \tweak staff-padding 5.5"), ), library.breathe(selector=lambda _: baca.select.pleaf(_, 1), ), library.urtext_spanner("A, B -|", 8), ) accumulator( (["v1", "v2", "va"], 65), baca.hairpin( "p -- !", abjad.Tweak(r"- \tweak to-barline ##t"), selector=lambda _: baca.select.rleaves(_), ), baca.tasto_spanner(abjad.Tweak(r"- \tweak staff-padding 5.5"), ), library.urtext_spanner("urtext (cds) -|", 8), ) accumulator( (["v1", "v2", "va"], 66), baca.circle_bow_spanner( abjad.Tweak(r"- \tweak staff-padding 5.5"), qualifier="wide", ), baca.hairpin( "mp -- !", abjad.Tweak(r"- \tweak to-barline ##t"), selector=lambda _: baca.select.rleak(baca.select.ltleaves(_)), ), ) accumulator( (["v1", "v2", "va"], 66), baca.new( baca.beam(), baca.flat_glissando("Aqs4"), baca.markup( r"\baca-thirteen-d-flat", abjad.Tweak(r"- \tweak padding 1.5"), ), match=0, ), baca.new( baca.flat_glissando("Eb4"), baca.markup( r"\baca-nine-d-flat", abjad.Tweak(r"- \tweak padding 1.5"), ), match=1, ), baca.new( baca.markup( r"\baca-seven-d-flat", abjad.Tweak(r"- \tweak padding 1.5"), ), baca.pitch("Bqf3"), match=2, ), ) accumulator( (["v1", "v2", "va"], 67), baca.dynamic( "p-sempre", abjad.Tweak(r"- \tweak self-alignment-X -0.75"), ), ) accumulator( (["v1", "v2", "va"], (67, 89)), library.urtext_spanner("urtext (resumes) -|", 8), ) accumulator( (["v1", "v2", "va"], (68, 83)), baca.suite( baca.new( baca.espressivo(), baca.stem_tremolo(selector=lambda _: baca.select.pleaves(_)), map=lambda _: abjad.select.get(baca.select.plts(_), [1], 2), ), baca.untie(lambda _: baca.select.leaves(_)), ), ) accumulator( (["v1", "v2", "va"], (94, 96)), baca.hairpin( "mp >o", abjad.Tweak(r"- \tweak to-barline ##t"), bookend=False, selector=lambda _: baca.select.rleaves(_), ), baca.scp_spanner( "P -> T =|", abjad.Tweak(r"- \tweak staff-padding 5.5"), bookend=False, pieces=lambda _: baca.select.mgroups(_, [2, 1 + 1]), selector=lambda _: baca.select.rleaves(_), ), library.urtext_spanner("urtext (resumes) -|", 8), ) accumulator( (["v1", "v2", "va"], (97, 98)), baca.circle_bow_spanner( abjad.Tweak(r"- \tweak staff-padding 5.5"), qualifier="tight-poss-grind-at-talon", ), 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( (["v1", "v2", "va"], (97, 98)), baca.new( baca.flat_glissando("Bb4"), match=0, ), baca.new( baca.flat_glissando( "G4", stop_pitch="A4", ), match=1, ), baca.new( baca.flat_glissando("Ab4"), match=2, ), )
def va(m): accumulator( ("va", (1, 8)), baca.flat_glissando( "Gqf4", hide_middle_stems=True, ), baca.markup( r"\baca-thirteen-b-flat", abjad.Tweak(r"- \tweak padding 1.5"), ), ) accumulator( ("va", (13, 19)), baca.hairpin( "niente o< f", selector=lambda _: baca.select.rleaves(_), ), baca.scp_spanner( "T -> O", abjad.Tweak(r"- \tweak staff-padding 5.5"), autodetect_right_padding=False, bookend=-1, selector=lambda _: baca.select.rleaves(_), ), ) accumulator( ("va", (13, 22)), baca.breathe(), baca.flat_glissando( "<C3 Aqs3>", hide_middle_stems=True, ), baca.markup( r"\stirrings-still-twenty-four-et-markup", abjad.Tweak(r"- \tweak padding 1.5"), ), ) accumulator( ("va", [(23, 28), (30, 35)]), baca.flat_glissando("<C3 Aqs3>"), baca.new( baca.markup( r"\stirrings-still-twenty-four-et-markup", abjad.Tweak(r"- \tweak staff-padding 8"), ), match=-1, ), ) accumulator( ("va", (23, 28)), baca.accent(selector=lambda _: baca.select.pheads(_), ), baca.hairpin( "f < ff >", pieces=lambda _: abjad.select.partition_by_counts( baca.plts(_)[:-1], [2], cyclic=True), ), baca.scp_spanner( "O -> 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(_), ), ) accumulator( ("va", 29), baca.hairpin( "mp -- !", abjad.Tweak(r"- \tweak to-barline ##t"), selector=lambda _: baca.select.rleaves(_), ), baca.markup( r"\baca-five-e", abjad.Tweak(r"- \tweak padding 1.5"), ), baca.pitch("G#3"), baca.stem_tremolo(selector=lambda _: baca.select.pleaves(_), ), ) accumulator( ("va", (30, 35)), baca.accent(selector=lambda _: baca.select.pheads(_), ), baca.hairpin( "ff < fff >", pieces=lambda _: abjad.select.partition_by_counts( baca.plts(_)[:-1], [2], cyclic=True), ), baca.scp_spanner( "O -> 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(_), ), ) accumulator( ("va", (37, 38)), baca.beam(), baca.flat_glissando( "Ab3", stop_pitch="Gb3", ), baca.hairpin( "p -- ! >o niente", pieces=lambda _: baca.select.cmgroups(_, ), selector=lambda _: baca.select.rleaves(_), ), baca.text_spanner( "slow bow -> stopped", abjad.Tweak(r"- \tweak bound-details.right.padding 11"), abjad.Tweak(r"- \tweak staff-padding 5.5"), selector=lambda _: baca.select.rleaves(_), ), )
def v2(m): accumulator( ("v2", [(1, 4), 6, 8, (10, 14), 16, 18]), baca.flat_glissando( "A3", hide_middle_stems=True, rleak=True, ), baca.tasto_spanner( abjad.Tweak(rf"- \tweak staff-padding {v2_spanner_staff_padding}"), ), ) accumulator( ("v2", [5, 7, 9, 15, 17, 19]), baca.flat_glissando( "A3", allow_repitch=True, rleak=True, ), ) accumulator( ("v2", [5, 7, 9, 15, 17, (19, 25)]), baca.circle_bow_spanner( abjad.Tweak(rf"- \tweak staff-padding {v2_spanner_staff_padding}"), qualifier="wide-poss", ), ) accumulator( ("v2", 5), baca.hairpin( "ppppp < p > ppp", pieces=lambda _: baca.select.lparts(_, [1, 3, 1]), selector=lambda _: baca.select.rleaves(_), ), ) accumulator( ("v2", 7), baca.hairpin( "ppp < p > ppp", pieces=lambda _: baca.select.lparts(_, [5, 1, 1]), selector=lambda _: baca.select.rleaves(_), ), ) accumulator( ("v2", 9), baca.hairpin( "ppp < p > ppppp", pieces=lambda _: baca.select.lparts(_, [1, 3, 1]), selector=lambda _: baca.select.rleaves(_), ), ) accumulator( ("v2", 15), baca.hairpin( "ppppp < p > pp", pieces=lambda _: baca.select.lparts(_, [1, 4, 1]), selector=lambda _: baca.select.rleaves(_), ), ) accumulator( ("v2", 17), baca.hairpin( "ppp < p > pp", pieces=lambda _: baca.select.lparts(_, [7, 1, 1]), selector=lambda _: baca.select.rleaves(_), ), ) accumulator( ("v2", 19), baca.hairpin( "ppp < p > ppppp", pieces=lambda _: baca.select.lparts(_, [1, 2, 1]), selector=lambda _: baca.select.rleaves(_), ), ) accumulator( ("v2", (20, 25)), baca.beam(), baca.flat_glissando( "A3", stop_pitch="Gb4", ), )
def v1(m): accumulator( ("v1", [(1, 5), (8, 9), (11, 15), (18, 19)]), baca.flat_glissando( "A4", hide_middle_stems=True, rleak=True, ), baca.tasto_spanner( abjad.Tweak(rf"- \tweak staff-padding {v1_spanner_staff_padding}"), ), ) accumulator( ("v1", (6, 7)), baca.hairpin( "ppppp < p > ppp", pieces=lambda _: baca.select.cmgroups( _, ), selector=lambda _: baca.select.rleaves(_), ), ) accumulator( ("v1", 10), baca.hairpin( "ppp < p > ppppp", pieces=lambda _: baca.select.lparts(_, [2, 4, 1]), selector=lambda _: baca.select.rleaves(_), ), ) accumulator( ("v1", [(6, 7), 10, (16, 17), 20]), baca.flat_glissando( "A4", allow_repitch=True, rleak=True, ), ) accumulator( ("v1", [(6, 7), 10, (16, 17), (20, 25)]), baca.circle_bow_spanner( abjad.Tweak(rf"- \tweak staff-padding {v1_spanner_staff_padding}"), qualifier="wide-poss", ), ) accumulator( ("v1", (16, 17)), baca.hairpin( "ppppp < p > ppp", pieces=lambda _: baca.select.cmgroups( _, ), selector=lambda _: baca.select.rleaves(_), ), ) accumulator( ("v1", 20), baca.hairpin( "ppp < p > ppppp", pieces=lambda _: baca.select.lparts(_, [2, 4, 1]), selector=lambda _: baca.select.rleaves(_), ), ) accumulator( ("v1", (21, 25)), baca.beam(), baca.flat_glissando( "A4", stop_pitch="Bb5", ), )