Here it is now in the right repository:
https://gitlab.com/lilypond/lilypond/-/merge_requests/2483
I added some more changes to make the file at least a bit more readable.
> I looked a bit into it and it seems that it's an oversight when
> moving on to Python 3. In line 204, the division should be an
> integer division (note the double slash):
>
> o = self.pitch // 12 - 4
>
> https://github.com/lilypond/lilypond/blob/master/scripts/midi2ly.py#L204
Thanks! Can y
I looked a bit into it and it seems that it's an oversight when moving
on to Python 3. In line 204, the division should be an integer division
(note the double slash):
o = self.pitch // 12 - 4
https://github.com/lilypond/lilypond/blob/master/scripts/midi2ly.py#L204
Lucas Cavalcanti:
s = s + "'" * commas
In this script, commas should be an integer. I don't know why it is not,
but you could change it to:
s = s + "'" * int(round(commas))
for a quick workaround.
Hello. Everytime I invoke midi2ly with the absolute mode command it gives
me an error message (check "terminal.txt" log below). It doesn't matter if
the file is generated from Lilypond or any other software.
Is this behaviour expected? I've tried asking the lilypond mailing list but
got no response