evans.SegmentMaker.rewrite_meter, lambda _: abjad.Selection(_).components(abjad.Score), ), "skips", handler_commands, evans.call( "score", evans.SegmentMaker.beam_score, lambda _: abjad.Selection(_).components(abjad.Score), ), evans.attach( "Global Context", evans.metric_modulation( metronome_mark=((1, 4), quicktions.Fraction(115, 3)), left_note=(abjad.Tuplet(multiplier=((2, 3)), components=[abjad.Note("c'4")])), right_note=(abjad.Note("c'2")), modulated_beat=(abjad.Note("c'4")), ), baca.selectors.leaf(0), ), evans.attach( "Global Context", evans.metric_modulation( metronome_mark=((1, 4), 115), left_note=(abjad.Note("c'2")), right_note=(abjad.Note("c'4")), modulated_beat=(abjad.Note("c'4")), ), baca.selectors.leaf(3), ),
handler_commands, evans.call( "vertical", chorale_pitch_handler, evans.return_vertical_moment_ties, ), evans.call( "score", evans.SegmentMaker.beam_score, lambda _: abjad.Selection(_).components(abjad.Score), ), evans.attach( "Global Context", evans.metric_modulation( metronome_mark=((1, 4), quicktions.Fraction(460, 9)), left_note=(abjad.Note("c'4")), right_note=(abjad.Note("c'8.")), modulated_beat=(abjad.Note("c'4")), ), baca.selectors.leaf(0), ), evans.attach("Voice 1", bar_literal, baca.selectors.leaf(0)), evans.attach("Voice 2", bar_literal, baca.selectors.leaf(0)), evans.attach("Voice 3", bar_literal, baca.selectors.leaf(0)), evans.attach("Voice 4", bar_literal, baca.selectors.leaf(0)), evans.attach( "Voice 1", abjad.Dynamic("p"), baca.selectors.leaf(0, pitched=True), ), evans.attach( "Voice 3",
abjad.LilyPondLiteral(r"\key d \major"), baca.selectors.leaf(0), ), evans.detach( "Voice 3", abjad.Markup( r"""\markup \musicglyph #"scripts.ushortfermata" """, direction=abjad.Up, ), baca.selectors.leaf(60), ), evans.attach( "Global Context", evans.metric_modulation( metronome_mark=((1, 4), 80), left_note=(abjad.Tuplet(multiplier=(4, 5), components=[abjad.Note("c'8")])), right_note=(abjad.Note("c'16")), modulated_beat=(abjad.Note("c'4")), ), baca.selectors.leaf(0), ), ] maker = evans.SegmentMaker( instruments=insts, names=['"a"', '"b"', '"c"', '"d"'], abbreviations=['"a"', '"b"', '"c"', '"d"'], name_staves=False, score_template=score, time_signatures=time_signatures, clef_handlers=clef_handlers, commands=[
evans.SegmentMaker.beam_score, lambda _: abjad.Selection(_).components(abjad.Score), ), evans.attach( "Global Context", abjad.Markup( r"""\markup \override #'(font-name . "STIXGeneral Bold") \box \caps Nacht/Maska""", direction=abjad.Up, ), baca.selectors.leaf(0), ), evans.attach( "Global Context", evans.metric_modulation( metronome_mark=((1, 4), 115), left_note=(abjad.Note("c'2")), right_note=(abjad.Note("c'4")), modulated_beat=(abjad.Note("c'4")), ), baca.selectors.leaf(0), ), evans.call("Voice 1", clef_handlers[0], lambda _: abjad.Selection(_)), evans.call("Voice 2", clef_handlers[1], lambda _: abjad.Selection(_)), evans.call("Voice 3", clef_handlers[2], lambda _: abjad.Selection(_)), evans.call("Voice 4", clef_handlers[3], lambda _: abjad.Selection(_)), evans.call( "Voice 1", evans.PitchHandler( [ "gtqs", ], forget=False,