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

Allow absolute (ms) control of position/window #45

Open
rconstanzo opened this issue Dec 24, 2017 · 0 comments
Open

Allow absolute (ms) control of position/window #45

rconstanzo opened this issue Dec 24, 2017 · 0 comments

Comments

@rconstanzo
Copy link
Owner

rconstanzo commented Dec 24, 2017

In addition to the relative/phase-based pos/win controls allow them to also be set with the alternate message types detailed in #16 (position 356.25 ms, window 4410 samples, etc...).

If any set messages are sent (either set or setloop) then the pos/win remain fixed/absolute. (The current behavior keeps the relative/phase positions which generally changes the absolute size of pos/win.

There are some funky edge cases though.
Like changing (via set) from a large to a small buffer where the previous absolute window size is larger than the new overall loop length. In this circumstance the window size would be clamped to the loop size.
However, things get interesting when then switching back to a large loop size. If possible [karma~] should keep track of the precious absolute window size and return to it, unclamping the new window size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant