Skip to content

transition to replace an arrangment/tune with one that was computed separately #136

@ksunden

Description

@ksunden

e.g. with SDC we compute fresh from raw data an arrangement, but then want to use that arrangement in conjunction with other SDC curves from other OPAs/arrangements/tunes

perhaps have an option to remove existing tunes that are not in the specified arrangment

Currently the workaround is to do:

i_d = instr.as_dict()
i_d["arrangements"][key] = new_instr.arrangements[key]
instr = attune.Instrument(**i_d)

Which A) does not preserve the transition like desired and B is obtuse

I would like something like instr = attune.replace_arrangement(instr, arrangement)

which is its own transition

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions