コード例 #1
0
ファイル: music.py プロジェクト: trevorbaca/stirrings_still
def V1(voice):
    voice = score["Violin.1.Music"]
    music = baca.make_repeat_tied_notes(
        accumulator.get(1, 7), do_not_rewrite_meter=True
    )
    voice.extend(music)
    music = library.make_picket_rhythm(
        accumulator.get(8, 12),
        4,
        2,
        rmakers.force_note(
            lambda _: baca.select.tuplet(_, 0),
        ),
        rmakers.tie(
            lambda _: abjad.select.leaves(abjad.select.tuplets(_)[:1])[:-1],
        ),
    )
    voice.extend(music)
    music = baca.make_repeat_tied_notes(
        accumulator.get(13, 16), do_not_rewrite_meter=True
    )
    voice.extend(music)
    music = library.make_picket_rhythm(
        accumulator.get(17, 20),
        4,
        2,
        rmakers.force_note(
            lambda _: baca.select.tuplet(_, 0),
        ),
        rmakers.tie(
            lambda _: abjad.select.leaves(abjad.select.tuplets(_)[:1])[:-1],
        ),
    )
    voice.extend(music)
    music = baca.make_repeat_tied_notes(
        accumulator.get(21, 24), do_not_rewrite_meter=True
    )
    voice.extend(music)
    music = library.make_picket_rhythm(
        accumulator.get(25, 28),
        4,
        2,
        rmakers.force_note(
            lambda _: baca.select.tuplet(_, 0),
        ),
        rmakers.tie(
            lambda _: abjad.select.leaves(abjad.select.tuplets(_)[:1])[:-1],
        ),
    )
    voice.extend(music)
    music = baca.make_repeat_tied_notes(
        accumulator.get(29, 32), do_not_rewrite_meter=True
    )
    voice.extend(music)
    baca.append_anchor_note_function(voice)
コード例 #2
0
def VC(voice):
    voice = score["Cello.Music"]
    music = library.make_clouded_pane_rhythm(accumulator.get(1, 10))
    voice.extend(music)
    music = library.make_cello_cell_rhythm(accumulator.get(11, 12))
    voice.extend(music)
    music = library.make_clouded_pane_rhythm(accumulator.get(13, 22))
    voice.extend(music)
    music = library.make_flight_rhythm(
        accumulator.get(23, 28),
        "C",
        -3,
        start=3,
    )
    voice.extend(music)
    music = baca.make_repeat_tied_notes(accumulator.get(29))
    voice.extend(music)
    music = library.make_flight_rhythm(
        accumulator.get(30, 35),
        "C",
        -3,
        start=4,
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(36), head=voice.name)
    voice.extend(music)
    music = library.make_clouded_pane_rhythm(accumulator.get(37, 38))
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(39), head=voice.name)
    voice.extend(music)
コード例 #3
0
def V1(voice):
    voice = score["Violin.1.Music"]
    music = library.make_clouded_pane_rhythm(accumulator.get(1, 8))
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(9, 12), head=voice.name)
    voice.extend(music)
    music = library.make_clouded_pane_rhythm(accumulator.get(13, 22))
    voice.extend(music)
    music = library.make_flight_rhythm(
        accumulator.get(23, 28),
        "C",
        0,
        start=0,
    )
    voice.extend(music)
    music = baca.make_repeat_tied_notes(accumulator.get(29))
    voice.extend(music)
    music = library.make_flight_rhythm(
        accumulator.get(30, 35),
        "C",
        0,
        start=1,
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(36), head=voice.name)
    voice.extend(music)
    music = library.make_eighth_notes(accumulator.get(37, 38))
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(39), head=voice.name)
    voice.extend(music)
コード例 #4
0
ファイル: music.py プロジェクト: trevorbaca/stirrings_still
def VC(voice):
    voice = score["Cello.Music"]
    music = baca.make_skeleton("c2. ~ c4")
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(2), head=voice.name)
    voice.extend(music)
    music = baca.make_repeat_tied_notes(accumulator.get(3, 4))
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(5), head=voice.name)
    voice.extend(music)
    music = baca.make_repeat_tied_notes(accumulator.get(6, 8))
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(9), head=voice.name)
    voice.extend(music)
    music = baca.make_repeat_tied_notes(accumulator.get(10, 15))
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(16, 20), head=voice.name)
    voice.extend(music)
