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

Plugin-level support for host time #354

Merged
merged 2 commits into from
Aug 11, 2020
Merged

Conversation

jpcima
Copy link
Collaborator

@jpcima jpcima commented Aug 11, 2020

This lets plugins pass time information to sfizz by some new APIs.

  • tempo
  • time signature
  • time position
  • playback state on/off

APIs themselves are not yet implemented.:

  • On sfizz side, there will be a clock which interpolates beat positions between the current time and the last position known.
    This clock will have a beat counter with modulo to the numerator of the time signature.
  • On receiving a time signature change or a change of playback state, the beat counter will reset
  • On a change of the time position, it will update the beat counter according to the position.

@jpcima jpcima requested a review from paulfd August 11, 2020 14:32
@jpcima jpcima merged commit 6076f17 into sfztools:develop Aug 11, 2020
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.

2 participants