craffel / pretty-midi

Utility functions for handling MIDI data in a nice/intuitive way.
MIT License
856 stars 151 forks source link

Let the user choose the MIDI charset #233

Closed Saisimon closed 11 months ago

Saisimon commented 1 year ago

Use pretty_midi to add Chinese lyrics to MIDI, and an error will be reported when calling the write method. The default charset cannot handle Chinese, so allow users to choose the correct charset when creating PrettyMIDI object.

craffel commented 11 months ago

Thanks!