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

slight imprecisions when generating short notes with max.ts #156

Open
JanZaion opened this issue Jul 2, 2021 · 0 comments
Open

slight imprecisions when generating short notes with max.ts #156

JanZaion opened this issue Jul 2, 2021 · 0 comments

Comments

@JanZaion
Copy link
Member

JanZaion commented Jul 2, 2021

On the topic of max.ts, when generating 1/32 or shorter notes, max.ts renders the length incorrectly.

I believe that this is caused by .toFixed(2). 1/32 is 64 at Scribbletune and 0.125 at MIDI. The problem is then 0.125.toFixed(2) = 0.13

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