symusic.factory.TimeUnitFactory¶
- class TimeUnitFactory[source]¶
Bases:
objectUser-facing dispatcher for the nanobind symusic.core time unit singletons.
The factory caches Tick/Quarter/Second instances, exposes them via properties, and normalizes both string inputs and already-instantiated units through the __call__ helper so downstream APIs can accept flexible values without duplicating validation logic.
Methods
Attributes