コード例 #5
0
def VC(voice):
    voice = score["Cello.Music"]
    music = baca.make_repeat_tied_notes(
        accumulator.get(1, 4), do_not_rewrite_meter=True
    )
    voice.extend(music)
    rhythm_maker = rmakers.bind(
        rmakers.assign(
            make_vc_waves,
            abjad.index([1, 2, 3]),
        ),
        rmakers.assign(
            make_repeat_tied_notes,
        ),
    )
    music = rhythm_maker(accumulator.get(5, 10))
    voice.extend(music)
    music = baca.make_repeat_tied_notes(
        accumulator.get(11, 14), do_not_rewrite_meter=True
    )
    voice.extend(music)
    rhythm_maker = rmakers.bind(
        rmakers.assign(
            make_vc_waves,
            abjad.index([1, 2, 3]),
        ),
        rmakers.assign(
            make_eighth_notes,
            abjad.index([4, 5]),
        ),
        rmakers.assign(
            make_repeat_tied_notes,
        ),
    )
    music = rhythm_maker(accumulator.get(15, 20))
    voice.extend(music)
    music = library.make_eighth_notes(accumulator.get(21, 25))
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(26), head=voice.name)
    voice.extend(music)
コード例 #6
0
ファイル: music.py プロジェクト: trevorbaca/stirrings_still
def VC(voice):
    voice = score["Cello.Music"]
    music = baca.make_repeat_tied_notes(accumulator.get(1, 5))
    voice.extend(music)
    music = library.make_eighth_notes(accumulator.get(6))
    voice.extend(music)
    music = baca.make_repeat_tied_notes(accumulator.get(7, 31))
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(32), head=voice.name)
    voice.extend(music)
    music = library.make_clouded_pane_rhythm(accumulator.get(33, 34))
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(35), head=voice.name)
    voice.extend(music)
    music = baca.make_repeat_tied_notes(accumulator.get(36, 37))
    voice.extend(music)
    music = baca.make_notes(accumulator.get(38, 46))
    voice.extend(music)
    music = library.make_trajectory_rhythm(
        accumulator.get(47, 51),
        "A",
        -1,
        0,
    )
    voice.extend(music)
    music = library.make_taper_rhythm(
        accumulator.get(52),
        (1, 1),
    )
    voice.extend(music)
    music = library.make_clouded_pane_rhythm(accumulator.get(53, 54))
    voice.extend(music)
    music = library.make_taper_rhythm(
        accumulator.get(55),
        (1, 1),
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(56), head=voice.name)
    voice.extend(music)
コード例 #7
0
def VA(voice):
    voice = score["Viola.Music"]
    music = baca.make_repeat_tied_notes(accumulator.get(1, 10),
                                        do_not_rewrite_meter=True)
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(11), head=voice.name)
    voice.extend(music)
    music = library.make_desynchronization_rhythm(
        accumulator.get(12, 13),
        4,
        [2],
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(14), head=voice.name)
    voice.extend(music)
コード例 #8
0
        "C",
        baca.selectors.skip(1 - 1),
        abjad.tweak(
            (0, -2),
            tag=baca.tags.ONLY_SCORE,
        ).extra_offset,
    ),
)

# clarinet

commands(
    ("cl1", (3, 6)),
    baca.edition("solo (cl. 3)", "solo"),
    baca.hairpin("mp < mf"),
    baca.make_repeat_tied_notes(),
    baca.pitch("C5"),
)

commands(
    "cl1",
    library.margin_markup("Cl. 3"),
    library.parts("Clarinet", 3),
)

# percussion

commands(
    [
        ("perc1", (3, 6)),
        ("perc2", (3, 6)),
コード例 #9
0
ファイル: definition.py プロジェクト: trevorbaca/krummzeit
    krummzeit.rest_delimited_repeated_duration_notes((1, 4), 32),
    )

maker(
    ('perc', 1),
    baca.clef('percussion'),
    baca.markup(
        'snare drum',
        boxed=True,
        selector=baca.leaf(0),
        ),
    )

maker(
    ('perc', [(2, 3), (5, 9), 13, 16]),
    baca.make_repeat_tied_notes(),
    baca.staff_position(0),
    )

maker(
    ('perc', (19, 22)),
    baca.make_repeated_duration_notes(
        [(1, 2)],
        do_not_rewrite_meter=True,
        ),
    baca.markup('tam-tam', boxed=True),
    baca.staff_position(0),
    )

maker(
    ('pf', 4),
コード例 #10
0
def V1(voice):
    voice = score["Violin.1.Music"]
    music = library.make_trajectory_rhythm(
        accumulator.get(1, 2),
        "B",
        0,
        0,
        end_counts=[1],
    )
    voice.extend(music)
    voice.extend(music)
    music = library.make_desynchronization_rhythm(
        accumulator.get(3, 4),
        4,
        [2],
    )
    voice.extend(music)
    music = library.make_trajectory_rhythm(
        accumulator.get(5),
        "B",
        0,
        0,
    )
    voice.extend(music)
    music = library.make_accelerando(
        accumulator.get(6, 8),
        (8, 32),
        (1, 2),
    )
    voice.extend(music)
    music = library.make_trajectory_rhythm(
        accumulator.get(9),
        "B",
        -3,
        -3,
    )
    voice.extend(music)
    music = baca.make_repeat_tied_notes(accumulator.get(10))
    voice.extend(music)
    music = library.make_trajectory_rhythm(
        accumulator.get(11, 14),
        "B",
        -3,
        -3,
    )
    voice.extend(music)
    music = baca.make_repeat_tied_notes(accumulator.get(15))
    voice.extend(music)
    music = library.make_trajectory_rhythm(
        accumulator.get(16),
        "B",
        -3,
        -3,
    )
    voice.extend(music)
    music = baca.make_repeat_tied_notes(accumulator.get(17))
    voice.extend(music)
    music = library.make_flight_rhythm(
        accumulator.get(18, 20),
        "A",
        0,
        start=0,
    )
    voice.extend(music)
    music = library.make_picket_rhythm(
        accumulator.get(21),
        4,
        2,
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(22), head=voice.name)
    voice.extend(music)
    music = library.make_picket_rhythm(
        accumulator.get(23),
        4,
        2,
    )
    voice.extend(music)
    music = library.make_flight_rhythm(
        accumulator.get(24, 31),
        "A",
        0,
        start=0,
    )
    voice.extend(music)
    music = library.make_flight_rhythm(
        accumulator.get(32, 37),
        "A",
        0,
        start=0,
    )
    voice.extend(music)
    music = library.make_flight_rhythm(
        accumulator.get(38, 45),
        "A",
        0,
        start=0,
    )
    voice.extend(music)
    music = baca.make_repeat_tied_notes(
        accumulator.get(46, 53),
        do_not_rewrite_meter=True,
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(54), head=voice.name)
    voice.extend(music)
コード例 #11
0
def VC(voice):
    voice = score["Cello.Music"]
    music = library.make_trajectory_rhythm(
        accumulator.get(1, 2),
        "B",
        -3,
        -3,
        end_counts=[1],
    )
    voice.extend(music)
    music = library.make_desynchronization_rhythm(
        accumulator.get(3, 4),
        4,
        [-1],
    )
    voice.extend(music)
    music = library.make_trajectory_rhythm(
        accumulator.get(5),
        "B",
        -3,
        -3,
    )
    voice.extend(music)
    music = library.make_accelerando(
        accumulator.get(6, 8),
        (11, 32),
        (1, 2),
    )
    voice.extend(music)
    music = library.make_trajectory_rhythm(
        accumulator.get(9, 10),
        "B",
        -3,
        -3,
    )
    voice.extend(music)
    music = baca.make_repeat_tied_notes(accumulator.get(11, 12))
    voice.extend(music)
    music = library.make_trajectory_rhythm(
        accumulator.get(13, 14),
        "B",
        -3,
        -3,
    )
    voice.extend(music)
    music = baca.make_repeat_tied_notes(accumulator.get(15, 17))
    voice.extend(music)
    music = library.make_flight_rhythm(
        accumulator.get(18, 20),
        "A",
        -2,
        start=6,
    )
    voice.extend(music)
    music = library.make_cello_cell_rhythm(accumulator.get(21, 23))
    voice.extend(music)
    music = library.make_flight_rhythm(
        accumulator.get(24, 31),
        "A",
        -2,
        start=6,
    )
    voice.extend(music)
    music = library.make_flight_rhythm(
        accumulator.get(32, 37),
        "A",
        -2,
        start=6,
    )
    voice.extend(music)
    music = library.make_clouded_pane_rhythm(accumulator.get(38, 54))
    voice.extend(music)
コード例 #12
0
def VA(voice):
    voice = score["Viola.Music"]
    music = library.make_trajectory_rhythm(
        accumulator.get(1, 2),
        "B",
        -2,
        -2,
        end_counts=[1],
    )
    voice.extend(music)
    music = library.make_desynchronization_rhythm(
        accumulator.get(3, 4),
        4,
        [0],
    )
    voice.extend(music)
    music = baca.make_repeat_tied_notes(accumulator.get(5, 11),
                                        do_not_rewrite_meter=True)
    voice.extend(music)
    music = library.make_trajectory_rhythm(
        accumulator.get(12, 13),
        "B",
        -3,
        -3,
    )
    voice.extend(music)
    music = baca.make_repeat_tied_notes(accumulator.get(14, 15))
    voice.extend(music)
    music = library.make_trajectory_rhythm(
        accumulator.get(16, 17),
        "B",
        -3,
        -3,
    )
    voice.extend(music)
    music = library.make_flight_rhythm(
        accumulator.get(18, 20),
        "A",
        -1,
        start=4,
    )
    voice.extend(music)
    music = library.make_picket_rhythm(
        accumulator.get(21),
        4,
        0,
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(22), head=voice.name)
    voice.extend(music)
    music = library.make_picket_rhythm(
        accumulator.get(23),
        4,
        0,
    )
    voice.extend(music)
    music = library.make_flight_rhythm(
        accumulator.get(24, 31),
        "A",
        -1,
        start=4,
    )
    voice.extend(music)
    music = library.make_flight_rhythm(
        accumulator.get(32, 37),
        "A",
        -1,
        start=4,
    )
    voice.extend(music)
    music = library.make_flight_rhythm(
        accumulator.get(38, 42),
        "A",
        -1,
        start=4,
    )
    voice.extend(music)
    music = library.make_to_flight_rhythm(
        accumulator.get(43, 45),
        [(8, 8), (3, 16)],
    )
    voice.extend(music)
    music = baca.make_repeat_tied_notes(
        accumulator.get(46, 53),
        do_not_rewrite_meter=True,
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(54), head=voice.name)
    voice.extend(music)
コード例 #13
0
ファイル: music.py プロジェクト: trevorbaca/stirrings_still
def VA(voice):
    voice = score["Viola.Music"]
    music = library.make_continuous_tremolo_material(accumulator.get(1, 2))
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(3), head=voice.name)
    voice.extend(music)
    music = library.make_picket_rhythm(
        accumulator.get(4, 5),
        4,
        0,
        rmakers.force_rest(lambda _: baca.select.tuplet(_, 0), ),
    )
    voice.extend(music)
    music = library.make_grid_to_trajectory_rhythm(
        accumulator.get(6, 23),
        0,
        -4,
        0,
    )
    voice.extend(music)
    music = library.make_measure_initiation_rhythm(accumulator.get(24, 33))
    voice.extend(music)
    music = library.make_declamation_rhythm(accumulator.get(34))
    voice.extend(music)
    music = library.make_measure_initiation_rhythm(accumulator.get(35, 40))
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(41), head=voice.name)
    voice.extend(music)
    music = library.make_desynchronization_rhythm(
        accumulator.get(42, 49),
        4,
        [0],
    )
    voice.extend(music)
    music = library.make_trajectory_rhythm(
        accumulator.get(50, 61),
        "C",
        -2,
        -1,
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(62), head=voice.name)
    voice.extend(music)
    music = library.make_running_quarter_divisions(
        accumulator.get(63, 76),
        2,
    )
    voice.extend(music)
    music = baca.make_repeat_tied_notes(accumulator.get(77, 80))
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(81), head=voice.name)
    voice.extend(music)
    music = library.make_talea_eighth_notes(
        accumulator.get(82, 85),
        [3, 6, 8],
        -2,
        -1,
        end_counts=[1],
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(86))
    voice.extend(music)
    music = library.make_talea_eighth_notes(
        accumulator.get(87, 88),
        [3, 6, 8],
        -2,
        -1,
    )
    voice.extend(music)
    music = library.make_desynchronization_rhythm(
        accumulator.get(89, 96),
        4,
        [0],
    )
    voice.extend(music)
    music = library.make_trajectory_rhythm(
        accumulator.get(97, 108),
        "C",
        -2,
        -1,
    )
    voice.extend(music)
    music = library.make_talea_eighth_notes(
        accumulator.get(109, 110),
        [3, 6, 8],
        -2,
        -1,
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(111), head=voice.name)
    voice.extend(music)
    music = library.make_talea_eighth_notes(
        accumulator.get(112, 119),
        [3, 6, 8],
        -2,
        -1,
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(120, 127), head=voice.name)
    voice.extend(music)
コード例 #14
0
def V1(voice):
    voice = score["Violin.1.Music"]
    music = baca.make_repeat_tied_notes(accumulator.get(1))
    voice.extend(music)
    music = library.make_desynchronization_rhythm(
        accumulator.get(2, 9),
        4,
        [2],
    )
    voice.extend(music)
    music = library.make_trajectory_rhythm(
        accumulator.get(10, 24),
        "C",
        0,
        -3,
    )
    voice.extend(music)
    music = library.make_desynchronization_rhythm(
        accumulator.get(25, 27),
        4,
        [2],
    )
    voice.extend(music)
    music = library.make_trajectory_rhythm(
        accumulator.get(28, 40),
        "C",
        0,
        -3,
    )
    voice.extend(music)
    music = library.make_desynchronization_rhythm(
        accumulator.get(41, 42),
        4,
        [2],
    )
    voice.extend(music)
    music = library.make_trajectory_rhythm(
        accumulator.get(43, 52),
        "C",
        0,
        -3,
    )
    voice.extend(music)
    music = library.make_desynchronization_rhythm(
        accumulator.get(53, 54),
        4,
        [2],
    )
    voice.extend(music)
    music = library.make_trajectory_rhythm(
        accumulator.get(55, 62),
        "C",
        0,
        -3,
    )
    voice.extend(music)
    music = library.make_desynchronization_rhythm(
        accumulator.get(63),
        4,
        [2],
    )
    voice.extend(music)
    music = library.make_trajectory_rhythm(
        accumulator.get(64, 68),
        "C",
        0,
        -3,
    )
    voice.extend(music)
    music = library.make_desynchronization_rhythm(
        accumulator.get(69),
        4,
        [2],
    )
    voice.extend(music)
    music = library.make_trajectory_rhythm(
        accumulator.get(70, 71),
        "C",
        0,
        -3,
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(72), head=voice.name)
    voice.extend(music)
    music = library.make_trajectory_rhythm(
        accumulator.get(73, 92),
        "C",
        0,
        -3,
    )
    voice.extend(music)
    baca.append_anchor_note_function(voice)
コード例 #15
0
def VC(voice):
    voice = score["Cello.Music"]
    music = baca.make_repeat_tied_notes(accumulator.get(1))
    voice.extend(music)
    music = library.make_desynchronization_rhythm(
        accumulator.get(2, 9),
        4,
        [-1],
    )
    voice.extend(music)
    music = library.make_trajectory_rhythm(
        accumulator.get(10, 21),
        "C",
        -3,
        0,
    )
    voice.extend(music)
    music = library.make_desynchronization_rhythm(
        accumulator.get(22, 27),
        4,
        [-1],
    )
    voice.extend(music)
    music = library.make_trajectory_rhythm(
        accumulator.get(28, 37),
        "C",
        -3,
        0,
    )
    voice.extend(music)
    music = library.make_desynchronization_rhythm(
        accumulator.get(38, 42),
        4,
        [-1],
    )
    voice.extend(music)
    music = library.make_trajectory_rhythm(
        accumulator.get(43, 50),
        "C",
        -3,
        0,
    )
    voice.extend(music)
    music = library.make_desynchronization_rhythm(
        accumulator.get(51, 54),
        4,
        [-1],
    )
    voice.extend(music)
    music = library.make_trajectory_rhythm(
        accumulator.get(55, 60),
        "C",
        -3,
        0,
    )
    voice.extend(music)
    music = library.make_desynchronization_rhythm(
        accumulator.get(61, 63),
        4,
        [-1],
    )
    voice.extend(music)
    music = library.make_trajectory_rhythm(
        accumulator.get(64, 67),
        "C",
        -3,
        0,
    )
    voice.extend(music)
    music = library.make_desynchronization_rhythm(
        accumulator.get(68, 69),
        4,
        [-1],
    )
    voice.extend(music)
    music = library.make_trajectory_rhythm(
        accumulator.get(70, 71),
        "C",
        -3,
        0,
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(72), head=voice.name)
    voice.extend(music)
    music = library.make_eighth_notes(accumulator.get(73, 87))
    voice.extend(music)
    music = baca.make_repeat_tied_notes(accumulator.get(88, 92))
    voice.extend(music)
コード例 #16
0
def V2(voice):
    voice = score["Violin.2.Music"]
    music = baca.make_repeat_tied_notes(accumulator.get(1))
    voice.extend(music)
    music = library.make_desynchronization_rhythm(
        accumulator.get(2, 13),
        4,
        [1],
    )
    voice.extend(music)
    music = library.make_trajectory_rhythm(
        accumulator.get(14, 21),
        "C",
        -1,
        -2,
    )
    voice.extend(music)
    music = library.make_desynchronization_rhythm(
        accumulator.get(22, 30),
        4,
        [1],
    )
    voice.extend(music)
    music = library.make_trajectory_rhythm(
        accumulator.get(31, 37),
        "C",
        -1,
        -2,
    )
    voice.extend(music)
    music = library.make_desynchronization_rhythm(
        accumulator.get(38, 45),
        4,
        [1],
    )
    voice.extend(music)
    music = library.make_trajectory_rhythm(
        accumulator.get(46, 50),
        "C",
        -1,
        -2,
    )
    voice.extend(music)
    music = library.make_desynchronization_rhythm(
        accumulator.get(51, 56),
        4,
        [1],
    )
    voice.extend(music)
    music = library.make_trajectory_rhythm(
        accumulator.get(57, 60),
        "C",
        -1,
        -2,
    )
    voice.extend(music)
    music = library.make_desynchronization_rhythm(
        accumulator.get(61, 64),
        4,
        [1],
    )
    voice.extend(music)
    music = library.make_trajectory_rhythm(
        accumulator.get(65, 67),
        "C",
        -1,
        -2,
    )
    voice.extend(music)
    music = library.make_desynchronization_rhythm(
        accumulator.get(68, 70),
        4,
        [1],
    )
    voice.extend(music)
    music = library.make_trajectory_rhythm(
        accumulator.get(71),
        "C",
        -1,
        -2,
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(72), head=voice.name)
    voice.extend(music)
    music = library.make_trajectory_rhythm(
        accumulator.get(73, 92),
        "C",
        -1,
        -2,
    )
    voice.extend(music)
    baca.append_anchor_note_function(voice)
コード例 #17
0
def make_repeat_tied_notes(time_signatures):
    return baca.make_repeat_tied_notes(time_signatures, do_not_rewrite_meter=True)
コード例 #18
0
ファイル: music.py プロジェクト: trevorbaca/stirrings_still
def VA(voice):
    voice = score["Viola.Music"]
    music = baca.make_repeat_tied_notes(accumulator.get())
    voice.extend(music)
コード例 #19
0
ファイル: music.py プロジェクト: trevorbaca/stirrings_still
def VA(voice):
    voice = score["Viola.Music"]
    music = baca.make_repeat_tied_notes(accumulator.get(1, 5))
    voice.extend(music)
    music = library.make_circle_rhythm(
        accumulator.get(6),
        (1, 2),
        rmakers.force_rest(lambda _: baca.select.lt(_, 0)),
        remainder=abjad.LEFT,
    )
    voice.extend(music)
    music = library.make_accelerando(
        accumulator.get(7, 8),
        (1, 2),
        (6, 32),
    )
    voice.extend(music)
    music = library.make_desynchronization_rhythm(
        accumulator.get(9, 16),
        4,
        [1, 0, 2],
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(17, 22), head=voice.name)
    voice.extend(music)
    music = library.make_picket_rhythm(
        accumulator.get(23, 28),
        4,
        0,
        rmakers.force_rest(
            lambda _: baca.select.tuplet(_, 0),
        ),
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(29), head=voice.name)
    voice.extend(music)
    music = library.make_accelerando(
        accumulator.get(30, 31),
        (1, 2),
        (12, 32),
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(32), head=voice.name)
    voice.extend(music)
    music = library.make_clouded_pane_rhythm(accumulator.get(33, 34))
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(35), head=voice.name)
    voice.extend(music)
    music = baca.make_repeat_tied_notes(accumulator.get(36, 37))
    voice.extend(music)
    music = library.make_accelerando(
        accumulator.get(38, 40),
        (1, 2),
        (12, 32),
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(41), head=voice.name)
    voice.extend(music)
    music = library.make_accelerando(
        accumulator.get(42, 45),
        (1, 2),
        (12, 32),
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(46), head=voice.name)
    voice.extend(music)
    music = library.make_picket_rhythm(
        accumulator.get(47, 51),
        4,
        0,
    )
    voice.extend(music)
    music = library.make_loure_tuplets_material(
        accumulator.get(52),
        -1,
    )
    voice.extend(music)
    music = library.make_clouded_pane_rhythm(accumulator.get(53, 54))
    voice.extend(music)
    music = library.make_loure_tuplets_material(
        accumulator.get(55),
        -1,
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(56), head=voice.name)
    voice.extend(music)
コード例 #20
0
ファイル: music.py プロジェクト: trevorbaca/stirrings_still
def V2(voice):
    voice = score["Violin.2.Music"]
    music = baca.make_repeat_tied_notes(accumulator.get(1, 5))
    voice.extend(music)
    music = baca.make_repeat_tied_notes(accumulator.get(6))
    voice.extend(music)
    music = baca.make_repeat_tied_notes(accumulator.get(7, 10))
    voice.extend(music)
    music = library.make_accelerando(
        accumulator.get(11, 12),
        (1, 2),
        (7, 32),
    )
    voice.extend(music)
    music = library.make_desynchronization_rhythm(
        accumulator.get(13, 16),
        4,
        [1, 0, 2],
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(17, 22), head=voice.name)
    voice.extend(music)
    music = library.make_picket_rhythm(
        accumulator.get(23, 28),
        4,
        1,
        rmakers.force_rest(
            lambda _: baca.select.tuplet(_, 0),
        ),
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(29), head=voice.name)
    voice.extend(music)
    music = library.make_accelerando(
        accumulator.get(30, 31),
        (1, 2),
        (8, 32),
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(32), head=voice.name)
    voice.extend(music)
    music = library.make_clocktick_rhythm(accumulator.get(33))
    voice.extend(music)
    music = baca.make_skeleton(
        r"\times 2/3 { c'8 r4 } \times 2/3 { c'8 r8 }",
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(35), head=voice.name)
    voice.extend(music)
    music = baca.make_repeat_tied_notes(accumulator.get(36, 37))
    voice.extend(music)
    music = library.make_accelerando(
        accumulator.get(38, 40),
        (1, 2),
        (8, 32),
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(41), head=voice.name)
    voice.extend(music)
    music = library.make_accelerando(
        accumulator.get(42, 45),
        (1, 2),
        (8, 32),
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(46), head=voice.name)
    voice.extend(music)
    music = library.make_picket_rhythm(
        accumulator.get(47, 51),
        4,
        1,
    )
    voice.extend(music)
    music = library.make_loure_tuplets_material(
        accumulator.get(52),
        1,
    )
    voice.extend(music)
    music = library.make_clocktick_rhythm(accumulator.get(53))
    voice.extend(music)
    music = baca.make_skeleton(
        r"{ \times 2/3 { c'8 r4 } \times 2/3 { c'8 r8 } }",
    )
    voice.extend(music)
    music = library.make_loure_tuplets_material(
        accumulator.get(55),
        1,
    )
    voice.extend(music)
    music = library.make_circle_rhythm(
        accumulator.get(56),
        (1, 4),
    )
    voice.extend(music)
    baca.append_anchor_note_function(voice)
