Skip to content

Implement target project validation #13

@snugsound

Description

@snugsound

In order to determine whether or not one or more banks can be appended to an existing project, we will need to validate that enough sample slots exist in the target project. This will entail:

  • Counting number of samples in source project (i.e. samples referenced by parts in the selected bank(s), and sampled referenced by p-locks in all patterns of the selected bank(s))
  • Counting available sample slots in the target project

We will also need to confirm that enough empty banks are available. A crude test is to iterate over patterns and look for any trigs, similar to how we identify whether or not a pattern has content. Caveat: this could potentially be destructive, i.e. if the user has a bank that they're using for FX processing only, or a template bank that they will use for looping that doesn't yet have any trigs, etc. We should consider showing the user which bank we have chosen, or maybe show them a list of potential candidates?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions