예제 #1
0
             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(
         incise_specifier=rhythmmakertools.InciseSpecifier(
예제 #2
0
        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,
            ), ),
    ),
)
예제 #3
0
         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(
         tie_across_divisions=True, ),
 ),
예제 #4
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,
         )
     ),
 )