libtcspc.AddCountToPeriodicSequences¶
- final class libtcspc.AddCountToPeriodicSequences(count, numeric_traits=None)[source]¶
Bases:
NodeProcessor that converts periodic sequence model events to linear timing events.
Converts each
PeriodicSequenceModelEventto aRealLinearTimingEventwith the given count. Other events pass through.- Parameters:
count (int or Param[int]) – Number of ticks in the generated linear timing.
numeric_traits (NumericTraits or None) – Numeric traits for the emitted event. Defaults to
NumericTraits().
Notes
Events handled:
PeriodicSequenceModelEvent: emit aRealLinearTimingEventwith the given count.All other event types: pass through unchanged.
End of input: pass through.
See also
- tcspc::add_count_to_periodic_sequences()
The underlying C++ factory function.