diff --git a/sample.lua b/sample.lua index 51427c5..e01cf21 100644 --- a/sample.lua +++ b/sample.lua @@ -3,6 +3,9 @@ if position == nil then position = 0 end position = position + 1 +if position > num_of_notes then + position = 1 +end mem.position = position if pin.b then