Skip to content

Commit

Permalink
Merge pull request #61 from giohappy/fix_link_default_tempo
Browse files Browse the repository at this point in the history
Use AbletonLinkClock constructor tempo when instantiating Link
  • Loading branch information
ideoforms authored Nov 28, 2024
2 parents 4f4a59a + f20034f commit e675094
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion isobar/timelines/clock_link.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def __init__(self,
clock_target: Any = None,
tempo: float = DEFAULT_TEMPO,
ticks_per_beat: int = DEFAULT_TICKS_PER_BEAT):
self.link_client = link.Link(120)
self.link_client = link.Link(tempo)
self.link_client.enabled = True
self.link_client.startStopSyncEnabled = True
self.link_client.setTempoCallback(self.tempo_changed_callback)
Expand Down

0 comments on commit e675094

Please sign in to comment.