ephemera

class CallbackCommand(args, event_id, event_type, kwargs, procedure, quantization, schedule_at, time_unit)

Bases: NamedTuple

class CallbackEvent(seconds, event_type, event_id, measure, offset, procedure, args, kwargs, invocations)

Bases: NamedTuple

class ChangeCommand(beats_per_minute, event_id, event_type, quantization, schedule_at, time_signature, time_unit)

Bases: NamedTuple

class ChangeEvent(seconds, event_type, event_id, measure, offset, beats_per_minute, time_signature)

Bases: NamedTuple

class ClockContext(current_moment, desired_moment, event)

Bases: NamedTuple

class ClockState(beats_per_minute, initial_seconds, previous_measure, previous_offset, previous_seconds, previous_time_signature_change_offset, time_signature)

Bases: NamedTuple

class EventType(value)

Bases: enum.IntEnum

An enumeration.

CHANGE = 0
SCHEDULE = 1
class Moment(beats_per_minute: float, measure: int, measure_offset: float, offset: float, seconds: float, time_signature: Tuple[int, int])

Bases: object

class TimeUnit(value)

Bases: enum.IntEnum

An enumeration.

BEATS = 0
MEASURES = 2
SECONDS = 1