Ejemplo n.º 1
0
commands(
    "Global_Skips",
    baca.rehearsal_mark(
        "N",
        baca.selectors.skip(1 - 1),
        abjad.tweak(
            (0, -2),
            tag=abjad.Tag("+TABLOID_SCORE"),
        ).extra_offset,
    ),
)

commands(
    "Global_Rests",
    baca.new(
        baca.global_fermata("fermata"),
        baca.not_parts(baca.mmrest_text_extra_offset((0, -4))),
        selector=baca.selectors.leaf(7 - 1),
    ),
)

library.attach_grand_pause_fermatas(commands, score, measure=-1)

# flutes

commands(
    "fl1",
    library.parts("Flute", 1),
)

commands(
Ejemplo n.º 2
0
for index, item in (
    (1 - 1, "39"),
    (4 - 1, "52"),
    (7 - 1, "117"),
    (10 - 1, "52"),
):
    skip = skips[index]
    indicator = commands.metronome_marks.get(item, item)
    baca.metronome_mark(skip, indicator, manifests)

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

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

# VC

voice = score["Cello.Music"]

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

# 2
music = baca.make_skeleton(r"{ c\breve }")
voice.extend(music)
Ejemplo n.º 3
0
commands(
    "Global_Skips",
    baca.rehearsal_mark(
        "BB",
        baca.selectors.skip(1 - 1),
        abjad.tweak(
            (0, 6),
            tag=abjad.Tag("+TABLOID_SCORE"),
        ).extra_offset,
    ),
)

commands(
    "Global_Rests",
    baca.global_fermata(
        "fermata",
        selector=baca.selectors.leaf(4 - 1),
    ),
)

library.attach_grand_pause_fermatas(commands, score, measure=-1)

# percussion

# triangle

commands(
    "perc1",
    library.parts("Percussion", 1),
)

commands(
Ejemplo n.º 4
0
    "Global_Skips",
    baca.metronome_mark("76"),
    baca.rehearsal_mark(
        "Q",
        baca.selectors.skip(1 - 1),
        abjad.tweak(
            (0, 12),
            tag=abjad.Tag("+TABLOID_SCORE"),
        ).extra_offset,
    ),
)

commands(
    "Global_Rests",
    baca.global_fermata(
        "fermata",
        selector=baca.selectors.leaf(2),
    ),
    baca.global_fermata(
        "fermata",
        selector=baca.selectors.leaf(7),
    ),
)

library.attach_grand_pause_fermatas(commands, score, measure=3)
library.attach_grand_pause_fermatas(commands, score, measure=8)

# brass

library.assign_brass_sforzando_parts(commands, omit_tuba=True)

# horns
Ejemplo n.º 5
0
    )

accumulator.populate_segment_maker(maker)

maker(
    'Global_Skips',
    baca.metronome_mark('84', selector=baca.leaf(0)),
    baca.metronome_mark('112', selector=baca.leaf(1)),
    baca.metronome_mark('84', selector=baca.leaf(4)),
    baca.metronome_mark('84', selector=baca.leaf(-2)),
    baca.metronome_mark(baca.Accelerando(), selector=baca.leaf(-2)),
    baca.metronome_mark('112', selector=baca.leaf(-1)),
    )

maker(
    'Global_Rests',
    baca.global_fermata('short', selector=baca.leaf(3)),
    baca.global_fermata('fermata', selector=baca.leaf(5)),
    baca.global_fermata('short', selector=baca.leaf(8)),
    )

maker(
    'rh_v1',
    baca.start_markup('PIANO', context='PianoStaff', hcenter_in=12),
    )

maker(
    'lh_v1',
    baca.clef('treble'),
    )
Ejemplo n.º 6
0
    baca.metronome_mark(baca.Ritardando(), selector=baca.leaf(19)),
    baca.metronome_mark('84', selector=baca.leaf(22)),
    baca.metronome_mark('112', selector=baca.leaf(23)),
    baca.metronome_mark(baca.Ritardando(), selector=baca.leaf(23)),
    baca.metronome_mark('84', selector=baca.leaf(27)),
    baca.metronome_mark('112', selector=baca.leaf(29)),
    baca.metronome_mark(baca.Ritardando(), selector=baca.leaf(29)),
    baca.metronome_mark('84', selector=baca.leaf(31)),
    baca.metronome_mark('112', selector=baca.leaf(32)),
    baca.metronome_mark(baca.Ritardando(), selector=baca.leaf(32)),
    baca.metronome_mark('84', selector=baca.leaf(36)),
    )

maker(
    'Global_Rests',
    baca.global_fermata('fermata', selector=baca.leaf(20)),
    )

maker(
    'rh_v1',
    baca.stem_up(),
    baca.tuplet_bracket_staff_padding(8),
    baca.tuplet_bracket_up(),
    )

maker(
    ('rh_v1', [(1, 36), (38, 39)]),
    baca.ottava(),
    )

maker(
Ejemplo n.º 7
0
    validate_measure_count=13,
    )

maker(
    'Global_Skips',
    baca.metronome_mark('135', selector=baca.leaf(1 - 1)),
    baca.metronome_mark('45', selector=baca.leaf(4 - 1)),
    baca.metronome_mark(baca.Accelerando(), selector=baca.leaf(4 - 1)),
    baca.metronome_mark('144', selector=baca.leaf(7 - 1)),
    baca.metronome_mark('108', selector=baca.leaf(8 - 1)),
    baca.metronome_mark('135', selector=baca.leaf(10 - 1)),
    )

