Пример #1
0
                [
                    -4,
                    1,
                    6,
                    11,
                    16,
                    11,
                    6,
                    1,
                ]
            ).transpose(4),
            forget=False,
        ),
        evans.GlissandoHandler(
            line_style="solid-line",
            boolean_vector=[1],
            forget=False,
            apply_to="runs",
        ),
        full_bows,
        evans.DynamicHandler(
            dynamic_list=["p", "mp"],
            hold_first_boolean_vector=[1, 0],
            hold_first_forget=False,
            hold_last_boolean_vector=[0, 1],
            hold_last_forget=False,
            forget=False,
            with_constante_hairpins=False,
        ),
    ],
)
Пример #2
0
     "Voice 1",
     attach_material,
     lambda _: abjad.Selection(_)
     .logical_ties()
     .get([13, 14, 15, 16, 17, 18, 19]),
 ),
 evans.call(
     "Voice 1",
     attach_material,
     lambda _: abjad.Selection(_).logical_ties().get([26, 27, 28, 29, 30, 31]),
 ),
 evans.call(
     "Voice 1",
     evans.GlissandoHandler(
         glissando_style="hide_middle_note_heads",
         boolean_vector=[1],
         forget=False,
         apply_to="runs",
     ),
     lambda _: abjad.Selection(_)
     .logical_ties()
     .get(
         [
             0,
             1,
             2,
             3,
             4,
             5,
             6,
             13,
             14,
glissando_handler_one = evans.GlissandoHandler(
    boolean_vector=[
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        1,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        1,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        1,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        1,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        1,
        1,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        1,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        1,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        1,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        1,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        1,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        1,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
    ],
    forget=False,
    apply_to="ties",
    name="glissando_handler_one",
)
Пример #4
0
import evans

articulation_handler_one = evans.BendHandler(
    bend_amounts=[2, 3, -2, 4, -3, -2],
    bend_forget=False,
    boolean_vector=[1, 0, 0],
    vector_forget=False,
    name="articulation_handler_one",
)

articulation_handler_two = evans.GlissandoHandler(
    # glissando_style="hide_middle_note_heads",
    line_style=None,
    boolean_vector=[1, 0],
    forget=False,
    name="articulation_handler_two",
)

articulation_handler_three = evans.BendHandler(
    bend_amounts=[6, 5, -4, 3, -2, -3, 4, -5],
    bend_forget=False,
    boolean_vector=[1, 0, 0],
    vector_forget=False,
    name="articulation_handler_three",
)