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

improve automation to allow for synthesizing instruments #78

Open
ahicks92 opened this issue Oct 11, 2021 · 7 comments
Open

improve automation to allow for synthesizing instruments #78

ahicks92 opened this issue Oct 11, 2021 · 7 comments

Comments

@ahicks92
Copy link
Collaborator

Originally, the idea was that automation would be relative to the 0 time of the local object, but it turned out that this was hard to do: synchronizing automation of different objects wouldn't have been possible without introducing a way to instead be relative to the context. In order to get the API out the door, automation was made context-relative globally, and this limitation was accepted. But we can probably do better, it's just going to take work to make that happen. Since the original plan wasn't to eve introduce this API before 1.0, this issue is being deferred.

See #73 for the original portion of this work.

ahicks92 added a commit that referenced this issue Oct 13, 2021
We're deferring the work that was going to do this into #78, after 1.0, and
the design is unclear. Rip out the remnants at a first attempt, since it's dead
code.
@chrisnorman7
Copy link
Contributor

Hi,
Using the latest release (v0.11.2), it seems as though automation only works with SYZ_P_CURRENT_TIME, and not SYZ_P_SUGGESTED_AUTOMATION_TIME.

As far as git diff can tell me, the only difference is that you gave the previously-unnamed union the name `syz_AutomationCommandParams", so not sure if the API has changed in a way I don't know about?

@chrisnorman7
Copy link
Contributor

Actually, scratch that: I just ran the examples in the synthizer/build directory, and they're not working anymore either, at least for me.

@ahicks92
Copy link
Collaborator Author

The union rename thing isn't even released yet.

But you're right, even though I literally just built a working Rust example, the C-side ones are somehow broken. I will work on this, though admittedly it really deserves a separate issue.

ahicks92 added a commit that referenced this issue Oct 13, 2021
@ahicks92
Copy link
Collaborator Author

Ok, have a one line fix. Let me know if that's good and I'll do a release across all the places.

@chrisnorman7
Copy link
Contributor

chrisnorman7 commented Oct 14, 2021 via email

@ahicks92
Copy link
Collaborator Author

You're supposed to check out the git tags as your submodule or wherever/however you're doing it. That said this bug got released, you were just a couple commits that happened to be NFC ahead. See above though, it should be fixed on master, if you can confirm I'll roll it out.

@chrisnorman7
Copy link
Contributor

chrisnorman7 commented Oct 14, 2021 via email

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

No branches or pull requests

2 participants