コード例 #21
0
ファイル: music.py プロジェクト: trevorbaca/stirrings_still
def VC(voice):
    voice = score["Cello.Music"]
    music = library.make_stroke_rhythm(
        accumulator.get(1, 6),
        3,
        rmakers.force_rest(lambda _: baca.select.tuplets(_, ([1, 2], 3)), ),
    )
    voice.extend(music)
    music = library.make_stroke_rhythm(
        accumulator.get(7, 12),
        -3,
        rmakers.force_rest(lambda _: baca.select.tuplets(_, ([1, 2], 3)), ),
    )
    voice.extend(music)
    music = library.make_stroke_rhythm(
        accumulator.get(13, 18),
        -3,
        rmakers.force_rest(lambda _: baca.select.tuplets(_, ([1], 3)), ),
    )
    voice.extend(music)
    music = library.make_stroke_rhythm(
        accumulator.get(19, 24),
        -3,
        rmakers.force_rest(lambda _: baca.select.tuplets(_, ([1], 3)), ),
    )
    voice.extend(music)
    music = library.make_stroke_rhythm(
        accumulator.get(25, 30),
        -2,
        rmakers.force_rest(lambda _: baca.select.tuplets(_, ([2], 3)), ),
    )
    voice.extend(music)
    music = library.make_stroke_rhythm(
        accumulator.get(31, 36),
        0,
        rmakers.force_rest(lambda _: baca.select.tuplets(_, ([0], 3)), ),
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(37), head=voice.name)
    voice.extend(music)
    music = library.make_cello_cell_rhythm(accumulator.get(38))
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(39), head=voice.name)
    voice.extend(music)
    music = library.make_stroke_rhythm(
        accumulator.get(40, 45),
        0,
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(46, 48))
    voice.extend(music)
    music = baca.make_repeat_tied_notes(accumulator.get(49, 50),
                                        do_not_rewrite_meter=True)
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(51), head=voice.name)
    voice.extend(music)
    music = baca.make_repeat_tied_notes(accumulator.get(52, 53),
                                        do_not_rewrite_meter=True)
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(54, 56), head=voice.name)
    voice.extend(music)
    music = baca.make_skeleton("c2. ~ c4")
    voice.extend(music)
    music = library.make_stroke_rhythm(
        accumulator.get(58, 63),
        0,
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(64), head=voice.name)
    voice.extend(music)
    music = library.make_clouded_pane_rhythm(accumulator.get(65, 92))
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(93), head=voice.name)
    voice.extend(music)
    music = library.make_clouded_pane_rhythm(accumulator.get(94, 99))
    voice.extend(music)
