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

Zoom #111

Open
David-Marsh opened this issue Aug 5, 2019 · 0 comments
Open

Zoom #111

David-Marsh opened this issue Aug 5, 2019 · 0 comments

Comments

@David-Marsh
Copy link

// zoom in / out factor
float zoominFactor = 1 / 12f;

This provides zoom ratios of 1/2, 2/3, 3/4, 5/6, 1/1, 7/6, 5/4, 4/3, 3/2
These ratios keep artifacts to a minimum. There are still a few oddball sizes not mentioned but they keep the zoom changing by a fixed amount. 1/12 is a better value than 1/20 (0.05f). This is consistent with the reason an octave contains 12 notes.

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

1 participant