BeatEvent
A time-signature change, anchored at a bar.
The active set of beat events defines how (bar, beat, offset) positions map to
absolute ticks (see :func:margrete_rpc.chart.pos_to_tick).
Attributes
attributebarintZero-based bar index from which this signature applies.
attributebeats_per_barintNumerator of the time signature (beats per measure).
attributebeat_unitintDenominator of the time signature (note value of one beat, e.g. 4).
Functions
funcfrom_proto(cls, proto) -> BeatEventparamclsparamprotomessages_pb2.BeatChangeEventReturns
margrete_rpc.chart.events.BeatEventfuncto_proto(self) -> messages_pb2.BeatChangeEventparamselfReturns
margrete_rpc._proto.margrete.rpc.v1.messages_pb2.margrete_rpc._proto.margrete.rpc.v1.messages_pb2.BeatChangeEventfunc__init__(self, bar, beats_per_bar, beat_unit) -> Noneparamselfparambarintparambeats_per_barintparambeat_unitintReturns
None