コード例 #1
0
ファイル: definition.py プロジェクト: trevorbaca/mraz
    figure_name='b.2.r.9',
    hide_time_signature=True,
    )

maker = baca.SegmentMaker(
    final_bar_line=False,
    segment_directory=abjad.Path(os.path.realpath(__file__)).parent,
    skips_instead_of_rests=True,
    time_signatures=accumulator.time_signatures,
    )

accumulator.populate_segment_maker(maker)

maker(
    'Global_Skips',
    baca.metronome_mark('84', selector=baca.leaf(2)),
    baca.metronome_mark('112', selector=baca.leaf(4)),
    baca.metronome_mark('84', selector=baca.leaf(5)),
    baca.metronome_mark('112', selector=baca.leaf(-3)),
    baca.metronome_mark(baca.Ritardando(), selector=baca.leaf(-3)),
    baca.metronome_mark('84', selector=baca.leaf(-1)),
    )

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

maker(
コード例 #2
0
ファイル: definition.py プロジェクト: trevorbaca/mraz
    baca.beam_runs(),
    baca.imbricate(
        'rh_v2',
        [9, 10, 10, 1, 0],
        baca.beam_everything(),
        baca.register(22, 36),
        baca.staccato(selector=baca.pheads()),
        by_pitch_class=True,
        hocket=True,
        ),
    baca.new(
        baca.slur(),
        map=baca.ntruns(),
        ),
    baca.register(36, 22),
    baca.slur_down(selector=baca.leaf(0)), # lilypond error when slur is up
    counts=[2],
    figure_name='rh-1 4.4.5',
    hide_time_signature=True,
    time_treatments=[10],
    )

#################################### [4.5] ####################################

resonance = baca.PitchSet("e, fs, gs, as, b,", item_class=abjad.NamedPitch)

