예제 #1
0
         attachments=consort.AttachmentExpression(
             attachments=abbreviations.make_text_spanner('pizz.'),
             selector=selectortools.Selector().by_leaf(),
             ),
         selector=selectortools.Selector().by_leaf(),
         ),
     ),
 color='darkyellow',
 labels=[],
 pitch_handler=consort.PitchClassPitchHandler(
     forbid_repetitions=True,
     pitch_specifier=abbreviations.agitato_pitch_specifier,
     register_specifier=consort.RegisterSpecifier(
         base_pitch='G3',
         phrase_inflections=consort.RegisterInflection
             .zigzag(3)
             .reverse()
             .align(),
         segment_inflections=consort.RegisterInflection
             .descending(width=3)
             .align()
         ),
     ),
 rhythm_maker=consort.CompositeRhythmMaker(
     default=rhythmmakertools.TaleaRhythmMaker(
         extra_counts_per_division=[0, 0, 1],
         talea=rhythmmakertools.Talea(
             counts=[1, -1, 1, -2, 1, -3],
             denominator=16,
             ),
         ),
     last=rhythmmakertools.IncisedRhythmMaker(
예제 #2
0
             scoretools.Note).by_logical_tie()[0]),
     tenuti=consort.AttachmentExpression(
         attachments=indicatortools.Articulation('tenuto'),
         selector=selectortools.Selector().by_logical_tie(pitched=True)[0]),
 ),
 color='darkyellow',
 labels=['pedaled'],
 pitch_handler=consort.PitchClassPitchHandler(
     logical_tie_expressions=(
         None,
         consort.ChordExpression([-2, 3]),
         consort.ChordExpression([0, 3]),
         None,
         consort.ChordExpression([-4, 5]),
     ),
     pitch_specifier=abbreviations.agitato_pitch_specifier,
     register_specifier=consort.RegisterSpecifier(
         base_pitch='G3',
         phrase_inflections=consort.RegisterInflection.zigzag(
             12).reverse().align(),
         segment_inflections=consort.RegisterInflection.descending(
             width=12).align()),
     register_spread=6,
 ),
 rhythm_maker=consort.CompositeRhythmMaker(
     default=rhythmmakertools.TaleaRhythmMaker(
         extra_counts_per_division=[0, 0, 1],
         talea=rhythmmakertools.Talea(
             counts=[1, -2, 1, -3, 1, -4],
             denominator=16,
         ),
예제 #3
0
 labels=[],
 pitch_handler=consort.PitchClassPitchHandler(
     forbid_repetitions=True,
     leap_constraint=12,
     logical_tie_expressions=[
         consort.ChordExpression([-6, -3, 3, 8]),
         None,
         consort.ChordExpression([0, 3]),
         None,
         None,
         consort.ChordExpression([0, 3]),
         consort.ChordExpression([-1, 2]),
         None,
         consort.KeyClusterExpression(
             include_black_keys=False,
             ),
         consort.ChordExpression([0, 3]),
         None,
         None,
         ],
     pitch_specifier=abbreviations.agitato_pitch_specifier,
     register_specifier=consort.RegisterSpecifier(
         base_pitch='G3',
         phrase_inflections=consort.RegisterInflection.zigzag(6)
             .reverse().align(),
         segment_inflections=consort.RegisterInflection.descending(
             width=12).align()
         ),
     register_spread=6,
     ),
 rhythm_maker=rhythmmakertools.TaleaRhythmMaker(
예제 #4
0
wind_continuo_music_specifier = consort.MusicSpecifier(
    attachment_handler=consort.AttachmentHandler(
        dynamic_expressions=consort.DynamicExpression(
            division_period=2,
            dynamic_tokens='p mp mf',
            start_dynamic_tokens='niente',
            stop_dynamic_tokens='niente',
        ),
        staccati=consort.AttachmentExpression(
            attachments=indicatortools.Articulation('staccato'),
            selector=selectortools.select_pitched_runs(),
        ),
    ),
    color=None,
    labels=[],
    pitch_handler=consort.PitchClassPitchHandler(
        deviations=[0, 2, 0, 3, 0, 3, 0, 2, 0, 5, 0, 3, 0, 5, 0, 8, 7],
        pitch_specifier="d' f' df'",
        pitch_application_rate='division',
        register_specifier=consort.RegisterSpecifier(base_pitch='C4', ),
    ),
    rhythm_maker=rhythmmakertools.EvenDivisionRhythmMaker(
        burnish_specifier=rhythmmakertools.BurnishSpecifier(
            left_classes=[scoretools.Rest],
            left_counts=[1, 1, 0, 0, 0, 1, 0],
            right_classes=[scoretools.Rest],
            right_counts=[1, 0],
        ),
        denominators=[16],
        extra_counts_per_division=(0, 0, 1, 2, 0, 1),
    ))
예제 #5
0
         division_period=2,
         dynamic_tokens='p ppp mp',
         start_dynamic_tokens='fp',
         stop_dynamic_tokens='mf ppp',
     ),
     trill_spanner=consort.AttachmentExpression(
         attachments=spannertools.ComplexTrillSpanner('M2'),
         selector=selectortools.select_pitched_runs(),
     ),
 ),
 color='red',
 labels=[],
 pitch_handler=consort.PitchClassPitchHandler(
     deviations=[0, 1],
     pitch_application_rate='phrase',
     pitch_specifier=abbreviations.agitato_pitch_specifier,
     pitch_operation_specifier=abbreviations.pitch_operation_specifier,
     register_specifier=consort.RegisterSpecifier(base_pitch='C4', ),
 ),
 rhythm_maker=rhythmmakertools.EvenDivisionRhythmMaker(
     denominators=[8],
     extra_counts_per_division=[0, 1, 2],
     division_masks=[
         rhythmmakertools.SustainMask(pattern=patterntools.Pattern(
             indices=[2],
             period=3,
         ), ),
         rhythmmakertools.SustainMask(pattern=patterntools.Pattern(
             indices=[0, -1], ), ),
     ],
     tie_specifier=rhythmmakertools.TieSpecifier(
예제 #6
0
             start=1, apply_to_each=False)[0]),
     dynamic_expressions=consort.DynamicExpression(
         division_period=2,
         dynamic_tokens='p ppp',
         start_dynamic_tokens='niente',
         stop_dynamic_tokens='niente',
     ),
     glissando=consort.Glissando(),
 ),
 color=None,
 labels=[],
 minimum_phrase_duration=(3, 2),
 pitch_handler=consort.PitchClassPitchHandler(
     pitch_application_rate='phrase',
     deviations=[0, 0, 0, 0.5],
     pitch_specifier='d f d g f d f',
     register_specifier=consort.RegisterSpecifier(base_pitch='C4', ),
     register_spread=0,
 ),
 rhythm_maker=rhythmmakertools.EvenDivisionRhythmMaker(
     denominators=[8],
     division_masks=[
         rhythmmakertools.SustainMask(pattern=patterntools.Pattern(
             indices=[0, 1],
             period=3,
         ), ),
         rhythmmakertools.SustainMask(pattern=patterntools.Pattern(
             indices=[0, -1], ), ),
     ],
     tie_specifier=rhythmmakertools.TieSpecifier(
         tie_across_divisions=True, ),
예제 #7
0
                 preprolated=True).by_leaf().by_length('>', 1)),
     text_spanner=consort.AttachmentExpression(
         attachments=abbreviations.make_text_spanner('crotales'),
         selector=selectortools.select_pitched_runs(),
     ),
     tremolo=consort.AttachmentExpression(
         attachments=spannertools.StemTremoloSpanner(),
         selector=selectortools.Selector().by_logical_tie(
             pitched=True).by_duration('>', (1, 16), preprolated=True)),
 ),
 color='yellow',
 labels=[],
 pitch_handler=consort.PitchClassPitchHandler(
     forbid_repetitions=True,
     pitch_specifier=abbreviations.agitato_pitch_specifier,
     register_specifier=consort.RegisterSpecifier(
         base_pitch="c'''",
         segment_inflections=consort.RegisterInflection.zigzag(6).align()),
 ),
 rhythm_maker=consort.CompositeRhythmMaker(
     default=rhythmmakertools.NoteRhythmMaker(
         tie_specifier=rhythmmakertools.TieSpecifier(
             tie_across_divisions=True, ), ),
     first=rhythmmakertools.IncisedRhythmMaker(
         incise_specifier=rhythmmakertools.InciseSpecifier(
             fill_with_notes=False,
             prefix_counts=[1],
             prefix_talea=[1],
             talea_denominator=16,
         ), ),
 ),
