Ejemplo n.º 1
0
def main():
    V1(accumulator.voice("v1"))
    V2(accumulator.voice("v2"))
    VA(accumulator.voice("va"))
    VC(accumulator.voice("vc"))
    previous_persist = baca.previous_metadata(__file__,
                                              file_name="__persist__")
    baca.reapply(accumulator, accumulator.manifests(), previous_persist,
                 voice_names)
    cache = baca.interpret.cache_leaves(
        score,
        len(accumulator.time_signatures),
        accumulator.voice_abbreviations,
    )
    v1(cache["v1"])
    vns(cache)
    vns_va(cache)
    tutti_1(cache)
    v2(cache["v2"])
    va(cache["va"])
    vc(cache["vc"])
    v1_stage_2(cache["v1"])
    tutti_stage_2(cache)
    v2_stage_2(cache["v2"])
    va_stage_2(cache["va"])
Ejemplo n.º 2
0
import abjad
import baca

from animales import library

#########################################################################################
######################################### 24 [W] ########################################
#########################################################################################

metadata = baca.previous_metadata(__file__)
start = 133

time_signatures = library.time_signatures[start : start + 3]


score = library.make_empty_score(
    horns=[
        (1, [1, 3]),
        (2, [2, 4]),
    ],
    trumpets=[
        (1, [1, 3]),
        (2, [2, 4]),
    ],
    trombones=[
        (1, [1, 3]),
        (2, [2, 4]),
    ],
    tuba=[
        (1, [1]),
    ],