######################################################################################### ########################################### 07 ########################################## ######################################################################################### score = library.make_empty_score() figures = baca.FigureAccumulator(score, library.voice_abbreviations()) section_7 = library.moment_7() #################################### [7.1] #################################### figures( library.rh_v1, section_7.stage_1.rh.next(), baca.figure([1], 16, treatments=[-1]), baca.register(13, 13 + 10), baca.nest("2/16"), rmakers.beam_groups(), baca.imbricate( library.rh_v1_i, [17, 23], rmakers.beam_groups(beam_rests=True), baca.marcato(lambda _: baca.select.pheads(_)), baca.extend_beam(), ), baca.dynamic("fff"), baca.extend_beam(), figure_name="7.1.R.1", signature=4, )
# selector=baca.selector.first_leaf(), # ), ), voice_number=1, ) accumulator( accumulator.third_figure_maker( [13 * ['E2']], baca.make_markup_specifier( 'RASCADO: slowly draw extremely long metal screw over open string;' ' as close as possible to bridge; only one stroke.' ), baca.overrides.proportional_notation_duration((1, 12)), baca.stem_tremolo(), baca.register(-20), baca.tools.DynamicSpecifier(dynamic='p'), baca.tools.SpannerSpecifier( spanner=abjad.Tie(use_messiaen_style_ties=True) ), ), voice_number=1, ) ############################################################################### ################################ SEGMENT-MAKER ################################ ############################################################################### tempo_specifier = baca.tools.TempoSpecifier([ #(1, dornen.materials.tempi[66]), ])
############################################################################### ##################################### [D] ##################################### ############################################################################### accumulator = mraz.MusicAccumulator(mraz.ScoreTemplate()) collection_maker = mraz.CollectionMaker() collections = collection_maker.make_segment_6_collections() #################################### [6.1] #################################### accumulator( 'rh_v3', collections['stage 1']['rh'].next(2), baca.dynamic('pp'), baca.flags(), baca.register(24, 12), baca.rests_after([1]), baca.staccato(selector=baca.pheads()), baca.tenuto(selector=baca.pheads()), baca.tuplet_bracket_staff_padding(7), baca.tuplet_bracket_up(), denominator=8, figure_name='rh-3 6.1.1', talea_denominator=8, thread=True, time_treatments=[1, 0], ) accumulator( 'rh_v3', collections['stage 1']['rh'].next(),
######################################################################################### score = library.make_empty_score() figures = baca.FigureAccumulator(score, library.voice_abbreviations()) section_2 = library.moment_2() section_4 = library.moment_4() section_6 = library.moment_6() section_7 = library.moment_7() resonance = set("e, fs, gs, as, b,".split()) figures( library.rh_v4, [_.transpose(4 * 7) for _ in section_7.stage_1.lh[-1]], baca.figure([1], 16, treatments=[1]), rmakers.beam_groups(), baca.register(6, 6 + 10), baca.imbricate( library.rh_v4_i, [14, 18], rmakers.unbeam(), ), baca.dynamic("ff"), figure_name="7.1.L.5", signature=4, ) figures( library.rh_v2, "r4", baca.rest_transparent(), do_not_label=True,
######################################################################################### ########################################### 02 ########################################## ######################################################################################### score = library.make_empty_score() figures = baca.FigureAccumulator(score, library.voice_abbreviations()) section_8 = library.moment_8() figures( library.lh_v5, section_8.stage_3.rh.next(), baca.figure([6, -1], 32), baca.dynamic("ppp"), baca.dynamic_up(), baca.register(-27, -39), figure_name="8.3.R.1", signature=4, ) figures( library.lh_v5, section_8.stage_3.rh.next(2), baca.figure([4, -1], 32, treatments=[1]), baca.register(-39, -27), baca.rest_up(), figure_name="8.3.R.2-3", signature=4, ) figures(
#################################### [7.1] #################################### accumulator( 'rh_v1', collections['stage 1']['rh'].next(), baca.dynamic('fff'), baca.imbricate( 'rh_v1_i', [17, 23], baca.beam_everything(), baca.marcato(selector=baca.pheads()), extend_beam=True, ), baca.nest('2/16'), baca.register(13, 13+10), extend_beam=True, figure_name='rh-1 7.1.1', time_treatments=[-1], ) accumulator( 'rh_v2', collections['stage 1']['rh'].next(), baca.dynamic('fff'), baca.imbricate( 'rh_v2_i', [12, 14], baca.beam_everything(), baca.accent(selector=baca.pheads()), extend_beam=True,
collections = collection_maker.make_segment_4_collections() collections_2 = collection_maker.make_segment_2_collections() collections_4 = collection_maker.make_segment_4_collections() collections_5 = collection_maker.make_segment_5_collections() collections_6 = collection_maker.make_segment_6_collections() collections_7 = collection_maker.make_segment_7_collections() collections_8 = collection_maker.make_segment_8_collections() #################################### [4.1] #################################### accumulator( 'rh_v3', collections['stage 1']['rh'].next(), baca.dynamic('ff'), baca.flags(), baca.register(-12, 12), baca.stem_up(), baca.text_script_up(), baca.tuplet_bracket_up(), counts=[2, -4, 2, -4, 4], figure_name='rh-3 4.1.1', time_treatments=[2], ) accumulator( 'rh_v2', collections['stage 6']['rh'][1], baca.dynamic('ff'), baca.marcato(selector=baca.pheads()), baca.script_up(), baca.up_arpeggio(selector=baca.pheads()),
########################################### 01 ########################################## ######################################################################################### score = library.make_empty_score() figures = baca.FigureAccumulator(score, library.voice_abbreviations()) section_4 = library.moment_4() section_5 = library.moment_5() section_6 = library.moment_6() section_7 = library.moment_7() section_8 = library.moment_8() figures( library.rh_v1, section_4.stage_5.rh[3 - 1], baca.figure([16], 16), baca.register(36), rmakers.beam_groups(), baca.tenuto(lambda _: baca.select.pheads(_)), baca.markup(r"\mraz-ottava-brackets-always-govern-markup"), figure_name="4.5.R.3", hide_time_signature=True, signature=4, ) figures( library.rh_v2, section_4.stage_5.lh[:4], baca.figure([1], 16, treatments=[(1, 4)]), baca.dls_staff_padding(8), baca.hairpin("f < ff"), baca.ottava(),
collection_maker = mraz.CollectionMaker() collections_2 = collection_maker.make_segment_2_collections() collections_4 = collection_maker.make_segment_4_collections() collections_5 = collection_maker.make_segment_5_collections() collections_6 = collection_maker.make_segment_6_collections() collections_7 = collection_maker.make_segment_7_collections() collections_8 = collection_maker.make_segment_8_collections() ##################################### [_] ##################################### accumulator( 'rh_v1', collections_4['stage 5']['rh'][2], baca.allow_octaves(), baca.markup('(ottava brackets always govern all voices on staff)'), baca.register(36), baca.tenuto(selector=baca.pheads()), counts=[16], figure_name='b.1.1', hide_time_signature=True, ) accumulator( 'rh_v2', collections_4['stage 5']['lh'][:4], baca.anchor_to_figure('b.1.1'), baca.dls_staff_padding(8), baca.hairpin('f < ff'), baca.ottava(), baca.register(10, 36), baca.new(
collections_4 = collection_maker.make_segment_4_collections() collections_5 = collection_maker.make_segment_5_collections() collections_6 = collection_maker.make_segment_6_collections() collections_7 = collection_maker.make_segment_7_collections() collections_8 = collection_maker.make_segment_8_collections() #################################### [5.1] #################################### accumulator( 'rh_v2', collections['stage 1']['rh'].next(exhausted=True), baca.accent(selector=baca.pheads()), baca.dynamic('fff'), baca.dynamic_up(), baca.flags(), baca.register(20, 36), baca.rest_up(), baca.script_up(), baca.stem_up(), counts=[2, -14], figure_name='rh-2 5.1.1', ) accumulator( 'rh_v3', collections['stage 1']['lh'].next(exhausted=True), baca.anchor('rh_v2'), baca.dynamic('mf'), baca.flags(), baca.ottava(), baca.register(10, 26),
from mraz import library ######################################################################################### ########################################### 05 ########################################## ######################################################################################### score = library.make_empty_score() figures = baca.FigureAccumulator(score, library.voice_abbreviations()) section_6 = library.moment_6() figures( library.rh_v3, section_6.stage_1.rh.next(2), baca.figure([1], 8, affix=baca.rests_after([1]), treatments=[1, 0]), baca.dynamic("pp"), baca.register(24, 12), baca.staccato(lambda _: baca.select.pheads(_)), baca.tenuto(lambda _: baca.select.pheads(_)), baca.tuplet_bracket_staff_padding(7), baca.tuplet_bracket_up(), figure_name="6.1.R.1-2", signature=8, ) figures( library.rh_v3, section_6.stage_1.rh.next(), baca.figure([1], 8, treatments=[1]), baca.register(24, 12), baca.staccato(lambda _: baca.select.pheads(_)), baca.tenuto(lambda _: baca.select.pheads(_)),
######################################################################################### score = library.make_empty_score() figures = baca.FigureAccumulator(score, library.voice_abbreviations()) section_2 = library.moment_2() section_5 = library.moment_5() section_8 = library.moment_8() figures( library.rh_v2, section_5.stage_1.rh.next(exhausted=True), baca.figure([2, -14], 16), baca.accent(lambda _: baca.select.pheads(_)), baca.dynamic("fff"), baca.dynamic_up(), baca.register(20, 36), baca.rest_up(), baca.script_up(), baca.stem_up(), figure_label_direction=abjad.UP, figure_name="5.1.R.1", signature=4, ) figures( library.rh_v3, section_5.stage_1.lh.next(exhausted=True), baca.figure([4, -4], 16, treatments=[(16, 4)]), rmakers.denominator(abjad.Duration(1, 1)), baca.dynamic("mf"), baca.ottava(),
import baca import dornen ############################################################################### ##################################### [H] ##################################### ############################################################################### accumulator = dornen.tools.FigureAccumulator() design = dornen.tools.make_design_3(start=20) assert len(design) == 20, (repr(design), len(design)) accumulator( accumulator.delicatissimo_figure_maker( design[:1], baca.register(-4, -20), extend_beam=True, figure_name='D1', ), voice_number=1, ) accumulator( accumulator.delicatissimo_figure_maker( design[1:2], baca.register(-4, -20), extend_beam=True, figure_name='D2', ), voice_number=1, )
##################################### [A] ##################################### ############################################################################### accumulator = mraz.MusicAccumulator(mraz.ScoreTemplate()) collection_maker = mraz.CollectionMaker() collections = collection_maker.make_segment_8_collections() #################################### [8.3] #################################### accumulator( 'lh_v5', collections['stage 3']['rh'].next(), baca.dynamic('ppp'), baca.dynamic_up(), baca.flags(), baca.register(-27, -39), counts=[6, -1], figure_name='lh-5 8.3.1', talea_denominator=32, ) accumulator( 'lh_v5', collections['stage 3']['rh'].next(2), baca.flags(), baca.register(-39, -27), baca.rest_up(), counts=[4, -1], figure_name='lh-5 8.3.2', talea_denominator=32, time_treatments=[1],
collection_maker = mraz.CollectionMaker() collections_2 = collection_maker.make_segment_2_collections() collections_4 = collection_maker.make_segment_4_collections() collections_5 = collection_maker.make_segment_5_collections() collections_6 = collection_maker.make_segment_6_collections() collections_7 = collection_maker.make_segment_7_collections() collections_8 = collection_maker.make_segment_8_collections() resonance = baca.PitchSet("e, fs, gs, as, b,", item_class=abjad.NamedPitch) ##################################### [B] ##################################### accumulator( 'rh_v4', collections_7['stage 1']['lh'][-1].transpose(4*7), baca.dynamic('ff'), baca.register(6, 6+10), baca.imbricate( 'rh_v4_i', [14, 18], baca.flags(), ), figure_name='b.2.1', time_treatments=[1], ) accumulator( 'rh_v2', [abjad.Rest((1, 4))], baca.rest_transparent(), figure_name='b.2.2', )
import dornen ############################################################################### ##################################### [G] ##################################### ############################################################################### accumulator = dornen.tools.FigureAccumulator() design = dornen.tools.make_design_2(start=28) assert len(design) == 12, (repr(design), len(design)) accumulator( accumulator.ovoid_figure_maker( design[:1], baca.beam_positions(-7.5), baca.register(-20, -8), figure_name='O1', ), voice_number=2, ) accumulator( accumulator.glissando_scatto_figure_maker( design[1:2], baca.beam_positions(8), figure_name='L1', ), voice_number=1, ) accumulator(