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 generators do not save and restore duration #2848
Comments
|
There may have been a reason why duration wasn't included in the presets. When using a generator to replace a selected region, you wouldn't want the duration to be changed when you chose a preset. See: |
A very good point @DavidBailes |
|
So there may be work to specify reasonable correct behavior. If Silence has nothing but duration for its settings, and that should not be part of presets, then maybe it's silly to allow doing that in the Silence dialog. But maybe duration as part of presets does make sense when selection has zero duration. |
I thought the duration for generators was specified:
|
Yes it behaves like that now, but some generators have a control that you can adjust, which is not saved and restored as part of a user preset. Should it be? If still no, then this is a nonissue. |
Nyquist generators are a bit different because of GUI limitations, but I don't think that any of the built-in generators save the duration in presets (do they?). When testing, take care to ensure that there isn't a temporal selection. |
Peter said they were saved and 3.2 regressed, but I retested and see it’s not a regression in fact. |
Sorry for starting this un-necessary hare running (I totally forgot the behavior protocols for generators that @SteveDaulton has helpfully reminded us of). For reference, the trhread I made this mistake in was: Generate Silence is an oddity with regard to saving presetsBTW Silence is an odd one her as it enables user presets to be Saved and retrieved - but since the only datum it has is the duration, and that is not saved, thus any saved preset for Silence is specious. |
I think that this is a non-issue as it stands (and so can be closed), but it has raised some related issues:
Personally, I'm happy for this to be left as it is. If changed, then I would see some benefit in the saved duration overriding the "default". Thus:
By overriding only the default, it is unlikely to break existing macros. |
Paul-Licameli commentedApr 20, 2022
•
edited
@petersampsonaudacity wrote:
I find you are incorrect about the behavior of 3.1.3. Exactly what I did with that version (which is following Pietro's steps):
Expected: control changes its value to 10
Observed: no change
So this problem with durations not saved in presets is a real problem, but not a regression in this development cycle. I think it is an old problem never noticed before.
Originally posted by @Paul-Licameli in #2822 (comment)
The text was updated successfully, but these errors were encountered: