symusic.factory.ControlChangeFactory¶
- class ControlChangeFactory[source]¶
Bases:
objectProduces controller events mapped to the requested time domain.
Methods
__init__()from_numpy(time, number, value[, ttype])Build a control-change list from structure-of-array NumPy buffers.
- from_numpy(time: numpy.ndarray, number: numpy.ndarray, value: numpy.ndarray, ttype: TimeUnit | str = 'tick') ControlChangeTickList | ControlChangeQuarterList | ControlChangeSecondList | List[ControlChange][source]¶
Build a control-change list from structure-of-array NumPy buffers.