Re: Midi2ly + Absolute Mode doesnt work
Joram Berger via bug-lilypond <[email protected]> Mon, 4 Nov 2024 15:13:08 +0100
| Newsgroups | gmane.comp.gnu.lilypond.bugs |
|---|---|
| Message-ID | <[email protected]> |
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