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

User presets for instruments #125

Closed
LeStahL opened this issue Dec 13, 2023 · 3 comments
Closed

User presets for instruments #125

LeStahL opened this issue Dec 13, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@LeStahL
Copy link
Contributor

LeStahL commented Dec 13, 2023

Most of the time, I do not rebuild complex stacks from scratch, but rather start off from a certain "basic" version of my instruments. It would be super convenient to be able to select them from a drop-down, similar to the built-in presets.

The feature could be configurable over ~/.config/sointu/presets.yml. This file could have the structure

presets:
 - name: Single instrument
   location: /path/to/single_instrument.yml
 - name: Instrument in patch
   location: /path/to/patch.yml:instrument_name_in_patch

The tracker could display a button (or have a menu entry) to make the current instrument a preset automatically (by adding it to presets.yml).

@vsariola vsariola added the enhancement New feature or request label Jan 1, 2024
@vsariola
Copy link
Owner

vsariola commented Jan 1, 2024

Easy to do in principle; I'd prefer a simple folder with the user preset instruments, with instruments in the same format as normal instruments, to make it easier to move things around as needed.

However, slightly hard part is to make a convenient UI for it. Off the top of my head, there's a few options:

  1. Put the user presets in the same popup menu as the default presets, perhaps with icons next to preset name to delete or overwrite it
  2. Make a separate button, opening a popup or a dialog to manage the user presets.
  3. Mix them with default presets, but don't put too much effort into making it easy to save them there: just have a special folder where the user can use the usual file save dialog to place her presets from where they eill magically appear in the list.

I have been thinking of hiding the copy, load and save instrument in context menu anyway, there could be also the commands to save/load presets.

vsariola added a commit that referenced this issue Feb 20, 2024
This is related to #125, but is very crude way of implementing it.
@vsariola
Copy link
Owner

You can now drop presets to os.UserConfigDir()/sointu/presets/. They are loaded next time sointu is (re)started and mixed within the list of default presets.

@vsariola
Copy link
Owner

I'm closing this as the rudimentary solution works for now and there's already #91 reminding us that we need a full blown preset explorer.

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

2 participants