clockblocks.tempo_envelope.FunctionFollowInfo
- class clockblocks.tempo_envelope.FunctionFollowInfo(func: Callable[[float], float], next_domain_start: float, extension_increment: float, units: TempoUnits, duration_units: DurationUnits, scanning_step_size: float, min_key_point_distance: float, iterations: int, key_point_resolution_multiple: int, current_end_beat: float, current_end_time: float)[source]
Bases:
objectInternal bookkeeping for a tempo curve that follows a user function: the function itself plus the state needed to keep extending the envelope to approximate it as the clock advances.
Attributes
- func: Callable[[float], float]
- next_domain_start: float
- extension_increment: float
- units: TempoUnits
- duration_units: DurationUnits
- scanning_step_size: float
- min_key_point_distance: float
- iterations: int
- key_point_resolution_multiple: int
- current_end_beat: float
- current_end_time: float