maker(
    'Global_Rests',
    baca.global_fermata('short', selector=baca.leaf(3 - 1)),
    baca.global_fermata('short', selector=baca.leaf(9 - 1)),
    )

maker(
    'ob',
    baca.suite(
        krummzeit.margin_markup('Ob.'),
        baca.start_markup('Oboe', hcenter_in=16),
        ),
    )

maker(
    'cl',
    baca.suite(
        krummzeit.margin_markup('B. cl.'),
Ejemplo n.º 8
0
    baca.metronome_mark(baca.Ritardando(), selector=baca.leaf(5 - 1)),
    baca.metronome_mark('90', selector=baca.leaf(6 - 1)),
    baca.metronome_mark(baca.Accelerando(), selector=baca.leaf(7 - 1)),
    baca.metronome_mark('135', selector=baca.leaf(8 - 1)),
    baca.metronome_mark('90', selector=baca.leaf(10 - 1)),
    baca.metronome_mark('4.=4', selector=baca.leaf(10 - 1)),
    baca.metronome_mark(baca.Ritardando(), selector=baca.leaf(11 - 1)),
    baca.metronome_mark('45', selector=baca.leaf(13 - 1)),
    baca.metronome_mark(baca.Ritardando(), selector=baca.leaf(16 - 1)),
    baca.metronome_mark('36', selector=baca.leaf(17 - 1)),
    baca.rehearsal_mark('C'),
    )

maker(
    'Global_Rests',
    baca.global_fermata('short', selector=baca.leaf(2 - 1)),
    baca.global_fermata('short', selector=baca.leaf(4 - 1)),
    baca.global_fermata('short', selector=baca.leaf(6 - 1)),
    baca.global_fermata('short', selector=baca.leaf(8 - 1)),
    baca.global_fermata('long', selector=baca.leaf(13 - 1)),
    )

maker(
    ('perc', (1, 9)),
    baca.dynamic('ppp-ancora'),
    baca.make_repeat_tied_notes(),
    baca.markup('snare drum', boxed=True),
    baca.staff_position(0),
    baca.stem_tremolo(selector=baca.pleaves()),
    )
Ejemplo n.º 9
0
        selector=baca.leaf(36 - 1),
        ),
    baca.metronome_mark(
        baca.Accelerando(),
        selector=baca.leaf(40 - 1),
        ),
    baca.metronome_mark(
        '135',
        selector=baca.leaf(43 - 1),
        ),
    )

maker(
    'Global_Rests',
    baca.global_fermata(
        'short',
        selector=baca.leaf(5 - 1),
        ),
    baca.global_fermata(
        'short',
        selector=baca.leaf(7 - 1),
        ),
    baca.global_fermata(
        'short',
        selector=baca.leaf(9 - 1),
        ),
    baca.global_fermata(
        'short',
        selector=baca.leaf(11 - 1),
        ),
    baca.global_fermata(
        'short',
Ejemplo n.º 10
0
    baca.metronome_mark('112', selector=baca.leaf(4)),
    baca.metronome_mark(baca.Ritardando(), selector=baca.leaf(4)),
    baca.metronome_mark('84', selector=baca.leaf(6)),
    baca.metronome_mark(baca.Accelerando(), selector=baca.leaf(6)),
    baca.metronome_mark('112', selector=baca.leaf(8)),
    baca.metronome_mark('84', selector=baca.leaf(9)),
    baca.metronome_mark(baca.Accelerando(), selector=baca.leaf(9)),
    baca.metronome_mark('112', selector=baca.leaf(11)),
    baca.metronome_mark('112', selector=baca.leaf(14)),
    baca.metronome_mark(baca.Ritardando(), selector=baca.leaf(14)),
    baca.metronome_mark('84', selector=baca.leaf(15)),
    )

maker(
    'Global_Rests',
    baca.global_fermata('short', selector=baca.leaf(2)),
    baca.global_fermata('short', selector=baca.leaf(6)),
    baca.global_fermata('short', selector=baca.leaf(8)),
    baca.global_fermata('fermata', selector=baca.leaf(-1)),
    )

maker(
    ('rh_v2', (2, 8)),
    baca.accent(selector=baca.pheads()),
    baca.beam_positions(10.5),
    baca.script_up(),
    baca.stem_up(),
    )

maker(
    ('rh_v2', (9, 13)),
Ejemplo n.º 11
0
    segment_directory=abjad.Path(os.path.realpath(__file__)).parent,
    stage_markup=stage_markup,
    time_signatures=time_signatures,
    transpose_score=True,
    validate_measure_count=24,
    )

maker(
    'Global_Skips',
    baca.metronome_mark('90', selector=baca.leaf(14 - 1)),
    baca.rehearsal_mark('G'),
    )

maker(
    'Global_Rests',
    baca.global_fermata('short', selector=baca.leaf(13 - 1)),
    baca.global_fermata('very_long', selector=baca.leaf(24 - 1)),
    )

maker(
    ('ob', (1, 7)),
    baca.make_repeat_tied_notes(),
    )

maker(
    ('ob', (9, 12)),
    krummzeit.polyphony(
        durations=[(4, 8), (3, 8), (4, 8), (2, 8)],
        rotation=-1,
        fuse=(1, 8),
        denominators=[8, 8, 4, 4, 8, 8],