Skip to content

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.

6 participants