コード例 #22
0
ファイル: music.py プロジェクト: trevorbaca/stirrings_still
def VA(voice):
    voice = score["Viola.Music"]
    music = library.make_stroke_rhythm(
        accumulator.get(1, 6),
        -2,
        rmakers.force_rest(lambda _: baca.select.tuplets(_, ([0, 1], 3)), ),
    )
    voice.extend(music)
    music = library.make_stroke_rhythm(
        accumulator.get(7, 12),
        -2,
        rmakers.force_rest(lambda _: baca.select.tuplets(_, ([0], 3)), ),
    )
    voice.extend(music)
    music = library.make_stroke_rhythm(
        accumulator.get(13, 18),
        -2,
        rmakers.force_rest(lambda _: baca.select.tuplets(_, ([0], 3)), ),
    )
    voice.extend(music)
    music = library.make_stroke_rhythm(
        accumulator.get(19, 24),
        -2,
        rmakers.force_rest(lambda _: baca.select.tuplets(_, ([0], 3)), ),
    )
    voice.extend(music)
    music = library.make_stroke_rhythm(
        accumulator.get(25, 30),
        -2,
        rmakers.force_rest(lambda _: baca.select.tuplets(_, ([0], 2)), ),
    )
    voice.extend(music)
    music = library.make_stroke_rhythm(
        accumulator.get(31, 36),
        0,
        rmakers.force_rest(lambda _: baca.select.tuplets(_, ([1], 2)), ),
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(37, 39), head=voice.name)
    voice.extend(music)
    music = library.make_stroke_rhythm(
        accumulator.get(40, 45),
        0,
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(46))
    voice.extend(music)
    music = library.make_declamation_rhythm(accumulator.get(47))
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(48), head=voice.name)
    voice.extend(music)
    music = baca.make_repeat_tied_notes(accumulator.get(49, 53),
                                        do_not_rewrite_meter=True)
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(54), head=voice.name)
    voice.extend(music)
    music = library.make_declamation_rhythm(accumulator.get(55))
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(56), head=voice.name)
    voice.extend(music)
    music = baca.make_repeat_tied_notes(accumulator.get(57))
    voice.extend(music)
    music = library.make_stroke_rhythm(
        accumulator.get(58, 63),
        0,
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(64), head=voice.name)
    voice.extend(music)
    music = library.make_urtext_field_rhythm(accumulator.get(65))
    voice.extend(music)
    music = library.make_circle_rhythm(
        accumulator.get(66),
        (1, 2),
        rmakers.force_rest(lambda _: baca.select.lt(_, 0)),
        remainder=abjad.LEFT,
    )
    voice.extend(music)
    music = library.make_urtext_field_rhythm(accumulator.get(67))
    voice.extend(music)
    music = library.make_flight_rhythm(
        accumulator.get(68, 83),
        "B",
        -2,
    )
    voice.extend(music)
    music = library.make_continuous_tremolo_material(accumulator.get(84, 89))
    pleaf = baca.select.pleaf(music, 0)
    baca.repeat_tie_function(pleaf)
    voice.extend(music)
    music = baca.make_repeat_tied_notes(accumulator.get(90, 93),
                                        do_not_rewrite_meter=True)
    voice.extend(music)
    music = library.make_continuous_tremolo_material(accumulator.get(94, 96))
    voice.extend(music)
    music = library.make_desynchronization_rhythm(
        accumulator.get(97, 98),
        4,
        [2],
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(99), head=voice.name)
    voice.extend(music)
コード例 #23
0
ファイル: music.py プロジェクト: trevorbaca/stirrings_still
def VC(voice):
    voice = score["Cello.Music"]
    music = baca.make_repeat_tied_notes(accumulator.get(1, 12))
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(13, 17), head=voice.name)
    voice.extend(music)
コード例 #24
0
ファイル: music.py プロジェクト: trevorbaca/stirrings_still
def V1(voice):
    voice = score["Violin.1.Music"]
    music = baca.make_repeat_tied_notes(accumulator.get(1, 5))
    voice.extend(music)
    music = library.make_circle_rhythm(
        accumulator.get(6),
        (1, 8),
    )
    voice.extend(music)
    music = library.make_accelerando(
        accumulator.get(7, 8),
        (1, 2),
        (8, 32),
    )
    voice.extend(music)
    music = library.make_desynchronization_rhythm(
        accumulator.get(9, 16),
        4,
        [0, 2, 1],
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(17, 22), head=voice.name)
    voice.extend(music)
    music = library.make_picket_rhythm(
        accumulator.get(23, 28),
        4,
        2,
        rmakers.force_rest(
            lambda _: baca.select.tuplet(_, 0),
        ),
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(29), head=voice.name)
    voice.extend(music)
    music = library.make_accelerando(
        accumulator.get(30, 31),
        (1, 2),
        (4, 32),
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(32), head=voice.name)
    voice.extend(music)
    music = library.make_clouded_pane_rhythm(accumulator.get(33, 34))
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(35), head=voice.name)
    voice.extend(music)
    music = baca.make_repeat_tied_notes(accumulator.get(36, 37))
    voice.extend(music)
    music = library.make_accelerando(
        accumulator.get(38, 40),
        (1, 2),
        (4, 32),
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(41), head=voice.name)
    voice.extend(music)
    music = library.make_accelerando(
        accumulator.get(42, 45),
        (1, 2),
        (4, 32),
    )
    voice.extend(music)
    music = baca.make_mmrests(accumulator.get(46), head=voice.name)
    voice.extend(music)
    music = library.make_picket_rhythm(
        accumulator.get(47, 51),
        4,
        2,
    )
    voice.extend(music)
    music = library.make_loure_tuplets_material(
        accumulator.get(52),
        0,
    )
    voice.extend(music)
    music = library.make_clouded_pane_rhythm(accumulator.get(53, 54))
    voice.extend(music)
    music = library.make_loure_tuplets_material(
        accumulator.get(55),
        0,
    )
    voice.extend(music)
    music = library.make_circle_rhythm(
        accumulator.get(56),
        (1, 8),
    )
    voice.extend(music)
    baca.append_anchor_note_function(voice)