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

Round in BPM to microseconds per beat conversion #103

Open
craffel opened this issue Oct 4, 2016 · 0 comments
Open

Round in BPM to microseconds per beat conversion #103

craffel opened this issue Oct 4, 2016 · 0 comments

Comments

@craffel
Copy link
Owner

craffel commented Oct 4, 2016

e.g. here: https://github.com/craffel/pretty-midi/blob/master/pretty_midi/pretty_midi.py#L1246

This is how it was done when using the python-midi backend, so it is currently this way for backwards compatibility. mido rounds, which makes a lot more sense: https://github.com/olemb/mido/blob/master/mido/midifiles_meta.py#L137 We should switch to using this convenience function.

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