예제 #8
0
guitar_pointillist_harmonics_music_specifier = consort.MusicSpecifier(
    attachment_handler=consort.AttachmentHandler(
        dynamic_expressions=consort.DynamicExpression(
            dynamic_tokens='p mp', ), ),
    color=None,
    labels=[],
    pitch_handler=consort.PitchClassPitchHandler(
        forbid_repetitions=True,
        leap_constraint=6,
        logical_tie_expressions=[
            consort.HarmonicExpression('P4'),
            consort.HarmonicExpression('P5'),
            consort.HarmonicExpression('P8'),
            consort.HarmonicExpression('P5'),
        ],
        pitch_specifier=abbreviations.agitato_pitch_specifier,
        register_specifier=consort.RegisterSpecifier(
            base_pitch='E2',
            phrase_inflections=consort.RegisterInflection.zigzag(
                6).reverse().align(),
            segment_inflections=consort.RegisterInflection.descending(
                width=12).align()),
    ),
    rhythm_maker=consort.CompositeRhythmMaker(
        default=rhythmmakertools.EvenDivisionRhythmMaker(
            burnish_specifier=rhythmmakertools.BurnishSpecifier(
                left_classes=[scoretools.Rest],
                left_counts=[1, 0],
                right_classes=[scoretools.Rest],
                right_counts=[1],
예제 #9
0
     slur=consort.AttachmentExpression(
         attachments=spannertools.Slur(),
         selector=selectortools.Selector()
             .by_logical_tie(pitched=True)
             .by_contiguity()
             .by_length('>', 1)
             .by_leaf()
         ),
     ),
 color='darkyellow',
 pitch_handler=consort.PitchClassPitchHandler(
     deviations=[0, 0, 0, 0.5, 0, -0.5],
     forbid_repetitions=True,
     leap_constraint=6,
     pitch_specifier='d f d f d f c f bf d f df',
     register_specifier=consort.RegisterSpecifier(
         base_pitch='C4',
         segment_inflections=consort.RegisterInflection
             .zigzag(6)
             .reverse(),
         ),
     register_spread=3,
     ),
 rhythm_maker=rhythmmakertools.TaleaRhythmMaker(
     extra_counts_per_division=[0, 0, 1, 2, 0, 1],
     talea=rhythmmakertools.Talea(
         counts=[1, 1, -3, 2, 1, -2, 3, 1, -3],
         denominator=16,
         )
     ),
 )
예제 #10
0
             pitched=True).by_duration('>=', (1, 8),
                                       preprolated=True).by_class(
                                           scoretools.Chord)[0],
     ),
 ),
 color='magenta',
 labels=[],
 pitch_handler=consort.PitchClassPitchHandler(
     forbid_repetitions=True,
     leap_constraint=12,
     logical_tie_expressions=[
         None,
         consort.ChordExpression([0, 3]),
         None,
         None,
         consort.ChordExpression([0, 5]),
     ],
     pitch_specifier=abbreviations.agitato_pitch_specifier,
     register_specifier=consort.RegisterSpecifier(
         base_pitch='A2',
         phrase_inflections=consort.RegisterInflection.zigzag(
             6).reverse().align(),
         segment_inflections=consort.RegisterInflection.descending(
             width=12).align()),
 ),
 rhythm_maker=rhythmmakertools.TaleaRhythmMaker(
     burnish_specifier=rhythmmakertools.BurnishSpecifier(
         left_classes=[scoretools.Rest],
         left_counts=[1, 0],
         right_classes=[scoretools.Rest],
         right_counts=[1],
     ),
예제 #11
0
         attachments=indicatortools.Articulation('stopped'),
         selector=selectortools.Selector().by_leaf().by_run(
             scoretools.Note)[0]),
     trill_spanner=consort.AttachmentExpression(
         attachments=spannertools.ComplexTrillSpanner(interval='+m3', ),
         selector=selectortools.Selector().by_logical_tie(
             pitched=True).by_duration(
                 '>', (1, 16), preprolated=True).by_contiguity().by_leaf()),
 ),
 color='magenta',
 pitch_handler=consort.PitchClassPitchHandler(
     forbid_repetitions=True,
     leap_constraint=12,
     pitch_specifier=abbreviations.agitato_pitch_specifier,
     register_specifier=consort.RegisterSpecifier(
         base_pitch='C2',
         phrase_inflections=consort.RegisterInflection.zigzag(
             6).reverse().align(),
         segment_inflections=consort.RegisterInflection.descending(
             width=12).align()),
     register_spread=6,
 ),
 rhythm_maker=rhythmmakertools.TaleaRhythmMaker(
     extra_counts_per_division=[0, 0, 1, 2, 0, 1],
     division_masks=[
         rhythmmakertools.SustainMask(pattern=patterntools.Pattern(
             indices=[1],
             period=3,
         ), ),
     ],
     talea=rhythmmakertools.Talea(
         counts=[
예제 #12
0
         selector=selectortools.Selector().by_logical_tie().by_duration(
             '==', (1, 16), preprolated=True).with_next_leaf()),
     dynamic_expressions=consort.DynamicExpression(
         division_period=2,
         dynamic_tokens='p ppp mp',
         start_dynamic_tokens='niente fp',
     ),
     stem_tremolo=spannertools.StemTremoloSpanner(),
 ),
 color='red',
 labels=[],
 pitch_handler=consort.PitchClassPitchHandler(
     deviations=[0, 0.5, 0, -0.5],
     logical_tie_expressions=[
         consort.ChordExpression([0, 8]),
     ],
     pitch_application_rate='phrase',
     pitch_specifier=abbreviations.agitato_pitch_specifier,
     pitch_operation_specifier=abbreviations.pitch_operation_specifier,
     register_specifier=consort.RegisterSpecifier(base_pitch='G3', ),
 ),
 rhythm_maker=rhythmmakertools.EvenDivisionRhythmMaker(
     denominators=[16],
     extra_counts_per_division=[0, 1],
     division_masks=[
         rhythmmakertools.SustainMask(pattern=patterntools.Pattern(
             indices=[2],
             period=3,
         ), ),
         rhythmmakertools.SustainMask(pattern=patterntools.Pattern(
             indices=[0, -1], ), ),
     ],