From f1bfd46aaea397abcb05acc3102040e9bf2daf43 Mon Sep 17 00:00:00 2001
From: rorist <rorist@0xcafe.ch>
Date: Fri, 18 Aug 2023 15:37:01 +0200
Subject: [PATCH] start over after REC (not sure about that)

---
 __init__.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/__init__.py b/__init__.py
index 602d548..50bde95 100755
--- a/__init__.py
+++ b/__init__.py
@@ -48,7 +48,7 @@ class EndlessSequencer(Application):
         self.current_sample = None
         self.current_note = 0
         self.startTime = time.ticks_ms()
-        self.bpm = 120
+        self.bpm = 180
 
     def draw(self, ctx: Context) -> None:
         ctx.rgb(*colours.BLACK)
@@ -152,6 +152,8 @@ class EndlessSequencer(Application):
             if self.DEBUG:
                 print("REC SEQ")
 
+            self.current_note = 0
+
             # Get sequence
             for i in range(1, 9):
                 sample_id = i-1
-- 
GitLab