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

Support seek to position #6

Open
slurmulon opened this issue May 5, 2018 · 0 comments
Open

Support seek to position #6

slurmulon opened this issue May 5, 2018 · 0 comments
Assignees
Labels
enhancement help wanted mvp Minimal viable product

Comments

@slurmulon
Copy link
Owner

We first need to first support translating a time position in a track (e.g. 00:30) into the closest beat and measure cursors.

We then need to calculate the size of the interval at the beat and measure cursors. The size of the interval will be offset by the difference between the standard/default interval and the time remaining until the next interval.

More formally, if C is the timestamp found at the seeked position, E is the scheduled/expected invocation timestamp of the next interval, and R is the amount of time remaining (in ms) until the next interval, then:

R = E - C

@slurmulon slurmulon self-assigned this May 5, 2018
@slurmulon slurmulon added the mvp Minimal viable product label Oct 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement help wanted mvp Minimal viable product
Projects
None yet
Development

No branches or pull requests

1 participant