Fix an issue with parsing MIDI input (from a file or from an actual device like a MIDI keyboard) that has a "broken rhythm" (i.e. the < or > symbols to created dotted notes) in Python3, which was using the Python 2 unicode function. Handle in the same way the code handles the unicode function in other files to be compatible with both Python 2 and 3.
Steps to reproduce:
Create a tune with a broken rhythm, e.g.: C>CCC | C/<C/C3 |]
Export to MIDI.
Try to import the MIDI file - you will get an error. Expect to be able to "round trip."
Fix an issue with parsing MIDI input (from a file or from an actual device like a MIDI keyboard) that has a "broken rhythm" (i.e. the < or > symbols to created dotted notes) in Python3, which was using the Python 2
unicode
function. Handle in the same way the code handles theunicode
function in other files to be compatible with both Python 2 and 3.Steps to reproduce:
C>CCC | C/<C/C3 |]
Note: Reproduced with Python 3.6.4 on Windows 10.