symusic.factory.TextMetaFactory¶
- class TextMetaFactory[source]¶
Bases:
objectFactory for textual metadata events such as lyrics or markers.
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).