Skip to content

Feature/python3 #111

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

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open

Feature/python3 #111

wants to merge 16 commits into from

Conversation

sauravu
Copy link

@sauravu sauravu commented Mar 9, 2017

No description provided.

user and others added 16 commits April 25, 2015 18:37
bytes not str, metaclasses, slots suck etc
If you can specify how many tracks, instead of using
len(pattern), you could stream tracks to the destination
(timidity or whatever).

There's little point in doing this for tracks, since their
length has to be the BYTE count of all their events. If
you can count how many bytes a collection of MIDI events is
going to be, without accumulating them into a byte buffer,
you're a better soul than I.
Semantics of division changed in python 3 (PEP 238
https://www.python.org/dev/peps/pep-0238/)
in python 2, divion of int by int returned int via floor division, now
returns float
bytes not str, metaclasses, slots suck etc
If you can specify how many tracks, instead of using
len(pattern), you could stream tracks to the destination
(timidity or whatever).

There's little point in doing this for tracks, since their
length has to be the BYTE count of all their events. If
you can count how many bytes a collection of MIDI events is
going to be, without accumulating them into a byte buffer,
you're a better soul than I.
Wasn't writing the byte if the record status hadn't changed, which broke things.
@calclavia
Copy link

Is it possible to push Python3 into PIP so we don't have to clone this repository every time we want to install?

@belm0 belm0 mentioned this pull request Jun 5, 2018
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.

5 participants