accumulator(
    'lh_resonance',
    [resonance],
    baca.resume(),
    counts=[4],
コード例 #3
0
ファイル: definition.py プロジェクト: Catsvilles/hamon_shu
            \override #'(font-name . "Didot")
            \with-color #black
            \right-column {
                \line { Miami, Fl. \hspace #0.75 - \hspace #0.75 Iowa City, Ia. }
                \line { August 2018 \hspace #0.75 - \hspace #0.75 February 2020 }
            }
        }
    """,
    format_slot="absolute_after",
)

commands = [
    evans.attach(
        "Voice 1",
        abjad.Dynamic("appena udibile al fino", name_is_textual=True),
        baca.leaf(0),
    ),
    evans.attach(
        "Voice 1",
        abjad.Markup("col legno tratto al fino", direction=abjad.Up),
        baca.leaf(0),
    ),
    evans.attach(
        "Voice 2",
        abjad.Dynamic("appena udibile al fino", name_is_textual=True),
        baca.leaf(0),
    ),
    evans.attach(
        "Voice 2",
        abjad.Markup("col legno tratto al fino", direction=abjad.Up),
        baca.leaf(0),
コード例 #4
0
ファイル: definition.py プロジェクト: trevorbaca/huitzil
        #abjad.const.CLOCK_TIME,
        abjad.const.LOCAL_MEASURE_NUMBER,
        #abjad.const.MEASURE_NUMBER,
        ],
    #clock_time_extra_offset=(0, 13),
    #measure_number_extra_offset=(0, 13),
    segment_directory=abjad.Path(os.path.realpath(__file__)).parent,
    time_signatures=time_signatures,
    validate_measure_count=26,
    )

maker(
    'Global_Skips',
    baca.metronome_mark(
        '44',
        selector=baca.leaf(13 - 1),
        ),
    baca.metronome_mark(
        baca.Accelerando(),
        selector=baca.leaf(13 - 1),
        ),
    baca.metronome_mark(
        '66',
        selector=baca.leaf(16 - 1),
        ),
    baca.metronome_mark(
        '44',
        selector=baca.leaf(17 - 1),
        ),
    baca.metronome_mark(
        '44',
コード例 #5
0
ファイル: definition.py プロジェクト: trevorbaca/krummzeit
maker = baca.SegmentMaker(
    activate=[
        abjad.const.LOCAL_MEASURE_NUMBER,
        ],
    ignore_repeat_pitch_classes=True,
    segment_directory=abjad.Path(os.path.realpath(__file__)).parent,
    stage_markup=stage_markup,
    time_signatures=time_signatures,
    transpose_score=True,
    validate_measure_count=75,
    )

maker(
    'Global_Skips',
    baca.metronome_mark('67.5', selector=baca.leaf(23 - 1)),
    baca.metronome_mark('4=8', selector=baca.leaf(23 - 1)),
    baca.metronome_mark(baca.Accelerando(), selector=baca.leaf(29 - 1)),
    baca.metronome_mark('135', selector=baca.leaf(34 - 1)),
    baca.metronome_mark('90', selector=baca.leaf(39 - 1)),
    baca.metronome_mark('4.=4', selector=baca.leaf(39 - 1)),
    baca.metronome_mark(baca.Accelerando(), selector=baca.leaf(45 - 1)),
    baca.metronome_mark('135', selector=baca.leaf(48 - 1)),
    baca.metronome_mark('108', selector=baca.leaf(57 - 1)),
    baca.metronome_mark('4=4:5(4)', selector=baca.leaf(57 - 1)),
    baca.rehearsal_mark('A'),
    )

maker(
    ('vc', (1, 11)),
    krummzeit.hypermeter_tuplets([(3, 2)]),
コード例 #6
0
ファイル: definition.py プロジェクト: trevorbaca/krummzeit
maker = baca.SegmentMaker(
    activate=[
        abjad.const.LOCAL_MEASURE_NUMBER,
        ],
    do_not_check_wellformedness=True,
    ignore_repeat_pitch_classes=True,
    segment_directory=abjad.Path(os.path.realpath(__file__)).parent,
    stage_markup=stage_markup,
    time_signatures=time_signatures,
    transpose_score=True,
    validate_measure_count=22,
    )

maker(
    'Global_Skips',
    baca.metronome_mark(baca.Accelerando(), selector=baca.leaf(11 - 1)),
    baca.metronome_mark('144', selector=baca.leaf(19 - 1)),
    baca.rehearsal_mark('F'),
    )

maker(
    (['va', 'vc'], (2, 6)),
    krummzeit.rest_delimited_repeated_duration_notes((1, 4), 32),
    )

maker(
    ('perc', 1),
    baca.clef('percussion'),
    baca.markup(
        'snare drum',
        boxed=True,
コード例 #7
0
ファイル: definition.py プロジェクト: trevorbaca/krummzeit
    baca.make_repeat_tied_notes(),
    )

maker(
    'pf',
    baca.pitch('C#6'),
    )

maker(
    'pf',
    baca.stem_tremolo(selector=baca.pleaves()),
    )

maker(
    ('pf', (25, 48)),
    baca.dynamic('fff-poss', selector=baca.leaf(0)),
    )

maker(
    'perc',
    baca.pitch('C#6'),
    )

maker(
    'perc',
    baca.dynamic('fff'),
    baca.dls_staff_padding(4),
    baca.stem_tremolo(selector=baca.pleaves()),
    )

pcs = baca.PitchClassSegment(krummzeit.indigo_pitch_classes.get_payload())
コード例 #8
0
ファイル: definition.py プロジェクト: trevorbaca/krummzeit
maker = baca.SegmentMaker(
    activate=[
        abjad.const.LOCAL_MEASURE_NUMBER,
        ],
    ignore_repeat_pitch_classes=True,
    segment_directory=abjad.Path(os.path.realpath(__file__)).parent,
    stage_markup=stage_markup,
    time_signatures=time_signatures,
    transpose_score=True,
    validate_measure_count=35,
    )

maker(
    'Global_Skips',
    baca.metronome_mark('135', selector=baca.leaf(9 - 1)),
    baca.metronome_mark('72', selector=baca.leaf(11 - 1)),
    baca.metronome_mark('108', selector=baca.leaf(15 - 1)),
    baca.metronome_mark('90', selector=baca.leaf(17 - 1)),
    baca.metronome_mark('108', selector=baca.leaf(18 - 1)),
    baca.metronome_mark('90', selector=baca.leaf(20 - 1)),
    baca.metronome_mark('135', selector=baca.leaf(25 - 1)),
    baca.metronome_mark('45', selector=baca.leaf(27 - 1)),
    baca.metronome_mark('72', selector=baca.leaf(33 - 1)),
    baca.rehearsal_mark('E'),
    )

maker(
    ('ob', [(1, 8), (9, 10)]),
    krummzeit.oboe_trills(),
    )
コード例 #9
0
ファイル: definition.py プロジェクト: trevorbaca/krummzeit
    activate=[
        abjad.const.LOCAL_MEASURE_NUMBER,
        ],
    ignore_repeat_pitch_classes=True,
    segment_directory=abjad.Path(os.path.realpath(__file__)).parent,
    stage_markup=stage_markup,
    time_signatures=time_signatures,
    transpose_score=True,
    validate_measure_count=44,
    )

maker(
    'Global_Skips',
    baca.metronome_mark(
        '108',
        selector=baca.leaf(1 - 1),
        redundant=True,
        ),
    baca.metronome_mark(
        baca.Accelerando(),
        selector=baca.leaf(22 - 1),
        ),
    baca.metronome_mark(
        '144',
        selector=baca.leaf(26 - 1),
        ),
    baca.metronome_mark(
        '108',
        selector=baca.leaf(28 - 1),
        ),
    baca.metronome_mark(
コード例 #10
0
ファイル: definition.py プロジェクト: trevorbaca/krummzeit
maker = baca.SegmentMaker(
    activate=[
        abjad.const.LOCAL_MEASURE_NUMBER,
        ],
    ignore_repeat_pitch_classes=True,
    segment_directory=abjad.Path(os.path.realpath(__file__)).parent,
    stage_markup=stage_markup,
    time_signatures=time_signatures,
    transpose_score=True,
    validate_measure_count=19,
    )

maker(
    'Global_Skips',
    baca.metronome_mark('135', selector=baca.leaf(1 - 1)),
    baca.metronome_mark(baca.Ritardando(), selector=baca.leaf(1 - 1)),
    baca.metronome_mark('90', selector=baca.leaf(2 - 1)),
    baca.metronome_mark(baca.Accelerando(), selector=baca.leaf(3 - 1)),
    baca.metronome_mark('135', selector=baca.leaf(4 - 1)),
    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'),
コード例 #11
0
ファイル: definition.py プロジェクト: trevorbaca/krummzeit
maker = baca.SegmentMaker(
    activate=[
        abjad.const.LOCAL_MEASURE_NUMBER,
        ],
    ignore_repeat_pitch_classes=True,
    segment_directory=abjad.Path(os.path.realpath(__file__)).parent,
    stage_markup=stage_markup,
    time_signatures=time_signatures,
    transpose_score=True,
    validate_measure_count=10,
    )

maker(
    'Global_Skips',
    baca.metronome_mark('90', selector=baca.leaf(1 - 1)),
    baca.metronome_mark(baca.Accelerando(), selector=baca.leaf(1 - 1)),
    baca.metronome_mark('135', selector=baca.leaf(6 - 1)),
    baca.rehearsal_mark('H'),
    )

maker(
    ('vn', [(1, 2), (7, 10)]),
    krummzeit.hypermeter_tuplets([(3, 2)], [2]),
    )

maker(
    ('va', [(1, 2), (7, 10)]),
    krummzeit.hypermeter_tuplets([(1, 4)], [2]),
    )
コード例 #12
0
ファイル: definition.py プロジェクト: trevorbaca/mraz
    figure_name='lh-4 final',
    )

maker = baca.SegmentMaker(
    color_octaves=False,
    final_bar_line=False,
    segment_directory=abjad.Path(os.path.realpath(__file__)).parent,
    skips_instead_of_rests=True,
    time_signatures=accumulator.time_signatures,
    )

accumulator.populate_segment_maker(maker)

maker(
    'Global_Skips',
    baca.metronome_mark('84', selector=baca.leaf(0)),
    baca.metronome_mark(baca.Accelerando(), selector=baca.leaf(0)),
    baca.metronome_mark('112', selector=baca.leaf(1)),
    baca.metronome_mark(baca.Ritardando(), selector=baca.leaf(1)),
    baca.metronome_mark('84', selector=baca.leaf(2)),
    baca.metronome_mark(baca.Accelerando(), selector=baca.leaf(2)),
    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)),
コード例 #13
0
ファイル: definition.py プロジェクト: trevorbaca/krummzeit
maker = baca.SegmentMaker(
    activate=[
        abjad.const.LOCAL_MEASURE_NUMBER,
        ],
    ignore_repeat_pitch_classes=True,
    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(
コード例 #14
0
     abjad.select().components(abjad.Score),
 ),
 # evans.call(
 #     "vertical",
 #     demo,
 #     evans.return_vertical_moment_ties,
 # ),
 evans.call(
     "score",
     evans.SegmentMaker.beam_score,
     abjad.select().components(abjad.Score),
 ),
 evans.attach(
     "Voice 6",
     clef_whitespace,
     baca.leaf(0),
 ),
 evans.attach(
     "Voice 7",
     clef_whitespace,
     baca.leaf(0),
 ),
 evans.attach(
     "Voice 8",
     clef_whitespace,
     baca.leaf(0),
 ),
 evans.attach(
     "Voice 9",
     clef_whitespace,
     baca.leaf(0),
コード例 #15
0
ファイル: definition.py プロジェクト: trevorbaca/krummzeit
time_signatures = maker_.run()

maker = baca.SegmentMaker(
    activate=[
        abjad.const.LOCAL_MEASURE_NUMBER,
        ],
    segment_directory=abjad.Path(os.path.realpath(__file__)).parent,
    stage_markup=stage_markup,
    time_signatures=time_signatures,
    transpose_score=True,
    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',
コード例 #16
0
     abjad.select(),
 ),
 evans.call(
     "Voice 8",
     clef_handler_eight,
     abjad.select(),
 ),
 evans.call(
     "Voice 9",
     clef_handler_nine,
     abjad.select(),
 ),
 evans.attach(
     "Voice 1",
     rain_markup,
     baca.leaf(0, pitched=True),
 ),
 evans.call(
     "Voice 1",
     apply_rain_tremolo,
     abjad.select().runs(),
 ),
 evans.attach(
     "Voice 2",
     rain_markup,
     baca.leaf(0, pitched=True),
 ),
 evans.call(
     "Voice 2",
     apply_rain_tremolo,
     abjad.select().runs(),
コード例 #17
0
     abjad.select().components(abjad.Score),
 ),
 # evans.call(
 #     "vertical",
 #     demo,
 #     evans.return_vertical_moment_ties,
 # ),
 evans.call(
     "score",
     evans.SegmentMaker.beam_score,
     abjad.select().components(abjad.Score),
 ),
 evans.attach(
     "Voice 8",
     clef_whitespace,
     baca.leaf(7),
 ),
 evans.attach(
     "Voice 9",
     clef_whitespace,
     baca.leaf(0, pitched=True),
 ),
 evans.attach(
     "Voice 9",
     clef_whitespace,
     baca.leaf(8, pitched=True),
 ),
 evans.attach(
     "Voice 9",
     clef_whitespace,
     baca.leaf(16, pitched=True),
コード例 #18
0
ファイル: definition.py プロジェクト: trevorbaca/krummzeit
maker = baca.SegmentMaker(
    activate=[
        abjad.const.LOCAL_MEASURE_NUMBER,
        ],
    ignore_repeat_pitch_classes=True,
    segment_directory=abjad.Path(os.path.realpath(__file__)).parent,
    stage_markup=stage_markup,
    time_signatures=time_signatures,
    transpose_score=True,
    validate_measure_count=48,
    )

maker(
    'Global_Skips',
    baca.metronome_mark(baca.Accelerando(), selector=baca.leaf(8 - 1)),
    baca.metronome_mark('72/108', selector=baca.leaf(25 - 1)),
    baca.metronome_mark('72', selector=baca.leaf(27 - 1)),
    baca.metronome_mark('4.=4', selector=baca.leaf(27 - 1)),
    baca.metronome_mark(baca.Accelerando(), selector=baca.leaf(27 - 1)),
    baca.metronome_mark('108', selector=baca.leaf(35 - 1)),
    baca.rehearsal_mark('D'),
    )

maker(
    ('perc', (1, 3)),
    baca.chunk(
        baca.bar_extent_persistent(
            (0, 2),
            after=True,
            tag=baca.const.NOT_PARTS,
コード例 #19
0
ファイル: definition.py プロジェクト: trevorbaca/huitzil
maker = baca.SegmentMaker(
    activate=[
        abjad.const.CLOCK_TIME,
        abjad.const.LOCAL_MEASURE_NUMBER,
        ],
    clock_time_extra_offset=(0, 13),
    segment_directory=abjad.Path(os.path.realpath(__file__)).parent,
    time_signatures=time_signatures,
    validate_measure_count=26,
    )

maker(
    'Global_Skips',
    baca.metronome_mark(
        '88',
        selector=baca.leaf(1 - 1),
        ),
    baca.metronome_mark(
        '88',
        selector=baca.leaf(25 - 1),
        ),
    baca.metronome_mark(
        baca.Ritardando(),
        selector=baca.leaf(25 - 1),
        ),
    )

# vc

maker(
    'vc',
コード例 #20
0
     abjad.select().components(abjad.Score),
 ),
 # evans.call(
 #     "vertical",
 #     demo,
 #     evans.return_vertical_moment_ties,
 # ),
 evans.call(
     "score",
     evans.SegmentMaker.beam_score,
     abjad.select().components(abjad.Score),
 ),
 evans.attach(
     "Voice 5",
     abjad.Dynamic("mp"),
     baca.leaf(0),
 ),
 evans.attach(
     "Voice 7",
     clef_whitespace,
     baca.leaf(0, pitched=True),
 ),
 evans.attach(
     "Voice 8",
     clef_whitespace,
     baca.leaf(0, pitched=True),
 ),
 evans.attach(
     "Voice 7",
     clef_whitespace,
     baca.leaf(39, pitched=True),
コード例 #21
0
ファイル: definition.py プロジェクト: trevorbaca/mraz
    )

accumulator(
    'rh_v2',
    [abjad.Rest((1, 4))],
    baca.rest_transparent(),
    figure_name='b.1.8',
    )

accumulator(
    'rh_v3',
    collections_6['stage 1']['rh'][3],
    baca.flags(),
    baca.register(24, 12),
    baca.rests_around([1], [1]),
    baca.span_bar_extra_offset((-0.75, 0), after=True, selector=baca.leaf(-1)),
    baca.staccato(selector=baca.pheads()),
    baca.tenuto(selector=baca.pheads()),
    denominator=8,
    figure_name='b.1.9',
    talea_denominator=8,
    )

accumulator(
    'rh_v2',
    collections_5['stage 1']['rh'].next(exhausted=True),
    baca.accent(selector=baca.pheads()),
    baca.dynamic('fff'),
    baca.dynamic_up(),
    baca.flags(),
    baca.register(20, 36),
コード例 #22
0
ファイル: definition.py プロジェクト: trevorbaca/huitzil
maker = baca.SegmentMaker(
    activate=[
        abjad.const.CLOCK_TIME,
        abjad.const.LOCAL_MEASURE_NUMBER,
        ],
    clock_time_extra_offset=(0, 13),
    segment_directory=abjad.Path(os.path.realpath(__file__)).parent,
    time_signatures=time_signatures,
    validate_measure_count=23,
    )

maker(
    'Global_Skips',
    baca.metronome_mark(
        '88',
        selector=baca.leaf(18 - 1),
        ),
    baca.metronome_mark(
        baca.Ritardando(),
        selector=baca.leaf(18 - 1),
        ),
    baca.metronome_mark(
        '44',
        selector=baca.leaf(22 - 1),
        ),
    )

# vc

maker(
    'vc',
コード例 #23
0
     abjad.select().components(abjad.Score),
 ),
 # evans.attach(
 #     "Voice 2",
 #     clef_whitespace,
 #     baca.leaf(17, pitched=True),
 # ),
 evans.call(
     "Voice 1",
     make_gliss,
     abjad.select().run(0),
 ),
 evans.attach(
     "Voice 1",
     abjad.Dynamic("f"),
     baca.leaf(0, pitched=True),
 ),
 evans.attach(
     "Voice 2",
     pizz_markup,
     baca.leaf(0, pitched=True),
 ),
 evans.attach(
     "Voice 2",
     abjad.Dynamic("mf"),
     baca.leaf(0, pitched=True),
 ),
 evans.attach(
     "Voice 2",
     pizz_markup,
     baca.leaf(15, pitched=True),
コード例 #24
0
ファイル: definition.py プロジェクト: trevorbaca/huitzil
    activate=[
        abjad.const.CLOCK_TIME,
        abjad.const.LOCAL_MEASURE_NUMBER,
        ],
    clock_time_extra_offset=(0, 13),
    segment_directory=abjad.Path(os.path.realpath(__file__)).parent,
    spacing_extra_offset=(0, 16),
    time_signatures=time_signatures,
    validate_measure_count=25,
    )

maker(
    'Global_Skips',
    baca.metronome_mark(
        '44',
        selector=baca.leaf(1 - 1),
        ),
    )

# vc

maker(
    'vc',
    baca.literal([
        r'\stopStaff',
        r"\once \override Staff.StaffSymbol.line-positions = #'(4 -4)"
        r'\startStaff',
        ]),
    baca.mmrest_transparent(),
    baca.new(
        baca.bar_line_transparent(),
コード例 #25
0
ファイル: definition.py プロジェクト: trevorbaca/mraz
        ['Madison, WI', 'Los Angeles, CA.'],
        ['December 2016', 'March 2017.'],
        ),
    final_markup_extra_offset=(-24, -8),
    ignore_repeat_pitch_classes=True,
    final_segment=True,
    segment_directory=abjad.Path(os.path.realpath(__file__)).parent,
    skips_instead_of_rests=True,
    time_signatures=accumulator.time_signatures,
    )

accumulator.populate_segment_maker(maker)

maker(
    'Global_Skips',
    baca.metronome_mark('84', selector=baca.leaf(0)),
    baca.metronome_mark(baca.Accelerando(), selector=baca.leaf(0)),
    baca.metronome_mark('112', selector=baca.leaf(8)),
    )

maker(
    'rh_v1',
    baca.beam_positions(10),
    baca.dynamic_up(),
    baca.stem_up(),
    )

maker(
    ('rh_v1_i', (1, 5)),
    baca.beam_positions(-6.5),
    )
コード例 #26
0
     abjad.select().components(abjad.Score),
 ),
 # evans.call(
 #     "vertical",
 #     demo,
 #     evans.return_vertical_moment_ties,
 # ),
 evans.call(
     "score",
     evans.SegmentMaker.beam_score,
     abjad.select().components(abjad.Score),
 ),
 evans.attach(
     "Voice 1",
     rain_markup,
     baca.leaf(0, pitched=True),
 ),
 evans.attach(
     "Voice 2",
     rain_markup,
     baca.leaf(0, pitched=True),
 ),
 evans.attach(
     "Voice 3",
     rain_markup,
     baca.leaf(0, pitched=True),
 ),
 evans.attach(
     "Voice 4",
     rain_markup,
     baca.leaf(0, pitched=True),
コード例 #27
0
import abjad
import baca
import evans

from hamon_shu.materials.score_structure.clef_handlers import clef_handlers
from hamon_shu.materials.score_structure.instruments import instruments as insts
from hamon_shu.materials.score_structure.score_structure import score
from hamon_shu.materials.score_structure.segment_02.time_signatures import (
    time_signatures, )
from hamon_shu.materials.timespans.segment_02.convert_timespans import (
    handler_commands,
    rhythm_commands,
)

commands = [evans.attach("Voice 1", abjad.StopHairpin(), baca.leaf(0))]

maker = evans.SegmentMaker(
    instruments=insts,
    names=["Violin I", "Violin II", "Viola", "Violoncello"],
    abbreviations=["vn. I", "vn. II", "va.", "vc."],
    score_template=score,
    time_signatures=time_signatures,
    clef_handlers=clef_handlers,
    commands=[
        rhythm_commands,
        evans.call(
            "score",
            evans.SegmentMaker.transform_brackets,
            abjad.select().components(abjad.Score),
        ),