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

Note volume timing fix #26

Merged

Conversation

SimplyLinn
Copy link
Contributor

Removed latency scheduling workaround and instead scheduled volume changes at the correct time when scheduling note playing.

My guess is that the latencyhint was a hack for some volume timing issues, since I got distortion/clipping when I removed it. In the latest version of tone.js however, latencyhint is read only / getter, and this hack no longer works.

Changing the scheduler to set the volume at the correct time seems to solve the issue, and works with the latest version of Tone.js

…anges at the correct time when scheduling note playing
@MaxLaumeister MaxLaumeister merged commit 45258f8 into MaxLaumeister:master Jul 31, 2020
@MaxLaumeister
Copy link
Owner

Thank you so much for submitting this fix as a PR, Linn! If you have any questions about the project or the code, I am available and I would be happy to answer them.

@SimplyLinn SimplyLinn deleted the fix/VolumeTimeScheduling branch October 31, 2021 21:29
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.

None yet

2 participants