Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module Simplifier #14

Open
messmerd opened this issue Oct 9, 2022 · 0 comments
Open

Module Simplifier #14

messmerd opened this issue Oct 9, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@messmerd
Copy link
Owner

messmerd commented Oct 9, 2022

Investigate the potential for a module file "simplifier" or "optimizer" which uses State data to reconstruct ModuleData.

The simplification would trim away unused samples/instruments, effects that don't do anything, unused effect columns, and add good practice choices like stopping a portamento before it reaches its min/max pitch rather than relying on quirky behavior, etc.

Module simplification could probably be implemented relatively easily for any modules/systems with Import/Export and GenerateData implemented for them.

I imagine using it like this:

const auto input_type = Utils::GetTypeFromFilename(input_file);
auto input = Factory<Module>::Create(input_type);
input->Import(input_file);
input->Simplify();
input->Export(output_file);
@messmerd messmerd added the enhancement New feature or request label Oct 9, 2022
@messmerd messmerd added this to the v0.2.0 milestone Oct 9, 2022
@messmerd messmerd self-assigned this Oct 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant