Exemplo n.º 1
0
    "2vn1",
    "2vn3",
    "va1",
    "va3",
    "vc1",
]

commands(
    (strings, (1, 2)),
    baca.accent(selector=baca.selectors.pheads((1, None))),
    baca.dynamic(
        "f-sub-but-accents-continue-sffz",
        selector=baca.selectors.pleaf(0),
    ),
    baca.pitch("Db4"),
    baca.trill_spanner(alteration="Eb4"),
)

raised_trill = [
    "1vn3",
    "2vn3",
]

unraised_trill = [
    "1vn1",
    "2vn1",
    "va1",
    "va3",
    "vc1",
]
Exemplo n.º 2
0
commands(
    ("vc", 6),
    baca.hairpin(
        "mf |>",
        bookend=False,
    ),
    baca.suite(
        baca.pitch("D3"),
        baca.glissando(
            abjad.Tweak(r"- \tweak bound-details.left.padding 0"),
            selector=lambda _: baca.select.rleak(baca.select.leaves(_)[-1:]),
        ),
    ),
    baca.trill_spanner(
        abjad.Tweak(r"- \tweak bound-details.right.padding 0.5"),
        alteration="P1",
        selector=lambda _: baca.select.leaves(_)[:2],
    ),
)

commands(
    ("vc", 7),
    baca.hairpin(
        "p > ppp < pp",
        pieces=lambda _: baca.select.lparts(_, [5, 2]),
        selector=lambda _: baca.select.rleaves(_),
    ),
    baca.literal(r"\once \override Staff.BarLine.space-alist.first-note"
                 " = #'(minimum-space . 4)"),
    baca.note_head_style_harmonic_black(
        selector=lambda _: abjad.select.leaf(_, 0), ),
Exemplo n.º 3
0
# then untie ...
commands(
    (strings, (5, 6)),
    baca.untie(baca.selectors.pleaf(0), ),
)

# ... then pitch
commands(
    (strings, (1, 4)),
    baca.dynamic(
        "f-but-accents-sffz",
        selector=baca.selectors.pleaf(0),
    ),
    baca.pitch("A4"),
    baca.trill_spanner(alteration="B4"),
)

commands(
    (strings, (5, 6)),
    baca.dynamic(
        "p-sub-but-accents-continue-sffz",
        selector=baca.selectors.pleaf(0),
    ),
    baca.pitch("Ab4"),
    baca.trill_spanner(alteration="A4", right_broken=True),
)

raised_trill = [
    "1vn3",
    "2vn3",
Exemplo n.º 4
0
)

commands(
    ("vc", 3),
    baca.finger_pressure_transition(
        selector=lambda _: baca.select.lleak(baca.select.leaves(_)[:1]), ),
    baca.hairpin(
        "|> ppp <| p",
        pieces=lambda _: baca.select.lparts(_, [1, 2]),
        selector=lambda _: baca.select.lleak(baca.select.leaves(_)),
    ),
    baca.note_head_style_harmonic_black(
        selector=lambda _: abjad.select.leaf(_, 0), ),
    baca.pitch("E2"),
    baca.trill_spanner(
        alteration="P1",
        selector=lambda _: baca.select.leaves(_)[:2],
    ),
)

commands(
    ("vc", 4),
    baca.hairpin(
        "|> ppp <| fff",
        pieces=lambda _: baca.select.lparts(_, [1, 2]),
        selector=lambda _: baca.select.lleak(baca.select.leaves(_)),
    ),
    baca.suite(
        baca.pitches(
            "<E2 C3> E2",
            allow_repeats=True,
        ),
Exemplo n.º 5
0
commands(
    [
        ("1vn1", (1, 3)),
        ("2vn1", (1, 3)),
        ("va1", (1, 3)),
        ("vc1", (1, 3)),
    ],
    baca.make_repeat_tied_notes(),
    baca.hairpin(
        "< ff",
        left_broken=True,
        selector=baca.selectors.pleaves((None, 2)),
    ),
    baca.pitch("G3"),
    baca.trill_spanner(alteration="Ab3"),
)

commands(
    "1vn1",
    library.parts("First.Violin", (2, 18)),
    baca.not_parts(baca.voice_two()),
)

commands(
    "2vn1",
    library.parts("Second.Violin"),
)

commands(
    "va1",
Exemplo n.º 6
0
maker(
    ('cl', (1, 10)),
    baca.dynamic('ppp'),
    baca.pitch('B3'),
    )

pcs = baca.PitchClassSegment(krummzeit.violet_pitch_classes.get_payload())
pcs = pcs.rotate(-121).retrograde().transpose(9).invert()
pcs_ = baca.sequence(pcs)
pcs_ = pcs_.repeat_by([4, 4, 1, 1, 1, 1, 4, 1, 1, 1], cyclic=True)
maker(
    ('ob', (1, 10)),
    baca.dynamic('p'),
    baca.new(
        baca.trill_spanner(),
        map=baca.plts(exclude=abjad.const.HIDDEN).filter_preprolated('>=', (1, 4)),
        ),
    baca.suite(
        baca.pitches(
            pcs_,
            selector=baca.plts(exclude=abjad.const.HIDDEN),
            ),
        krummzeit.displacement(),
        krummzeit.register_wide(5),
        krummzeit.color_fingerings(),
        ),
    )

maker(
    ('pf', (9, 10)),
Exemplo n.º 7
0
        baca.hairpin("<| mf"),
        baca.dls_staff_padding(7),
        selector=lambda _: baca.select.leaves(_)[-3:-1],
    ),
    baca.note_head_style_harmonic_black(
        selector=lambda _: abjad.select.leaf(_, -2),
    ),
    baca.text_spanner(
        r"spazz. strett. =|",
        abjad.Tweak(r"- \tweak staff-padding 8"),
        bookend=False,
        selector=lambda _: baca.rleak(abjad.select.leaves(_)[-1:], count=2),
    ),
    baca.trill_spanner(
        abjad.Tweak(r"- \tweak bound-details.right.padding 1.25"),
        alteration="D4",
        selector=lambda _: baca.rleak(abjad.select.leaves(_)[-1:], count=2),
    ),
)

commands(
    ("vc", (5, 7)),
    baca.suite(
        baca.pitches(
            "Db4 <B3 F#4> <C4 G4> <A3 E4> <Bb3 F4>",
        ),
        baca.new(
            baca.repeat_tie(
                lambda _: baca.select.pleaf(_, 0),
            ),
            baca.repeat_tie_extra_offset((-1.5, 0)),
Exemplo n.º 8
0
# strings

most_strings = [
    "1vn1",
    "2vn1",
    "va1",
    "vc1",
]

commands(
    most_strings,
    baca.make_repeat_tied_notes(),
    baca.hairpin("pp <", right_broken=True),
    baca.pitch("A3"),
    baca.trill_spanner(alteration="Ab3", right_broken=True),
)

commands(
    "1vn1",
    library.parts("First.Violin"),
)

commands(
    "2vn1",
    library.parts("Second.Violin"),
)

commands(
    "va1",
    library.parts("Viola"),
Exemplo n.º 9
0
pcs_ = baca.sequence(pcs)
pcs_ = pcs_.repeat_by([1, 1, 1, 1, 4, 1, 1, 1, 4, 4], cyclic=True)
maker(
    ('ob', (1, 35)),
    baca.pitches(
        pcs_,
        allow_repeats=True,
        selector=baca.plts(exclude=abjad.const.HIDDEN),
        ),
    )

maker(
    ('ob', (1, 35)),
    baca.dynamic('ff'),
    baca.new(
        baca.trill_spanner(),
        map=baca.plts(
            exclude=abjad.const.HIDDEN).filter_preprolated('>=', (1, 4)),
        ),
    krummzeit.color_fingerings(),
    krummzeit.displacement(),
    krummzeit.register_wide(5),
    )

maker(
    ('ob', (24, 25)),
    baca.dynamic('ff'),
    )

maker(
    ('cl', (1, 4)),