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)
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)
def V2(voice): voice = score["Violin.2.Music"] music = library.make_stroke_rhythm( accumulator.get(1, 6), -1, rmakers.force_rest(lambda _: baca.select.tuplets(_, ([1], 2)), ), ) voice.extend(music) music = library.make_stroke_rhythm( accumulator.get(7, 12), -1, rmakers.force_rest(lambda _: baca.select.tuplets(_, ([1], 2)), ), ) voice.extend(music) music = library.make_stroke_rhythm( accumulator.get(13, 18), -1, rmakers.force_rest(lambda _: baca.select.tuplets(_, ([1], 2)), ), ) voice.extend(music) music = library.make_stroke_rhythm( accumulator.get(19, 24), 0, rmakers.force_rest(lambda _: baca.select.tuplets(_, ([2], 3)), ), ) voice.extend(music) music = library.make_stroke_rhythm( accumulator.get(25, 30), 0, 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(_, ([2], 3)), ), ) 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, 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 = library.make_accelerando( accumulator.get(57), (1, 4), (2, 16), ) 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, 4), ) voice.extend(music) music = library.make_urtext_field_rhythm(accumulator.get(67)) voice.extend(music) music = library.make_flight_rhythm( accumulator.get(68, 83), "C", -1, ) voice.extend(music) music = library.make_continuous_tremolo_material(accumulator.get(84, 92)) pleaf = baca.select.pleaf(music, 0) baca.repeat_tie_function(pleaf) voice.extend(music) music = baca.make_mmrests(accumulator.get(93), head=voice.name) 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, [0], ) voice.extend(music) music = baca.make_mmrests(accumulator.get(99), head=voice.name) voice.extend(music)