def _name_to_desc(name):
    """Convert a name (e.g.: 'NoteOn') to a description (e.g.: 'Note On')."""
    if len(name) < 1:
        return ''
    desc = list()
    desc.append(name[0])
    for index in range(1, len(name)):
        if name[index].isupper():
            desc.append(' ')
        desc.append(name[index])
    return ''.join(desc)