symusic.factory.PitchBendFactory¶
- class PitchBendFactory[source]¶
Bases:
objectConstructs wheel-based pitch bend events.
Methods
__init__()from_numpy(time, value[, ttype])Convert NumPy arrays to the appropriate pitch-bend list type.
- from_numpy(time: numpy.ndarray, value: numpy.ndarray, ttype: TimeUnit | str = 'tick') PitchBendTickList | PitchBendQuarterList | PitchBendSecondList | List[PitchBend][source]¶
Convert NumPy arrays to the appropriate pitch-bend list type.