Skip to content

Commit

Permalink
Playback starts on the first bar, first beat
Browse files Browse the repository at this point in the history
  • Loading branch information
Bubobubobubobubo committed Jul 15, 2024
1 parent 95b541f commit 5253fa5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/shrimp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,9 @@ def exit():


clock._start()
clock.add(func=lambda: clock.play(now=True), time=clock.next_bar, passthrough=True, once=True)
clock.add(
func=lambda: clock.play(now=True), time=clock.next_bar - clock.now, passthrough=True, once=True
)

# == TEST AREA FOR THE PATTERN SYSTEM ======================================================

Expand Down

0 comments on commit 5253fa5

Please sign in to comment.