python-midi icon indicating copy to clipboard operation
python-midi copied to clipboard

request: track name event handled automatic or with set_name() function

Open RichardEllicott opened this issue 7 years ago • 0 comments

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?

RichardEllicott avatar Jan 22 '18 16:01 RichardEllicott