Пример #1
0
# -*- encoding: utf-8 -*-
import consort
from abjad.tools import durationtools
from abjad.tools import rhythmmakertools


sparse_timespan_maker = consort.TaleaTimespanMaker(
    initial_silence_talea=rhythmmakertools.Talea(
        counts=[1, 0, 3, 2, 4, 5, 1, 2],
        denominator=8,
        ),
    playing_talea=rhythmmakertools.Talea(
        counts=[2, 3, 2, 2, 3],
        denominator=8,
        ),
    playing_groupings=[1],
    repeat=True,
    silence_talea=rhythmmakertools.Talea(
        counts=[4, 8, 6],
        denominator=8,
        ),
    step_anchor=Right,
    synchronize_groupings=False,
    synchronize_step=False,
    timespan_specifier=consort.TimespanSpecifier(
        minimum_duration=durationtools.Duration(1, 8),
        ),
    )
Пример #2
0
# -*- encoding: utf-8 -*-
import consort
from abjad.tools import durationtools
from abjad.tools import rhythmmakertools

synchronized_timespan_maker = consort.TaleaTimespanMaker(
    padding=durationtools.Duration(1, 8),
    playing_talea=rhythmmakertools.Talea(
        counts=(1, 1, 2, 1, 2, 2, 3),
        denominator=8,
    ),
    playing_groupings=(1, 2),
    silence_talea=rhythmmakertools.Talea(
        counts=(3, 4, 5, 2, 7, 9),
        denominator=8,
    ),
    synchronize_step=True,
    timespan_specifier=consort.TimespanSpecifier(minimum_duration=0, ),
)