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

ysfx: report internal state change to daw (wip) #72

Closed
wants to merge 3 commits into from

Conversation

JoepVanlier
Copy link
Owner

@JoepVanlier JoepVanlier commented Dec 8, 2024

It would be nice to save an undo history, but unfortunately this is complicated. The issue to work around is that most DAWs (e.g. ableton and bitwig) do not call getStateInformation/setStateInformation when calling updateHostDisplay(ChangeDetails().withNonParameterStateChanged(true)). This does work in REAPER though.

You can get bitwig to store an undo point if you rename a parameter, but this is likely to cause bad issues down the road. Only changing a value seems insufficient.

It might be worth exploring exposing a fake parameter that basically triggers a ysfx_save_state that we store ourselves.

@JoepVanlier JoepVanlier changed the title ysfx: report internal state change to daw ysfx: report internal state change to daw (wip) Dec 8, 2024
@JoepVanlier JoepVanlier marked this pull request as draft December 8, 2024 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant