python-midi
python-midi copied to clipboard
request: track name event handled automatic or with set_name() function
there are helpers for everything that counts fortunately (thank god for the bpm thing), and i love the library because i cannot get along with the abstractions of others
however, can someone add this please:
name = 'track name'
event = midi.TrackNameEvent()
for char in name:
event.data.append(ord(char))
is that too much, perhaps as set_name() to be optional?