symusic.factory.TextMetaFactory

class TextMetaFactory[source]

Bases: object

Factory for textual metadata events such as lyrics or markers.

__init__() None

Methods

__init__()

from_numpy(time, text[, ttype])

Text metadata cannot be materialized from NumPy buffers (strings vary in length).

from_numpy(time: numpy.ndarray, text: numpy.ndarray, ttype: TimeUnit | str = 'tick') TextMetaTickList | TextMetaQuarterList | TextMetaSecondList | List[TextMeta][source]

Text metadata cannot be materialized from NumPy buffers (strings vary in length).